Kicking player because they logon.
#1

Quote:
Originally Posted by Mellnik
Посмотреть сообщение
I upgraded my server to 0.3x but now everyone gets kicked after joining:
Код:
[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:

Код:
[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?
Same problem, my server says stuck at certain amount of players and it shows they are in game while they are not, server is frozen and anyone who attemps to connect gets message like connecting... server closed the connection.

Logs file show this:

Код:
[08:22:14] [MySQL] Error (0): Could not execute query. // i tho this part might be important to shot
[08:22:14] Could not execute query // i tho this part might be important to shot
[08:22:27] [connection] 99.239.131.36:50179 requests connection cookie.
[08:22:37] [connection] 39.50.96.251:52478 requests connection cookie.
[08:22:44] Kicking 109.95.144.227 because they didn't logon to the game.
[08:22:58] [connection] 197.167.39.42:49499 requests connection cookie.
[08:22:58] Kicking 99.239.131.36 because they didn't logon to the game.
[08:23:14] [connection] 74.115.0.150:63580 requests connection cookie.
[08:23:15] [connection] 74.115.0.150:63580 requests connection cookie.
[08:23:16] [connection] 49.145.231.199:50980 requests connection cookie.
[08:23:25] [connection] 189.133.95.190:50896 requests connection cookie.
[08:23:29] Kicking 197.167.39.42 because they didn't logon to the game.
[08:23:40] [connection] 41.130.126.174:53239 requests connection cookie.
[08:23:41] [connection] 41.130.126.174:53239 requests connection cookie.
[08:23:45] [connection] 180.252.103.28:56645 requests connection cookie.
[08:23:46] Kicking 74.115.0.150 because they didn't logon to the game.
[08:23:47] Kicking 49.145.231.199 because they didn't logon to the game.
[08:23:56] Kicking 189.133.95.190 because they didn't logon to the game.
[08:23:58] [connection] 189.133.95.190:56500 requests connection cookie.
[08:24:02] [connection] 95.73.211.160:50199 requests connection cookie.
[08:24:03] [connection] 95.73.211.160:50199 requests connection cookie.
[08:24:05] [connection] 61.3.84.146:10850 requests connection cookie.
[08:24:08] [connection] 190.58.254.9:60654 requests connection cookie.
[08:24:16] Kicking 180.252.103.28 because they didn't logon to the game.
[08:24:26] [connection] 180.252.103.28:54274 requests connection cookie.
[08:24:28] [connection] 180.252.103.28:56646 requests connection cookie.
[08:24:34] Kicking 95.73.211.160 because they didn't logon to the game.
[08:24:36] Kicking 61.3.84.146 because they didn't logon to the game.
[08:24:37] [connection] 109.185.131.16:61770 requests connection cookie.
[08:24:38] [connection] 109.185.131.16:61770 requests connection cookie.
[08:24:39] Kicking 190.58.254.9 because they didn't logon to the game.
[08:24:40] [connection] 49.145.231.199:61584 requests connection cookie.
[08:24:41] [connection] 74.115.0.150:63581 requests connection cookie.
[08:24:42] [connection] 180.253.252.117:29375 requests connection cookie.
[08:24:42] [connection] 187.161.80.71:4748 requests connection cookie.
[08:24:57] Kicking 180.252.103.28 because they didn't logon to the game.
[08:24:59] Kicking 180.252.103.28 because they didn't logon to the game.
[08:25:09] Kicking 109.185.131.16 because they didn't logon to the game.
[08:25:12] Kicking 74.115.0.150 because they didn't logon to the game.
[08:25:13] [connection] 156.205.205.100:62480 requests connection cookie.
[08:25:13] Kicking 180.253.252.117 because they didn't logon to the game.
[08:25:13] Kicking 187.161.80.71 because they didn't logon to the game.
[08:25:49] [connection] 180.253.252.117:29391 requests connection cookie.
[08:25:50] [connection] 156.205.205.100:62481 requests connection cookie.
[08:25:53] [connection] 14.167.18.41:60277 requests connection cookie.
[08:25:54] [connection] 14.167.18.41:60277 requests connection cookie.
[08:25:56] [connection] 186.120.53.6:54320 requests connection cookie.
[08:26:03] [connection] 49.145.231.199:64559 requests connection cookie.
[08:26:20] [connection] 31.211.117.56:63182 requests connection cookie.
[08:26:20] Kicking 180.253.252.117 because they didn't logon to the game.
[08:26:21] Kicking 156.205.205.100 because they didn't logon to the game.
[08:26:21] [connection] 31.211.117.56:63182 requests connection cookie.
[08:26:27] Kicking 186.120.53.6 because they didn't logon to the game.
[08:26:38] [connection] 180.253.252.117:29398 requests connection cookie.
[08:26:39] Kicking 49.145.231.199 because they didn't logon to the game.
[08:26:50] [connection] 49.145.231.199:64561 requests connection cookie.
[08:26:52] Kicking 31.211.117.56 because they didn't logon to the game.
[08:26:52] [connection] 180.253.252.117:29404 requests connection cookie.
[08:26:55] [connection] 186.120.53.6:49947 requests connection cookie.
[08:27:07] [connection] 156.205.205.100:62482 requests connection cookie.
[08:27:23] Kicking 180.253.252.117 because they didn't logon to the game.
[08:27:26] Kicking 186.120.53.6 because they didn't logon to the game.
[08:27:38] Kicking 156.205.205.100 because they didn't logon to the game.
[08:28:08] [connection] 118.69.53.193:60435 requests connection cookie.
[08:28:09] [connection] 118.69.53.193:60435 requests connection cookie.
[08:28:14] [connection] 78.62.196.250:59323 requests connection cookie.
[08:28:15] [connection] 78.62.196.250:59323 requests connection cookie.
[08:28:16] [connection] 78.62.196.250:59323 requests connection cookie.
[08:28:18] [connection] 186.120.53.6:49537 requests connection cookie.
[08:28:47] Kicking 78.62.196.250 because they didn't logon to the game.
[08:28:49] Kicking 186.120.53.6 because they didn't logon to the game.
[08:29:14] [connection] 78.184.50.73:1052 requests connection cookie.
[08:29:15] [connection] 78.184.50.73:1052 requests connection cookie.
[08:29:46] Kicking 78.184.50.73 because they didn't logon to the game.
[08:29:54] [connection] 92.81.238.231:55395 requests connection cookie.
[08:29:55] [connection] 92.81.238.231:55395 requests connection cookie.
[08:30:26] Kicking 92.81.238.231 because they didn't logon to the game.
[08:30:36] [connection] 197.229.96.198:58019 requests connection cookie.
[08:30:37] [connection] 197.229.96.198:58019 requests connection cookie.
[08:31:05] [connection] 180.253.252.117:29618 requests connection cookie.
[08:31:08] Kicking 197.229.96.198 because they didn't logon to the game.
[08:31:22] [connection] 180.253.252.117:29632 requests connection cookie.
[08:31:24] [connection] 186.120.53.6:59731 requests connection cookie.
[08:31:36] Kicking 180.253.252.117 because they didn't logon to the game.
[08:31:39] [connection] 197.229.96.198:58341 requests connection cookie.
[08:31:53] Kicking 180.253.252.117 because they didn't logon to the game.
[08:31:55] Kicking 186.120.53.6 because they didn't logon to the game.
[08:32:10] [connection] 186.120.53.6:58148 requests connection cookie.
[08:32:10] Kicking 197.229.96.198 because they didn't logon to the game.
[08:32:41] Kicking 186.120.53.6 because they didn't logon to the game.
[08:33:00] [connection] 197.229.96.198:58343 requests connection cookie.
[08:33:30] Kicking 197.229.96.198 because they didn't logon to the game.
[08:41:07] [connection] 180.253.252.117:29763 requests connection cookie.
[08:41:08] [connection] 180.253.252.117:29763 requests connection cookie.
[08:41:11] [connection] 156.205.205.100:56573 requests connection cookie.
[08:41:12] [connection] 156.205.205.100:56573 requests connection cookie.
[08:41:39] Kicking 180.253.252.117 because they didn't logon to the game.
[08:42:19] [connection] 180.253.252.117:29869 requests connection cookie.
[08:42:50] Kicking 180.253.252.117 because they didn't logon to the game.
[08:43:11] [connection] 74.115.0.63:65045 requests connection cookie.
[08:43:12] [connection] 74.115.0.63:65045 requests connection cookie.
[08:43:52] [connection] 74.115.0.63:65046 requests connection cookie.
[08:44:57] [connection] 61.3.84.146:11037 requests connection cookie.
[08:44:58] [connection] 61.3.84.146:11037 requests connection cookie.
[08:47:02] [connection] 58.65.152.125:56909 requests connection cookie.
[08:47:03] [connection] 58.65.152.125:56909 requests connection cookie.
[08:47:34] Kicking 58.65.152.125 because they didn't logon to the game.
[08:48:39] [connection] 121.54.54.159:34032 requests connection cookie.
[08:48:40] [connection] 180.253.252.117:10077 requests connection cookie.
[08:48:40] [connection] 121.54.54.159:34032 requests connection cookie.
[08:49:11] Kicking 121.54.54.159 because they didn't logon to the game.
[08:49:50] [connection] 121.54.54.159:21312 requests connection cookie.
[08:49:51] [connection] 188.161.95.217:17200 requests connection cookie.
[08:49:52] [connection] 188.161.95.217:17200 requests connection cookie.
[08:50:11] [connection] 180.253.252.117:10127 requests connection cookie.
[08:50:21] Kicking 121.54.54.159 because they didn't logon to the game.
[08:50:23] Kicking 188.161.95.217 because they didn't logon to the game.
[08:50:42] Kicking 180.253.252.117 because they didn't logon to the game.
[08:51:24] [connection] 175.107.248.66:3530 requests connection cookie.
[08:51:25] [connection] 175.107.248.66:3530 requests connection cookie.
[08:51:56] Kicking 175.107.248.66 because they didn't logon to the game.
[08:53:51] [connection] 175.107.248.66:3574 requests connection cookie.
[08:54:22] Kicking 175.107.248.66 because they didn't logon to the game.
[08:57:07] [connection] 185.129.124.128:2114 requests connection cookie.
[08:57:08] [connection] 185.129.124.128:2114 requests connection cookie.
[08:57:39] Kicking 185.129.124.128 because they didn't logon to the game.
[08:57:59] [connection] 182.178.73.8:57640 requests connection cookie.
[08:58:00] [connection] 182.178.73.8:57640 requests connection cookie.
[08:58:01] [connection] 175.107.248.66:3612 requests connection cookie.
[08:58:05] [connection] 103.236.165.239:49826 requests connection cookie.
[08:58:06] [connection] 103.236.165.239:49826 requests connection cookie.
[08:58:07] [connection] 103.236.165.239:49826 requests connection cookie.
[08:58:09] [connection] 180.253.252.117:10303 requests connection cookie.
[08:58:10] [connection] 180.253.252.117:10303 requests connection cookie.
[08:58:32] Kicking 175.107.248.66 because they didn't logon to the game.
[08:58:38] Kicking 103.236.165.239 because they didn't logon to the game.
[08:58:41] Kicking 180.253.252.117 because they didn't logon to the game.
[08:58:41] Kicking 182.178.73.8 because they didn't logon to the game.
[08:59:05] [connection] 103.236.165.239:49827 requests connection cookie.
[08:59:18] [connection] 189.133.95.190:56708 requests connection cookie.
[08:59:19] [connection] 189.133.95.190:56708 requests connection cookie.
[08:59:36] Kicking 103.236.165.239 because they didn't logon to the game.
[08:59:50] Kicking 189.133.95.190 because they didn't logon to the game.
[09:00:32] [connection] 194.44.196.40:50319 requests connection cookie.
[09:00:33] [connection] 194.44.196.40:50319 requests connection cookie.
[09:00:38] [connection] 189.133.95.190:53000 requests connection cookie.
[09:00:53] [connection] 103.194.15.27:56756 requests connection cookie.
[09:00:54] [connection] 103.194.15.27:56756 requests connection cookie.
[09:01:09] Kicking 189.133.95.190 because they didn't logon to the game.
[09:01:25] Kicking 103.194.15.27 because they didn't logon to the game.
[09:02:30] [connection] 90.179.63.164:61508 requests connection cookie.
[09:02:31] [connection] 90.179.63.164:61508 requests connection cookie.
[09:03:02] Kicking 90.179.63.164 because they didn't logon to the game.
[09:03:08] [connection] 114.4.82.225:13697 requests connection cookie.
[09:03:39] Kicking 114.4.82.225 because they didn't logon to the game.
[09:04:03] [connection] 114.4.82.225:9817 requests connection cookie.
[09:04:20] [connection] 103.194.15.27:64351 requests connection cookie.
[09:04:43] [connection] 115.79.63.51:33715 requests connection cookie.
[09:04:44] [connection] 115.79.63.51:33715 requests connection cookie.
[09:04:51] Kicking 103.194.15.27 because they didn't logon to the game.
[09:05:15] Kicking 115.79.63.51 because they didn't logon to the game.
[09:05:54] [connection] 156.212.206.65:55687 requests connection cookie.
[09:05:55] [connection] 156.212.206.65:55687 requests connection cookie.
[09:06:26] Kicking 156.212.206.65 because they didn't logon to the game.
[09:06:33] [connection] 178.137.223.32:62395 requests connection cookie.
[09:06:34] [connection] 178.137.223.32:62395 requests connection cookie.
[09:06:40] [connection] 203.215.117.245:51588 requests connection cookie.
[09:06:41] [connection] 203.215.117.245:51588 requests connection cookie.
[09:07:05] Kicking 178.137.223.32 because they didn't logon to the game.
[09:07:12] Kicking 203.215.117.245 because they didn't logon to the game.
[09:07:24] [connection] 203.215.117.245:48593 requests connection cookie.
[09:07:55] Kicking 203.215.117.245 because they didn't logon to the game.
[09:08:22] [connection] 189.133.95.190:51640 requests connection cookie.
[09:08:23] [connection] 189.133.95.190:51640 requests connection cookie.
[09:08:54] Kicking 189.133.95.190 because they didn't logon to the game.
This is only a part... it continues until i dont restart...

also this message:
Код:
[14:31:33] [warning] dropping a split packet from client
[14:31:34] [warning] dropping a split packet from client
[14:31:36] Owner: 39764; Locked: 1
[14:31:37] Invalid client connecting from 41.238.111.37
Anyway to solve it? kalcor?
Reply
#2

This is quite often now to do with scripting.
Reply
#3

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
This is quite often now to do with scripting.
You mean something in my script is causing that... ?
Reply
#4

It can be. There are other reasons that it can happen, but chances are it could be your script.

Other reasons include a malconfigured firewall, or bad network traffic from your host.



If it works for a while, then starts doing this, it could be improper use of timers. Especially if it doesn't matter how many people are on, and if it happens at a particular time that the server has been up.


Like, grab a stop watch and start timing it to see if it's constant within a minute or 2.
Reply
#5

Maybe there is a timer, like if the player didn't login in 60seconds he'll be kicked, maybe you'll find something like that
Reply
#6

There was a timer for 30 seconds but I removed it long ago (when I started facing this issue).

But this thing doesn't seems to be related to a kick from in game as the server never gets IG...
Reply
#7

Quote:
Originally Posted by BrianS123
Посмотреть сообщение
Maybe there is a timer, like if the player didn't login in 60seconds he'll be kicked, maybe you'll find something like that
Stop guessing based on what I have said... You're misleading the point I was making. The kick itself is from the server package, nothing to do with the script at all.




The point is about logic checks, and how you're checking certain things.

E.g. when you check in some function for stupid things, when you should be checking the easier options first. Rather than checking a vehicle is a valid model, before checking if the player is in a vehicle in the first instance.

Checking a player for a certain state, before checking the easier, more direct options.


If you have a timer, that has these kind of checks, but in a weird order, it'll cause the server to have issues with that function over time.

In particular the last few times I have seen this problem, it seems to be that they were doing big things with OnPlayerKeyStateChange.

Another area this comes up at is (As you said before) OnPlayerUpdate, OnTrailerUpdate, OnVehicleDamageStatusUpdate, and all those callbacks that can fire at high rates.



So anyway, I think it can be some logic failure in your script, that's causing it to hang and have problems.

Lemme know how that timed test goes.
Reply
#8

Last freeze was yesterday, when I posted... Yet nothing.
Reply
#9

Yea, being that you mentioned 12 hours, it's going to be a long night.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)