Yoko

All sides of Injection
It is currently 2026-01-16 01:23:01

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Починка :(
PostPosted: 2011-03-14 07:17:09 
Offline

Joined: 2009-06-08 13:57:58
Posts: 8
Доброго времени суток, прошу вас подскажите что те так в скрипте не хочет чинить кирку и все пишет Auto target cancelled. you can't see the target.
Code:
sub repair()
var pickaxe='0x0F39'
var hammer='0x13E3'
uo.findtype(hammer,-1,'backpack')
if uo.findcount() then
UO.WaitTargetObject(pickaxe)
UO.UseObject(hammer)
repeat
wait(100)
until uo.injournal("You can't think of a way to use that item|You repair the")
wend
endsub


Top
   
 Post subject: Re: Починка :(
PostPosted: 2011-03-14 08:47:56 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Quote:
var pickaxe='0x0F39' ; TYPE кирки
UO.WaitTargetObject(pickaxe) ; ID кирки

ты разные предметы используешь с одним названием. Внизу ищешь уникальный номер конкретной кирки а он не указан в var - потому и тупит.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject: Re: Починка :(
PostPosted: 2011-03-14 16:59:29 
Offline

Joined: 2009-06-08 13:57:58
Posts: 8
Mirage wrote:
Quote:
var pickaxe='0x0F39' ; TYPE кирки
UO.WaitTargetObject(pickaxe) ; ID кирки

ты разные предметы используешь с одним названием. Внизу ищешь уникальный номер конкретной кирки а он не указан в var - потому и тупит.


:D душевно благодарю


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 4 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