SA-MP Forums Archive
Packet loss help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Packet loss help (/showthread.php?tid=605550)



Packet loss help - JawsPlus - 21.04.2016

Hey , why when my friend join my server , he will saw me AFK , command will lag a bit and he will see me doing what i just do before a few second.But he wont have this problem when joining other server . I'm sure it is not FPS problem.


Re: Packet loss help - BroZeus - 21.04.2016

Make sure there is a return 1; in OnPlayerUpdate.


Re: Packet loss help - Darkwood17 - 21.04.2016

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Make sure there is a return 1; in OnPlayerUpdate.
If OnPlayerUpdate returns 0, he completely will desync, so the problem is not here.
Maybe your Internet connection is slow.


Re: Packet loss help - DarkLored - 21.04.2016

If you have issues with packet loss it is better to get a router that has good antennas and try changing channels you might have interference or your Internet speed is just bad.


Re: Packet loss help - DRIFT_HUNTER - 21.04.2016

Make a speed test of your internet and see what's your UPLOAD speed. Also do you have NPC's on your server and do you turn off torrents and other stuff that use internet?


Re: Packet loss help - JawsPlus - 21.04.2016

You mean me or my friend?
if me i have 2 NPC in my server for IRC and i didnt open any stuff that use internet.


Re: Packet loss help - xPhantom - 22.04.2016

I added your server, which is listed on your signature, to my favorites on SA:MP and the ping is nearly 350. Anything above 200+ will make anyone lag to the point where the commands are not sent out and received as fast as it would if you had a ping lower than that; also upload speed plays a factor in this as well but that shouldn't be too much of an issue if its just you and your friend. Your only solution is to get a better internet provider or just host your SA:MP server off of a host (VPS, regular gameserver, etc.) since hosts tend to have better peering.


Re: Packet loss help - JawsPlus - 22.04.2016

But my friend ping in my server is just between 20 ~ 40


Respuesta: Packet loss help - Swedky - 28.04.2016

Change "sleep" value (in server.cfg) to 20-50 and test it.
Or test in a blank gamemode.


Re: Packet loss help - Mauzen - 28.04.2016

Quote:
Originally Posted by JawsPlus
Посмотреть сообщение
But my friend ping in my server is just between 20 ~ 40
And yours?

Its not packet loss, this would mean that your actions completely disappear. This rather sounds like you got a high ping, so youre lagging.


Re: Packet loss help - kaisersouse - 28.04.2016

where is the server located, who is hosting it

edit and mauzen is dead on correct