How do i make my server restart faster? - 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)
+--- Thread: How do i make my server restart faster? (
/showthread.php?tid=361120)
How do i make my server restart faster? -
Joshy_Elite - 20.07.2012
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?
Re: How do i make my server restart faster? -
Kindred - 20.07.2012
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.
Re: How do i make my server restart faster? -
Joshy_Elite - 20.07.2012
Then what should i do,change my game-mode?Isn't it just cause it has 104k lines?
Re: How do i make my server restart faster? -
[KHK]Khalid - 20.07.2012
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?!
Re: How do i make my server restart faster? -
jaami - 20.07.2012
Restart server normaly take only 50 seconds, Is just that your Server is loading the GM so slow.
Re: How do i make my server restart faster? -
$$inSane - 20.07.2012
it depends on your net speed and btw <NO>!