SA-MP Forums Archive
Server closed the connection - 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: Server closed the connection (/showthread.php?tid=365982)



Server closed the connection - Adam420 - 04.08.2012

Okay well on this server I was testing when I log in to the server it says server closed the connection right after logging in. If I need to show any coding or logs just let me know.


Re: Server closed the connection - DarkB0y - 04.08.2012

U have closed the samp-server thats why


Re: Server closed the connection - Adam420 - 04.08.2012

Quote:
Originally Posted by X_Boy
Посмотреть сообщение
U have closed the samp-server thats why
No I didn't close anything. I simply log in and then it automatically tells me "server has closed connection"


Re: Server closed the connection - DarkB0y - 04.08.2012

than there some thing with the admin system check the server.cfg too
and try to run another server for checking

btw post the code


Re: Server closed the connection - Abravanel - 04.08.2012

Verify that the OnPlayerConnect has Ban (playerid);
If exist, delete this line.


Re: Server closed the connection - Adam420 - 04.08.2012

Quote:
Originally Posted by AFerreira
Посмотреть сообщение
Verify that the OnPlayerConnect has Ban (playerid);
If exist, delete this line.
Nope OnPlayerConnect dosn't have ban. Any other suggestions?


Re: Server closed the connection - kbalor - 04.08.2012

Quote:
Originally Posted by Adam420
Посмотреть сообщение
Nope OnPlayerConnect dosn't have ban. Any other suggestions?
there is something wroing with your login system.


Respuesta: Re: Server closed the connection - HarlemSAMP - 04.08.2012

Quote:
Originally Posted by Adam420
Посмотреть сообщение
Nope OnPlayerConnect dosn't have ban. Any other suggestions?
it's not a ban, try checking if there's no KickPlayer OnPlayerConnect or OnPlayerRequestSpawn or something


Re: Respuesta: Re: Server closed the connection - Adam420 - 04.08.2012

Quote:
Originally Posted by HarlemSAMP
Посмотреть сообщение
it's not a ban, try checking if there's no KickPlayer OnPlayerConnect or OnPlayerRequestSpawn or something
Nope no KickPlayer on those lines either. The script compiles fine and everything it's just exactly when I log in it closes the connection.


Re: Server closed the connection - RelaxCafe - 04.08.2012

How do you expect us to help.. when we got nothing to look at. Now the "Server closed the connection" comes only when you are kicked or banned. Give us some code to look at.. And what does the samp-server.exe say? Does it say that you have connected to the server and then disconnected? If so, try to debug you kick and ban functions, meaning to keep track of everything.