Yoko

All sides of Injection
It is currently 2025-10-12 16:20:42

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2008-04-11 18:53:47 
Offline

Joined: 2006-07-07 09:06:14
Posts: 7
нужен просто скрипт на сборку координат при ламбере

необходимо, что бы скрипт брал координаты героя. потом нажимал ,infotile и ждал указания ловушкой на дерево.
2 свои координаты и 4 числа с инфотайла сохранял в отдельный файл с новой строчки в формате
Code:
чарХ чарУ инфотайл1 инфотайл2 инфотайл3 инфотайл4


пример:
Quote:
1992 152 3290 1992 153 0
1996 152 3299 1996 153 0


при чем необходимо что бы он добавлял к уже существующему файлу по 1 новой сктрочке

САБЖ, помогите плиз


Top
   
 Post subject:
PostPosted: 2008-04-11 19:00:14 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Hint: Используй не infotile, а info. uo.Targeting() правильно работает именно с info, но при этом эффект от info точно такой же, обновляется lasttile переменая.


Top
   
 Post subject:
PostPosted: 2008-04-11 19:03:08 
Offline

Joined: 2006-07-07 09:06:14
Posts: 7
спасибо за совет, но мне от этого не легче. мои познания в инжекте не дают мне возможности написать такой скрипт...


Top
   
 Post subject:
PostPosted: 2008-04-11 19:06:49 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
sub test()
    repeat
        uo.info()
        while uo.targeting()
            wait( 100 )
        wend
        uo.textprint( str( uo.getX() ) + " " + str( uo.getY() ) + " " + uo.lasttile() ) ; или куда тебе там надо
    until false
endsub

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-04-11 19:08:06 
Offline

Joined: 2006-07-07 09:06:14
Posts: 7
спасибо!!!

но мне в файл надо


Top
   
 Post subject:
PostPosted: 2008-04-11 19:08:28 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Напиши чтобы в файл сохранял.. проблема.. :)

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-04-11 19:23:40 
Offline

Joined: 2006-07-07 09:06:14
Posts: 7
Destruction wrote:
Напиши чтобы в файл сохранял.. проблема.. :)

Quote:
мои познания в инжекте не дают мне возможности написать такой скрипт...


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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