Yoko

All sides of Injection
It is currently 2025-10-15 17:36:47

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2009-10-26 22:58:50 
Offline

Joined: 2009-08-26 20:30:16
Posts: 10
:?: Нужен скрипт, который собирал бы координтаты в файл.

:!: Например:

Идет чар и все координаты по которым он прошел, записались бы в файл.

Буду очень признателен за помощь :oops:


Top
   
 Post subject:
PostPosted: 2009-10-26 23:18:35 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
sub WayLogger()
    var x, y, file = "File.txt"
    file = file( file )
    file.create( )
    file.open( )
    repeat
        x = uo.getX( )
        y = uo.getY( )
        file.writeln( str( x ) + " " + str( y ) )
        while x == uo.getX( ) && y == uo.getY( ) && not uo.injournal( "stop" )
            wait( 100 )
        wend
    until uo.injournal( "stop" )
    uo.deletejournal( )
    file.close( )
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: 2009-11-03 11:19:08 
Offline

Joined: 2009-08-26 20:30:16
Posts: 10
Что-то он совсем не работает. Может кто подскажет как быть?


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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