MantisBT - Soldat Dedicated Server
View Issue Details
0000664Soldat Dedicated ServerScripting Corepublic2016-08-25 12:302016-10-08 21:32
Mighty 
Falcon 
normalmajoralways
resolvedfixed 
x64Windows7
2.8.1b2 
2.9.0 
0000664: Incorrect Game.Team[].Count values when using OnJoin event
Version 2.8.1, not 2.8.1b2

Switching players teams in OnJoin event causes Game.Team[].Count values to be incorrect (higher)
1. Write a simple OnJoin handler and assign it. Include Player.Team := 5;
2. Join game and while joining select Alpha team
3. You will land in Spectators team

Now
Game.Teams[1].Count = 1
Game.Teams[5].Count = 1

Even though there is only one person on the server
No tags attached.
Issue History
2016-08-25 12:30MightyNew Issue
2016-08-25 13:13MightyNote Added: 0002561
2016-09-01 01:16FalconStatusnew => acknowledged
2016-10-08 21:32FalconStatusacknowledged => resolved
2016-10-08 21:32FalconFixed in Version => 2.9.0
2016-10-08 21:32FalconResolutionopen => fixed
2016-10-08 21:32FalconAssigned To => Falcon

Notes
(0002561)
Mighty   
2016-08-25 13:13   
by OnJoin event I meant Game.OnJoin