SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 04/02/2013, 12:27 PM   #1
Mellnik
Gangsta
 
Mellnik's Avatar
 
Join Date: Dec 2011
Location: Paradise Falls, CAℕADA
Posts: 768
Reputation: 373
Question Kicking X because they didn't logon to the game.

I upgraded my server to 0.3x but now everyone gets kicked after joining:
Code:
[12:54:04] Kicking 78.188.189.188 because they didn't logon to the game.
This problem occurred ~12 hrs after serverstart.

Before that, this message was printed to the server log:

Code:
[12:05:20] Incoming connection: 78.188.189.188:2453
[12:05:30] Invalid client connecting from 78.188.189.188
The player count were frozen at 28.

The problem is that everyone gets kicked after joining, any idea how to solve this?

I posted it in 0.3x section because it seems to be new in 0.3x.

Last edited by Mellnik; 26/11/2015 at 07:39 PM.
Mellnik is offline   Reply With Quote
Old 04/02/2013, 02:53 PM   #2
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Posts: 1,178
Reputation: 2865
Default Re: Kicking X because they didn't logon to the game.

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.
Kalcor is offline   Reply With Quote
Old 04/02/2013, 04:32 PM   #3
Mellnik
Gangsta
 
Mellnik's Avatar
 
Join Date: Dec 2011
Location: Paradise Falls, CAℕADA
Posts: 768
Reputation: 373
Default AW: Re: Kicking X because they didn't logon to the game.

Quote:
Originally Posted by Kalcor View Post
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.
Thanks for this information. It's weird because everyone were kicked again after rejoining.

I'm sure that it is not caused by server's firewall because no changes have been made to it and there were no problems before the 0.3x upgrade. I haven't noticed any other attacks.

When I tried to stop the SA-MP server with CTRL+C (Screen) it failed, it literally seemed to be frozen also the player count. I had to kill hole process.

I can't send you the log because I've lost it while overriding it accidentally but it looked like this:
Code:
Incoming connection: X
Kicking X because they didn't logon to the game.
Incoming connection: X
Kicking X because they didn't logon to the game.
Incoming connection: X
Incoming connection: X
Kicking X because they didn't logon to the game.
Kicking X because they didn't logon to the game.
And so on...


Code:
Invalid client connecting from 78.188.189.188
was printed 1 time before the "Kicking" stuff occurred.

Last edited by Mellnik; 27/12/2014 at 06:46 PM.
Mellnik is offline   Reply With Quote
Old 04/02/2013, 05:48 PM   #4
leong124
High-roller
 
leong124's Avatar
 
Join Date: Jun 2008
Location: Hong Kong, China
Posts: 1,496
Reputation: 134
Default Re: Kicking X because they didn't logon to the game.

Maybe you should check if there is any infinite loop, or check where the server hangs at.
I had weird bugs that was finally found to be caused by something like using strins for unknown-sized strings (cmdtext[] in OnPlayerCommandText).
__________________
[KDT_MS]hk_shade

Sorry for my bad English and my weakness in expressing myself.
leong124 is offline   Reply With Quote
Old 04/02/2013, 07:24 PM   #5
nGen.SoNNy
Gangsta
 
nGen.SoNNy's Avatar
 
Join Date: Sep 2009
Location: Romania
Posts: 928
Reputation: 69
Default Re: Kicking X because they didn't logon to the game.

Same problem
__________________
If i've helped you, please click
nGen.SoNNy is offline   Reply With Quote
Old 04/02/2013, 07:37 PM   #6
dugi
Beta Tester
 
Join Date: Jun 2007
Location: Poland
Posts: 2,313
Reputation: 848
Default Re: Kicking X because they didn't logon to the game.

Quote:
Originally Posted by nGen.SoNNy View Post
Same problem
You should provide more information such as the server log.
__________________
dugi is offline   Reply With Quote
Old 04/02/2013, 07:52 PM   #7
T0pAz
Guest
 
Posts: n/a
Default Re: Kicking X because they didn't logon to the game.

Didn't seem to occur to me yet using the 0.3X R1-2. I think the problem is elsewhere.
  Reply With Quote
Old 05/02/2013, 12:36 PM   #8
leong124
High-roller
 
leong124's Avatar
 
Join Date: Jun 2008
Location: Hong Kong, China
Posts: 1,496
Reputation: 134
Default Re: Kicking X because they didn't logon to the game.

I also saw similar messages today. I watched at the server console and found that the whole computer was hanging. Players weren't disconnected to the server but they couldn't do anything.
They were obviously connected, but the server tried to kick them (but failed). I try to show the player list and the server couldn't get information from some players. I tried to kick the players manually so as to prevent data loss, weird run-time error started to occur, and it finally crashed:

Code:
[2013-02-05 18:57:53] [18:57:53] playerid18(18) entered command:/t
[2013-02-05 18:58:01] [18:58:01] playerid28(28) entered command:/v uran
[2013-02-05 18:58:02] [18:58:02] playerid28(28) entered command:/lights
[2013-02-05 19:00:41] Incoming connection: (valid ip 1):52804
[2013-02-05 19:01:11] Kicking (valid ip 1) because they didn't logon to the game.
[2013-02-05 19:01:22] Incoming connection: (valid ip 1):52805
[2013-02-05 19:01:55] Incoming connection: (valid ip 2):49215
[2013-02-05 19:02:25] Kicking (valid ip 2) because they didn't logon to the game.
[2013-02-05 19:03:16] Incoming connection: (valid ip 3):62227
[2013-02-05 19:03:46] Kicking (valid ip 3) because they didn't logon to the game.
[2013-02-05 19:04:56] Incoming connection: (valid ip 3):62657
[2013-02-05 19:05:26] Kicking (valid ip 3) because they didn't logon to the game.
[2013-02-05 19:05:52] Incoming connection: (valid ip 4):9918
[2013-02-05 19:06:22] Kicking (valid ip 4) because they didn't logon to the game.
[2013-02-05 19:06:59] Incoming connection: (valid ip 4):9920
[2013-02-05 19:09:28] Incoming connection: (valid ip 5):55585
[2013-02-05 19:09:58] Kicking (valid ip 5) because they didn't logon to the game.
[2013-02-05 19:11:27] Incoming connection: (valid ip 6):4588
[2013-02-05 19:11:57] Kicking (valid ip 6) because they didn't logon to the game.
[2013-02-05 19:12:26] Incoming connection: (valid ip 6):4602
[2013-02-05 19:13:39] Incoming connection: (valid ip 4):10784
[2013-02-05 19:14:09] Kicking (valid ip 4) because they didn't logon to the game.
[2013-02-05 19:17:10] Incoming connection: (valid ip 7):2209
[2013-02-05 19:17:16] Incoming connection: (valid ip 7):2210
[2013-02-05 19:17:57] Incoming connection: (valid ip 7):2211
[2013-02-05 19:18:27] Kicking (valid ip 7) because they didn't logon to the game.
[2013-02-05 19:18:49] Incoming connection: (valid ip 2):53741
[2013-02-05 19:19:00] Incoming connection: (valid ip 3):60274
[2013-02-05 19:19:00] Incoming connection: (valid ip 4):11056
[2013-02-05 19:19:02] Incoming connection: (valid ip 7):2212
[2013-02-05 19:19:26] Incoming connection: (valid ip 6):1243
[2013-02-05 19:19:30] Kicking (valid ip 3) because they didn't logon to the game.
[2013-02-05 19:19:30] Kicking (valid ip 4) because they didn't logon to the game.
[2013-02-05 19:19:32] Kicking (valid ip 7) because they didn't logon to the game.
[2013-02-05 19:19:56] Kicking (valid ip 6) because they didn't logon to the game.
[2013-02-05 19:20:20] Incoming connection: (valid ip 6):1263
[2013-02-05 19:20:50] Kicking (valid ip 6) because they didn't logon to the game.
[2013-02-05 19:21:35] Incoming connection: (valid ip 3):53490
[2013-02-05 19:22:05] Kicking (valid ip 3) because they didn't logon to the game.
[2013-02-05 19:23:49] Incoming connection: (valid ip 4):11294
[2013-02-05 19:32:25] Incoming connection: (valid ip 3):61802
[2013-02-05 19:32:55] Kicking (valid ip 3) because they didn't logon to the game.
Console input: players
[2013-02-05 19:33:54] ID	Name	Ping	IP
[2013-02-05 19:33:54] 0	npc1	-1	255.255.255.255 //NPCs are connected at localhost(127.0.0.1).
[2013-02-05 19:33:55] 1	npc2	-1	255.255.255.255
[2013-02-05 19:33:55] 2	npc3	-1	255.255.255.255
[2013-02-05 19:33:55] 3	npc4	-1	255.255.255.255
[2013-02-05 19:33:55] 4	npc5	47	127.0.0.1
[2013-02-05 19:33:55] 5	npc6	47	127.0.0.1
[2013-02-05 19:33:55] 6	npc7	23	127.0.0.1
[2013-02-05 19:33:55] 7	npc8	23	127.0.0.1
[2013-02-05 19:33:55] 8	npc9	23	127.0.0.1
[2013-02-05 19:33:55] 9	npc10	23	127.0.0.1
[2013-02-05 19:33:55] 10	npc11	17	127.0.0.1
[2013-02-05 19:33:55] 11	npc12	24	127.0.0.1
[2013-02-05 19:33:55] 12	npc13	23	127.0.0.1
[2013-02-05 19:33:55] 13	npc14	31	127.0.0.1
[2013-02-05 19:33:55] 14	npc15	26	127.0.0.1
[2013-02-05 19:33:55] 15	npc16	53	127.0.0.1
[2013-02-05 19:33:55] 17	playerid17	-1	255.255.255.255
[2013-02-05 19:33:55] 18	playerid18	-1	255.255.255.255
[2013-02-05 19:33:55] 19	playerid19	-1	255.255.255.255
[2013-02-05 19:33:55] 20	playerid20	-1	255.255.255.255
[2013-02-05 19:33:55] 21	playerid21	23	***.***.***.***
[2013-02-05 19:33:55] 22	playerid22	-1	255.255.255.255
[2013-02-05 19:33:55] 25	playerid25	35	***.***.***.***
[2013-02-05 19:33:55] 28	playerid28	-1	255.255.255.255
[2013-02-05 19:35:00] Incoming connection: (valid ip 9):62713
[2013-02-05 19:35:30] Kicking (valid ip 9) because they didn't logon to the game.
[2013-02-05 19:35:36] Incoming connection: (valid ip 9):65088
Console input: kick 17
[2013-02-05 19:35:36] playerid17 <#17 - 255.255.255.255> has been kicked.
[2013-02-05 19:35:36] Incoming connection: (valid ip 8):63990
[2013-02-05 19:35:37] [debug] Run time error 4: "Array index out of bounds"
[2013-02-05 19:35:37] [debug]  Accessing element at index 1 past array upper bound 13
[2013-02-05 19:35:37] [debug] AMX backtrace:
[2013-02-05 19:35:39] [debug] #0 0000000c in ?? () at (server path)\pawno\include\float.inc:111
[2013-02-05 19:35:39] [debug] Run time error 4: "Array index out of bounds"
[2013-02-05 19:35:39] [debug]  Accessing element at index 2315962 past array upper bound 13
[2013-02-05 19:35:39] [debug] AMX backtrace:
[2013-02-05 19:35:39] [debug] #0 00000008 in ?? () at (server path)\pawno\include\float.inc:111
[2013-02-05 19:35:39] [debug] #1 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:39] [debug] Run time error 5: "Invalid memory access"
[2013-02-05 19:35:39] [debug] Run time error 5: "Invalid memory access"
[2013-02-05 19:35:39] [debug] AMX backtrace:
[2013-02-05 19:35:39] --- Server Shutting Down.
[2013-02-05 19:35:39] [debug] Run time error 6: "Invalid instruction"
[2013-02-05 19:35:39] [debug]  Unknown opcode 0x78 at address 0x00000008
[2013-02-05 19:35:39] [debug] AMX backtrace:
[2013-02-05 19:35:39] [debug] #0 native CallRemoteFunction () [00471880] from samp-server.exe
[2013-02-05 19:35:39] [debug] #1 native CallRemoteFunction () [00471880] from samp-server.exe
[2013-02-05 19:35:40] [debug] #2 0005f1b0 in public Audio_OnPlayerDisconnect (playerid=0, reason=2) at (gamemode script path):11533
[2013-02-05 19:35:41] [debug] #3 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:41] [debug] #4 0000e6d0 in public Itter_OnPlayerDisconnect (playerid=0, reason=2) at (server path)\pawno\include\audio.inc:166
[2013-02-05 19:35:41] [debug] #5 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:41] [debug] #6 00009e94 in public Streamer_OnPlayerDisconnect (playerid=0, reason=2) at (server path)\pawno\include\foreach.inc:735
[2013-02-05 19:35:41] [debug] #7 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:41] [debug] #8 000092e8 in public SSCANF_OnFilterScriptInit (... <2 variable arguments>) at (server path)\pawno\include\streamer.inc:361
[2013-02-05 19:35:41] [debug] #9 000031ec in public OnPlayerDisconnect (playerid=0, reason=2) at (server path)\pawno\include\sscanf2.inc:184
[2013-02-05 19:35:41] [debug] #10 native Kick () [0046eca0] from samp-server.exe
[2013-02-05 19:35:41] [debug] #11 0005f04c in public Audio_OnPlayerDisconnect (playerid=0, reason=0) at (gamemode script path):11531
[2013-02-05 19:35:41] [debug] #12 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:41] [debug] #13 0000e6d0 in public Itter_OnPlayerDisconnect (playerid=0, reason=0) at (server path)\pawno\include\audio.inc:166
[2013-02-05 19:35:41] [debug] #14 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:42] [npc:part] npc1 has left the server (0:2)
[2013-02-05 19:35:42] [debug] #15 001d18c8 in KickAllPlayers () at (gamemode script path):45315
[2013-02-05 19:35:42] [debug] #16 native CallLocalFunction () [00471c30] from samp-server.exe
[2013-02-05 19:35:42] [debug] Run time error 6: "Invalid instruction"
[2013-02-05 19:35:42] [debug]  Unknown opcode 0x78 at address 0x00000008
[2013-02-05 19:36:07] Kicking (valid ip 8) because they didn't logon to the game.
[2013-02-05 19:36:17] Incoming connection: (valid ip 8):63992
[2013-02-05 19:36:22] Incoming connection: (valid ip 9):63788
//Server crashed and closed here
Name and IP addresses are hidden for privacy.
I'm not sure if it is SA-MP related, or it is actually script/plugin problem. One more interesting thing, i start the server at about 7:30am, and the problem starts at 7pm, which is also about 12 hours as Mellnik's server did.
__________________
[KDT_MS]hk_shade

Sorry for my bad English and my weakness in expressing myself.
leong124 is offline   Reply With Quote
Old 05/02/2013, 01:10 PM   #9
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Posts: 1,178
Reputation: 2865
Default Re: Kicking X because they didn't logon to the game.

You should probably ignore what's going on in the log there. The network thread is still running, while the main server thread running your script and all the SA-MP server logic is in an infinite loop. That is the real problem.

If you're running on linux, there is a good tutorial here about getting a backtrace out of an infinite loop using gdb: http://www.unknownroad.com/rtfm/gdbtut/gdbinfloop.html.

Unfortunately on Windows it's more difficult to get the backtrace unless you have Visual Studio installed or some third-party debugger.

The SA-MP server is not known to have any issues with entering infinite loops, so I'd say it's going to be your script or a plugin causing it.
Kalcor is offline   Reply With Quote
Old 05/02/2013, 01:38 PM   #10
GreenHammy
Little Clucker
 
Join Date: Sep 2007
Posts: 39
Reputation: 0
Default Re: Kicking X because they didn't logon to the game.

i have this problem too
GreenHammy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What does this mean -->> Kicking (ip) because they didn't logon to the game. alex_sawa00 Server Support 15 16/09/2014 09:22 AM
kicking player during... P<3TS Scripting Help 13 03/08/2012 07:45 AM
Kicking an NPC RedFusion Scripting Help 2 18/07/2012 07:48 PM
y cant i logon my own server tomo523869 Help Archive 0 21/03/2010 05:16 PM
Kicking with YSI KnooL Help Archive 16 09/12/2009 06:41 AM


All times are GMT. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.