Does 'gmx' clear accumulated memory?
#2

Quote:
Originally Posted by lolumadd_
View Post
When you use the 'gmx' command to restart your server, does it clear stored memory and data? Furthermore, does 'gmx' go through the same process of manually closing samp-server process and re-opening?

Thanks for clarification.
It doesn't disconnect and then reconnect the players but the variables are cleared and everything it redone like as if the server is going to run right now.

The reason is because "gmx" is meant to be used to change the gamemode and not restart the server but since most servers has only 1 gamemode, It can be used to restart the server.

but when done.. "OnPlayerDisconnect" will be called in the server to do the saving process of the players or whatever u want and then it will call the "OnPlayerConnect" on the next gamemode (Which is here the same anyways) so it will be for u like the server has completely restarted but the players didn't really disconnect.

Tl ; DR: Yes, Everything is redone.
Reply


Messages In This Thread
Does 'gmx' clear accumulated memory? - by lolumadd_ - 01.10.2015, 18:42
Re: Does 'gmx' clear accumulated memory? - by Ahmad45123 - 01.10.2015, 18:50
Re: Does 'gmx' clear accumulated memory? - by Pottus - 01.10.2015, 18:52
Re: Does 'gmx' clear accumulated memory? - by lolumadd_ - 01.10.2015, 19:26
Re: Does 'gmx' clear accumulated memory? - by Ahmad45123 - 01.10.2015, 19:34
Re: Does 'gmx' clear accumulated memory? - by jlalt - 01.10.2015, 19:37
Re: Does 'gmx' clear accumulated memory? - by lolumadd_ - 01.10.2015, 19:54
Re: Does 'gmx' clear accumulated memory? - by jlalt - 01.10.2015, 20:01
AW: Does 'gmx' clear accumulated memory? - by Kaliber - 01.10.2015, 20:12
Re: Does 'gmx' clear accumulated memory? - by Abagail - 03.10.2015, 16:40

Forum Jump:


Users browsing this thread: 3 Guest(s)