Earthcomputer / clientcommands

Adds useful client-side commands
Other
1.03k stars 112 forks source link

`/cping` doesn't work on some servers #392

Open 5HT2 opened 2 years ago

5HT2 commented 2 years ago

image

I downloaded https://github.com/Earthcomputer/clientcommands/releases/tag/v2.6.6 from Github.

Java:

~ ❯ java --version
openjdk 17.0.3 2022-04-19
OpenJDK Runtime Environment (build 17.0.3+3)
OpenJDK 64-Bit Server VM (build 17.0.3+3, mixed mode)

Mods:

  [✔️] auto-clicker-fabric-1.18-1.3.0-build.16
  [✔️] Autofish-0.9.4-fabric-mc1.18
  [✔️] baritone-standalone-fabric-1.8.3
  [✔️] clientcommands-2.6.6
  [✔️] continuity-1.1.0+1.18.2
  [✔️] fabric-api-0.48.0+1.18.2
  [✔️] ferritecore-4.2.0-fabric
  [✔️] lambdynamiclights-2.1.0+1.17
  [✔️] lithium-fabric-mc1.18.2-0.7.9-SNAPSHOT
  [✔️] modmenu-3.1.0
  [✔️] phosphor-fabric-mc1.18.1-0.8.1
  [✔️] sodium-fabric-mc1.18.2-0.4.1+rev.e6288d6
  [✔️] Xaeros_Minimap_22.5.0_Fabric_1.18.2
  [✔️] XaerosWorldMap_1.20.6_Fabric_1.18.2
yt6983138 commented 1 year ago

just wait few min and try again

Coderx-Gamer commented 1 year ago

Are you on a localhost server? Usually it would be 0ms for your ping if so.

5HT2 commented 1 year ago

No, this wasn't on localhost. This issue is like, ancient and if people can't reproduce it anymore I'd be more than happy to close.

Earthcomputer commented 1 year ago

Some servers don't properly update you with your ping. As a fallback we could detect the ping ourselves like we do with cfish