Server Lag (+rep) - 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: Server Lag (+rep) (
/showthread.php?tid=494757)
Server Lag (+rep) -
ScripteRMKD - 14.02.2014
Hi Scripterzzz.I need help with 0.3z Client ... When i put 0.3z on my home server server has ping 1000 :@:@ Its from 0.3z or my enthernet ? And when player register need to create .ini but he creating .part :@:@:@ help
Re: Server Lag (+rep) -
LeGGGeNNdA - 14.02.2014
About the 1000 ping thing, it may be your internet connection...
Re: Server Lag (+rep) -
ScripteRMKD - 14.02.2014
so is the work 1000 ping -_- its normal 5 and i dont have a lag on login/register but when player spawn get laggs :@@@
Re: Server Lag (+rep) -
Uberanwar - 15.02.2014
It might be your script problems. Do you have timers on your script?
Re: Server Lag (+rep) -
newbienoob - 15.02.2014
poorly scripted scripts. that's the problem
Re: Server Lag (+rep) -
Yashas - 15.02.2014
You have a crazy speed test running on your server?
Or some crazy code like this
Quote:
public SomeTimerEverySecond()
{
for(new i = 10000000;i > 0;i--) //DO SOMETHING
}
|
Since it is on your home server and you are connecting to the server from the same computer there has to be a problem with the script.Most likely something in your code is consuming lots of CPU and is preventing the proper functioning of the server.Install a profiler plugin and post the profiler results here.
Just try reinstalling the server.....may work :P
Quote:
Originally Posted by newbienoob
poorly scripted scripts. that's the problem
|
It may not be poorly scripted.The code has something that is doing some nonesense.With 1 player and that to on the same computer has 1000 ping :/
Re: Server Lag (+rep) -
ScripteRMKD - 15.02.2014
nevermind fixed i have saved my gamemod and now it's ok

Thanks for all repped for all
Re: Server Lag (+rep) -
carl0o0s - 15.02.2014
call ur administator vps . maybe the others are ddos ur vps
Re: Server Lag (+rep) -
ScripteRMKD - 15.02.2014
again that problem :@@
Re: Server Lag (+rep) -
Kyance - 15.02.2014
You should show us the timers/Saving and/or Loading script.