#1

What could make my server run smoothly and reduce crash and lag at LAN not the hosting problem or anything just the gamemode
Reply
#2

I don't know about Crash, that's probably some objects that cause crashes and Mods.
About lags, It's caused due to Bad usage of timers , that's all i know
Reply
#3

Get a host which is located near you.
Reply
#4

Using LAN? Didn't quite get your message.
However, LAN is on your computer,
If you are using IP 192.168.1.#, it will tend
to be slower. Instead I suggest using 127.0.0.1.

192.168.1.# has to connect to your modem first.
127.0.0.1 is your local computer I.P, there for
no modem connection required.

Using a server? Check out the specs of the server
on your provider. Suggested action would be to buy
a bigger and better dedicated server, rather than a
hosted FTP server. Dedicated servers can range from
prices to $40 a month to $400. A $40 month server
is great for SA:MP alone.

Your gamemode. Any errors/warnings when you compile?
All scripts up to date including plugins and includes?
Are you using a 'HECK' ton of 'PVars'?
Reply
#5

Quote:
Originally Posted by RGOimpact
Посмотреть сообщение
A $40 month server
is great for SA:MP alone.
You seriously don't know what your talking about. A dedicated server is only useful if you have over 500 players constantly. A 100 player server can be hosted on a 4$/month server, no problem.
Reply
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
You seriously don't know what your talking about. A dedicated server is only useful if you have over 500 players constantly. A 100 player server can be hosted on a 4$/month server, no problem.
Dude i meant about im editing a gamemode so to test it i open my samp-server.exe and check my server its lags alot
Reply
#7

Maybe remove some objects ?
Reply
#8

CreateDynamicObjects won't cause any problems. Don't use timers that have short intervals (lower than second maybe?). And also don't put too much code under OnPlayerUpdate.
Reply
#9

Quote:
Originally Posted by dominik523
Посмотреть сообщение
CreateDynamicObjects won't cause any problems. Don't use timers that have short intervals (lower than second maybe?). And also don't put too much code under OnPlayerUpdate.
i got many timers with 1 seconds and the script is old so is there a plugin or something to make it smooth

My plugins:
streamer.dll
audio.dll

i use ysi for login/register
Reply
#10

I recommend you to combine all that timers into one. Try to remove anything that won't be used too much.
I'm not sure is there plugin like that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)