SA-MP Forums Archive
Getting kicked without any explanation - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Getting kicked without any explanation (/showthread.php?tid=319305)



Getting kicked without any explanation - WackoX - 18.02.2012

I recently tryed to pick up my old script and work on it again.
Somehow, everytime i login/spawn i just see '''Server closed connection.''

I've searched in my script and NOWHERE it says Kick(); in or near the login function, the kick function is only being used in commands which a player has to execute manually.

I also don't have any filterscript running..

How in hell can i be kicked every time i login/spawn when NEVER in my script i used the Kick function?


Re: Getting kicked without any explanation - Madd Kat - 18.02.2012

well i think the server tells you when youv been kicked...
so if it dont say that try looking in your server_log file and see if you find anything there.


Re: Getting kicked without any explanation - aRoach - 18.02.2012

Search 'Kick(playerid)' or 'Kick( playerid )' without ' '...


Re: Getting kicked without any explanation - WackoX - 18.02.2012

Quote:
Originally Posted by Madd Kat
Посмотреть сообщение
well i think the server tells you when youv been kicked...
so if it dont say that try looking in your server_log file and see if you find anything there.
Quote:

[19:31:15] [part] [NL]WackoX has left the server (0:2)

When i remove the dialog system i don't get kicked anymore.
But how's that possible? i don't even have the kick function in there!


Re: Getting kicked without any explanation - Toreno - 18.02.2012

Try scanning your gamemode once again, if you find nothing... there might be includes which store publics/functions that kick you once they called, you might wanna check that out.


Re: Getting kicked without any explanation - aRoach - 18.02.2012

What Dialog System do you use ?


Re: Getting kicked without any explanation - WackoX - 18.02.2012

This is impossible people!
I've removed every single kick command in my script and i'm still getting kicked!

Quote:
Originally Posted by aRoach
Посмотреть сообщение
What Dialog System do you use ?
My own


Re: Getting kicked without any explanation - WackoX - 18.02.2012

Apparently "SpawnPlayer(playerid);" caused to kick me, anybody from SA:MP team can explain this..?


Re: Getting kicked without any explanation - aRoach - 18.02.2012

Do you have any Anti-Cheat or something ?


Re: Getting kicked without any explanation - ReneG - 18.02.2012

This is a new bug that was introduced when 0.3d came out. You have to use SetSpawnInfo before calling SpawnPlayer otherwise. You get kicked.