Yoko

All sides of Injection
It is currently 2024-03-28 15:38:46

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: MINING
PostPosted: 2012-01-22 00:32:23 
Offline

Joined: 2011-12-07 22:36:59
Posts: 9
Preciso guardar ores no bank, e recalar devolta ao final!

var n
DIM ID[5]
ID[1]='0x19B9'
ID[2]='0x19B8'
ID[3]='0x19BA'
ID[4]='0x19B7'
ID[5] = '0x0F16'
For n=1 To 5
if uo.count(MID(ID[n], 0, 6)) >=1 then
endif
UO.FindType(MID(ID[n], 0, 6),'-1','my'); //WHAT DOES IT?
uo.moveitem('finditem', '0', MID(ID[n], 7, 9))
endif

Next
end sub

Esta função pra dropar algum item no chão.

sub DropOre(cor)
var n
DIM OREID[4]
OREID[1]='0x19BA'
OREID[2]='0x19B8'
OREID[3]='0x19B7'
OREID[4]='0x19B9'
For n=1 to 4
if uo.count(OREID[n],cor) >=1 then
UO.FindType(OREID[n],cor,'my')
UO.MoveItem('finditem','-1','ground')
endif
Next
endsub

Observando que o processo é um só.


Top
   
 Post subject: Re: MINING
PostPosted: 2012-01-22 09:41:57 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
Code:
sub DropOre(cor)
  var n, Bankid = '0x12345678' ; <== change id on your bank id
  DIM OREID[4]
    OREID[1]='0x19BA'
    OREID[2]='0x19B8'
    OREID[3]='0x19B7'
    OREID[4]='0x19B9'
  For n=1 to 4
    while uo.count(OREID[n])
      UO.FindType(OREID[n],-1,'my')
      UO.MoveItem('finditem','-1',Bankid)
      wait(1000)
    wend
  Next
endsub


Top
   
 Post subject: Re: MINING
PostPosted: 2012-01-22 17:20:58 
Offline

Joined: 2011-12-07 22:36:59
Posts: 9
Lógico que sim...


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