Posts: 733
Threads: 16
Joined: Feb 2009
Reputation:
0
If your server restarting (crash, etc), other player have reconnect on your server. Then, ALL players have bug. Like "GODMODE". SetPlayerHealth(playerid, 0.0); - Set player Health 0, but player not die. and more lags (unsync, invisible)... Then if you have GODMODE effect, you set SetPlayerHealth(playerid, 100.0); - and player die.
It's checked, 100% information!
Posts: 232
Threads: 16
Joined: Apr 2010
Reputation:
0
confirmed.
bugs when players reconnect after a server restart happens since a long time ago, but in 0.3e it got worse.
Posts: 320
Threads: 16
Joined: Feb 2012
Just tested it and yep confirmed.
Posts: 559
Threads: 10
Joined: Mar 2012
Reputation:
0
Until next RC appear you can set a timer for gmx,and before the timer is used you need to kick all players from server.
Posts: 225
Threads: 45
Joined: Nov 2008
Reputation:
0
Similar bug (A reconnect-bug): Sometimes if you kill the server or it crashes, it kicks the players which are waiting to reconnect to the server with the message "You are banned from this server".
After a restart of the SA-MP Client you can still connect to the server.
Posts: 117
Threads: 8
Joined: Jul 2008
Reputation:
0
This bug has existed for as long as I can remember; you can fix it in a slightly hacky way by setting a timer for about 5 seconds when a player dies, then check to see if the player is still dead (using GetPlayerState) and if they are then set their position somewhere above the ground, it seems a fall will actually kill the player and cause them to respawn. However using this method you also have to take into account when a player is in class selection (can simply set a PVar and check to see if it exists in class selection to avoid respawning the player when they are selecting a skin).