Moving items into the backpacks

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Biba
Posts: 30
Joined: 2004-07-02 12:14:09

Moving items into the backpacks

Post by Biba »

Im interested in macros like that. For example: i got 10 backpacks and 100 items (scrolls, ingots, logs, feathers etc...) to move into this backpacks and first select with cursor and command uo.exec('addobject something'). Backpacks are always same type, scrolls not. I want 10 items in every backpack, but how to do that using the best way? :)
Last edited by Biba on 2004-07-10 15:40:48, edited 2 times in total.
BETEPAH
Expert!
Posts: 838
Joined: 2004-05-31 09:31:51
Contact:

Post by BETEPAH »

10 items of what type ?

and if you can Type in Russian
Все просто.
BETEPAH ™
Biba
Posts: 30
Joined: 2004-07-02 12:14:09

Post by Biba »

BETEPAH wrote:10 items of what type ?

and if you can Type in Russian
Thats doesnt matter, scrolls ingots or something like that, its different in every time, thats why i need to addobject before move.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

this is a scetch, edited in forum
you may complete it or get idea from here and make all yourself

Code: Select all

sub yokotest()
uo.ignorereset()
while uo.count("packtype")
...
uo.addtype("SelectItemToStore")
...
while uo.count("SelectItemToStore")
uo.findtype("SelectItemToStore")
uo.moveitem("finditem","-1","_packtype")
wait(untilitemmoved)
uo.ignore("finditem")
wend
uo.ignore("_packtype")
uo.print("You have "+str(uo.count("packtype"))+" bags left")
wend
uo.ignorereset()
end sub
Biba
Posts: 30
Joined: 2004-07-02 12:14:09

Post by Biba »

Yoko wrote:this is a scetch, edited in forum
you may complete it or get idea from here and make all yourself

Code: Select all

sub yokotest()
uo.ignorereset()
while uo.count("packtype")
...
uo.addtype("SelectItemToStore")
...
while uo.count("SelectItemToStore")
uo.findtype("SelectItemToStore")
uo.moveitem("finditem","-1","_packtype")
wait(untilitemmoved)
uo.ignore("finditem")
wend
uo.ignore("_packtype")
uo.print("You have "+str(uo.count("packtype"))+" bags left")
wend
uo.ignorereset()
end sub

I really dont know if i can make this working, but i will try. Maybe ur presence on icq today will help :)
Biba
Posts: 30
Joined: 2004-07-02 12:14:09

Post by Biba »

Then if someone have this macro full working i will invite that here :).
Post Reply