I want something that reconnects the player to the server automatically if a "Connection problem" Happends, for example a crash
Thank You
well, you cant, since the user or client isent connected to the server they cant use any of your lua scripts.
migth have worked if you had a dll, but that will require the cliant to download it first...
[QUOTE=Milo942;24254644]well, you cant, since the user or client isent connected to the server they cant use any of your lua scripts.
migth have worked if you had a dll, but that will require the cliant to download it first...[/QUOTE]
Bullshit. If there is a way to detect if the server has crashed, it's fully possible. Probably by monitoring move packets.
[code]
] lua_openscript_cl anticrash.lua
Running script anticrash.lua...
] rcon lua_run while true do debug.sethook() end
Crashed
Crashed
[/code]
[editline]10:05AM[/editline]
I'm going to tidy this up and release it. It's stupidly simple, but since there's a demand I may as well do the job properly.