Reconnection Bug (Before 0.3x)
#28

Quote:
Originally Posted by Y_Less
View Post
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).



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".



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.
I understand, I used to close the server like that because the server does exactly the same as the "exit" command do in Windows XP, but not Windows 7.

It doesn't matter what the order of unloading the filterscripts and the gamemode, but loading it.
I'm not really sure if filterscripts can load before the gamemode if they're loaded by sending a "loadfs" command to the server in OnGameModeInit. You may be right, because I can have a try to reload the filterscripts after restarting the gamemode to see if there is any bug.

For players, maybe you haven't received much complaints from players, but I usually got some reports on that problem. Also, the problem makes the reconnect command doesn't work, since the player will probably (I can nearly say every time) get fake banned. They will have to reload the game to rejoin the server.

Not to mention about the problem that players may think they're really banned, they are still inconvenient to rebuild connection with the server when they are desynced due to network problem (which can't send most of the command). Every time a player loses connection, they will receive "you are banned" message unless they go to the GTA:SA menu and wait. If it is a problem that cause inconvenience on multiple things, why shouldn't it be considered to be fixed?
Reply


Messages In This Thread
Reconnection Bug (Before 0.3x) - by Lorenc_ - 08.01.2013, 19:31
Re: Reconnection Bug (Before 0.3x) - by Memoryz - 08.01.2013, 19:34
Re: Reconnection Bug (Before 0.3x) - by Luis- - 08.01.2013, 19:35
Re: Reconnection Bug (Before 0.3x) - by CyNiC - 08.01.2013, 19:48
Re: Reconnection Bug (Before 0.3x) - by LeGGGeNNdA - 08.01.2013, 19:52
Re: Reconnection Bug (Before 0.3x) - by Djole1337 - 08.01.2013, 19:53
Re: Reconnection Bug (Before 0.3x) - by Kyle - 08.01.2013, 19:55
Re: Reconnection Bug (Before 0.3x) - by Vince - 08.01.2013, 20:09
Re: Reconnection Bug (Before 0.3x) - by Lorenc_ - 08.01.2013, 20:18
Re: Reconnection Bug (Before 0.3x) - by Y_Less - 08.01.2013, 21:07
Re: Reconnection Bug (Before 0.3x) - by park4bmx - 08.01.2013, 21:13
Re: Reconnection Bug (Before 0.3x) - by Y_Less - 08.01.2013, 21:47
Re: Reconnection Bug (Before 0.3x) - by KyleSmith - 08.01.2013, 21:49
Re: Reconnection Bug (Before 0.3x) - by kaisersouse - 08.01.2013, 21:54
Re: Reconnection Bug (Before 0.3x) - by Lorenc_ - 08.01.2013, 21:59
Re: Reconnection Bug (Before 0.3x) - by RyDeR` - 08.01.2013, 22:08
Re: Reconnection Bug (Before 0.3x) - by KyleSmith - 08.01.2013, 22:12
Re: Reconnection Bug (Before 0.3x) - by Johndaonee - 08.01.2013, 22:35
Re: Reconnection Bug (Before 0.3x) - by [HiC]TheKiller - 08.01.2013, 22:43
Re: Reconnection Bug (Before 0.3x) - by RedCrossER - 08.01.2013, 22:44
Re: Reconnection Bug (Before 0.3x) - by Lorenc_ - 09.01.2013, 04:45
Re: Reconnection Bug (Before 0.3x) - by Strawhats - 09.01.2013, 07:31
Re: Reconnection Bug (Before 0.3x) - by leong124 - 09.01.2013, 08:56
Re: Reconnection Bug (Before 0.3x) - by Lorenc_ - 09.01.2013, 10:49
Re: Reconnection Bug (Before 0.3x) - by Y_Less - 09.01.2013, 10:49
Re: Reconnection Bug (Before 0.3x) - by ViRuXe - 09.01.2013, 11:52
Re: Reconnection Bug (Before 0.3x) - by Lorenc_ - 09.01.2013, 12:07
Re: Reconnection Bug (Before 0.3x) - by leong124 - 09.01.2013, 14:31
AW: Re: Reconnection Bug (Before 0.3x) - by Atrox95 - 12.01.2013, 12:17
Re: Reconnection Bug (Before 0.3x) - by Sanady - 12.01.2013, 14:19

Forum Jump:


Users browsing this thread: 2 Guest(s)