Yoko

All sides of Injection
It is currently 2024-03-28 16:23:27

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2012-07-20 16:38:31 
Offline
User avatar

Joined: 2006-04-22 20:37:37
Posts: 79
можно удалять :)


Top
   
PostPosted: 2012-07-20 16:48:23 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Code:
sub podborrubi()
if UO.InJournal("You pull") then
UO.SetReceivingContainer('Bag')
UO.findtype('0x09CC','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CD','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CE','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CF','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x1BEF','0x048E','ground') ;Water ingot
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x14EB','0x0000','ground') ;Map
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0F90','0x0000','ground') ;Dead Wood
UO.grab ('1','finditem')
wait (500)
UO.UnSetReceivingContainer()
end sub

Нету проверок на наличие найденного предмета на земле.
И куда делся endif от if UO.InJournal("You pull") then ? :D

Так проще и актуальнее вроди)
Code:
sub podborrubi()
var i
dim r[7]
r[0]='0x09CC' ;fish
r[1]='0x09CD' ;fish
r[2]='0x09CE' ;fish
r[3]='0x09CF' ;fish
r[4]='0x1BEF' ;Water ingot
r[5]='0x14EB' ;Map
r[6]='0x0F90' ;Dead Wood

if UO.InJournal("You pull") then
for i=0 to 6
UO.findtype(r[i],-1,'ground')
if uo.findcount() then
UO.moveitem('finditem')
wait(500)
endif
next
endif
end sub


Top
   
PostPosted: 2012-07-20 17:58:05 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
делжурнал потерялся ;) Хотяяя он может быть и выше но лучше вставить - меньше проблем будет.

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


Top
   
PostPosted: 2012-07-20 19:33:13 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Делжурнал вроди был перед началом ловли)


Top
   
PostPosted: 2012-07-20 20:12:29 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
не застал - пардоньте...

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


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