Yoko

All sides of Injection
It is currently 2025-12-17 17:22:19

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2005-08-06 23:29:05 
Offline

Joined: 2005-07-27 15:36:42
Posts: 3
Сразу оговорюсь, что моя задача - используя функцию Yoko, которую он выложил в ветке FAQ прийти к объекту на земле. Обект ищется функцией findtype. Код выглядит так:
Code:
...
uo.findtype(reag[regnum],-1,'ground')
if uo.findcount()<>0 then
   regx=uo.getx('finditem')
   regy=uo.gety('finditem')
   gotoxy(regx,regy,2)
else
...

Объект, который находит процедура findtype 100% не может находиться под чаром. Но вот что интерестно, если добавить в код строчки, которые будут писать значения переменных, то можно увидеть, что regx = uo.getx(), regy = uo.gety(). Повторюсь, объект 100% не находиться под чаром.
Но почему же тогда эти переменные совпадают???
Где ошибка?


Top
   
 Post subject:
PostPosted: 2005-08-07 09:46:00 
Offline

Joined: 2005-07-27 15:36:42
Posts: 3
Хм, проблема решена.
Надо было просто перезапустить инжект :shock:
А почему так???


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 6 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:  
Powered by phpBB® Forum Software © phpBB Limited