MantisBT - Soldat Dedicated Server
View Issue Details
0000651Soldat Dedicated ServerScripting Corepublic2016-04-03 08:592016-04-18 04:03
kicikici 
Falcon 
highmajoralways
resolvedfixed 
2.8.0 
 
0000651: SC3 OnJoinGame bug during map change
Happens always when someone joins game during map change. All scripts are SC3. Example log below.
16-03-31 16:18:25 Next map: ctf_KF_Colours
16-03-31 16:18:25 ~>2Fast|`VaMe.| scores for Alpha Team
16-03-31 16:18:28 Mellouki .Yarr joining game (41.251.68.29:23073) HWID:496D9B06065
16-03-31 16:18:28 Mellouki .Yarr has joined alpha team.
16-03-31 16:18:28 [*] [book] Unhandled exception occured:
16-03-31 16:18:28 [*] [book] In unit (1:3219524080): ID must be from 1 to 32
16-03-31 16:18:28 [*] [fun] Unhandled exception occured:
16-03-31 16:18:28 [*] [fun] In unit (1:3219524080): ID must be from 1 to 32
16-03-31 16:18:28 [*] [tele] Unhandled exception occured:
16-03-31 16:18:28 [*] [tele] ID must be from 1 to 32
16-03-31 16:18:28 [*] [vote] Unhandled exception occured:
16-03-31 16:18:28 [*] [vote] In unit (1:3219524080): ID must be from 1 to 32
16-03-31 16:18:29 [Bungle (SN)] dude fu
16-03-31 16:18:29 [zpm;] sad
16-03-31 16:18:29 Mellouki .Yarr is flooding the server
16-03-31 16:18:30 By KaLaF
16-03-31 16:18:30 Mellouki .Yarr is flooding the server
16-03-31 16:18:30 Mellouki .Yarr has been kicked and banned for 5 minutes (Vote Kicked (Left game))
No tags attached.
rar scripts.rar (14,460) 2016-04-03 20:27
https://bugs.soldat.pl/file_download.php?file_id=660&type=bug
Issue History
2016-04-03 08:59kicikiciNew Issue
2016-04-03 19:22FalconNote Added: 0002544
2016-04-03 19:22FalconAssigned To => Falcon
2016-04-03 19:22FalconStatusnew => feedback
2016-04-03 20:27kicikiciFile Added: scripts.rar
2016-04-03 20:32kicikiciNote Added: 0002545
2016-04-03 20:32kicikiciStatusfeedback => assigned
2016-04-03 21:45FalconNote Added: 0002546
2016-04-03 21:45FalconStatusassigned => feedback
2016-04-09 13:35kicikiciNote Added: 0002548
2016-04-09 13:35kicikiciStatusfeedback => assigned
2016-04-18 04:03FalconNote Added: 0002550
2016-04-18 04:03FalconStatusassigned => resolved
2016-04-18 04:03FalconResolutionopen => fixed

Notes
(0002544)
Falcon   
2016-04-03 19:22   
Can i have some script or snippet that can reproduce this please?
(0002545)
kicikici   
2016-04-03 20:32   
I was able to reproduce this bug each time (3 tries) after scoring attached map (maybe scoring is a true reason of this bug?). Example script is also attached.

(20:21:50) kicikici scores for Alpha Team
(20:21:50) kicikici captured the Blue Flag
(20:21:50) [*] [tele] Unhandled exception occured:
(20:21:50) [*] [tele] ID must be from 1 to 32
(20:21:50) ** Detected possible Mass-Flag cheating from kicikici
(20:21:50) kicikici is admin and cannot be kicked.
(0002546)
Falcon   
2016-04-03 21:45   
Sorry, unable to reproduce. Please verify the conditions required to trigger this.
(0002548)
kicikici   
2016-04-09 13:35   
1. Download server from http://static.soldat.pl/downloads/soldatserver2.8.0.9_1.7.0.zip [^]
2. Unpack zip file.
3. Modify Sandboxed=0 in server.ini
4. Upload script and map to right folders.
5. Modify mapslist file (replace ctf_Ash by ctf___Z_Spiral).
6. Start server.
7. Capture the flag
8. http://imgur.com/R7Nq5YP [^]
(0002550)
Falcon   
2016-04-18 04:03   
After around an hour of absolutely pointless climbing only because I've told myself I need to do this without any cheats/map modifications I found it.
It was TPlayer.OnVoteKickStart crashing due to the fact that server started it and sent starting player Id of 255, which is obviously not in range of 1..32.