Yoko

All sides of Injection
It is currently 2026-03-10 18:23:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2004-09-13 20:28:17 
Offline

Joined: 2004-05-18 02:24:25
Posts: 117
sub main()
repeat
uo.findtype(0x0e21,'-1','0x40912a20')
if not uo.count('0x0e21') then
uo.exec ("useskill 'Stealing'")
uo.waittargettype('0x0e21')
end if
wait(4000)
until UO.Dead()
end sub

скрипт заключается в следующем! Чар основной вор он ворует из бек пека 2 чара бандажки по 1! Но он непашет непонимаю почему!
пишет что неможет найти итем! в сем проблема хелп плиз!
0x0e21 - бандажки
0x40912a20- бек пек чара у которого воруют!


Top
   
PostPosted: 2004-09-13 20:29:54 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Xabus wrote:
sub main()
repeat
uo.findtype(0x0e21,'-1','0x40912a20')
if not uo.count('0x0e21') then
uo.exec ("useskill 'Stealing'")
uo.waittargettype('0x0e21')
end if
wait(4000)
until UO.Dead()
end sub

скрипт заключается в следующем! Чар основной вор он ворует из бек пека 2 чара бандажки по 1! Но он непашет непонимаю почему!
пишет что неможет найти итем! в сем проблема хелп плиз!
0x0e21 - бандажки
0x40912a20- бек пек чара у которого воруют!


1. тип в Findtype специально без кавычек написал? А вот -1 как раз надо без кавычек
2. WaitTargetType поставь перед Useskill


Top
   
 Post subject:
PostPosted: 2004-09-13 20:38:00 
Offline

Joined: 2004-05-18 02:24:25
Posts: 117
No item found. Next target request will be canceled.
вот что он пишет!


Top
   
 Post subject:
PostPosted: 2004-09-13 20:47:56 
Offline

Joined: 2004-05-18 02:24:25
Posts: 117
я так понял я чтото неправильно указал в Findtype?


Top
   
PostPosted: 2004-09-14 16:05:10 
Offline

Joined: 2004-04-16 17:11:35
Posts: 21
ПОПРОБУЙ ТАК !!!!!!!!! wrote:

sub main()
repeat
uo.findtype('0x0e21',-1,'0x40912a20')
if not uo.count('0x0e21') then
uo.waittargettype(finditem)
uo.exec ("useskill 'Stealing'")
end if
wait(4000)
until UO.Dead()
end sub


0x0e21 - бандажки
0x40912a20- бек пек чара у которого воруют!



вопервых! ошибка многих !!!! єти две строчки идут ТОЛЬКО в такой последовательности

uo.waittargettype(finditem)
uo.exec ("useskill 'Stealing'")

сначала указываем ловушку таргета, а лиш потом юзаем скил вызывающий этот таркет!

во воторых ты пытался украсть бинты из собственного бекпака.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users 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:  
Powered by phpBB® Forum Software © phpBB Limited