Jump to content

Is this possible?


Recommended Posts

Hi everyone!

I'm playing the game Diablo II, and i want to know:

can i read the current ping from the game?? My programm will do something like that: It checks the current ping from Diablo II, and when the ping is over 500(for example) in a window it will *blink* that the ping is over 500

is this possible?? if yes, plz can you say how i can read the current ping from this game??

-thanks for your answers :D

*sorry for my bad english :wacko:

Link to comment
Share on other sites

Do you know that AutoIt has a help file? Take a look at it; it will answer all of your questions.

Check out "Ping" to find out how to ping. Then check out the TrayTip and ToolTip for subtle messages telling you what the ping rate is.

Link to comment
Share on other sites

i looked at this, but i don't work...

because:

you must do it like this:

ping("here the ip or the hp adress", here the timout [optional])

i thought that it will work if i do it so: cmd--> netstat -n and then i looked for my ip adress in Diablo II, then i took the ip adress in the function.....but it doesn't work

what did i wrong?? hmm......plz say me what i have to do? should i use the ip adress from the Europe server??

Link to comment
Share on other sites

  • Developers

i looked at this, but i don't work...

because:

you must do it like this:

ping("here the ip or the hp adress", here the timout [optional])

i thought that it will work if i do it so: cmd--> netstat -n and then i looked for my ip adress in Diablo II, then i took the ip adress in the function.....but it doesn't work

what did i wrong?? hmm......plz say me what i have to do? should i use the ip adress from the Europe server??

Success: Returns the roundtrip-time in milliseconds ( greater than 0 ).

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Try this:

Msgbox(0,"Ping","Your ping is: " & Ping ( "66.249.65.237", 1000))

"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Link to comment
Share on other sites

is this possible?? if yes, plz can you say how i can read the current ping from this game??

he doesnt want to ping a site. he wants to get the ping from diablo.

try searching the board i remember a post that did this.

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...