Some questions - 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: Some questions (
/showthread.php?tid=139980)
Some questions -
||123|| - 07.04.2010
I wanted to ask some questions, please answer them.
What are the things in the server which makes the server lag (excluding PC and Internet) ?
What can i do to prevent this lag ?
What is the main purpose of MYSQL and what does it helps in ?
Re: Some questions -
[LSR]State_Trooper - 07.04.2010
A: Too many objects and vehixles in one place
B: Dont have too many of teh above in one place
C: MYSQL keeps everyhitng in one DB, inseatd of hving all these .ini .cgf files, It keeps them in a DB
Re: Some questions -
||123|| - 07.04.2010
I am not talking about that lag....i'm talking about the one which makes the server's internet speed slow, get it ?
Re: Some questions -
biltong - 07.04.2010
Quote:
Originally Posted by ||123||
I am not talking about that lag....i'm talking about the one which makes the server's internet speed slow, get it ?
|
Uhmm... The internet.
Re: Some questions -
||123|| - 07.04.2010
So what if i make many timers with 1 milli-second of time, will it make the server lag ?
Re: Some questions -
Adil - 07.04.2010
It's too easy.
Re: Some questions -
[LSR]State_Trooper - 07.04.2010
Quote:
Originally Posted by Adil_Rahoo
It's too easy.
|
Ikr.. lol
Re: Some questions -
Jakku - 07.04.2010
Timers can cause lag, if you have some executing too often
Re: Some questions -
||123|| - 07.04.2010
But is there a way to prevent it, i mean i want to use a short timed timer for my speedometer but i dont want my server to lag too, so is there a way that could prevent this i mean something which could loop it or something, if there is any ANY way this can be solved, then please tell me.
Re: Some questions -
dice7 - 07.04.2010
Use one timer and in it loop through all players