MantisBT - Soldat | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000488 | Soldat | Gameplay | public | 2013-12-22 23:02 | 2015-04-21 00:16 |
Reporter | Szaman | ||||
Assigned To | ExHunter | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 1.6.6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0000488: Disconnecting player on map change (when changed the team) | ||||
Description | Hi, On some of my servers there is a simple script for changing the team (!j and !s). OnPlayerSpeak fragment: if (Text = '!j') or (Text = '!join') then begin if (GetPlayerStat(ID, 'team') = 5) then begin countPlayingPlayers(); // counts currently playing human players if (PlayingPlayers >= 2) then begin //Command('/setteam5 ' + IntToStr(id)); WriteConsole(ID, 'Sorry, it''s 1 vs 1 server. You can''t join now.', $FF0000); end else begin Command('/setteam0 ' + IntToStr(ID)); WriteConsole(ID, 'PLAY AND WIN ! gl&hf!', $00FF00); end; end else WriteConsole(ID, 'You are not spectator now...', $FFFF00); end; if (Text = '!s') or (Text = '!spect') then if (GetPlayerStat(ID, 'team') <> 5) then begin Command('/setteam5 ' + IntToStr(ID)); end else WriteConsole(ID, 'You are spectator already...', $FFFF00); This script work normal during the gameplay. But when the match has ended (time limit or point limit reached) and the score board is shown and you want to go to spectators (!s) it works also good (you are changing team), but in a few seconds (3-15) you are being disconnected by the server. This is probably caused by "map bug" (the map is not reloading to new one after using !s on "score board view"). So the game play is now on the new map (players are normally playing) but you still see the old map - and the server disconnects you. After reconnection everything is ok. If you want more details, please contact me at soldat.rg@gmail.com Best regards, Szaman. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-12-22 23:02 | Szaman | New Issue | |||
2013-12-23 07:20 | Bistoufly | Note Added: 0002097 | |||
2013-12-23 07:20 | Bistoufly | Status | new => confirmed | ||
2013-12-23 07:20 | Bistoufly | Severity | major => minor | ||
2015-04-19 10:37 | homerofgods | Note Added: 0002451 | |||
2015-04-21 00:16 | ExHunter | Note Added: 0002452 | |||
2015-04-21 00:16 | ExHunter | Status | confirmed => resolved | ||
2015-04-21 00:16 | ExHunter | Resolution | open => fixed | ||
2015-04-21 00:16 | ExHunter | Assigned To | => ExHunter |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|