Server closed 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 connection (
/showthread.php?tid=578298)
Server closed connection -
Kruno88 - 18.06.2015
I get this strange error,when I connect to my own server :/
127.0.0.1:7777 and it closes the samp-server.exe.At logs I get this:
Код:
12:52:31] [connection] 127.0.0.1:64521 requests connection cookie.
[12:52:32] Incoming connection: 127.0.0.1:64521 id: 0
[12:52:33] [join] [Lab_Monkey] has joined the server (0:127.0.0.1)
[12:52:33] write this tag: data
[12:52:33] [part] [Lab_Monkey] has left the server (0:2)
Re: Server closed connection -
Ritzy2K - 18.06.2015
Uhmmm i think reason 2 is for crash or timeout?
Re: Server closed connection -
Kruno88 - 18.06.2015
OMG.Did you even read th thread?!
Re: Server closed connection -
Ritzy2K - 18.06.2015
My bad...Did u check if u are banned or something? :c if u dont show onplayerconnect callback m not sure anyone can help except making guesses like me.
Re: Server closed connection -
Kruno88 - 18.06.2015
I wasn't.It is an error on samp-server.exe NOT me.It just closes samp-server.exe when I connect and I get this error.
Re: Server closed connection -
Ritzy2K - 18.06.2015
the dedicated server shuts itself? due u have all the required scriptfiles? about saving players stats etc? cuz if it crashes on connecting a player and not on 0/x slots then its ur error most probably... try re downloading servrt package?
Re: Server closed connection -
Jimmy0wns - 18.06.2015
I used to have this issue, it was caused by an include in my case. Did you add new plugins/includes recently?
Re: Server closed connection -
Kruno88 - 18.06.2015
I honestly just scripted for 1 week,didn't even test it.But yes,I'll try to deinstall j_invetory inc...
Re: Server closed connection -
Kruno88 - 18.06.2015
I removed j_inventory,still the same error.How did you fix it?
Re: Server closed connection -
Jimmy0wns - 18.06.2015
Quote:
Originally Posted by Kruno88
I removed j_inventory,still the same error.How did you fix it?
|
http://forum.sa-mp.com/showpost.php?...59&postcount=5
I simply removed that include and it was gone, but there are way more possibilities about why your gamemode is crashing, I'd suggest checking
OnPlayerConnect for anything suspicious.