Kicking X because they didn't logon to the game.
#57

Hello guys, recently had this issue on my new game-mode on version 0.3.7 RC3. I noticed a discussion regarding a high posibility of the error coming from "OnPlayerConnect(playerid)". After scanning through for anything that would kick me I noticed a 'FloodCheck' line of code, from my best guess it was giving me 'X' amount of time to connect and if I failed to successfully connect in that time it would kick me. As you can see from the code here;

Code:
public OnPlayerConnect(playerid)
{
	RemoveBuildingForPlayer(playerid,3369,123.0469,2587.7422,15.4766,0.25);
	RemoveBuildingForPlayer(playerid,3269,123.0469,2587.7422,15.4766,0.25);
	RemoveBuildingForPlayer(playerid,3286,392.7109,2596.4531,17.6328,0.25);
	new str[128];
	SetPlayerColor(playerid,-1);
	SPAWNED[playerid] = 0;
	ALLOWCHAT[playerid] = 1;
	CHECKSPAM[playerid] = 0;
	fc[playerid] = SetTimerEx("FloodCheck",99999,false,"i",playerid);
	format(str,sizeof(str),"~w~%s ~g~connected.~w~",GetPName(playerid));
	UpdateLog(str);
	return 1;
Now this could just be my case, I do not know but sharing solutions I guess leads to answers. I spent forever looking for loops, bits and bops in my script that may be causing it. My best advice to anybody who is receiving this error is to check the 'OnPlayerConnect'. Hope I have helped in some way.
Reply


Messages In This Thread
Kicking X because they didn't logon to the game. - by Mellnik - 04.02.2013, 11:27
Re: Kicking X because they didn't logon to the game. - by Kalcor - 04.02.2013, 13:53
AW: Re: Kicking X because they didn't logon to the game. - by Mellnik - 04.02.2013, 15:32
Re: Kicking X because they didn't logon to the game. - by leong124 - 04.02.2013, 16:48
Re: Kicking X because they didn't logon to the game. - by nGen.SoNNy - 04.02.2013, 18:24
Re: Kicking X because they didn't logon to the game. - by dugi - 04.02.2013, 18:37
Re: Kicking X because they didn't logon to the game. - by T0pAz - 04.02.2013, 18:52
Re: Kicking X because they didn't logon to the game. - by leong124 - 05.02.2013, 11:36
Re: Kicking X because they didn't logon to the game. - by Kalcor - 05.02.2013, 12:10
Re: Kicking X because they didn't logon to the game. - by GreenHammy - 05.02.2013, 12:38
AW: Kicking X because they didn't logon to the game. - by woot - 05.02.2013, 18:13
AW: Kicking X because they didn't logon to the game. - by Mellnik - 05.02.2013, 18:28
Re: Kicking X because they didn't logon to the game. - by TTJJ - 06.02.2013, 13:10
Re: Kicking X because they didn't logon to the game. - by navedhashmi32 - 10.02.2013, 18:04
Re: Kicking X because they didn't logon to the game. - by TTJJ - 15.02.2013, 12:23
AW: Kicking X because they didn't logon to the game. - by Mellnik - 16.02.2013, 13:45
Re: Kicking X because they didn't logon to the game. - by HuSs3n - 21.02.2013, 18:23
Re: Kicking X because they didn't logon to the game. - by kaisersouse - 21.02.2013, 18:32
Re: Kicking X because they didn't logon to the game. - by Roel - 25.02.2013, 17:09
Re: Kicking X because they didn't logon to the game. - by ancezas - 27.02.2013, 03:56
Re: Kicking X because they didn't logon to the game. - by Neil. - 27.02.2013, 05:42
Re: Kicking X because they didn't logon to the game. - by Essle - 27.02.2013, 06:15
Re: Kicking X because they didn't logon to the game. - by MicroSof - 09.03.2013, 21:05
Re: Kicking X because they didn't logon to the game. - by CoaPsyFactor - 26.03.2013, 17:10
Re: Kicking X because they didn't logon to the game. - by ProShooter22 - 20.04.2013, 05:27
Re: Kicking X because they didn't logon to the game. - by ProShooter22 - 23.04.2013, 09:34
Re: Kicking X because they didn't logon to the game. - by EpicGuy - 23.04.2013, 10:03
Re: Kicking X because they didn't logon to the game. - by ProShooter22 - 23.04.2013, 10:33
Re: Kicking X because they didn't logon to the game. - by ReV. - 05.05.2013, 00:49
Re: Kicking X because they didn't logon to the game. - by ReV. - 02.08.2013, 22:37
AW: Kicking X because they didn't logon to the game. - by Mellnik - 03.08.2013, 13:07
Re: Kicking X because they didn't logon to the game. - by dr1ftp0w3r - 05.08.2013, 15:37
Re: Kicking X because they didn't logon to the game. - by [NRG]Dark - 08.08.2013, 17:09
Re: Kicking X because they didn't logon to the game. - by Jaxson - 09.08.2013, 10:55
Re: Kicking X because they didn't logon to the game. - by TheProfessional - 11.08.2013, 02:43
Re: Kicking X because they didn't logon to the game. - by [NRG]Dark - 13.08.2013, 00:59
Re: Kicking X because they didn't logon to the game. - by JackStenzel - 24.08.2013, 01:26
Re: Kicking X because they didn't logon to the game. - by Dr.Einstein - 05.11.2013, 11:56
Re: Kicking X because they didn't logon to the game. - by David (Sabljak) - 13.11.2013, 20:10
Re: Kicking X because they didn't logon to the game. - by Craig007911 - 24.01.2014, 07:19
Re: Kicking X because they didn't logon to the game. - by Kyle - 14.02.2014, 23:18
Re: Kicking X because they didn't logon to the game. - by Kyle - 15.02.2014, 09:27
Respuesta: Kicking X because they didn't logon to the game. - by ViniKuliveguisky - 15.02.2014, 21:02
Re: Kicking X because they didn't logon to the game. - by Gasartobi - 24.03.2014, 16:36
Re: Kicking X because they didn't logon to the game. - by Guest4390857394857 - 18.04.2014, 14:19
Re: Kicking X because they didn't logon to the game. - by nGen.SoNNy - 18.04.2014, 17:42
Re: Kicking X because they didn't logon to the game. - by nickdodd25 - 19.04.2014, 14:51
Re: Kicking X because they didn't logon to the game. - by nickdodd25 - 20.04.2014, 15:26
Re: Kicking X because they didn't logon to the game. - by Guest4390857394857 - 11.05.2014, 09:42
AW: Kicking X because they didn't logon to the game. - by Mellnik - 25.07.2014, 01:13
Re: Kicking X because they didn't logon to the game. - by scaunel - 27.09.2014, 13:44
Respuesta: Kicking X because they didn't logon to the game. - by Dimitri281298 - 05.10.2014, 18:12
Respuesta: Kicking X because they didn't logon to the game. - by Dimitri281298 - 05.10.2014, 18:15
Re: AW: Kicking X because they didn't logon to the game. - by VeggieBoy - 05.10.2014, 18:40
Re: Kicking X because they didn't logon to the game. - by RoC4life - 17.01.2015, 13:57
Re: Kicking X because they didn't logon to the game. - by maramizo - 06.03.2015, 22:59
Re: Kicking X because they didn't logon to the game. - by JaykePC - 19.04.2015, 15:14
Re: Kicking X because they didn't logon to the game. - by tommzy09 - 03.06.2015, 07:29
Re: Kicking X because they didn't logon to the game. - by PeppeAC - 06.07.2015, 12:54
Re: Kicking X because they didn't logon to the game. - by liquor - 06.07.2015, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)