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..
moving ores..
Moderators: Murderator+, Murderator
-
- Posts: 60
- Joined: 2004-04-23 19:58:03
Code: Select all
uo.setreceivingcontainer("ID_your_chest")
uo.findtype('type_your_ore','0x0000','my') # ore
uo.grab('0','finditem')
uo.unsetreceivingcontainer()
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
-
- Expert!
- Posts: 359
- Joined: 2004-04-25 11:11:07
- Contact:
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
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
А без пруда не выловишь её и с трудом...