Anonymous | Login | 2024-11-21 19:43 CET |
Main | My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000539 | Soldat Dedicated Server | Scripting Core | public | 2014-02-28 01:01 | 2014-05-09 12:50 | ||||
Reporter | kicikici | ||||||||
Assigned To | ExHunter | ||||||||
Priority | immediate | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | x64 | OS | Windows | OS Version | 7 SP1 | ||||
Product Version | 2.7.7b1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000539: Problems with Players[] array | ||||||||
Description | Example - player kicikici enter to server and leave after 5 seconds. After his leaving, variables: Players[last kicikici's ID].Alive=true; Players[last kicikici's ID].Human=true; Players[last kicikici's ID].Name='kicikici'; I didn't check other variables. I am not an expert but this things should be "cleaned" after players leaving. | ||||||||
Tags | No tags attached. | ||||||||
John | |||||||||
Attached Files | main.pas [^] (848 bytes) 2014-04-29 12:55 player.jpg [^] (251,646 bytes) 2014-04-29 12:57 | ||||||||
Notes | |
(0002231) ExHunter (developer) 2014-04-28 16:23 |
When do you exactly do the check of the variables? Do you have an example script? |
(0002234) kicikici (reporter) 2014-04-29 13:11 |
In my old SC2 scripts I used IDToName(ID)<>'' to check if player is present on the server and it worked. That's why I created this ticket. But to be honest now I don't think that is something wrong with this. I can always check Players[ID].Active to be sure if player is present on server. Variables like Players[ID].Name and Players[ID].Human don't have to be restored to default. |
(0002257) ExHunter (developer) 2014-05-09 12:21 |
So I could mark this as closed? Because that's basically the point of Players[ID].Active. :) |
(0002258) kicikici (reporter) 2014-05-09 12:36 |
Yes. |
(0002259) ExHunter (developer) 2014-05-09 12:50 |
Players[ID].Active makes a clean not needed. |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-28 01:01 | kicikici | New Issue | |
2014-04-28 16:23 | ExHunter | Note Added: 0002231 | |
2014-04-28 16:23 | ExHunter | Assigned To | => ExHunter |
2014-04-28 16:23 | ExHunter | Status | new => feedback |
2014-04-28 16:23 | ExHunter | Assigned To | ExHunter => |
2014-04-29 12:55 | kicikici | File Added: main.pas | |
2014-04-29 12:57 | kicikici | File Added: player.jpg | |
2014-04-29 13:11 | kicikici | Note Added: 0002234 | |
2014-04-29 13:11 | kicikici | Status | feedback => new |
2014-05-09 12:21 | ExHunter | Note Added: 0002257 | |
2014-05-09 12:36 | kicikici | Note Added: 0002258 | |
2014-05-09 12:50 | ExHunter | Note Added: 0002259 | |
2014-05-09 12:50 | ExHunter | Status | new => closed |
2014-05-09 12:50 | ExHunter | Assigned To | => ExHunter |
2014-05-09 12:50 | ExHunter | Resolution | open => no change required |
Copyright © 2000 - 2024 MantisBT Team |