SA-MP Forums Archive
Help my - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help my (/showthread.php?tid=138156)



Help my - Zeros - 31.03.2010

Server commands me late for some 20 seconds, the mode I have 50k lines, what should I do?


Re: Help my - Rand_Omar - 31.03.2010

Uhm... lag?


Re: Help my - Zeros - 31.03.2010

yes and no


Re: Help my - Zeros - 31.03.2010

Server commands me late for some 20 seconds,


Re: Help my - RSX - 31.03.2010

50k.. dude wtf? What is most of script.. if it isn't too bad then it could be from string operations, ps:cause rly 20 000 ms.. it's a BIT of something.. maybe you have a record , if you don't know what you can use to optimise script - reply here again, i will seek some things for you.


Re: Help my - biltong - 31.03.2010

Are you using OnPlayerCommandText for your commands? I had about 20 commands in my server under OnPlayerCommandText, and before I moved to zcmd, I got about a second of lag.

Also, I don't think pawn is supposed to be that long.


Re: Help my - Zeros - 01.04.2010

[img width=1024 height=768]http://i41.tinypic.com/23jlpnt.png[/img]


Re: Help my - Zeros - 01.04.2010

plizzzzzzzzz


Re: Help my - RSX - 01.04.2010

Strings are atleast [128]? cause there are no other problems i would see.. only maybe if ProxDetector is slow, but otherwise it should be cause of many commands, use ZCMD and sscanf2!

And biltong.. really, that was only try to get post by asking something that already were my deal.


Re: Help my - biltong - 01.04.2010

Quote:
Originally Posted by RSX
And biltong.. really, that was only try to get post by asking something that already were my deal.
What?