Author Topic: Average Player Ping  (Read 3302 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Average Player Ping
« on: January 17, 2009, 11:41:32 pm »
Script Name: Average Player Ping
Script Description Ping
Author: DorkeyDear
Compile Test: Passed
Core Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Constants:
  • MAXPINGCOUNTER - number of seconds of ping testings to average
  • PUBLICMESSAGE - true == everybody can see it; false == only you can see it (when used as a /ping command (rather then !ping), otherwise its always public)
  • ROUNDPING - number of decimal places to round the ping number to
  • COLOR - Hex representation of color for the text
Functions:
  • function Ping(const Id: byte): double;
  • function GetTarget(Str: string): byte;
Commands:
  • <!|/>ping [id|partname]
In request from Seba555



(Size 2.16 KB)
- http://soldatcentral.com/index.php?page=script&f=89 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
« Last Edit: January 17, 2009, 11:52:00 pm by DorkeyDear »

Offline daphenomena

  • Major
  • *
  • Posts: 72
  • -wP- DaPhenomena
    • FPSBanana
Re: Average Player Ping
« Reply #1 on: January 18, 2009, 11:52:48 am »
I think this is very, very, very useful for admins and for players since they can vote to kick the
players with massive ping.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Average Player Ping
« Reply #2 on: January 18, 2009, 07:22:11 pm »
Just to let you know, I accidentally recreated this, so the old version can be found here, but I hardly even remember making the old one so who knows...

Offline ZomgProniss

  • Camper
  • ***
  • Posts: 318
  • Known ingame as Proniss
Re: Average Player Ping
« Reply #3 on: January 18, 2009, 07:48:06 pm »
wow nice *downloads*

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Average Player Ping
« Reply #4 on: July 28, 2009, 05:29:07 am »
can anyone update it to newest scriptcore?

Im chill like that

Offline scarface09

  • Veteran
  • *****
  • Posts: 1153
  • Arsenal Supporter For Life
Re: Average Player Ping
« Reply #5 on: July 28, 2009, 08:49:11 am »
I like the private ping part where only YOU can see it. Cool script bro.
Football is the other face of the world. If you don't like it, then you can get the hell out!

Offline Kapitan Giuseppe

  • Major(1)
  • Posts: 25
Re: Average Player Ping
« Reply #6 on: October 05, 2013, 12:22:45 pm »
Where id file to download?

Offline rOy

  • Soldier
  • **
  • Posts: 120
Re: Average Player Ping
« Reply #7 on: October 05, 2013, 03:59:21 pm »
Where id file to download?
If you need fix for 2.7.5 server then contact me (PM)

Download Here (old version) ;)
« Last Edit: October 05, 2013, 04:10:17 pm by rOy »

Offline rOy

  • Soldier
  • **
  • Posts: 120
Re: Average Player Ping
« Reply #8 on: October 06, 2013, 07:38:20 am »
Ok,Average Player Ping script compiled on 2.7.5 server

Here is one more script Mighty's Ping Track

Description:
The script checks player's ping every second, for 5 seconds. Then it returns the avarage and maximum ping measured. It's kinda better than single !ping, isn't it?

Commands:
!track
!track <Player's ID>
!track <Player's NAME>

And added

!ping
!ping <Player's ID>
!ping <Player's NAME>

Download here