SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Server Support (https://forum.sa-mp.com/forumdisplay.php?f=19)
-   -   lag? (https://forum.sa-mp.com/showthread.php?t=649319)

Johangelo1 06/02/2018 11:21 PM

lag?
 
I have this problem, I do not know what it will be, but all the players look like they are teleporting, and it is not lag all the players do, what could be affecting my gamemode?

I leave a video of what happened
video click

Sew_Sumi 07/02/2018 01:47 AM

Re: lag?
 
Does it happen to all, or just you? And if you are asking people if they are 'lagging' then what they see, maybe isn't what you're getting, yet they still say they are.

If you're using wifi on your network, then this will happen.

What rates are you using in your server.cfg?

Johangelo1 07/02/2018 02:01 AM

Re: lag?
 
Quote:

Originally Posted by Sew_Sumi (Post 3989531)
Does it happen to all, or just you? And if you are asking people if they are 'lagging' then what they see, maybe isn't what you're getting, yet they still say they are.

If you're using wifi on your network, then this will happen.

What rates are you using in your server.cfg?


It happens to everyone, even if they have a very good ping, it happens to everyone.
I have a very good internet. If you can see in the video I have 90 to 100 of ping.
this is my server.cfg the server is in vps
https://i.imgur.com/vzZgucb.jpg

it's like a packeloss low

Sew_Sumi 07/02/2018 02:32 AM

Re: lag?
 
Is anything coming up in the logs relating to disconnections/packet drops?

Are you using anything in OnPlayerUpdate, or OnPlayerKeyStateChange? (I've seen some issues with overly used keystatechange and update usage that can give trouble as it starts spamming the client with data)

Johangelo1 07/02/2018 02:58 AM

Re: lag?
 
I have something in OnPlayerUpdate that I have been suspecting might cause a problem. I'm going to block it and see if it could be that. Thank you

Sew_Sumi 07/02/2018 03:12 AM

Re: lag?
 
That's probably for the best to test if it is affecting it. Good to know you're looking as well ;)


All times are GMT. The time now is 08:18 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.