You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

  • "CharlieBananas" started this thread

Posts: 779

Location: USA

Occupation: Student

  • Send private message

1

Sunday, July 22nd 2012, 8:58am

Macro to open multiple items up at a time?

Hello, I need a macro to use/open stacks of items at a time. Example of items would be Victory Packages/durable supple packs from siege, containers you buy mento foods in, dusty pages, etc. I normally save up my siege stuff to open in stacks of 99. I buy like 40+ packs of mento food at a time. And I currently have 2k dusty pages I'd like to hand in but I'm really too lazy to do that much clicking.

Currently what I do is I just put whatever I'm opening in the second spot on my action bar and click this macro:

Quoted

/script UseAction(2)
/wait .3
/script UseAction(2)
/wait .3
/script UseAction(2)
/wait .3
/script UseAction(2)
/wait .3
/script UseAction(2)


That only reduces my clicking to 1/4 of what it normally would be. I'd like something that would open the whole stack up. Kind of like you can feed 99 of whatever to your pet in 1 click?

Thanks for anyone out there who is willing to help. :-)

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

2

Sunday, July 22nd 2012, 12:01pm

Well, I'm unsure if this will work correctly (mainly because of the possible waits needed), but give this macro a try. It will attempt to open a stack of any size that is placed in the first bag slot (top left corner of the first bag page). Make sure you have enough space in your bags for it as it does not check to see if you do.

Source code

1
2
/run idx,_,_,cnt=GetBagItemInfo(1)
/run for i=1,cnt do UseBagItem(idx) end
2013... The year from hell....

  • "CharlieBananas" started this thread

Posts: 779

Location: USA

Occupation: Student

  • Send private message

3

Sunday, July 22nd 2012, 9:19pm

That doesn't work. It only opens 1.