Server Kicks Everyone Randomly
#1

Hi guys, my server kicks everyone randomly, when i checked the logs. I saw something that before kicking, there is a incoming connection same ip with player in server and different port. I also checked mysql log and there is nothing in mysql log. Could you help me guys?

Код:
[01:17:34] [connection] incoming connection: 31.205.9.98:49896 id: 1
[01:17:34] [join] p1 has joined the server (1:31.205.9.98)
[01:47:14] [connection] incoming connection: 31.205.9.98:64293 id: 3
[01:47:24] OnPlayerDisconnect(1, 0)
[01:47:24] [part] p1 has left the server (1:0)
[01:47:28] OnPlayerDisconnect(2, 0)
[01:47:28] [part] p2 has left the server (2:0)
[01:47:33] OnPlayerDisconnect(0, 0)
[01:47:33] [part] p3 has left the server (0:0)

31.205.9.98:64293 is same ip with p1 and different port
Also p1 is me so there no attack or something.
Reply
#2

Check OnPlayerDisconnect
Reply
#3

Are all of them connecting from same machine?
Reply
#4

Quote:
Originally Posted by iLearner
Посмотреть сообщение
Are all of them connecting from same machine?
No, they are not from same machine. p1 was me and i was doing nothing in server. I didnt connect. It connected itself. I dont know what is wrong with it.
Reply
#5

The script is calling the callback OnPlayerDisconnect when a player connects as far as I can see.. Can you show us your OnPlayerConnect?
Reply
#6

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
The script is calling the callback OnPlayerDisconnect when a player connects as far as I can see.. Can you show us your OnPlayerConnect?
But how its possible to connect player who is also in server? And why its kicking all people in server?
Reply
#7

Show me the OnPlayerConnect code please..
Reply
#8

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
Show me the OnPlayerConnect code please..
I upload my OnPlayerConnect and OnPlayerDisconnect. Its in different language sorry for that.

https://pastebin.com/4RNbaX3c
Reply
#9

Quote:
Originally Posted by memurt
Посмотреть сообщение
No, they are not from same machine. p1 was me and i was doing nothing in server. I didnt connect. It connected itself. I dont know what is wrong with it.
How's that possible...
Reply
#10

Quote:
Originally Posted by iLearner
Посмотреть сообщение
How's that possible...
I dont know i am asking that. Can it be about dedicated? We use OVH Game Server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)