Posts: 918
Threads: 125
Joined: Nov 2010
Weird. R2 didnt give me this messages. But it came back
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
It is reasonable to say that clicking the "X" button isn't within the design of the server console, but why? Scripters are used to work like that for years (at least since I started scripting). It's is quite inconvenient for us to repetitively load the game.
As for something like gmx or changemode, I have to say that the initialisation of different scripts will be messed up, due to some code of initialisation is run in filterscripts. I will support reloading the scripts if there is a command that has the same loading sequence as starting the server (load filterscripts and then gamemode). Note that it is not the same as reloadfs + changemode, because players can still play in the server when the filterscript is reloaded, so that the data can be messed up.
But the most important thing for the need of fixing this problem, is that players who are disconnected from the server due to network problem, will be fake banned by the server when they simply wait at the screen of loading at Santa Maria Beach for reconnection to the server. Players have always been complaining that they are banned without any reason, while they are not banned but encountered this bug.
It is a serious problem because some players may think they really get banned without any reason, they may criticise that the server bans players without reason in public, which can lead to loss of players.
I really hope that it can be fixed.
Edit:
I just noticed that the developed reconnection command, which bans your IP and unban when you are disconnected so as to make you reconnect to the server, will get you fake banned.
Unless there is a reconnect function, the bug should be fixed.
Posts: 3,793
Threads: 196
Joined: Jan 2010
Reputation:
0
GMX induces more bugs to be created, that is why most server devs use the close option (which is the exact same as sending the command 'close'.)
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by leong124
It is reasonable to say that clicking the "X" button isn't within the design of the server console, but why? Scripters are used to work like that for years (at least since I started scripting). It's is quite inconvenient for us to repetitively load the game.
|
Then you have been doing it wrong for years. The "X" button is a Windows feature that closes the command prompt enclosing the server directly. This forces all processes running within the console (i.e. the SA:MP server) to end instantly, and doesn't perform any clean shutdown like calling "OnGameModeExit". Instead, you should use the "exit" command inside the console if you want a clean shutdown (and this will in turn nicely inform all clients that the server has ended).
Quote:
Originally Posted by leong124
As for something like gmx or changemode, I have to say that the initialisation of different scripts will be messed up, due to some code of initialisation is run in filterscripts. I will support reloading the scripts if there is a command that has the same loading sequence as starting the server (load filterscripts and then gamemode). Note that it is not the same as reloadfs + changemode, because players can still play in the server when the filterscript is reloaded, so that the data can be messed up.
|
If you script is THAT reliant on the load order of scripts, then use "SendRconCommand" within your main mode to shut down filterscripts correctly when you use "changemode".
Quote:
Originally Posted by leong124
But the most important thing for the need of fixing this problem, is that players who are disconnected from the server due to network problem, will be fake banned by the server when they simply wait at the screen of loading at Santa Maria Beach for reconnection to the server. Players have always been complaining that they are banned without any reason, while they are not banned but encountered this bug.
|
This IS an actual problem, but 90% of the people who complain about this bug are scripters constantly (and incorrectly) reconnecting - for average players it's a much smaller problem (unless you have data to the contrary), which is why it hasn't been addressed.
Posts: 138
Threads: 8
Joined: Dec 2006
Reputation:
0
Are you people for real? Why not use gmx / changemode like everyone else does? For fucks sake. Been developing for years using this method and never gave me any problem whatsoever. And yes I also use MySQL, and no, no problems, WHATSOEVER.
Just close this thread, it's not SA-MP's fault that people can't use proper methods to develop their scripts.