[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
[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
[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. |
[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.
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. |
//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())
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.
|
#include <crashdetect>
#define for___loop(%1;%2;%3) \
PrintAmxBacktrace(); \
for(%1;%2;%3)
#define while___loop(%1) \
PrintAmxBacktrace(); \
while(%1)
[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
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 Код:
Код:
[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 ![]() |
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;
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.
|