Lagging
#1

hi my server are lagging sometimes, but not permanently, always sometimes on my home server and root-server.
even though I'm only alone online.
I have a dual core computer with DSL 2000.
the cpu utilization is always 00-03
I have no warnings in the script.

plz help
Reply
#2

what kind of lag? high ping? or hardware lag?
Reply
#3

no, a strange lag, for example: i write anyone and sometimes it comes in 5 or 10 seconds..
at all is lagging.
but not permanently
Reply
#4

depends on your script and envoiremont actualy,

i have made a script and within that script a property system,
i noticed ( at least in my script ), you have XX seconds delay when being in another interior world;

another possibility could be, that something is blocking or holding off the connection of the server,
in other words, have you installed firewall lately?

meaning there are no warnings, doesnt mean the script does work properly;
you should view your script on any wrong indentations in loops, or other long and great codes;
Reply
#5

hi i have a property system!
what should i do, to destroy the lag?
Reply
#6

i noticed that when you have your game on for a while in another interior world, the lag reduces, ( it also could be that its the interior ),

unless you want to keep your interior system, i dont know a solution, i think its a game problem of gta san andreas itself,
you could ask the sa-mp developers if they noticed this problem, i wouldnt be so suprised if this could be a bug.

a solution though could be, creating your own interiors , so you only have to use the standard interior world;

afcourse, there are more solutions, but thats the only one i thought of.
Reply
#7

hm.. thx for the reply.
i have only a virtual world in minigun.
i dont have a other virtual world.
is this the problem maybe?
Reply
#8

Quote:
Originally Posted by Ribber
hm.. thx for the reply.
i have only a virtual world in minigun.
i dont have a other virtual world.
is this the problem maybe?
virtual world should cause no problem, interior world can;

besides this, there can be another problem that causes this, and thats massive amount of codes at once;

check if you have any looping actions, like a repeating timer;
Reply
#9

Quote:
Originally Posted by ssǝן‾ʎ
The other thing is how much code do you have in OnPlayerUpdate?
hmm, i dont have this public.

Quote:
Originally Posted by maij
Quote:
Originally Posted by Ribber
hm.. thx for the reply.
i have only a virtual world in minigun.
i dont have a other virtual world.
is this the problem maybe?
virtual world should cause no problem, interior world can;

besides this, there can be another problem that causes this, and thats massive amount of codes at once;

check if you have any looping actions, like a repeating timer;
hmm, i have SetPlayerInterior a lot of time.

i have SetPlayerInterior in OnPlayerRequestClass.
And OnPlayerSpawn.
And in minigunzone i have SetPlayerInterior and SetVirtualWorld.
Reply
#10

run it without any filterscripts or plugins. If it works better than add each FS/plugin (one at a time) until teh lag comes back.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)