Reconnection Bug (Before 0.3x)
#25

Quote:
Originally Posted by leong124
View Post
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
View Post
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
View Post
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.
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: 3 Guest(s)