Yoko

All sides of Injection
It is currently 2025-12-20 04:41:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2006-02-04 19:28:32 
Offline

Joined: 2005-06-18 15:55:25
Posts: 24
Помогите подправить скрипт и исправить ошибки.
Скрипт сначала рисует балн мапы, потом берет нарисованную карту и перекладывает ее в пакет, потом когда израсходовал все бланки мап, он обратно перекладывает нарисованный мапы в основной бекпак
пс все типы заданы раньше, т.к. это кусок скрипта
псс не знаю как сделать чтобы он считал кол-во карт в пакете, и как токо оно равно 0 переставал оттуда перекладывать в основной пакет
Code:
sub risovanie()
UO.FindType( blankmapi,'Bpack' )
kar=uo.findcount()
wait(500)
while uo.findcount() > 0
uo.usetype(blankmapi)
wait(1000)
uo.exec("waitmenu 'create?' 'Local Map'")
wait(7000)
UO.FindType('0x14EB','0x0046','Bpack')           
wait(300)
UO.MoveItem( 'finditem','-1','0x5B8B3F38' )
wend

repeat
UO.FindType( blankmapi, '0x0046','0x5B8B3F38' )             
wait(300)
UO.MoveItem( 'finditem','1','Bpack' )
wait(500)
UO.FindType( blankmapi, '0x0046','Bpack' )
wait(200)
until UO.count('finditem') == kar
end sub


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

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