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 =)
Determine my ping.
Moderators: Murderator+, Murderator
Determine my ping.
"Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation." - Oscar Wilde
open cmd and write down "ping and.ip.adress.of.your.server"
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
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
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.

"Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation." - Oscar Wilde
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
-
- Posts: 362
- Joined: 2005-04-23 20:18:57
How could I do a check to see my ping?
damn read your first post!
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net