Closed grasmanek94 closed 11 years ago
What do you mean by "reconnects"? Do you kill the server and restart, gmx it or kick the player?
reconnect after a "timeout". (so gta nor the server didn't crash)
2012/12/7 Zeex notifications@github.com
What do you mean by "reconnects"? Do you kill the server and restart, gmx it or kick the player?
— Reply to this email directly or view it on GitHubhttps://github.com/Zeex/sampgdk/issues/23#issuecomment-11137074.
Could you post some steps and code required in order to reproduce this?
using RouteConnectorPlugin 181 compiled with your newest GDK should do. reconnect a few times to the server (timeout the player, ban unban).
2012/12/8 Zeex notifications@github.com
Could you post some steps and code required in order to reproduce this?
— Reply to this email directly or view it on GitHubhttps://github.com/Zeex/sampgdk/issues/23#issuecomment-11157187.
the "cq" folder has a concurrent queue for linux. It should work when you add that as include directory
however the issue happend on windows to me
(use VC++ 11 compiler or a C++ 11 equivalent)
also will there be a sampgdk library which only gives you ability to call natives? so no need for public support? (so the system doesn't have to install sampgdk, at least I would only need GetPlayerPos)
Unfortunately I couldn't reproduce this on my own. Could you record a dump of the server process when the issue occurs?
In case you don't know how to do that:
hm It's hard to reproduce, when I succeed to do it again I'll provide the dump
2012/12/9 Zeex notifications@github.com
Unfortunately I couldn't reproduce this on my own. Could you record a dump of the server process when the issue occurs?
In case you don't know how to do that:
- Download and instal Process Explorer: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
- Set a conditional breakpoint inside OnPlayerDisconnect in Visual Studio using "playerid > 1000" as a condition
When the breakpoint gets hit, create a dump of samp-server.exe by right-clicking on it in Process Explorer and selecting Create Dump -> Create Full Dump
— Reply to this email directly or view it on GitHubhttps://github.com/Zeex/sampgdk/issues/23#issuecomment-11170962.
PLUGIN_EXPORT bool PLUGIN_CALL OnPlayerDisconnect(int playerid,int reason)
Please check it out.