CloudburstMC / Nukkit

Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
https://cloudburstmc.org
GNU General Public License v3.0
1.21k stars 420 forks source link

Ping is wrong #472

Closed Vrysed closed 5 years ago

Vrysed commented 5 years ago

I made a plugin where if you execute /ping it displays the players ping but it so off

I connected to a server in Taiwan and when I ping my server through CMD it displays around 370ms

but in game it says 50ms (which is false) please fix it

screenshot_139 screenshot_140

XoticRealmsOwnerandDev commented 5 years ago

you do realize you just leaked your ip

PetteriM1 commented 5 years ago

you do realize you just leaked your ip

If he have a server his ip is public anyways

Vrysed commented 5 years ago
      you do realize you just leaked your ip

thats my public servers IP and if you use IPlocator and use that IP it shows the company is OVH which is a VPS hosting company

artulloss commented 5 years ago

This is not a bug. Pocket edition uses UDP. Ping command uses ICMP. Different protocols, different time for the information to bound back and forth or 'ping'.

Vrysed commented 5 years ago

didnt ask u lmfao

      This is not a bug. Pocket edition uses UDP. Ping command uses ICMP. Different protocols, different time for the information to bound back and forth or 'ping'.