[HELP] SAMP problems (lagging) -
dhelz7 - 30.04.2016
Hello everyone!
Simply.
My friend has just created a new server (Indonesian server).
On the first gamemode, it was no problem. (without SQL)
We decided to change our gamemode. (with SQL)
But the problem is, we always got lag when we join our new gamemode, such as delay when chat, driving, shot fired, lag while running, and delay when we use some commands.
My friend has upgraded RAM, but nothing changed, we still got same problems.
We had to download newly plugins, and already replaced.
Still lag :P
Can someone tell me what is the problem?
Sorry for my bad English, thank you.
Re: [HELP] SAMP problems (lagging) -
Sew_Sumi - 30.04.2016
So you've switched gamemodes entirely, and have a problem with the new gamemode... You should be chasing up support in its release thread then.
This section is for getting help with code that's giving a scripter issues.
Re: [HELP] SAMP problems (lagging) -
dhelz7 - 30.04.2016
After we changed, we have upgraded our RAM. What's the problem then?
I don't know.
Re: [HELP] SAMP problems (lagging) -
CalvinC - 30.04.2016
Get another gamemode then?
Re: [HELP] SAMP problems (lagging) -
Logic_ - 30.04.2016
Your gamemode must be having many timers and stuff, that must be causing the lag.
Re: [HELP] SAMP problems (lagging) -
czerwony03 - 30.04.2016
Bad implemented SQL or MySQL cause lags.
Rewrite it, and use MySQL R39 plugin with caching. It resolve most problems with lags.
Re: [HELP] SAMP problems (lagging) -
dhelz7 - 01.05.2016
Quote:
Originally Posted by czerwony03
Bad implemented SQL or MySQL cause lags.
Rewrite it, and use MySQL R39 plugin with caching. It resolve most problems with lags.
|
I'll try it now. Thanks all for responds
Re: [HELP] SAMP problems (lagging) -
dhelz7 - 01.05.2016
My friend said.
It was on 'OnPlayerUpdate', and made this server lag. Is that true?
Re: [HELP] SAMP problems (lagging) -
CalvinC - 01.05.2016
If there's a lot of code being executed in OnPlayerUpdate the server will definitely lag, make him put it into timers instead.
Re: [HELP] SAMP problems (lagging) -
dhelz7 - 02.05.2016
Quote:
Originally Posted by CalvinC
If there's a lot of code being executed in OnPlayerUpdate the server will definitely lag, make him put it into timers instead.
|
Can you give me some example?