Yoko

All sides of Injection
It is currently 2025-11-05 10:14:21

All times are UTC+02:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: BS
PostPosted: 2006-05-09 19:26:48 
Offline

Joined: 2006-05-09 16:55:32
Posts: 3
вот скрипт и когда я запускаю его то он не действует в чем ошибка?
Code:
sub BlacksmithyIM() 
var Exit=0, LastTimer
uo.Print('Выбери Сундук: ')
uo.Exec('addobject Chest')
while uo.Targeting()
wait(100)
wend
while Exit<>1
uo.DeleteJournal()
uo.FindType('0x1BEF ',-1,'backpack') 
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x1BEF ','0x0000','Chest')
wait(1000)
uo.Grab('300','finditem')
wait(1000)
end if
LastTimer=uo.Timer()
uo.DeleteJournal()
uo.WaitMenu ('Blacksmithing','Weapons','Weapons','Swords','Swords','dagger')
uo.UseType('0x13E3')
wait(12000)
wend
end sub


а пишит он вот ето когда я запускаю его
Items found: 1
Previos waitmenu cancelled:
Blacksmithing
Now waiting for menu....
No item found

ет в игре и потом после етого мне приходитьса каждый раз нажимать на инги чтобы он начинал ковать сковал дагер 1 появляетса тоже самое и снова на инги нажимать скажити где ошибка ? а то я нуб по скриптам )


Top
   
 
 Post subject:
PostPosted: 2006-05-09 19:31:11 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
Ты вайттаргет забыл... (очень странная ошибка)
Возможно тип молотка не правильно указан...
Code:
sub BlacksmithyIM()

uo.canceltarget()

uo.Print('Выбери Сундук: ')
uo.Exec('addobject Chest')
while uo.Targeting()
wait(100)
wend

uo.print("Укажите молоток...")
uo.Exec('addobject hamm')
while uo.targeting()
wait(100)
wend

uo.print("Укажите руду...")
uo.Exec('addtype ores')
while uo.targeting()
wait(100)
wend

uo.DeleteJournal()

uo.FindType('ores','-1')

while true
if uo.GetQuantity('finditem')<20 then
uo.FindType('ores','-1','Chest')
wait(1000)
uo.Grab('300','finditem')
wait(1000)
end if
uo.FindType('ores','-1')
uo.WaitMenu ('Blacksmithing','Weapons','Weapons','Swords','Swords','dagger')
uo.WaitTargetObject('finditem')
uo.UseObject('hamm')
wait(12000)
wend
end sub


Должно работать...

_________________
DerMeister сейчас на нейрале!


Top
   
 
 Post subject:
PostPosted: 2006-05-09 20:00:11 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Что за дурная мода дублировать вопросы в разных разделах? Ответил там. Нет инструмента просто. Или у инструмента другой тип, нежели в скрипте. Инжект же внятно говорит:
Code:
Now waiting for menu.... 
No item found

То есть следующая команда после меню не находит нужный предмет.

_________________
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...


Top
   
 
 Post subject:
PostPosted: 2006-05-09 20:28:41 
Offline

Joined: 2006-05-09 16:55:32
Posts: 3
Der
спасиб заработал скрипт thx thx


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited