The name "ping" for the command is misleading.
Because LF2 has an inner clock, I can't know what is the actual ping.
I can only try to check if the player slows down the game.
So the ping command checks for each player in how many milliseconds does he slows the game cycle.
For example:
If the player got "0 ms", he does not slow the game.
If the player got "5 ms", he slows each game cycle in 5 ms.
The ping command works, but it has some issues and it doesn't always give accurate results.
The idea of using the ping of the computer would be great, but I afraid that most firewalls and routers block it.
You can try ping other players in yours IRC channel, and see if it works for most of them or not.
Because LF2 has an inner clock, I can't know what is the actual ping.
I can only try to check if the player slows down the game.
So the ping command checks for each player in how many milliseconds does he slows the game cycle.
For example:
If the player got "0 ms", he does not slow the game.
If the player got "5 ms", he slows each game cycle in 5 ms.
The ping command works, but it has some issues and it doesn't always give accurate results.
The idea of using the ping of the computer would be great, but I afraid that most firewalls and routers block it.
You can try ping other players in yours IRC channel, and see if it works for most of them or not.