View Single Post
Author Message
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 03-31-2012 , 10:55   tRealPing v0.0.2 (2012-04-01)
Reply With Quote #1

Description
This plugin modifies the scoreboard to display the real ping of clients.
It should be the same as the ping command and the netgraph would show.
These are usually higher than the original scoreboard ones - it might make players leave thinking they have a bad connection. Notify them accordingly if you start using this plugin.

Game Support
This plugin supports all games that use a "*_player_manager" for scoreboards.
Tested with CSS and TF2.

Requirements
This requires SDKHooks and smlib.

Configuration
Enable/Disable via sm_trealping_enable cvar.
To fine tune what will be shown in the scoreboard set sm_trealping_mode to one of the following:
  • 0 - GetClientLatency() More accurate than GetAvgLatency but jittering.
  • 1 - GetClientAvgLatency()
  • 2 - Netgraph This is using Client_GetFakePing() from smlib with goldsource set to false.
  • 3 - Scoreboard This is using Client_GetFakePing() from smlib with goldsource set to true.

More about Client_GetFakePing()


Credits to:
berni, for smlib.
McFlurry & Bacardi, for multimod hints.
Attached Files
File Type: smx tRealPing.smx (13.0 KB, 986 views)
File Type: sp Get Plugin or Get Source (tRealPing.sp - 912 views - 2.8 KB)
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 04-01-2012 at 09:33. Reason: Updated to 0.0.2, multi-mod support, mode selection
Thrawn2 is offline