Kicking X because they didn't logon to the game.
#41

I get this problem.

I've added failsafes to my while loops to stop infinitive loops etc.

I check my CPU and it is at a low amount of 1-4% CPU, if it was an infinitive loop it would be high. Southclaw has the same problem and he can execute rcon commands, proving it isn't an infintive loop.

Here is my log:

Code:
[20:51:00] [npc:part] [BOT]OfficerRubber has left the server (1:2)
[20:51:00] [npc:part] [BOT]TheStig has left the server (2:2)
[20:51:01] [SERVER RESTART] Third procision of restart, proceed to continue... - Timer was entered.
[20:51:01] [SERVER RESTART] Fourth procision of restart, proceed to continue... IRC Echoed and Quit.
[20:51:01] [SERVER RESTART] Fifth procision of restart, proceed to continue... Finished player loop.
[20:51:01] [SERVER RESTART] Sixth procision of restart, proceed to restart... Deleted 3d Labels.
[20:51:01] [IRC DISCONNECT - 1] Operation canceled.
[20:51:13]  SERVER GMX - RCON GMX PRE-EXECUTED
[20:51:13]  
[20:51:13]  
[20:51:13]  ======================================= 
[20:51:13]  |                                     | 
[20:51:13]  |        YSI version 3.09.0684        | 
[20:51:13]  |        By Alex "Y_Less" Cole        | 
[20:51:13]  |                                     | 
[20:51:13]  ======================================= 
[20:51:13]  
[20:51:13]  
[20:51:13]  
[20:51:14] OR_gOptimalRate set at 90.909088
[20:51:16] The Current City Is: San Fierro.
[20:51:16] BuckerFucker Anti-Cheat V1.4 Active.
[20:51:16]  _   __      _      _____           _ _   _          _____      ______
[20:51:16] | | / /     | |    /  ___|         (_| | | |        /  __ \     | ___ \
[20:51:16] | |/ / _   _| | ___\ `--. _ __ ___  _| |_| |__      | /  \/_ __ | |_/ /
[20:51:16] |    \| | | | |/ _ \`--. | '_ ` _ \| | __| '_ \     | |   | '_ \|    /
[20:51:16] | |\  | |_| | |  __/\__/ | | | | | | | |_| | | |    | \__/| | | | |\ \
[20:51:16] \_| \_/\__, |_|\___\____/|_| |_| |_|_|\__|_| |_|     \____|_| |_\_| \_|
[20:51:16]         __/ |
[20:51:16]        |___/
[20:51:16] 			Copyright 2013 - 2015 - Kyle L. Smith
[20:51:16] Number of vehicle models: 68
[20:51:16] Incoming connection: 127.0.0.1:60652
[20:51:16] Incoming connection: 127.0.0.1:42894
[20:51:16] [HOUSES LOADED] 24 Houses have been loaded into the server.
[20:51:16] [STORES LOADED] 161 Stores have been loaded into the server.
[20:51:16] [HOUSE AUTO SALE] House ID 12 owned by KyleSmith Autosold for $3984998.
[20:51:16] Stephen_Bras's Password is encrypted in WHIRLPOOL
[20:51:16] ApexPredator's Password is encrypted in WHIRLPOOL
[20:51:16] tt.car.racing.Ltd's Password is encrypted in WHIRLPOOL
[20:51:16] Cristiano11's Password is encrypted in WHIRLPOOL
[20:51:16] Djuka445's Password is encrypted in WHIRLPOOL
[20:51:16] [npc:join] [BOT]OfficerWood has joined the server (2:127.0.0.1)
[20:51:16] [npc:join] [BOT]TheStig has joined the server (1:127.0.0.1)
[20:51:18] *** IRC_OnConnect: Bot ID 1 connected to 85.17.213.154:6667
[20:51:20] *** IRC_OnConnect: Bot ID 2 connected to 62.75.146.110:6667
[20:51:23] Djuka445 - WHIRLPOOL LOGIN
[20:51:23] [SUCESS LOGIN] Djuka445 Logged In To Their Account
[20:51:57] Incoming connection: 77.29.177.232:63917
[20:52:00] Incoming connection: 178.221.134.255:15535
[20:52:24] Incoming connection: 84.192.114.199:50623
[20:52:30] Kicking 178.221.134.255 because they didn't logon to the game.
[20:52:55] Incoming connection: 190.213.242.218:53392
[20:53:06] Incoming connection: 84.192.114.199:50624
[20:53:25] Kicking 190.213.242.218 because they didn't logon to the game.
[20:53:43] Incoming connection: 190.213.242.218:65186
[20:54:13] Kicking 190.213.242.218 because they didn't logon to the game.
[20:54:24] Incoming connection: 77.29.177.232:59973
[20:55:05] Incoming connection: 90.190.220.124:58075
[20:55:35] Kicking 90.190.220.124 because they didn't logon to the game.
[20:56:14] Incoming connection: 90.190.220.124:58077
[20:57:15] Incoming connection: 90.190.220.124:58082
[20:57:23] Incoming connection: 178.221.134.255:15739
[20:57:32] Incoming connection: 77.29.177.232:63640
Reply
#42

A bigger log:

Code:
[06:22:07] [SERVER RESTART] Third procision of restart, proceed to continue... - Timer was entered.
[06:22:07] [SERVER RESTART] Fourth procision of restart, proceed to continue... IRC Echoed and Quit.
[06:22:07] [SERVER RESTART] Fifth procision of restart, proceed to continue... Finished player loop.
[06:22:07] [SERVER RESTART] Sixth procision of restart, proceed to restart... Deleted 3d Labels.
[06:22:07] [IRC DISCONNECT - 1] Operation canceled.
[06:22:19]  
[06:22:19]  
[06:22:19]  
[06:22:19]  ======================================= 
[06:22:19]  |                                     | 
[06:22:19]  |        YSI version 3.09.0684        | 
[06:22:19]  |        By Alex "Y_Less" Cole        | 
[06:22:19]  |                                     | 
[06:22:19]  ======================================= 
[06:22:19]  
[06:22:19]  
[06:22:19]  
[06:22:19] OR_gOptimalRate set at 90.909088
[06:22:19] The Current City Is: San Fierro.
[06:22:19] BuckerFucker Anti-Cheat V1.4 Active.
[06:22:19]  _   __      _      _____           _ _   _          _____      ______
[06:22:19] | | / /     | |    /  ___|         (_| | | |        /  __ \     | ___ \
[06:22:19] | |/ / _   _| | ___\ `--. _ __ ___  _| |_| |__      | /  \/_ __ | |_/ /
[06:22:19] |    \| | | | |/ _ \`--. | '_ ` _ \| | __| '_ \     | |   | '_ \|    /
[06:22:19] | |\  | |_| | |  __/\__/ | | | | | | | |_| | | |    | \__/| | | | |\ \
[06:22:19] \_| \_/\__, |_|\___\____/|_| |_| |_|_|\__|_| |_|     \____|_| |_\_| \_|
[06:22:19]         __/ |
[06:22:19]        |___/
[06:22:19] 			Copyright 2013 - 2015 - Kyle L. Smith
[06:22:19] Number of vehicle models: 69
[06:22:19] Incoming connection: 127.0.0.1:57252
[06:22:19] Incoming connection: 127.0.0.1:42241
[06:22:20] [npc:join] [BOT]OfficerWood has joined the server (0:127.0.0.1)
[06:22:20] [npc:join] [BOT]TheStig has joined the server (1:127.0.0.1)
[06:22:20] [HOUSES LOADED] 24 Houses have been loaded into the server.
[06:22:20] [STORES LOADED] 161 Stores have been loaded into the server.
[06:22:21] [HOUSE AUTO SALE] House ID 6 owned by ckw_hk Autosold for $1714154.
[06:22:21] WeivenCurl's Password is encrypted in WHIRLPOOL
[06:22:21] DiamondSteve's Password is encrypted in WHIRLPOOL
[06:22:21] SUNNY's Password is encrypted in WHIRLPOOL
[06:22:21] SUNNY's Password is encrypted in WHIRLPOOL
[06:22:22] *** IRC_OnConnect: Bot ID 1 connected to 62.75.146.110:6667
[06:22:23] *** IRC_OnConnect: Bot ID 2 connected to 62.75.146.110:6667
[06:22:25] SUNNY - WHIRLPOOL LOGIN
[06:22:25] [SUCESS LOGIN] SUNNY Logged In To Their Account
[06:23:30] Incoming connection: 180.188.254.241:63166
[06:24:00] Kicking 180.188.254.241 because they didn't logon to the game.
[06:24:34] Incoming connection: 180.188.254.241:63167
[06:43:57] Incoming connection: 180.188.254.241:51206
[06:44:27] Kicking 180.188.254.241 because they didn't logon to the game.
[06:44:38] Incoming connection: 178.218.30.1:1216
[06:45:08] Kicking 178.218.30.1 because they didn't logon to the game.
[06:45:31] Incoming connection: 180.188.254.228:64273
[06:49:28] Incoming connection: 182.180.143.108:58758
[06:49:58] Kicking 182.180.143.108 because they didn't logon to the game.
[06:50:28] Incoming connection: 182.180.143.108:58759
[06:50:58] Kicking 182.180.143.108 because they didn't logon to the game.
[06:54:55] Incoming connection: 194.150.65.42:37256
[06:55:25] Kicking 194.150.65.42 because they didn't logon to the game.
[06:59:48] Incoming connection: 77.71.168.20:53213
[07:00:18] Kicking 77.71.168.20 because they didn't logon to the game.
[07:00:45] Incoming connection: 77.71.168.20:53214
[07:01:15] Kicking 77.71.168.20 because they didn't logon to the game.
[07:06:08] Incoming connection: 194.150.65.42:37477
[07:06:38] Kicking 194.150.65.42 because they didn't logon to the game.
[07:08:14] Incoming connection: 194.150.65.42:37453
[07:08:44] Kicking 194.150.65.42 because they didn't logon to the game.
[07:09:18] Incoming connection: 194.150.65.42:37465
[07:20:22] Incoming connection: 194.150.65.42:19483
[07:22:21] Incoming connection: 112.198.213.197:54701
[07:22:51] Kicking 112.198.213.197 because they didn't logon to the game.
[07:26:02] Incoming connection: 194.150.65.42:19475
[07:28:07] Incoming connection: 77.71.168.20:62660
[07:28:37] Kicking 77.71.168.20 because they didn't logon to the game.
[07:32:04] Incoming connection: 194.150.65.42:17607
[07:32:34] Kicking 194.150.65.42 because they didn't logon to the game.
[07:38:22] Incoming connection: 175.139.167.98:55626
[07:38:52] Kicking 175.139.167.98 because they didn't logon to the game.
[07:42:09] Incoming connection: 194.150.65.42:17615
[07:42:39] Kicking 194.150.65.42 because they didn't logon to the game.
[07:54:15] Incoming connection: 5.43.169.116:18213
[07:57:11] Incoming connection: 217.121.71.37:52330
[07:58:24] Incoming connection: 217.121.71.37:55155
[07:58:54] Kicking 217.121.71.37 because they didn't logon to the game.
[08:08:19] Incoming connection: 80.235.62.158:61802
[08:13:32] Incoming connection: 80.235.62.158:62084
[08:15:41] Incoming connection: 80.235.62.158:62156
[08:30:52] Incoming connection: 84.228.137.170:55857
[08:31:22] Kicking 84.228.137.170 because they didn't logon to the game.
[08:31:40] Incoming connection: 194.150.65.42:54370
[08:34:19] Incoming connection: 213.87.135.170:41673
[08:34:49] Kicking 213.87.135.170 because they didn't logon to the game.
[08:40:01] Incoming connection: 217.121.71.37:59401
[09:06:10] Incoming connection: 79.177.50.155:61283
[09:16:43] Incoming connection: 109.161.15.35:1717
[09:19:20] Incoming connection: 109.161.15.35:1786
[09:19:50] Kicking 109.161.15.35 because they didn't logon to the game.
[09:20:03] Incoming connection: 178.221.134.255:21727
[09:20:33] Kicking 178.221.134.255 because they didn't logon to the game.
[09:21:13] Incoming connection: 27.5.225.245:58835
[09:21:43] Kicking 27.5.225.245 because they didn't logon to the game.
[09:22:27] Incoming connection: 27.5.225.245:53592
[09:22:57] Kicking 27.5.225.245 because they didn't logon to the game.
[09:23:31] Incoming connection: 82.10.136.124:49831
[09:24:13] Incoming connection: 82.10.136.124:49832
[09:24:33] Incoming connection: 27.5.225.245:61246
[09:25:03] Kicking 27.5.225.245 because they didn't logon to the game.
[09:26:33] Incoming connection: 27.5.225.245:59196
[09:27:03] Kicking 27.5.225.245 because they didn't logon to the game.
[09:29:38] Incoming connection: 5.43.169.116:28388
[09:30:08] Kicking 5.43.169.116 because they didn't logon to the game.
[09:33:22] Incoming connection: 95.56.157.120:10430
[09:33:52] Kicking 95.56.157.120 because they didn't logon to the game.
[09:39:12] Incoming connection: 178.221.134.255:22355
[09:39:52] Incoming connection: 92.36.197.154:11752
[09:40:22] Kicking 92.36.197.154 because they didn't logon to the game.
[09:41:18] Incoming connection: 97.123.53.178:64790
[09:41:48] Kicking 97.123.53.178 because they didn't logon to the game.
[09:47:42] Incoming connection: 97.123.53.178:61903
[09:48:12] Kicking 97.123.53.178 because they didn't logon to the game.
[09:49:55] Incoming connection: 117.204.163.80:2176
[09:50:25] Kicking 117.204.163.80 because they didn't logon to the game.
[09:51:56] Incoming connection: 117.204.163.80:2223
[09:52:26] Kicking 117.204.163.80 because they didn't logon to the game.
[09:52:43] Incoming connection: 117.204.163.80:2242
[09:53:13] Kicking 117.204.163.80 because they didn't logon to the game.
[09:53:23] Incoming connection: 117.204.163.80:2267
[09:53:30] Incoming connection: 117.204.163.80:2269
[09:54:00] Kicking 117.204.163.80 because they didn't logon to the game.
[09:54:11] Incoming connection: 117.204.163.80:2282
[09:54:41] Kicking 117.204.163.80 because they didn't logon to the game.
[09:58:21] Incoming connection: 117.204.163.80:2412
[09:58:51] Kicking 117.204.163.80 because they didn't logon to the game.
[10:02:25] Incoming connection: 117.204.163.80:2448
[10:02:55] Kicking 117.204.163.80 because they didn't logon to the game.
[10:07:38] Incoming connection: 128.75.220.29:56025
[10:08:08] Kicking 128.75.220.29 because they didn't logon to the game.
[10:10:32] Incoming connection: 194.150.65.42:34632
[10:21:01] Incoming connection: 27.5.225.245:52672
[10:21:31] Kicking 27.5.225.245 because they didn't logon to the game.
[10:21:36] Incoming connection: 180.148.49.118:63118
[10:22:06] Kicking 180.148.49.118 because they didn't logon to the game.
[10:23:57] Incoming connection: 180.148.49.118:64113
[10:24:27] Kicking 180.148.49.118 because they didn't logon to the game.
[10:25:07] Incoming connection: 27.5.225.245:61585
[10:25:37] Kicking 27.5.225.245 because they didn't logon to the game.
[10:26:32] Incoming connection: 180.148.49.118:52894
It's getting out of hand, I wake up to people saying the server isn't working, with it being broken for 6-7 hours as I can't be awake 24/7 to kill the process to fix it.

A player of mine even made a video:
[ame]http://www.youtube.com/watch?v=MIiPS9j5ZTE[/ame]
Reply
#43

I have the same problem, ask for help as soon as possible.

Log:
Quote:

[16:33:29] [part] Gabriiel_Killer has left the server (1:0)
[16:37:40] [part] Vini_Sansao has left the server (0:0)
[16:40:16] Incoming connection: x
[16:51:15] Incoming connection: x
[17:18:24] Incoming connection: x
[17:18:54] Kicking x because they didn't logon to the game.
[17:20:04] Incoming connection: x
[17:20:34] Kicking x because they didn't logon to the game.
[17:34:59] Incoming connection: x
[17:35:29] Kicking x because they didn't logon to the game.
[17:49:58] Incoming connection: x
[17:50:28] Kicking x because they didn't logon to the game.

Reply
#44

i have the same problem...

[08:58:48] Number of vehicle models: 23
[09:01:17] Incoming connection: 192.168.1.2:55938
[09:01:18] [join] Domingo_Fernandez has joined the server (0:192.168.1.2)
[09:01:47] Kicking 192.168.1.2 because they didn't logon to the game.
[09:02:21] fail connection
[09:02:21] fail connection
[09:02:21] fail connection
[09:02:21] fail connection

Please HELP!!
Reply
#45

it happened to me though!!!
Please solve it someone!!!
I really can't understand whats wrong with this!!!!!
Code:
[10:15:24] [chat] [Sandro_Goglidze]: she qalachuna mutelic gaq mgonitw
[10:15:57] [chat] [Luka_Gallows]: yle xar da imito
[10:16:27] [part] Luka_Gallows has left the server (0:1)
[10:16:31] BAD RCON ATTEMPT BY: 81.161.20.81
[10:16:33] [death] Sandro_Goglidze died 53
[10:16:58] Incoming connection: 176.73.150.196:51696
[10:16:58] [join] Luka_Gallows has joined the server (0:176.73.150.196)
[10:17:00] [chat] [Sandro_Goglidze]: acky mother fuck you
[10:17:04] sscanf warning: Format specifier does not match parameter count.
[10:17:49] [chat] [Luka_Gallows]: aee
[10:18:08] Incoming connection: 188.129.252.178:26564
[10:18:38] Kicking 188.129.252.178 because they didn't logon to the game.
[10:18:55] Incoming connection: 188.129.252.178:26565
[10:19:20] Incoming connection: 176.73.150.196:53930
[10:19:58] Incoming connection: 176.73.150.196:51748
[10:20:28] Kicking 176.73.150.196 because they didn't logon to the game.
Reply
#46

I thinks the server enter somehow in Infinite Loop... do you use mysql?
Reply
#47

Quote:
Originally Posted by [HLF]Southclaw
View Post
Can someone who gets this check if the gamemode thread is still running like in here? https://sampforum.blast.hk/showthread.php?tid=490719

I can enter a custom RCON command and execute AMX code, specifically SQLite queries and printf. That does not happen if the server is in an infinite loop on the AMX level as far as I know.
Well ive actually stumbled on a way (for me at least, could also just me my code) to make this issue happen quite easily. I can run rcon commands just fine.

pawn Code:
//I use this for loops cause its easyer to make Loop(i,size)
#define Loop(%0,%1) \
for(new %0 = 0; %0 != %1; %0++)
   
   
//No indefinate loops works fine
new count = CountDynamicObjects();
Loop(i,count)
   
//Indefinate loop can still run rcon commands
Loop(i,CountDynamicObjects())
This could also just be a code issue on my part but i never found another issue like this. Also this is a test server so i never had the ability to test the "Kicking X because they didn't logon to the game" issue.
Reply
#48

Quote:
Originally Posted by [HLF]Southclaw
View Post
I was talking about custom RCON commands that actually execute AMX code, not the default RCON commands that come with the server. Also that loop doesn't look infinite, as soon as 'i' hits the value of CountDynamicObjects it will stop, the only difference I can see between the two loops there is that the value is stored in a variable instead of called each time. Unless of course you create an object inside this loop which raises the dynamic object count on each iteration.
I just tested a second time and i can run rcon commands that use printf and SendClientMessageToAll and they show up when i use Loop(i,CountDynamicObjects()) as the loop. I can also call functions in my gamemode when the loop is going. Then i logged out of the server and it showed me as online so i relogged with a diffrent name and i got the Kicking test because they didn't log into the game message.

Also i can do that same as you did in this post http://forum.sa-mp.com/showpost.php?...46&postcount=3

I did a print in the loop and it bypasses the 'i' value then leads to this where i can run rcon commands yet.

If you would like me to test other ways let me know.
Reply
#49

BUMP ... Its also happening to me after 5 hours of start or when more players play constantly..
I want solution!
Reply
#50

There is another way to combat this using crashdetect.
Put this at the very top of your GM and use CTRL+H to replace any for by for___loop.

pawn Код:
#include <crashdetect>

#define for___loop(%1;%2;%3) \
    PrintAmxBacktrace(); \
    for(%1;%2;%3)
   
#define while___loop(%1) \
    PrintAmxBacktrace(); \
    while(%1)
This prints the call stack everytime a loop gets called. So as soon as you run into this problem simply open your server log and look for the last backtrace.

Код:
[03:34:13] [debug] AMX backtrace:
[03:34:13] [debug] #0 native PrintAmxBacktrace () [6cf42e23] from crashdetect.DLL
[03:34:13] [debug] #1 00001fa8 in main () at C:\server\gamemodes\test.pwn:30
The line number now directs you to the infinite loop in your script (Don't forget to compile with -d3 parameter)
Reply
#51

and me
Reply
#52

solution
Reply
#53

Solutiooonnїї?[Image: photo.php?fbid=514748948662378&amp;set=g...mp;theater]
Reply
#54

Quote:
Originally Posted by Dimitri281298
Посмотреть сообщение
solution
Quote:
Originally Posted by Mellnik
Посмотреть сообщение
There is another way to combat this using crashdetect.
Put this at the very top of your GM and use CTRL+H to replace any for by for___loop.

pawn Код:
#include <crashdetect>

#define for___loop(%1;%2;%3) \
    PrintAmxBacktrace(); \
    for(%1;%2;%3)
   
#define while___loop(%1) \
    PrintAmxBacktrace(); \
    while(%1)
This prints the call stack everytime a loop gets called. So as soon as you run into this problem simply open your server log and look for the last backtrace.

Код:
[03:34:13] [debug] AMX backtrace:
[03:34:13] [debug] #0 native PrintAmxBacktrace () [6cf42e23] from crashdetect.DLL
[03:34:13] [debug] #1 00001fa8 in main () at C:\server\gamemodes\test.pwn:30
The line number now directs you to the infinite loop in your script (Don't forget to compile with -d3 parameter)
Thank me latur.
Reply
#55

I have also same problem
Reply
#56

I've had this error and fixed it by fixing an infinite loop which was caused due to improper saving on player disconnect and checking on those variables which have been previously set by another player whom has held the same ID prior to disconnecting.
Reply
#57

Hello guys, recently had this issue on my new game-mode on version 0.3.7 RC3. I noticed a discussion regarding a high posibility of the error coming from "OnPlayerConnect(playerid)". After scanning through for anything that would kick me I noticed a 'FloodCheck' line of code, from my best guess it was giving me 'X' amount of time to connect and if I failed to successfully connect in that time it would kick me. As you can see from the code here;

Code:
public OnPlayerConnect(playerid)
{
	RemoveBuildingForPlayer(playerid,3369,123.0469,2587.7422,15.4766,0.25);
	RemoveBuildingForPlayer(playerid,3269,123.0469,2587.7422,15.4766,0.25);
	RemoveBuildingForPlayer(playerid,3286,392.7109,2596.4531,17.6328,0.25);
	new str[128];
	SetPlayerColor(playerid,-1);
	SPAWNED[playerid] = 0;
	ALLOWCHAT[playerid] = 1;
	CHECKSPAM[playerid] = 0;
	fc[playerid] = SetTimerEx("FloodCheck",99999,false,"i",playerid);
	format(str,sizeof(str),"~w~%s ~g~connected.~w~",GetPName(playerid));
	UpdateLog(str);
	return 1;
Now this could just be my case, I do not know but sharing solutions I guess leads to answers. I spent forever looking for loops, bits and bops in my script that may be causing it. My best advice to anybody who is receiving this error is to check the 'OnPlayerConnect'. Hope I have helped in some way.
Reply
#58

this is ridiculous, when I run my server off my own IP, port forwarding and all, anyone from around the world can connect to it and this error never comes up, but as soon as I decide I'm ready for a host, this error pops up every time someone tries to connect. Whats up with that?
Reply
#59

I'm experiencing this problem after I have updated my gamemode to use YSI 4.0, last BlueG MySQL Plugin with threaded queries and y_inline.

Any solution?
Reply
#60

Quote:
Originally Posted by maramizo
Посмотреть сообщение
I've had this error and fixed it by fixing an infinite loop which was caused due to improper saving on player disconnect and checking on those variables which have been previously set by another player whom has held the same ID prior to disconnecting.
That shouldn't matter as the server doesn't care whether the player is connected or not.
Only you, and your players do, and that is the only reason for you to check if connected or reset player data arrays upon disconnection.

If you don't, they will still have a value, and while these values might be wrong to the new player, the server doesn't see an issue with transfering this data to the new player if you don't say so by preventing it with code.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)