Yoko

All sides of Injection
It is currently 2024-03-29 13:55:43

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Determine my ping.
PostPosted: 2006-12-03 03:41:54 
Offline

Joined: 2004-12-09 13:25:07
Posts: 18
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 =)

_________________
"Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation." - Oscar Wilde


Top
   
 Post subject:
PostPosted: 2006-12-03 12:49:44 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
open cmd and write down "ping and.ip.adress.of.your.server"

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2006-12-03 13:32:56 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
NMY wrote:
open cmd and write down "ping and.ip.adress.of.your.server"


А вот как бы в С++ или bat файле навести проверку на наличие ответа от сервера который пингуем ... ?


Top
   
 Post subject:
PostPosted: 2006-12-03 14:09:32 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
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


Top
   
 Post subject:
PostPosted: 2006-12-04 07:45:21 
Offline

Joined: 2004-12-09 13:25:07
Posts: 18
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


Top
   
 Post subject:
PostPosted: 2006-12-04 11:09:04 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
Code:
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


Top
   
 Post subject:
PostPosted: 2006-12-04 13:24:24 
Offline
User avatar

Joined: 2005-04-23 20:18:57
Posts: 362
если я не ошибаюсь есть какая-то прога специльно для уо.

_________________
Dragon World. [since 2004]


Top
   
 Post subject:
PostPosted: 2006-12-04 23:06:14 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
CONDOMchick wrote:
если я не ошибаюсь есть какая-то прога специльно для уо.


UOTrasser

_________________
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...


Top
   
 Post subject:
PostPosted: 2006-12-05 10:46:21 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Quote:
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited