MantisBT - Soldat Dedicated Server
View Issue Details
0000585Soldat Dedicated ServerScripting Corepublic2014-10-05 10:142014-10-05 14:06
Mighty 
ExHunter 
lowminorhave not tried
resolvedfixed 
x86WindowsXP SP3
2.7.8b1 
 
0000585: TPlayer.OnFlagDrop Flag.ID can't be accessed or duplicates
From what I understand ID property of an TActiveMapObject should be unique.
Using OnFlagDrop event and displaying dropped flag ID property shows the same number for Alpha flag and Bravo flag.

Additionally, during PointMatch Flag.ID can't be read at all.
Unhandled exception occured: Could not call proc
Use attached script both in CTF and Pointmatch and drop/throw flags around.
No tags attached.
rar OnFlagDropFlagID.rar (482) 2014-10-05 10:14
https://bugs.soldat.pl/file_download.php?file_id=624&type=bug
Issue History
2014-10-05 10:14MightyNew Issue
2014-10-05 10:14MightyFile Added: OnFlagDropFlagID.rar
2014-10-05 14:06ExHunterNote Added: 0002319
2014-10-05 14:06ExHunterStatusnew => resolved
2014-10-05 14:06ExHunterResolutionopen => fixed
2014-10-05 14:06ExHunterAssigned To => ExHunter

Notes
(0002319)
ExHunter   
2014-10-05 14:06   
fixed this and probably other bugs with flag scripting