Admin Tools
Ping Function Script
Creator
@(...:.:...)@ / Hal
Version
N/A
Game Type
MOHAA
Reborn Compatible
Unknown
Description
/************************************************************************************
global/functions/ping.hal
-=-=-=-=-=-=-=-=-=-=-=-=-
by Hal / @(...:.:...)@
06/07/06
1st.regiment@gmail.com
http://www.modtheater.com/forum/member.php?u=5281
==========
Info
==========
Ping script for testing. I duno what kind of numbers it will spit out. :S
==========
Cvars
==========
All cvars start with "sv_ping_" so if you forget a cvar, and the script is
running localy you can type "sv_ping" in the console, then press tab to see
the cvars starting with that.
"sv_ping_start"
Set to 1 to ping all players on the server once. The script stops after pinging everyone.
Don't set this in the cfg, just set it through RCON when you wish to ping everyone.
"sv_ping_stufftext"
Makes the player say what ping he has with stufftext after the script has pinged him.
Set to 0 to turn off reporting with stufftext. It will report with stufftext by default
unless you set it to 0.
"sv_ping_fps"
This is an important cvar to set. This controlls how acurate the ping result will be.
This is the number of frames / second the server will process wile pinging a player.
This must be 20 or more. I recomend 80 or more which is default if you don't set it.
80 = 12.5ms acuracy
200 = 5ms acuracy
You work out the acuracy by dividing 1000 by your chosen fps rate. (1000 / 80 = 12.5).
Note - The server is returned to normal 20 frames/ second after pinging each player.
"sv_ping_timeout"
This controlls how long the script will wait for a ping response before giving up.
This also acts to prevent an infinate loop, in the event of a player leaving the
server, or the script losing track of the player somehow. Must be more than 0 and
less than 20. I recomend 2 seconds which is default if you don't set it.
************************************************************************************ */
Credits
Hal
Related MOHAA Mods
More Admin Tools →Engine & Patch Compatibility
Community-tested verification on official patches & Reborn
0.00 reviews
Community Rating & Discussions
Rate this mod and share feedback or installation tips with fellow players.
Your Rating:
Leave a Comment / ReviewLog in to join the discussion
Loading discussions...
Downloads
92
Total Downloads
Date Added
March 1, 2016
Download
Filehal_ping_function_testing.pk3
Size2.12 KB



