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=586873)



Server closed the connection - RocketBoy - 25.08.2015

Hi..
My server is not working correctly.. When i joined my server after 5 mins (everytime)
"Server closed the connection"
I don't know why, do you guyz have any idea then please share with me.


Re: Server closed the connection - Logofero - 25.08.2015

Quote:
Originally Posted by RocketBoy
Посмотреть сообщение
Hi..
My server is not working correctly.. When i joined my server after 5 mins (everytime)
"Server closed the connection"
I don't know why, do you guyz have any idea then please share with me.
You may have problems with the provider - weak on the Internet disconnects.


Re: Server closed the connection - RocketBoy - 25.08.2015

Quote:
Originally Posted by Logofero
Посмотреть сообщение
You may have problems with the provider - weak on the Internet disconnects.
No.. i was testing on my desktop (Samp-server.exe).


Re: Server closed the connection - TheSnaKe - 25.08.2015

Do you get any errors in your console/logs?


Re: Server closed the connection - RocketBoy - 25.08.2015

No

PHP код:
[15:25:05Number of vehicle models151
[15:25:26] [connection127.0.0.1:58360 requests connection cookie.
[
15:25:27Incoming connection127.0.0.1:58360 id0
[15:25:28] [joinReDraGoN has joined the server (0:127.0.0.1)
[
15:25:28ReDraGoN has joined the server.  [ Country: Private IP IP Address127.0.0.1 Ping15 ]
[
15:26:34] [partReDraGoN has left the server (0:2



Re: Server closed the connection - Threshold - 26.08.2015

Look for all lines where you use the function 'Kick(playerid)', where the parameter isn't necessarily 'playerid'. Check to see where you're using those lines and see if it relates to any potential issues that you might be matching.


Re: Server closed the connection - ahameed4755 - 26.08.2015

do you have any mods i mean car mods or something.. once i installed car mods and some server was working and some were not i just reinstalled gta sa and everything was fine then


Re: Server closed the connection - Runn3R - 26.08.2015

I think it's because of the ping and the high-ping system kicks him.

Is the problem only appearing on only one server or on others too?


Re: Server closed the connection - Vince - 26.08.2015

If it's after 5 minutes only then it's definitely something that's on a timer. I'm thinking some kind of bugged login timeout, i.e. if you don't login within 5 minutes you get kicked.


Re: Server closed the connection - RocketBoy - 26.08.2015

HMM!
Quote:
Originally Posted by Vince
If it's after 5 minutes only then it's definitely something that's on a timer. I'm thinking some kind of bugged login timeout, i.e. if you don't login within 5 minutes you get kicke
I think you're ryt.