SA-MP Forums Archive
Weird lagg problem - What's the cause? - 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: Weird lagg problem - What's the cause? (/showthread.php?tid=171125)



Weird lagg problem - What's the cause? - Danny - 25.08.2010

Hello,
I've discovered my server has some strange lagg. For Example: If your standing at Grove Street, and you walk to the Binco, other players will see you in Grove Street, even if you arent there at all. I dont know what caused this and i dont know how to solve it. Can someone help me?
Greetz,
Danny


Re: Weird lagg problem - What's the cause? - WillyP - 25.08.2010

what gamemode you using?


Re: Weird lagg problem - What's the cause? - Souvlaki - 25.08.2010

Is your script fully optimized?

You should at least use
1.Zcmd
2.Sscanaf
3.A good Streamer Plugin
4.Read ******'s thread about optimizing


Re: Weird lagg problem - What's the cause? - Danny - 25.08.2010

@Victious: I don't like gamemodes from others, so ive made my own

@Souvlaki:
1. I use DCMD
2. Yes
3. I have a good streamer, MidoStream i believe, but im not the mapper
4. I have tried it, but its complicated

I have to say, that i already use global strings and use 2d Arrays, and i have MAX_PLAYERS defined to 25, so those things should help, right?


Re: Weird lagg problem - What's the cause? - Finn - 25.08.2010

If you're using the callback OnPlayerUpdate, stop using it.


Re: Weird lagg problem - What's the cause? - [HUN]Jaki - 25.08.2010

If OnPlayerUpdate returns 0, the player not moves.


Re: Weird lagg problem - What's the cause? - Danny - 25.08.2010

@Mouse: The size of my AMX file is 196KB
@Finn: I barely use OnPlayerUpdate, only for a speedo. If i make a timer for it, it laggs more.
@Jaki: It returns 1