You have a problem in your OnPlayerConnect somewhere in there, check for the connection functions etc.
I remember I had the same problem in OnPlayerConnect which froze the logging in thing. One line fucked everything up. |
It's not problem from OnPlayerConnect, I'v also reported this bug, my players also got kicked Reason Timeout i got this debug: Warning: dropping a split packet from client , here is the thread: https://sampforum.blast.hk/showthread.php?tid=537103
|
You have a problem in your OnPlayerConnect somewhere in there, check for the connection functions etc.
I remember I had the same problem in OnPlayerConnect which froze the logging in thing. One line fucked everything up. |
If there is a problem with onplayerconnect then each time when a player connects it should freeze but its not.
|
It's not problem from OnPlayerConnect, I'v also reported this bug, my players also got kicked Reason Timeout i got this debug: Warning: dropping a split packet from client , here is the thread: https://sampforum.blast.hk/showthread.php?tid=537103
|
I don't get any such messages in my log. Only 'Kicking Ip because they didn't logon to the game. What does this message means? Why is it shown?
Ox1gen - exactly but after 'connected joining the game' then it ends up by 'server closed the connection.' |
I actually have 1 Gamemode , 3 FS .
Do you need the onplayerconnect of all the 4? |
SetPlayerMapIcon(playerid,49,822.6,-1590.3,13.5,7,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,50,-2570.1,245.4,10.3,7,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,51,2726.6,-2026.4,17.5,7,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,52,2080.3,2119.0,10.8,7,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,53,675.7,-496.6,16.8,7,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,54,-1805.7,943.2,24.8,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,55,2750.9,2470.9,11.0,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,56,2351.8,2529.0,10.8,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,57,2635.5,1847.4,11.0,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,58,2083.4,2221.0,11.0,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,59,-1719.1,1359.4,8.6,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,60,2330.2,75.2,31.0,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,61,203.2,-200.4,6.5,29,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,62,812.9,-1616.1,13.6,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,63,1199.1,-924.0,43.3,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,64,2362.2,2069.9,10.8,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,65,2469.5,2033.8,10.8,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,66,2172.9,2795.7,10.8,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,67,1875.3,2072.0,10.8,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,68,1161.5,2072.0,10.8,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,69,-2356.0,1009.0,49.0,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,70,-1913.3,826.2,36.9,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,71,-2335.6,-165.6,39.5,10,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,72,2397.8,-1895.6,13.7,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,73,2421.6,-1509.6,24.1,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,74,-2671.6,257.4,4.6,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,75,2392.4,2046.5,10.8,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,76,2844.5,2401.1,11.0,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,77,2635.5,1674.3,11.0,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,78,2105.7,2228.7,11.0,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,79,-2154.0,-2461.2,30.8,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,80,-1816.2,620.8,37.5,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,81,-1216.0,1831.4,45.3,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,82,172.73,1176.76,13.7,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,83,932.0,-1353.0,14.0,14,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,84,1971.7,-2036.6,13.5,39,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,85,2071.6,-1779.9,13.5,39,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,86,2094.6,2119.0,10.8,39,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,87,-2490.5,-40.1,39.3,39,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,88,1372.9,-1278.8,12.5,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,89,2400.5,-1978.4,13.5,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,90,-2626.6,209.4,4.9,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,91,2535.9,2083.5,10.8,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,92,2156.5,943.2,10.8,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,93,779.7,1874.3,4.9,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,94,-2092.7,-2463.8,30.6,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,95,240.0,-178.2,2.0,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,96,-1509.4,2611.8,58.5,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,97,-315.67,829.87,13.43,6,0,MAPICON_LOCAL);
SetPlayerMapIcon(playerid,98,2332.9,63.6,31.0,6,0,MAPICON_LOCAL);
IsInDM[playerid] = 0;
//score
seconds[playerid] = 0;
SendClientMessage(playerid, COLOR_GREEN,"Check out our basic cmds with (/c)");
nojump2[playerid] = 0;
//connect
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
SetTimerEx("EndDraw", 5000, false, "i", playerid);
GotoDisabled[playerid] = 0;
//tuning
pvehicleid[playerid] = GetPlayerVehicleID(playerid);
pvehicleid[playerid] = 0;
pmodelid[playerid] = 0;
ReceiveInfo[playerid] = true;
return 1;
}
[22:01:32] Kicking 178.121.135.58 because they didn't logon to the game.
[22:02:04] Kicking 177.98.220.51 because they didn't logon to the game.
[22:02:17] Kicking 173.175.181.25 because they didn't logon to the game.
[22:02:18] Kicking 31.147.176.90 because they didn't logon to the game.
[22:02:26] Kicking 118.97.95.190 because they didn't logon to the game.
[22:02:34] Kicking 117.206.72.17 because they didn't logon to the game.
[22:02:35] Kicking 177.98.220.51 because they didn't logon to the game.
[22:03:11] Kicking 217.66.152.10 because they didn't logon to the game.
[22:04:02] Kicking 190.77.25.53 because they didn't logon to the game.
[22:05:00] Kicking 78.57.152.32 because they didn't logon to the game.
[22:05:00] Kicking 41.45.212.96 because they didn't logon to the game.
[22:05:00] Kicking 93.124.74.58 because they didn't logon to the game.
[22:05:01] Kicking 46.200.247.208 because they didn't logon to the game.
[22:05:01] Kicking 173.175.181.25 because they didn't logon to the game.
[22:05:01] Kicking 187.189.148.67 because they didn't logon to the game.
[22:05:20] [part] [TUI]SrRaven[EBM] has left the server (35:0)
[22:05:21] [part] [MNU] has left the server (49:0)
[22:05:21] Warning: Minimum time between new connections (1000) exceeded for 181.130.106.133:56364. Ignoring the request.
[22:05:21] [part] PoeDanZ has left the server (29:0)
[22:05:21] [part] Felipe_Prates has left the server (40:0)
[22:05:22] [part] Takas_Boun has left the server (21:0)
[22:05:22] [part] Paul_Mejia has left the server (11:0)
[22:05:22] [part] Doges has left the server (15:0)
[22:05:22] [part] bajds35 has left the server (27:0)
[22:05:23] [part] Alberto[FANB] has left the server (25:0)
[22:05:23] [part] deleon_jerol has left the server (16:0)
[22:05:23] [part] Oscar_Sito has left the server (8:0)
[22:05:23] [part] Martin250 has left the server (3:0)
[22:05:23] Kicking 91.207.126.3 because they didn't logon to the game.
[22:05:24] [part] Amme has left the server (1:0)
[22:05:24] [part] [ITF].__SKR1LL3X_.[] has left the server (19:0)
[22:05:24] [part] Weirdboy has left the server (57:0)
[22:05:24] [part] Atarimua has left the server (52:0)
[22:05:24] [part] alialigedr has left the server (54:0)
[22:05:25] [part] Fabio_Oliveiras has left the server (6:0)
[22:05:25] [part] VIP_ALTOSA_VIP has left the server (9:0)
[22:05:25] [part] yoo has left the server (10:0)
[22:05:25] [part] Rey_Aveiro has left the server (18:0)
[22:05:26] [part] raukl has left the server (23:0)
[22:05:26] [part] glebcheak has left the server (30:0)
[22:05:26] [part] nigger_darks has left the server (32:0)
[22:05:26] [part] bugra500 has left the server (42:0)
[22:05:27] [part] montella has left the server (46:0)
[22:05:27] [part] IV_ANATOR has left the server (47:0)
[22:05:27] [part] imad has left the server (50:0)
[22:05:27] [part] dominko has left the server (56:0)
[22:05:28] [part] Matas_Duck has left the server (59:0)
[22:05:28] [part] VissKill has left the server (43:0)
[22:05:28] [part] ViperD has left the server (28:0)
[22:05:28] [part] Benjamin_Franklin has left the server (37:0)
[22:05:28] Incoming connection: 177.135.47.89:62663
[22:05:29] [part] Antun_Weeb has left the server (38:0)
[22:05:29] [part] TheHitman has left the server (55:0)
[22:05:29] [part] SnorBR has left the server (13:0)
[22:05:29] [part] kader has left the server (53:0)
[22:05:30] [part] Dimitri_Kerzhakov has left the server (4:0)
[22:05:30] [part] LE__XA17 has left the server (24:0)
[22:05:30] [part] JeAn0o8 has left the server (48:0)
[22:05:30] [part] BAKEROO has left the server (44:0)
[22:05:30] Incoming connection: 190.79.154.65:60725
[22:05:30] Incoming connection: 217.66.152.10:4891
[22:05:30] [part] Jarod13230 has left the server (45:0)
[22:05:31] [part] VIP_Kirill_VIP has left the server (22:1)
[22:05:31] [part] kirito450 has left the server (39:0)
[22:05:31] [part] zMichael has left the server (7:0)
[22:05:31] Incoming connection: 178.121.135.58:65326
[22:05:31] Incoming connection: 177.128.87.251:64466
[22:05:31] [part] Dawnshock has left the server (5:1)
[22:05:31] (1) Invalid client connecting from 178.121.135.58
[22:05:31] Incoming connection: 118.97.95.190:17414
[22:05:32] [part] OP411 has left the server (33:1)
[22:05:32] [part] Josip_Antolic has left the server (36:1)
[22:05:32] [part] JoniX has left the server (17:1)
[22:05:32] Incoming connection: 181.64.253.34:53842
[22:05:32] Incoming connection: 177.98.220.51:60325
[22:05:32] [part] Best has left the server (12:0)
[22:05:32] Incoming connection: 177.98.220.51:61117
[22:05:32] [part] Partyserver007 has left the server (2:1)
[22:05:32] (1) Invalid client connecting from 177.98.220.51
[22:05:32] Incoming connection: 87.242.19.29:49351
[22:05:32] (1) Invalid client connecting from 87.242.19.29
[22:05:32] Incoming connection: 173.175.181.25:58962
[22:05:32] Incoming connection: 31.147.176.90:58266
[22:05:32] (1) Invalid client connecting from 173.175.181.25
[22:05:32] Incoming connection: 118.97.95.190:65031
[22:05:32] (1) Invalid client connecting from 31.147.176.90
[22:05:32] Incoming connection: 117.206.72.17:50053
[22:05:32] (1) Invalid client connecting from 118.97.95.190
[22:05:32] Incoming connection: 177.98.220.51:61271
[22:05:32] Incoming connection: 88.119.234.243:51574
[22:05:32] Incoming connection: 190.79.154.65:60735
[22:05:32] Incoming connection: 187.189.148.67:22577
[22:05:32] (1) Invalid client connecting from 177.98.220.51
[22:05:32] Incoming connection: 89.41.88.76:17823
[22:05:33] [part] Sergei_nikitof has left the server (0:1)
[22:05:33] Incoming connection: 217.66.152.10:29873
[22:05:33] Incoming connection: 78.57.152.32:64151
[22:05:33] Incoming connection: 46.200.247.208:13747
[22:05:33] Incoming connection: 190.79.154.65:60736
[22:05:33] Incoming connection: 117.206.72.17:50054
[22:05:33] Incoming connection: 217.66.152.10:16757
[22:05:33] Incoming connection: 217.66.152.10:36054
[22:05:33] Incoming connection: 217.66.152.10:38307
[22:05:33] [part] Alejo_Alvarado has left the server (14:0)
[22:05:33] [part] dedeler has left the server (20:0)
[22:05:33] [part] mai77 has left the server (31:0)
[22:05:34] [part] diego1499 has left the server (41:0)
[22:05:34] [part] demonic87 has left the server (51:0)
[22:05:34] Incoming connection: 217.66.152.10:63892
[22:05:34] (1) Invalid client connecting from 217.66.152.10
[22:05:34] Incoming connection: 181.130.106.133:65327
[22:05:34] Incoming connection: 89.254.152.239:63699
[22:05:34] Incoming connection: 187.189.148.67:21548
[22:05:34] Incoming connection: 83.66.219.96:19375
[22:05:34] Incoming connection: 41.45.212.96:1435
[22:05:34] Incoming connection: 201.222.173.240:55463
[22:05:34] Incoming connection: 190.37.125.133:55834
[22:05:34] Incoming connection: 41.45.212.96:1436
[22:05:34] Incoming connection: 190.79.154.65:60746
[22:05:34] Incoming connection: 78.57.152.32:64162
[22:05:34] Incoming connection: 190.77.25.53:2233
[22:05:34] Incoming connection: 46.200.247.208:13840
[22:05:34] (1) Invalid client connecting from 190.77.25.53
[22:05:34] Incoming connection: 88.119.234.243:59151
[22:05:34] Incoming connection: 41.45.212.96:1437
[22:05:34] Incoming connection: 187.189.148.67:25209
[22:05:34] Incoming connection: 88.119.234.243:59152
[22:05:34] Incoming connection: 197.202.138.48:26422
[22:05:34] Incoming connection: 78.57.152.32:64164
[22:05:34] Incoming connection: 46.200.247.208:13846
[22:05:34] Incoming connection: 190.79.154.65:60747
[22:05:34] (1) Invalid client connecting from 78.57.152.32
[22:05:34] Incoming connection: 118.97.95.183:31266
[22:05:34] Incoming connection: 217.66.152.10:34824
[22:05:34] Incoming connection: 173.175.181.25:58968
[22:05:34] Incoming connection: 217.66.152.10:38611
[22:05:34] Incoming connection: 78.57.152.32:64168
[22:05:34] Incoming connection: 41.45.212.96:1450
[22:05:34] Incoming connection: 93.124.74.58:50391
[22:05:34] (1) Invalid client connecting from 78.57.152.32
[22:05:34] Incoming connection: 187.44.145.207:49323
[22:05:34] Incoming connection: 46.200.247.208:13888
[22:05:34] Incoming connection: 173.175.181.25:58969
[22:05:34] (1) Invalid client connecting from 41.45.212.96
[22:05:34] Incoming connection: 187.189.148.67:22092
[22:05:34] (1) Invalid client connecting from 93.124.74.58
[22:05:34] (1) Invalid client connecting from 46.200.247.208
[22:05:34] (1) Invalid client connecting from 173.175.181.25
[22:05:34] Invalid client connecting from 187.189.148.67
[22:05:34] Incoming connection: 31.147.176.90:58267
[22:05:34] (1) Invalid client connecting from 31.147.176.90
[22:05:34] Incoming connection: 91.207.126.3:2880
[22:05:34] (1) Invalid client connecting from 91.207.126.3
[22:05:34] Incoming connection: 118.97.95.183:60460
[22:05:34] Invalid client connecting from 118.97.95.183
[22:05:34] Incoming connection: 88.119.234.243:59153
[22:05:34] [join] Takas_Boun has joined the server (0:88.119.234.243)
[22:05:34] Incoming connection: 177.135.47.89:50561
[22:05:34] Incoming connection: 31.147.176.90:58268
[22:05:34] [join] SnorBR has joined the server (1:177.135.47.89)
[22:05:34] Incoming connection: 39.51.59.29:61025
[22:05:34] [join] Josip_Antolic has joined the server (2:31.147.176.90)
[22:05:34] [join] Jhoony_white has joined the server (3:39.51.59.29)
[22:05:34] Incoming connection: 151.249.132.78:59573
[22:05:34] [join] Joni_Direno has joined the server (5:151.249.132.78)
[22:05:34] Incoming connection: 181.130.106.133:56364
[22:05:34] Incoming connection: 181.130.106.133:56367
[22:05:34] [join] Paul_Mejia has joined the server (4:181.130.106.133)
[22:05:34] [chat] [SnorBR]: .-.
[22:05:34] Incoming connection: 91.48.95.208:57332
[22:05:34] [join] creeper123 has joined the server (6:91.48.95.208)
[22:05:35] Incoming connection: 118.97.95.183:23598
[22:05:36] [join] Best has joined the server (7:118.97.95.183)
Nope its new type of hack release i think got the same problem today
PHP код:
|
This forum requires that you wait 120 seconds between posts. Please try again in 74 seconds.
new
OPC_Timer[MAX_PLAYERS] = {-1, ...};
public OnPlayerConnect(playerid) {
if(OPC_Timer[playerid] == -1)
OPC_Timer[playerid] = SetTimerEx("SafeOnPlayerConnect", 300, false, "d", playerid);
else {
KillTimer(OPC_Timer[playerid]);
OPC_Timer[playerid] = -1;
OnPlayerConnect(playerid);
}
return 1;
}
forward SafeOnPlayerConnect(playerid);
public SafeOnPlayerConnect(playerid)
{
OPC_Timer[playerid] = -1; //Resetting the variable.
if(!IsPlayerConnected(playerid)) return 0; //If player has left before this getting called, stop going further then.
//Rest onplayerconnect codes here.
return 1;
}