About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
UlrikMikkelsen
Newbie


Joined: 04 May 2004
Posts: 1
Location: Sweden

PostPosted: Tue May 04, 2004 7:21 pm   

Ping
 
Heya.

I would really love to be able to ping when using Zmud.. so i could perhaps get the ping reply in the status window, However, I have no idea how to make such a thing. Perhaps one of you hotshots[8D] could help me?

Thanks in advance
Reply with quote
john_taylor_jr
Wanderer


Joined: 17 Jan 2003
Posts: 57
Location: USA

PostPosted: Tue May 04, 2004 9:00 pm   
 
Send an e-mail to zugg. The only ping you can get as of now is when you edit your char.
Reply with quote
tcrown007
Beginner


Joined: 14 Sep 2002
Posts: 24

PostPosted: Wed May 05, 2004 5:02 pm   
 
You need a ping app that has a COM interface, like DSPing. Get it here:
http://www.donia.com/DSPing.exe

Install that. Then here's your class:

/CLASS {Ping}
/ALIAS zping {
/ECHO {Pinging %1 with 3 packets at 32kb each...}
/VAR dsping %comcreate( "DSPing.Ping")
/VAR dsping_result {@dsping.DoPing("%1",3,2000,32)}
/IF (@dsping_result=0) {/ECHO {Ping Successful}} {/ECHO {Ping Unsuccessful: Error code is @dsping_result}}
/ECHO {Minimum ping was @dsping.Minimum ms.}
/ECHO {Maximum ping was @dsping.Maximum ms.}
/ECHO {Average ping was @dsping.Average ms.}
/VAR dsping ""
/VAR dsping_result ""
}
/CLASS 0

usage: zping www.google.com

I use / for my command char, cuz I think the # is terribly unwieldy. anyway, change the / to # and you should be good to go.

Read dsping.htm in the install directory for the error codes translations.
Reply with quote
Full Throttle
Wanderer


Joined: 07 Dec 2004
Posts: 65

PostPosted: Fri Jul 01, 2005 12:00 am   
 
Does anyone know of a traceroute application that has a COM interface?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net