Can't connect to my server. (while using a specific gamemode)
#1

[15:52:22] {FFFFFF}SA-MP {B9C9BF}0.3.DL-R1 {FFFFFF}Started
[15:52:25] Connecting to 127.0.0.1:7777...
[15:52:26] Connected. Joining the game...
[15:53:28] Server closed the connection.

samp-server.exe: Kicking 127.0.0.1 because they didn't logon the game.

yesterday it worked just fine and now this shit happens, I turned my computer off right after i finished scripting & testing yesterday and when I logged today the issue started

and no I didn't forget to compile before I shutted down my pc
Reply
#2

Check your script for the line which says "kicking %s because they didn't logon the game."?

Seems more like a script feature to me.
Reply
#3

samp-server.exe: Kicking 127.0.0.1 because they didn't logon the game.

Maybe Login problem in your script. Check you script or use Crashdetect.
Reply
#4

Quote:
Originally Posted by UFF
Посмотреть сообщение
samp-server.exe: Kicking 127.0.0.1 because they didn't logon the game.

Maybe Login problem in your script. Check you script or use Crashdetect.
i tried once to install crashdetect but i didn't understand how to do it
Reply
#5

you sure the server and client is the same samp version?
Reply
#6

Quote:
Originally Posted by rfr
Посмотреть сообщение
you sure the server and client is the same samp version?
yes.
Reply
#7

like ritzy said search for "didn't logon the game" in your gamemode and give us the code for that
Reply
#8

"Kicking x.x.x.x because they didn't logon the game." is a SAMP sided message...
Probably you have an infinity loop or a code which take too much time to run. Comment part by part your code and do some tests.
Reply
#9

Sorry, didn't knew this was SA-MP feature.

Anyway, I did a simple ****** search for you. Apparently, because you couldn't, and here's what I found.

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
No other server has reported this. At least, not yet.

The 'Kicking {} because they didn't logon to the game.' message is normal. It means the client is too slow to connect and probably has a high amount of packet loss. In previous versions of the SA-MP server, the same problem could happen, although the player would eventually just have to quit and try reconnecting.

Are you sure there aren't external factors causing this problem? There could some type of packet filtering in the firewall. The physical server which hosts the game server could be under attack.

You can PM me a bigger server log if you like. If most servers work fine and there are problems like this, it usually turns out that it's not caused by SA-MP.
But, again I'm 99 percent sure an infinite loop is causing that issue. (Like Dayrion said.)
Reply
#10

Wait for the player to fully connect before executing functions like Streamer_UpdateEx (which can cause this issue if there are (for example) a lot of textured objects).
Check for infinite or very long loops in OnPlayerConnect, or other code that can hang the server for a bit (non-threaded (My)SQL queries or file writes/reads).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)