| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| ProPing 1.5 on Grimytrader.com https://mail.black-squirrel.com/viewtopic.php?f=15&t=21018 |
Page 1 of 2 |
| Author: | Promethius [ Sat Sep 27, 2008 1:42 pm ] |
| Post subject: | 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 |
|
| Author: | Promethius [ Sat Sep 27, 2008 2:48 pm ] |
| Post subject: | 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: -------------------------------- File output: -------------------------------- Verson 1.6 now uploaded with the following file save option to display in the forums. -------------------------------- |
|
| Author: | scolfax [ Tue Jul 20, 2010 8:21 am ] |
| Post subject: | 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 |
|
| Author: | Helix [ Tue Jul 20, 2010 8:23 am ] |
| Post subject: | Re: ProPing 1.5 on Grimytrader.com |
Grimy's is down for good. Look on NavHaz.com for the public script packs now. H |
|
| Author: | booger [ Tue Jul 20, 2010 8:24 am ] |
| Post subject: | Re: ProPing 1.5 on Grimytrader.com |
do you have them on your site too helix? |
|
| Author: | Helix [ Tue Jul 20, 2010 8:27 am ] |
| Post subject: | 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. |
|
| Author: | scolfax [ Tue Jul 20, 2010 8:34 am ] |
| Post subject: | Re: ProPing 1.5 on Grimytrader.com |
there is no 'proping' on navhaz. |
|
| Author: | booger [ Tue Jul 20, 2010 8:38 am ] |
| Post subject: | Re: ProPing 1.5 on Grimytrader.com |
download the _pro_script_pack.zip its in there... |
|
| Author: | Promethius [ Tue Jul 20, 2010 10:12 am ] | ||
| Post subject: | Re: ProPing 1.5 on Grimytrader.com | ||
Or pull it here...
|
|||
| Author: | Helix [ Tue Jul 20, 2010 12:40 pm ] |
| Post subject: | Re: ProPing 1.5 on Grimytrader.com |
v1.7 woo hoo!! |
|
| Author: | Promethius [ Tue Jul 20, 2010 12:57 pm ] |
| Post subject: | 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. |
|
| Author: | Singularity [ Tue Jul 20, 2010 1:25 pm ] |
| Post subject: | 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. |
|
| Author: | Promethius [ Tue Jul 20, 2010 2:41 pm ] |
| Post subject: | 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. |
|
| Author: | Singularity [ Tue Jul 20, 2010 2:56 pm ] |
| Post subject: | 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. |
|
| Author: | Promethius [ Tue Jul 20, 2010 11:32 pm ] |
| Post subject: | 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 |
|
| Page 1 of 2 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|