Skip to content

QoL Enhancement for !ping#2136

Open
thatgato wants to merge 1 commit into
Epix-Incorporated:masterfrom
thatgato:ping-cmd-qol-enhancement
Open

QoL Enhancement for !ping#2136
thatgato wants to merge 1 commit into
Epix-Incorporated:masterfrom
thatgato:ping-cmd-qol-enhancement

Conversation

@thatgato
Copy link
Copy Markdown
Contributor

Added QoL enhancements for !ping:

  • Now shows LocalPlayer:GetNetworkPing() as "Raw Ping"
  • Additionally shows client.Remote.Ping() as "Real Ping" (because GetNetworkPing() is just raw, unserialized, unprocessed ping, and has a ~30ms difference between remote function based pinging - in some games up to ~70ms. "Real Ping" more accurately represents the ping felt ingame, and ping spikes aren't always shown by raw ping.)
  • Coloring depending on values
    • For FPS values: <=25: red 25-50: orange >=50: green
    • For Ping values: >=350: red 125-350: orange <=125: green
  • Tweaked Remote.Ping() to be more precise, using os.clock() and simpler rounding

PoF: https://streamable.com/nwiq9o (Tested with serverside physics and by changing the clientside fps cap)

Added QoL enhancements for !ping:
- Now shows LocalPlayer:GetNetworkPing() as "Raw Ping"
- Additionally shows `client.Remote.Ping()` as "Real Ping"
- Coloring depending on values
- Tweaked Remote.Ping() to be more precise, using os.clock() and simple rounding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants