Page 1 of 1
Determine my ping.
Posted: 2006-12-03 03:41:54
by Paul
Hi,
How could I do a check to see my ping? I was thinking of clicking my backpack and wait for server response, but I can't find a way to determine the actual datetime in Injection. Can someone help me?
Thanks =)
Posted: 2006-12-03 12:49:44
by Nmy
open cmd and write down "ping and.ip.adress.of.your.server"
Posted: 2006-12-03 13:32:56
by Scripts Writer
NMY wrote:open cmd and write down "ping and.ip.adress.of.your.server"
А вот как бы в С++ или bat файле навести проверку на наличие ответа от сервера который пингуем ... ?
Posted: 2006-12-03 14:09:32
by omi4
You Must Die wrote:NMY wrote:open cmd and write down "ping and.ip.adress.of.your.server"
А вот как бы в С++ или bat файле навести проверку на наличие ответа от сервера который пингуем ... ?
http://en.wikipedia.org/wiki/ICMP_Echo_Request
Posted: 2006-12-04 07:45:21
by Paul
NMY wrote:open cmd and write down "ping and.ip.adress.of.your.server"
Of course I would do that, if my shard wasn't protected by a firewall. By the way, blocking ICMP packets is the very basic of network security.
I know that there is a way of doing that by simple send some packet, hold the 'now' time, wait for the response, and then subtract the second for the first, but I don't know how to operate datetimes within Injection.
PS: Sorry if this sounds rude, NMY, but just because you reply to a millions of retards, don't assume you're talking to one before anything else. It is just an advise, I'm not threatening you.

Posted: 2006-12-04 11:09:04
by omi4
Code: Select all
sub ping()
UO.DeleteJournal()
UO.Click('backpack')
var LTime = UO.Timer()
repeat
wait(50)
until UO.InJournal('backpack')
UO.Print("Ping " + str((UO.Timer() - LTime)/10) + "sec")
endsub
~ +- 1km
Posted: 2006-12-04 13:24:24
by CONDOMchick
если я не ошибаюсь есть какая-то прога специльно для уо.
Posted: 2006-12-04 23:06:14
by Edred
CONDOMchick wrote:если я не ошибаюсь есть какая-то прога специльно для уо.
UOTrasser
Posted: 2006-12-05 10:46:21
by Nmy
How could I do a check to see my ping?
damn read your first post!