MantisBT - Soldat Dedicated Server
View Issue Details
0000684Soldat Dedicated ServerScripting Corepublic2020-08-27 11:162020-08-27 11:16
MM 
FliesLikeABrick 
highmajoralways
assignedopen 
25datadata
2.8.0 
2.9.0 
0000684: SC3 OnJoinGame bug during map change
Happens always when someone joins game during map change. All scripts are SC3. Example log below.
data
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=697&type=bug
txt x7pyrm0r.txt (8) 2020-08-27 11:16
https://bugs.soldat.pl/file_download.php?file_id=696&type=bug
Issue History
2020-08-27 11:16MMNew Issue
2020-08-27 11:16MMStatusnew => assigned
2020-08-27 11:16MMAssigned To => FliesLikeABrick
2020-08-27 11:16MMFile Added: x7pyrm0r.txt
2020-08-27 11:16MMIssue generated from: 0000651

Notes
(0002620)
Falcon   
2020-08-27 11:16   
Can i have some script or snippet that can reproduce this please?
(0002621)
kicikici   
2020-08-27 11:16   
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.
(0002622)
Falcon   
2020-08-27 11:16   
Sorry, unable to reproduce. Please verify the conditions required to trigger this.
(0002623)
kicikici   
2020-08-27 11:16   
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 [^]
(0002624)
Falcon   
2020-08-27 11:16   
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.