How do i make my server restart faster?
#1

I have a problem,whenever i restart my server,it takes about 15-30 Minutes to start up,On some servers they restart very quickly,what should i do?
Reply
#2

What do you mean? Like, a custom command to restart the server or are you exiting from the samp_server and opening it back up, and it taking 15 minutes.

If it takes 15 minutes to load a script after opening samp_server, your gamemode is shit.
Reply
#3

Then what should i do,change my game-mode?Isn't it just cause it has 104k lines?
Reply
#4

You probably have a lot of stuff under OnGameModeInit maybe you can check it and remove unnecessary stuff, also you can try benchmarking your code to see how much would it take to execute; checkout THIS tutorial about benchmarking, but 30 minutes really?!
Reply
#5

Restart server normaly take only 50 seconds, Is just that your Server is loading the GM so slow.
Reply
#6

it depends on your net speed and btw <NO>!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)