0.3d R2 - Kicked when spawning
#1

When I spawn, I get kicked. Simple as. I just see 'Server closed the connection'. It doesn't happen on 0.3d R1 (original). I tested with both clients (R1 and R2) on the R1 server. It IS a server problem. I am using Incognito's streamer, BlueG's mySQL, MapAndreas and sscanf2 (plugins).

I commented out ALL Kick()'s and disabled all filterscripts, and it still happened. It's either SA:MP or a plugin, and I'm pretty sure none of the plugins use Kick().

I saw in the 0.3d R2 topic that a bug with slots not freeing up after players being kicked was fixed, but this seems to have caused this new problem.

It doesn't, however, kick me on a blank gamemode.

EDIT: I did some debugging, turns out I get kicked _BEFORE_ OnPlayerSpawn is called - how is that possible?

Quote:

OnDialogResponse - (2 1 -1 #)
OnPlayerDisconnect
OnPlayerSpawn

EDIT #2:

More information to perhaps help Kalcor idenfity the problem:

When players connect, I SpawnPlayer() then TogglePlayerSpectating(playerid, true);
Then I set their camera etc. and show a dialog for login.
It all works fine. Then I use TogglePlayerSpectating(playerid, false) under OnDialogResponse when they login. This is where the problem seems to be, but Kick() is not used in ANY dialogs!
The last line in OnDialogResponse (in the block for 'if(dialogid == DIALOG_LOGIN)' is a clientmessage, and it gets sent before I get kicked.
Reply


Messages In This Thread
0.3d R2 - Kicked when spawning - by MP2 - 09.12.2011, 23:22
Re: 0.3d R2 - Kicked when spawning - by T0pAz - 10.12.2011, 05:33
Re: 0.3d R2 - Kicked when spawning - by Whitetiger - 10.12.2011, 06:50
Re: 0.3d R2 - Kicked when spawning - by Ash. - 10.12.2011, 09:43
Re: 0.3d R2 - Kicked when spawning - by MP2 - 10.12.2011, 10:51
Re: 0.3d R2 - Kicked when spawning - by Smurf[SMURF] - 10.12.2011, 10:52
Re: 0.3d R2 - Kicked when spawning - by Smurf[SMURF] - 10.12.2011, 11:09
Re: 0.3d R2 - Kicked when spawning - by MP2 - 10.12.2011, 13:50
Re: 0.3d R2 - Kicked when spawning - by T0pAz - 10.12.2011, 14:02
Re: 0.3d R2 - Kicked when spawning - by d0 - 10.12.2011, 14:36

Forum Jump:


Users browsing this thread: 5 Guest(s)