Disconnected players - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Disconnected players (
/showthread.php?tid=623454)
Disconnected players -
Dayrion - 01.12.2016
Hi'.
I've a weeeeird bug or glitch. Everyone on the server see others players like disconnected. I mean we see the small hourglass. Happens with everybody. Plus, the script is working fine. I can headshoot peolple, talk in admin chat with them etc...
On this screen there is not the small hourglass but the player don't moove on my screen.
http://www.noelshack.com/2016-48-148...-sa-mp-339.png
Re: Disconnected players -
Sew_Sumi - 01.12.2016
Where's the server hosted?
Re: Disconnected players -
Dayrion - 01.12.2016
ultra-host.
Re: Disconnected players -
SickAttack - 01.12.2016
Probably a script related-error, check your OnPlayerUpdate. If there's nothing wrong with anything in that callback, try to see if it does the same on another host.
Re: Disconnected players -
Dayrion - 01.12.2016
Na, my script is "clear".
PHP Code:
public OnPlayerUpdate(playerid)
{
if(NetStats_PacketLossPercent(playerid) > 5 && !Lagger{playerid} && GetPlayerPing(playerid) < 100000)
{
SendMessageToAdmins(RED, "Admin: "WHITE_U"Le joueur %s semble lagger beaucoup trop et peut ГЄtre dйsynchronisй par rapport au serveur!", GetName(playerid, true));
SendMessageToAdmins(RED, "Admin: "WHITE_U"%s semble avoir un ping de %i ms et un nombre de packets perdus important (%0.2f)", GetName(playerid, true), GetPlayerPing(playerid), NetStats_PacketLossPercent(playerid));
Lagger{playerid} = true;
}
AFKDetect[playerid] = gettime();
return 1;
}
I should try an another host?
Re: Disconnected players -
SickAttack - 01.12.2016
Yeah, give it a shot. You never know.