Don't know how to do this
#1

Hello everyone,

I'm not sure if i'm posting this in the correct section, if not, please move it to the correct section.

I am looking for a way to detect if a player is desynced, and if the player is, kick him.
I have seen this in some servers, but I have no single idea how it's done.

If any of you here knows how to do it, please say so.


Thanks in advance,
-thegamer355
Reply
#2

You could kick the player if their ping is too high. I don't know any other way.
Reply
#3

Get their packet loss, and at a certain constant value, kick them.
Reply
#4

So i made something which kicks players at an amount of 1%, is 1% an fair amount or is it very low?
Reply
#5

Quote:
Originally Posted by thegamer355
Посмотреть сообщение
So i made something which kicks players at an amount of 1%, is 1% an fair amount or is it very low?
The only way to know is by testing it.
Reply
#6

Quote:
Originally Posted by thegamer355
Посмотреть сообщение
So i made something which kicks players at an amount of 1%, is 1% an fair amount or is it very low?
1% packet loss is nothing, you'll find your packet loss spiking over 1 percent quite regularly. In my opinion you should check how long the players packet loss is risen above normal and kick them at a certain thresh hold, for example. 6%+ for 10 seconds = kick.
Reply
#7

Well i used this which said that 1% is very bad.

About the tresh hold, any idea how to make it?
I have always been questioning myself about that, but never really needed it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)