Why GMX is longer than RELOADFS ?? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (
https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Why GMX is longer than RELOADFS ?? (
/showthread.php?tid=519456)
Why GMX is longer than RELOADFS ?? -
XXJacksug8X - 14.06.2014
why "gmx" takes a lot more time than "reloadfs" ? I have no filterscripts, should i copy my full gamemode to a filterscript?
Re: Why GMX is longer than RELOADFS ?? -
[WSF]ThA_Devil - 14.06.2014
Quote:
Originally Posted by XXJacksug8X
why "gmx" takes a lot more time than "reloadfs" ? I have no filterscripts, should i copy my full gamemode to a filterscript?
|
As I think, GMX has to handle more stuff, like reading from server.cfg, to find next gamemode, re-initialising all plugins and similar things, while reloadfs only reloads single script.
As well the GMX causes players to lose connection to server for a while, and you do not connect instantly when the server is GMX'd.
And no, DO NOT copy gamemode in a fs.
Re: Why GMX is longer than RELOADFS ?? -
XXJacksug8X - 16.06.2014
why not?
Re: Why GMX is longer than RELOADFS ?? -
[WSF]ThA_Devil - 16.06.2014
Quote:
Originally Posted by XXJacksug8X
why not?
|
Because, it is not meant to do that. It is better having bigger gamemode with little filterscripts rather than 2kb gamemode with 2MB filterscript.
And if you decide to have multiple gamemodes? like TDM/CTF and automatically switching between them?
It works fine if it is done as gamemode.
Re: Why GMX is longer than RELOADFS ?? -
Mauzen - 16.06.2014
You should read about the difference between gamemodes and filterscripts.
Putting the whole gamemode in a filterscript definitely isnt a good idea.