Opeining bank and char slots.

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

DekeFentle
a lesser mummy
a lesser mummy
Posts: 48
Joined: Wed Oct 22, 2003 1:41 pm

Opeining bank and char slots.

Post by DekeFentle » Tue Dec 02, 2003 3:35 pm

/click left|right [corpse|target|windowloc] [[+-]x [+-]y] [slotname] [pack # [slot# combine|done]]

What would the syntax be to open the first two bank windows and the first two character slots?

/click right (bank,1)
/click right (bank,2)
/click right (char,1)
/click right (char,2)

This seems to fail miserably.
Revelation 6:8

Sixes
decaying skeleton
decaying skeleton
Posts: 6
Joined: Thu Nov 06, 2003 6:21 pm

Re: Opeining bank and char slots.

Post by Sixes » Tue Dec 02, 2003 6:24 pm

DekeFentle wrote:/click right (bank,1)
/click right (bank,2)
/click right (char,1)
/click right (char,2)
/click right bank 0
/click right bank 1
/click right inv 0
/click right inv 1

DekeFentle
a lesser mummy
a lesser mummy
Posts: 48
Joined: Wed Oct 22, 2003 1:41 pm

Post by DekeFentle » Mon Dec 15, 2003 3:36 pm

This works....
/Click right inv 0

This doesn't
/Click Right Bank 0

Cna anyone tell me how to right click a bank slot?
Revelation 6:8

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon Dec 15, 2003 7:34 pm

First open the bank with:

/target "Banker Name"
/click right target

Then:

/click right bank inv 0
Last edited by ml2517 on Mon Dec 15, 2003 7:40 pm, edited 1 time in total.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon Dec 15, 2003 7:38 pm

From the MQ2Mouse.cpp this might be helpful to you also:


// Mouse location is either specified by X and Y position or by object reference
// [+|-]<x> [+|-]<y>
// auto
// destroy
// hslider
// corpse <slot>|done
// merchant <slot>|buy|sell|done
// hotkey <slot>|previous|next
// enviro <slot>|combine|done
// npctrade <slot>|give
// [bank] plat|gold|silver|copper
// [bank] inv <slot>
// [bank] pack <num> <slot>|combine|done
// button <ClickLocation>
// <ClickLocation>

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Mon Dec 15, 2003 9:09 pm

/click right bank inv 0 -- bank specifies bank, inv 0 specifies the 1st bank slot (slots are numbered 0 to 15)

/click right bank pack 0 0 -- this will right click on the 1st slot of the container that is in bank slot 0, assuming that that pack is open (and will click on empty space if the pack is closed)

So, to open the pack in the first bank slot, then pick up the item in the first slot of that pack, you would do the following:

/click right bank inv 0
/click left bank pack 0 0

That's assuming you already have your bank open. To open the bank:

/target banker
/click right target

Make sure you are in range of the banker first of course, or you'll just get the "can't click from here" message.

I'll work on simplifying this syntax a bit for the next generation of mouse code (currently under construction). I'd also rather count slots starting at 1 (which is how EQ counts them), but will leave that at 0 for backwards compatibility with old macros.

DekeFentle
a lesser mummy
a lesser mummy
Posts: 48
Joined: Wed Oct 22, 2003 1:41 pm

Post by DekeFentle » Thu Dec 18, 2003 5:27 pm

Thank you.
Revelation 6:8