Yoko

All sides of Injection
It is currently 2025-11-09 21:36:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2014-04-12 21:49:23 
Offline

Joined: 2014-04-12 20:58:02
Posts: 1
Суть скрипта: указывает таргетом на сундук с логами, берёт 1 лог и переделывает его в шафт.

Вот скрипт:

sub bowcraft()
var log='0x1BDD' ; Тип логов
var dagger='0x00000000' ; ID дагера
var making=4000 ; Время изготовления
var shaft='0x1BD4'

uo.Exec('addobject sunduk')
while uo.Targeting()
wait(100)
wend
while not uo.DeaD()
uo.FindType(log,'-1','backpack')
if uo.FindCOunt() then
wait(100)
else
uo.FindType(log,'-1','sunduk')
if uo.FindCount() then
uo.moveitem('finditem','1')
wait(500)
else
uo.Exec('terminate bowcraft')
end if
end if
uo.WaitMenu('What','shaft')
uo.WaitTargetType(log)
uo.UseObject(dagger)
wait(making)
if uo.Count(shaft) > 100 then
uo.FindType(shaft,'-1','backpack')
uo.moveitem('finditem','100','sunduk')
wait(500)
end if
wend
end sub

Вылетает в момент когда уже взял 1 лог, положил в бекпак, по идее должен заюзать на него дагер, но пишет :"Menu choise not found: menu canseled."

Подскажите в чём тут трабл ((


Top
   
PostPosted: 2014-04-12 22:35:00 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Это значит неправильно текст меню написал, и то что ты написал инжект в появившемся меню не находит. Инжект не забываем обновлять на новый viewtopic.php?f=1&t=17391

_________________
CodeSweeper


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: Bing [Bot] and 0 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