MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000664Soldat Dedicated ServerScripting Corepublic2016-08-25 12:302016-10-08 21:32
ReporterMighty 
Assigned ToFalcon 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx64OSWindowsOS Version7
Product Version2.8.1b2 
Target VersionFixed in Version2.9.0 
Summary0000664: Incorrect Game.Team[].Count values when using OnJoin event
DescriptionVersion 2.8.1, not 2.8.1b2

Switching players teams in OnJoin event causes Game.Team[].Count values to be incorrect (higher)
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002561)
Mighty (developer)
2016-08-25 13:13

by OnJoin event I meant Game.OnJoin

- Issue History
Date Modified Username Field Change
2016-08-25 12:30 Mighty New Issue
2016-08-25 13:13 Mighty Note Added: 0002561
2016-09-01 01:16 Falcon Status new => acknowledged
2016-10-08 21:32 Falcon Status acknowledged => resolved
2016-10-08 21:32 Falcon Fixed in Version => 2.9.0
2016-10-08 21:32 Falcon Resolution open => fixed
2016-10-08 21:32 Falcon Assigned To => Falcon


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker