[HELP] SAMP problems (lagging)
#1

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.
Reply
#2

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.
Reply
#3

After we changed, we have upgraded our RAM. What's the problem then?


I don't know.
Reply
#4

Get another gamemode then?
Reply
#5

Your gamemode must be having many timers and stuff, that must be causing the lag.
Reply
#6

Bad implemented SQL or MySQL cause lags.
Rewrite it, and use MySQL R39 plugin with caching. It resolve most problems with lags.
Reply
#7

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
Reply
#8

My friend said.
It was on 'OnPlayerUpdate', and made this server lag. Is that true?
Reply
#9

If there's a lot of code being executed in OnPlayerUpdate the server will definitely lag, make him put it into timers instead.
Reply
#10

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)