moving ores..

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
jamez3465
Posts: 2
Joined: 2004-09-21 05:24:31

moving ores..

Post by jamez3465 »

how can i move the ores in my back pack to a chest ?
Learning this code is kind of hard because all the pages are in russian =/. any help will be apreciated..
Black Horse
Posts: 60
Joined: 2004-04-23 19:58:03

Post by Black Horse »

Code: Select all

uo.setreceivingcontainer("ID_your_chest")
uo.findtype('type_your_ore','0x0000','my') # ore
uo.grab('0','finditem')
uo.unsetreceivingcontainer()
Sfagnum
Expert!
Posts: 1284
Joined: 2004-07-04 00:14:58
Contact:

Post by Sfagnum »

Code: Select all

sub MoveOre()
var tOre = '...' ;type_of_ore
var idChest = '...' ;chest_id
  UO.FindType(tOre,'-1','backpack')
  while UO.Count(tOre)>0
    UO.MoveItem('finditem','-1',idChest)
    wait(1000)
    UO.FindType(tOre,'-1','backpack')
  wend
end sub
It move all colors of ore to the chest
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post by Lord Ruslan Nightmare »

Code: Select all

  dim ore[5]
  ore[1] = "TVJ"
  ore[2] = "GWJ"
  ore[3] = "EWJ" 
  ore[4] = "DWJ" 
    UO.UseObject("Serial of chest")
    for i = 1 to 4
      uo.findtype(ore[i])
      while uo.findcount() > 0
        uo.MoveItem("finditem","-1","Serial of chest")
        wait(500)
        uo.findtype(ore[i])
      wend
    next

Will move ore of all types and all colors from your backpack to chest
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
Post Reply