SA-MP Forums Archive
Lag causers ?!?! - 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: Lag causers ?!?! (/showthread.php?tid=443134)



Lag causers ?!?! - NeroX98 - 10.06.2013

What are the common things that cause lag/ping ?

Im talking about timers, strings etc... ?

I need this cuz my server lags hard and i need to research again for that lag causers in the gamemode...

Thanks in advance

Bonus Question: Ping on all players in my server is from 70 to 100 and is lagging really hard (unplayable), so what is the problem ?
Should i change the host or that doesn't matter ? please help


AW: Lag causers ?!?! - Skimmer - 10.06.2013

Timers are the most causers.


Re: Lag causers ?!?! - Aly - 10.06.2013

How many timers do you have?
Are you using dini?


Re: AW: Lag causers ?!?! - NeroX98 - 10.06.2013

Quote:
Originally Posted by MouseBreaker
Посмотреть сообщение
Timers are the most causers.
Hmmm... For example i have 2 timers with interval 1000ms, so should i make one timer and put the things from the two timers, or there should be more timers with shorter code in them And yes i use dini for house and cars saving, but for player i use from the godfather.


Re: Lag causers ?!?! - Aly - 10.06.2013

Dude, I had once the same problem like you.
Dini is very slow and produce a lot of lag.
I suggest you to convert house,cars savings to Y_INI.
You will see the difference.

Two timers aren't too many.It's ok the problem is dini,trust me.


Re: Lag causers ?!?! - NeroX98 - 10.06.2013

Quote:
Originally Posted by Aly
Посмотреть сообщение
Dude, I had once the same problem like you.
Dini is very slow and produce a lot of lag.
I suggest you to convert house,cars savings to Y_INI.
You will see the difference.

Two timers aren't too many.It's ok the problem is dini,trust me.
Ok Im too tired now to convert all the things i have on the server into Y_INI, ill try that tomorrow and renew this post just to help the others

REP +1 to the both :P