| Author |
Message |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 ProPing 1.5 on Grimytrader.com
Changes to ProPing have been made and uploaded to [url]grimytrader.com[/url] The output of the changed script is as follows: S: ProPing v1.5 <--- Version S: Game: TWGameworld <--- Whatever you named the game S: Ran on: 09/27/08 @ 1:30:18 p <--- your current date and time S: -------------------------------- S: ping : 188 ms S: ping : 156 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 156 ms S: -------------------------------- <-- Reformatted the information below S: Min: 156 Max: 188 Average: 170 S: High/Low Removed Average: 170 S: Min:Max Split: 32 S: -------------------------------- S: Minimal Lag Detected S: -------------------------------- S: Patience Hell! Time to SD someone! S: --------------------------------
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Sat Sep 27, 2008 1:42 pm |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: ProPing 1.5 on Grimytrader.com
I just made a minor change to the uploaded script to allow saving of your ping results. A default "no file save" allows the use of the script with bots and uses a 5 second delay for a player to select "y" or "n" before the script runs. Screen output: S: -------------------------------- S: ProPing v1.5 S: Game: TWGameworld S: Ran on: 09/27/08 @ 2:38:36 p S: File name: ProPingTWGameworld.txt S: -------------------------------- S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 172 ms S: ping : 171 ms S: ping : 171 ms S: ping : 156 ms S: ping : 172 ms S: -------------------------------- S: Min: 156 Max: 172 Average: 170 S: High/Low Removed Average: 171 S: Min:Max Split: 16 S: -------------------------------- S: !!! No Lag Detected !!! S: -------------------------------- S: Patience Hell! Time to SD someone! S: -------------------------------- File output: -------------------------------- ProPing v1.5 Game: TWGameworld Ran on: 09/27/08 @ 2:38:36 p -------------------------------- ping : 172 ms ping : 172 ms ping : 172 ms ping : 172 ms ping : 172 ms ping : 172 ms ping : 171 ms ping : 171 ms ping : 156 ms ping : 172 ms -------------------------------- Min: 156 Max: 172 Average: 170 High/Low Removed Average: 171 Min:Max Split: 16 -------------------------------- !!! No Lag Detected !!! -------------------------------- Patience Hell! Time to SD someone! -------------------------------- Verson 1.6 now uploaded with the following file save option to display in the forums. --------------------------------
ProPing v1.6
Game: TWGameworld
Ran on: 09/27/08 @ 3:30:53 p
--------------------------------
ping : 188 ms ping : 172 ms ping : 172 ms ping : 172 ms ping : 172 ms ping : 172 ms ping : 187 ms ping : 203 ms ping : 187 ms ping : 172 ms -------------------------------- Min: 172 Max: 203 Average: 179 High/Low Removed Average: 177 Min:Max Split: 31 -------------------------------- Minimal Lag Detected
-------------------------------- Patience Hell! Time to SD someone! --------------------------------
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Sat Sep 27, 2008 2:48 pm |
|
 |
|
scolfax
Gameop
Joined: Wed May 05, 2004 2:00 am Posts: 190 Location: Oklahoma City OK
|
 Re: ProPing 1.5 on Grimytrader.com
having a problem with the website... here's the info Server Error in Application "DEFAULT WEB SITE"Internet Information Services 7.0 Error Summary HTTP Error 403.6 - Forbidden The IP address from which you are browsing is not permitted to access the requested Web site. Detailed Error Information Module IpRestrictionModule Notification BeginRequest Handler StaticFile Error Code 0x80070005 Requested URL http://grimytrader.com:80/ Physical Path C:\inetpub\wwwroot Logon Method Not yet determined Logon User Not yet determined
_________________ Scolfax's TradeWars telnet://twgs.mustangpc.net ICQ: 5342886
|
| Tue Jul 20, 2010 8:21 am |
|
 |
|
Helix
Ambassador
Joined: Wed Nov 12, 2008 8:57 am Posts: 3554 Location: Long Beach, CA
|
 Re: ProPing 1.5 on Grimytrader.com
Grimy's is down for good. Look on NavHaz.com for the public script packs now.
H
_________________ Helix Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars. Lest we forget I had to ask myself WWSGD?
|
| Tue Jul 20, 2010 8:23 am |
|
 |
|
booger
Lieutenant Commander
Joined: Sat Feb 27, 2010 7:59 pm Posts: 782
|
 Re: ProPing 1.5 on Grimytrader.com
do you have them on your site too helix?
_________________ I was immortal, for a little while... http://www.youtube.com/watch?v=5ZY2mRG5mzg
|
| Tue Jul 20, 2010 8:24 am |
|
 |
|
Helix
Ambassador
Joined: Wed Nov 12, 2008 8:57 am Posts: 3554 Location: Long Beach, CA
|
 Re: ProPing 1.5 on Grimytrader.com
Yes, but navhaz.com is where people will upload their updates. My site is mostly for me and my corpies.
_________________ Helix Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars. Lest we forget I had to ask myself WWSGD?
|
| Tue Jul 20, 2010 8:27 am |
|
 |
|
scolfax
Gameop
Joined: Wed May 05, 2004 2:00 am Posts: 190 Location: Oklahoma City OK
|
 Re: ProPing 1.5 on Grimytrader.com
there is no 'proping' on navhaz.
_________________ Scolfax's TradeWars telnet://twgs.mustangpc.net ICQ: 5342886
|
| Tue Jul 20, 2010 8:34 am |
|
 |
|
booger
Lieutenant Commander
Joined: Sat Feb 27, 2010 7:59 pm Posts: 782
|
 Re: ProPing 1.5 on Grimytrader.com
download the _pro_script_pack.zip its in there...
_________________ I was immortal, for a little while... http://www.youtube.com/watch?v=5ZY2mRG5mzg
|
| Tue Jul 20, 2010 8:38 am |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: ProPing 1.5 on Grimytrader.com
Or pull it here...
Attachments:
File comment: In-game ping script version 1.7
proPing17.zip [4.52 KiB]
Downloaded 419 times
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Tue Jul 20, 2010 10:12 am |
|
 |
|
Helix
Ambassador
Joined: Wed Nov 12, 2008 8:57 am Posts: 3554 Location: Long Beach, CA
|
 Re: ProPing 1.5 on Grimytrader.com
v1.7 woo hoo!!
_________________ Helix Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars. Lest we forget I had to ask myself WWSGD?
|
| Tue Jul 20, 2010 12:40 pm |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: ProPing 1.5 on Grimytrader.com
lol, don't think there were a lot of changes between 1.5 and 1.7 - only so much you can do with a ping script. I think the main thing is the addition of a 50 ping run to better test a server. It has been a while since I use anything except the default setting or maybe the formatted output for the forums.
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Tue Jul 20, 2010 12:57 pm |
|
 |
|
Singularity
Veteran Op
Joined: Thu Jun 02, 2005 2:00 am Posts: 5558 Location: USA
|
 Re: ProPing 1.5 on Grimytrader.com
Promethius wrote: lol, don't think there were a lot of changes between 1.5 and 1.7 - only so much you can do with a ping script. I think the main thing is the addition of a 50 ping run to better test a server. It has been a while since I use anything except the default setting or maybe the formatted output for the forums. Hey prome, is there a way to get rid of that 5 second "Save to file?" thing? I'd like to run it from a bot, but that 5 second wait is a problem.
_________________ May the unholy fires of corbomite ignite deep within the depths of your soul...
1. TWGS server @ twgs.navhaz.com 2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads 3. Open IRC chat @ irc.freenode.net:6667 #twchan 4. Parrothead wrote: Jesus wouldn't Subspace Crawl.
*** SG memorial donations via paypal to: dpocky68@booinc.com
|
| Tue Jul 20, 2010 1:25 pm |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: ProPing 1.5 on Grimytrader.com
Singularity wrote: Promethius wrote: lol, don't think there were a lot of changes between 1.5 and 1.7 - only so much you can do with a ping script. I think the main thing is the addition of a 50 ping run to better test a server. It has been a while since I use anything except the default setting or maybe the formatted output for the forums. Hey prome, is there a way to get rid of that 5 second "Save to file?" thing? I'd like to run it from a bot, but that 5 second wait is a problem. Yeah, I can pull that. I will post it later tonight - think I will probably post the source code to it.
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Tue Jul 20, 2010 2:41 pm |
|
 |
|
Singularity
Veteran Op
Joined: Thu Jun 02, 2005 2:00 am Posts: 5558 Location: USA
|
 Re: ProPing 1.5 on Grimytrader.com
Promethius wrote: Yeah, I can pull that. I will post it later tonight - think I will probably post the source code to it. Oh, that's rock. Thanks.
_________________ May the unholy fires of corbomite ignite deep within the depths of your soul...
1. TWGS server @ twgs.navhaz.com 2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads 3. Open IRC chat @ irc.freenode.net:6667 #twchan 4. Parrothead wrote: Jesus wouldn't Subspace Crawl.
*** SG memorial donations via paypal to: dpocky68@booinc.com
|
| Tue Jul 20, 2010 2:56 pm |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: ProPing 1.5 on Grimytrader.com
ProPing 1.7 source Code: # proPing.ts by Promethius # Released: January 2007
setVar $counter 0 setVar $average 0 setVar $min 999999 setVar $max 0 setVar $file "n" setVar $version "v1.7" setVar $pingType "s" setVar $mode "Normal"
setDelayTrigger bot :bot 5000 setTextOutTrigger humanYes :humanYes "y" setTextOutTrigger humanNo :humanNo "n" echo ANSI_12 "*Save to file? y/n" echo ANSI_12 "*5 seconds to run default, no file*" # getConsoleInput $file singlekey pause :humanYes killalltriggers setVar $file "y" echo ANSI_14 "**Format output for color on ClassicTW?*" getConsoleInput $formatClassic singleKey echo ANSI_14 "**Ping at Standard or Max Ping (50) count? s/m" getConsoleInput $pingType lowerCase $pingType if ($pingType = "m") setVar $mode "Max Server Test" end goto :doneSetup :humanNo :bot :doneSetup killalltriggers
# turn off all messages send "|" # check to see if we are at a SS friendly prompt # and possibly if the game has Interactive Sub Prompts off send "'*" setDelayTrigger noSS :noSS 3000 setTextTrigger begin :getStartTimeDate "Type sub-space message" pause :noSS echo ANSI_12 "**You appear to be at a non-friendly prompt for SS messages.*" echo ANSI_12 "*This could be that Interactive Sub-Prompt is off (bad, bad sysOp)*" echo ANSI_12 "*or lag is more than 3 seconds (nightmare!!)*" echo ANSI_11 "*Try this script from the sector Command or Citadel prompts*" halt # we are good to go - send first SS message and get start time :getStartTimeDate killalltriggers getTime $dataRan "mm/dd/yy @ h:mm:ss am/pm" uppercase $dataRan send " *" send "--------------------------------*" send "ProPing " $version "*" send "Mode: " $mode "*" waitfor "ProPing" send "Game: " gameName "*" send "Ran on: " $dataRan "*" if ($file = "y") send "File name: ProPing" & gamename & ".txt*" end send "--------------------------------*" waitfor "--------------------------------" if ($file = "y") if ($formatClassic = "y") write "ProPing" & gamename & ".txt" "[pre]" write "ProPing" & gamename & ".txt" "[color=white]--------------------------------[/color]" write "ProPing" & gamename & ".txt" "[color=red]ProPing " & $version & "[/color]" write "ProPing" & gamename & ".txt" "[color=blue]Mode: [/color][color=cyan]" & $mode & "[/color]" write "ProPing" & gamename & ".txt" "[color=blue]Game: [/color][color=cyan]" & gameName & "[/color]" write "ProPing" & gamename & ".txt" "[color=blue]Ran on: [/color][color=green]" & $dataRan & "[/color]" write "ProPing" & gamename & ".txt" "[color=white]--------------------------------[/color]" else write "ProPing" & gamename & ".txt" " " write "ProPing" & gamename & ".txt" "--------------------------------" write "ProPing" & gamename & ".txt" "ProPing " & $version write "ProPing" & gamename & ".txt" "Game: " & gameName write "ProPing" & gamename & ".txt" "Ran on: " & $dataRan write "ProPing" & gamename & ".txt" "--------------------------------" end end :begin killalltriggers setTextTrigger ping :msCheck "S: ping" gettime $msStart "h:m:s:zzz" replaceText $msStart ":" " " getword $msStart $ms1 4 getword $msStart $ss1 3 send "ping :" pause
# ping sent and echoed back, now to set the end time :msCheck gettime $msEnd "h:m:s:zzz" replaceText $msEnd ":" " " getWord $msEnd $ms2 4 getword $msEnd $ss2 3 if ($ss2 < $ss1) add $ss2 60 end subtract $ss2 $ss1 if ($ss2 > 0) multiply $ss2 1000 add $ms2 $ss2 end setVar $ms ($ms2 - $ms1) if ($ms < $min) setVar $min $ms end if ($ms > $max) setVar $max $ms end :ping getLength $ms $len setVar $pad "" while ($len < 5) setVar $pad $pad & " " add $len 1 end send " " $ms $pad "ms*"
if ($file = "y") if ($formatClassic = "y") gosub :colorKey write "ProPing" & gamename & ".txt" "[color=blue]ping : [/color]" & $colorkey & $ms & $pad & "[/color][color=blue]ms[/color]" else write "ProPing" & gamename & ".txt" "ping : " & $ms & $pad & "ms" end end
add $average $ms # yes, this delay seems to be necessary, might be able to lower it to 100 setdelaytrigger pingDelay :pingDelay 200 pause :pingDelay add $counter 1 if ($counter = 10) and ($pingType = "s") goto :done elseif ($counter = 50) goto :done end goto :begin # done with getting data, now to display :done setVar $hilow $average subtract $hilow $max subtract $hilow $min
if ($pingType = "s") divide $average 10 divide $hilow 8 else divide $average 50 divide $hilow 48 end gosub :comment send "--------------------------------*" send "Min: " $min " Max: " $max " Average: " $average "*" send "High/Low Removed Average: " $hiLow "*" setVar $consistent ($max - $min) gosub :lag send "Min:Max Split: " $consistent " *" send "--------------------------------*" send $lagMsg send "--------------------------------*" send $comment "*" send "--------------------------------*" send "*" # write final eval to file if desired if ($file = "y") if ($formatClassic = "y") write "ProPing" & gamename & ".txt" "[color=white]--------------------------------[/color]" write "ProPing" & gamename & ".txt" "[color=blue]Min: [/color][color=yellow]" & $min & "[/color][color=blue] Max: [/color][color=yellow]" & $max & "[/color][color=blue] Average: [/color][color=yellow]" & $average & "[/color]" write "ProPing" & gamename & ".txt" "[color=blue]High/Low Removed Average: [/color][color=yellow]" & $hiLow & "[/color]" write "ProPing" & gamename & ".txt" "[color=blue]Min:Max Split: [/color][color=yellow]" & $consistent & " [/color]" write "ProPing" & gamename & ".txt" "[color=white]--------------------------------[/color]" write "ProPing" & gamename & ".txt" "[color=yellow]" & $lagMsg & "[/color]" write "ProPing" & gamename & ".txt" "[color=white]--------------------------------[/color]" write "ProPing" & gamename & ".txt" "[color=yellow]" & $comment & "[/color]" write "ProPing" & gamename & ".txt" "[color=white]--------------------------------[/color]" write "ProPing" & gamename & ".txt" "[/pre]" else write "ProPing" & gamename & ".txt" "--------------------------------" write "ProPing" & gamename & ".txt" "Min: " & $min & "Max: " & $max & " Average: " & $average write "ProPing" & gamename & ".txt" "High/Low Removed Average: " & $hiLow write "ProPing" & gamename & ".txt" "Min:Max Split: " & $consistent write "ProPing" & gamename & ".txt" "--------------------------------" write "ProPing" & gamename & ".txt" $lagMsg write "ProPing" & gamename & ".txt" "--------------------------------" write "ProPing" & gamename & ".txt" $comment write "ProPing" & gamename & ".txt" "--------------------------------" end end setTextTrigger SSDone :waitforPrompt "Sub-space comm" setDelayTrigger fubar :waitforPrompt 2000 pause :waitforPrompt killalltriggers send "|" halt
# ----- goSubs -----
:lag # lag message based on min / max ping split if ($consistent >= 250) setVar $lagMsg "Extreme Lag Detected*" elseif ($consistent >= 150) and ($consistent < 250) setVar $lagMsg "Moderate Lag Detected*" elseif ($consistent >= 75) and ($consistent < 150) setVar $lagMsg "Mild Lag Detected*" elseif ($consistent >= 25) and ($consistent < 75) setVar $lagMsg "Minimal Lag Detected*" elseif ($consistent < 25) setVar $lagMsg "!!! No Lag Detected !!!*" end return
# add a few comments for the hell of it :comment getRnd $rnd 1 2 if ($average <= 150) setVar $comment "Muhahahaha, bring it!!" end if ($average > 150) and ($average <= 200) if ($rnd = 1) setVar $comment "Someone is gonna get podded!" else setVar $comment "Patience Hell! Time to SD someone!" end end if ($average > 200) and ($average <= 250) setVar $comment "Living on the edge" end if ($average > 250) and ($average <= 300) if ($rnd = 1) setVar $comment "Gridding, not a job, an adventure!" else setVar $comment "Darn, I hope someone is runnning saveMe!" end end if ($average > 300) if ($rnd = 1) setVar $comment "What the Hell am I doing here?" else setVar $comment "Just here to attack aliens :(" end end return :colorKey if ($ms <= 175) setVar $colorKey "[color=white]" elseif ($ms > 175) and ($ms < 200) setVar $colorKey "[color=cyan]" elseif ($ms >= 200) and ($ms <= 250) setVar $colorKey "[color=yellow]" elseif ($ms > 250) setVar $colorKey "[color=red]" end return
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Tue Jul 20, 2010 11:32 pm |
|
 |
|