SA-MP Forums Archive
[0.3e RELEASE BUG] Reconnect (GODMODE) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [0.3e RELEASE BUG] Reconnect (GODMODE) (/showthread.php?tid=340689)



[0.3e RELEASE BUG] Reconnect (GODMODE) - AirKite - 08.05.2012

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!


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - Mandrakke - 08.05.2012

confirmed.

bugs when players reconnect after a server restart happens since a long time ago, but in 0.3e it got worse.


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - ViruZz - 08.05.2012

Just tested it and yep confirmed.


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - TzAkS. - 08.05.2012

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.


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - leong124 - 08.05.2012

There is no more RC now.


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - TzAkS. - 08.05.2012

Ups.i didn`t knew that it wos released )


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - Mandrakke - 08.05.2012

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
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.
this bug happens when the server have an unexpected restart, not if you use /rcon gmx, for example.

to simulate this bug, you can type /rcon gmx twice, your server will be offline for a few seconds, then the server will back online again bugged (if it have an auto-restart) until all players reconnect.


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - Programie - 08.05.2012

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.


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - pyrodave - 08.05.2012

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).


Re: [0.3e RELEASE BUG] Reconnect (GODMODE) - -Prodigy- - 08.05.2012

Busy RCs and their new objects