MantisBT - Soldat Dedicated Server | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0000386 | Soldat Dedicated Server | Scripting Core | public | 2013-08-14 18:10 | 2013-12-26 00:07 | |||||
Reporter | DorkeyDear | |||||||||
Assigned To | ExHunter | |||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||
Status | resolved | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | 2.7.7 | ||||||||
John | ||||||||||
Summary | 0000386: SC3 TTeam.ID returns player identifier in TTeam.OnJoin event | |||||||||
Description | In the TTeam.OnJoin event, TTeam.ID returns the player identifier that joined the team. It should be the team number/identifier (0-5). | |||||||||
Steps To Reproduce | procedure OnJoinTeam(const Player: TPlayer; const Team: TTeam); begin WriteLn('Player.Team=' + InttoStr(Player.Team)); WriteLn('Team.Id=' + InttoStr(Team.Id)); WriteLn(''); end; var i: byte; begin for i := 0 to 5 do Game.Teams[i].OnJoin := @OnJoinTeam; end. ----- Join the empty game on any team. It will say Team.Id=1. Adding bots, and /setteam`ing them shows this applies for bots and other player ids too. | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-08-14 18:10 | DorkeyDear | New Issue | ||||||||
2013-09-09 15:45 | Falcon | Status | new => acknowledged | |||||||
2013-12-26 00:06 | ExHunter | Relationship added | child of 0000415 | |||||||
2013-12-26 00:07 | ExHunter | Assigned To | => ExHunter | |||||||
2013-12-26 00:07 | ExHunter | Status | acknowledged => assigned | |||||||
2013-12-26 00:07 | ExHunter | Note Added: 0002098 | ||||||||
2013-12-26 00:07 | ExHunter | Status | assigned => resolved | |||||||
2013-12-26 00:07 | ExHunter | Fixed in Version | => 2.7.7 | |||||||
2013-12-26 00:07 | ExHunter | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|