Wait4rez.mac: consent, accept rez then loot (Update 4/17/05)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

slinkity
decaying skeleton
decaying skeleton
Posts: 7
Joined: Wed Aug 25, 2004 1:46 pm
Location: Las Vegas
Contact:

Post by slinkity » Wed Sep 29, 2004 1:28 pm

another thing this macro works great for is being added to instanced zones, like say Inktatu, if your getting added right at the end, or a Tipt exp... dont have to sit there and hover with the mouse pointer on your second comp.

Airvz
Custom Builder
Custom Builder
Posts: 128
Joined: Tue Nov 18, 2003 3:36 pm

Post by Airvz » Wed Oct 06, 2004 1:09 am

fantum409 wrote:airvz if you compiled MQ2 from the latest zip, this should be working for you. However, it depends on the client seeing the confirmation dialog box, which might get screwed up in a custom ui. (it shouldn't though, but I think it would be possible)
plz be sure to use newest MQ2 and then if it still isnt working, try /loadskin default
I got the bugs worked out this macro is my hero

nitan
orc pawn
orc pawn
Posts: 15
Joined: Fri Aug 20, 2004 9:41 pm

Post by nitan » Thu Oct 07, 2004 11:35 am

This is such a great macro... Thanks so much...

Nitan

Zamiel
orc pawn
orc pawn
Posts: 17
Joined: Tue Sep 07, 2004 12:52 am

Post by Zamiel » Fri Oct 15, 2004 6:21 pm

Is this broken for anyone else with the latest patch?

It won't accept the rez.


Edit - Never mind, got it working.
Last edited by Zamiel on Mon Oct 25, 2004 12:56 am, edited 1 time in total.

Arune
a hill giant
a hill giant
Posts: 216
Joined: Sat Jul 03, 2004 1:51 pm

Post by Arune » Fri Oct 15, 2004 7:06 pm

Works perfect.

cjn
orc pawn
orc pawn
Posts: 19
Joined: Fri Aug 20, 2004 4:21 pm

Post by cjn » Tue Oct 19, 2004 5:36 am

This is really nice. I use it a lot. However, can you make it optional for the res box? so that:

1 = auto click yes
0 = do not wait for res box, just loot up corpse. (assuming same zone with corpse)

I want this becoz I wanna know who is resing me... (I know some clerics like to rez ppl while mobs are still around LOL)

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Wed Oct 20, 2004 12:17 am

I'm sure you could insert some code to make it beep or something instead of clicking accept on first confirmation dialogue box that pops up.
Another option would be to use the loot.mac macro from a while back. It should still be working.
My purpose here was to go afk the moment I pop up at bind point and accept any kind of rez I can get. =) Hopefully, some way to read the text in the conf dialogue box will be implemented eventually, then I'll take this macro a step further.

tarphoun
orc pawn
orc pawn
Posts: 10
Joined: Wed Feb 18, 2004 9:34 pm

Post by tarphoun » Mon Oct 25, 2004 9:30 pm

would be nice to have an option that will Gate then camp to desktop after corpse is looted. or just camp at less. would be nice for those late nite last try CR

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Mon Oct 25, 2004 10:16 pm

you could add a line

Code: Select all

/camp desktop
right before where it says

Code: Select all

/end
LOL
or even

Code: Select all

/sit
/delay 30s ${Me.PctMana}>10
/call Cast "Gate" gem1 15s
/delay 10s
/camp desktop
right before the /end line

possibilities are endless, but as for the main posting, I'd like to keep this as a final version unless EQ changes break it. Though any are welcome to modify/change and post as their own if they wish. =)

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Self Buffs, sit to med

Post by Chill » Tue Oct 26, 2004 4:47 am

I added two changes to your macro I thought you or others may want to include. I added a buff routine and a sit line at the end just before it ends:

before Sub Main:

Code: Select all

#Include SpellRoutines.inc
The main loop:

Code: Select all

   :zonein 
   /delay 5 
   /target mycorpse 
   /delay 5 ${Target.CleanName.Equal[${Me}'s corpse]} 
   /if (${Target.CleanName.NotEqual[${Me}'s corpse]}) /goto :zonein 
   /if (${Target.CleanName.Equal[${Me}'s corpse]}) { 
      /delay 3s 
      /call Loot
      /call Buff
   } else /goto :zonein
   /if (!${Me.Sitting}) /sit
Any my self-buff sub:

Code: Select all

| -------------------
| -- Self Buff Sub -- 
| -------------------
Sub Buff
   /declare OldItem string local

   /target myself

   /if (!${InvSlot[legs].Item.Name.Equal[Romar's Pantaloons of Visions]}) {
      /call EquipItem "Romar's Pantaloons of Visions|legs"
      /varset oldItem ${Macro.Return}
      /call cast "Romar's Pantaloons of Visions" item
      /call EquipItem ${oldItem}
   } else {
      /call cast "Romar's Pantaloons of Visions" item
   }
   /if (!${InvSlot[ranged].Item.Name.Equal[Eye of Dreams]}) {
      /call EquipItem "Eye of Dreams|ranged"
      /varset oldItem ${Macro.Return}
      /call cast "Eye of Dreams" item
      /call EquipItem ${oldItem}
   } else {
      /call cast "Eye of Dreams" item
   }      
   /if (!${InvSlot[shoulder].Item.Name.Equal[Shawl of Eternal Forces]}) {
      /call EquipItem "Shawl of Eternal Forces|shoulder"
      /varset oldItem ${Macro.Return}
      /call cast "Shawl of Eternal Forces" item
      /call EquipItem ${oldItem}
   } else {
      /call cast "Shawl of Eternal Forces" item
   }      
   /if (!${InvSlot[legs].Item.Name.Equal[Silken Augmenter's Pantaloons]}) {
      /call EquipItem "Silken Augmenter's Pantaloons|legs"
      /varset oldItem ${Macro.Return}
      /call cast "Silken Augmenter's Pantaloons" item
      /call EquipItem ${oldItem}
   } else {
      /call cast "Silken Augmenter's Pantaloons" item
   }

   /target clear
/return
My self buffs are tailored to my chanter, of course, but I think the format would be pretty easy to edit for just about any click buffs. I mostly want to get my mana going after my rez, but I think it might also be useful to people who like to put up their click buffs in a certain order after a rez.

Extralarge
orc pawn
orc pawn
Posts: 12
Joined: Mon Oct 27, 2003 10:47 am

Post by Extralarge » Thu Nov 04, 2004 2:15 am

That macro works great! I really really love it.

DreamKing
a lesser mummy
a lesser mummy
Posts: 79
Joined: Tue Jun 10, 2003 12:29 am

Post by DreamKing » Fri Nov 05, 2004 1:40 am

I use it all the time. You ust have to watch out if you're in an expedition. If you have the macro running and you're going to drop the expedition, stop the macro first. It sorta freaks out for a bit if you don't.

dedpoet
a hill giant
a hill giant
Posts: 247
Joined: Sat Aug 14, 2004 12:22 pm

Post by dedpoet » Tue Nov 09, 2004 10:22 am

Great macro! I, like several others around here, use the subs in my own macros to handle deaths. I have one small issue with this that I haven't been able to figure out. I use a custom loot window that has 3 columns in it instead of 2. The routine will only loot the items in columns 1 and 2, then sit there doing nothing. If I manually right-click the item in column 3 to loot it, the routine will then move to the second row and loot columns 1 and 2, then stop again. This repeats for every row in the loot window, where I manually have to loot the 3rd column.

The obvious fix would be to change back to a 2 column loot window, which I'm not ruling out, but would like to avoid if possible. Is there something inherant in the looting code that will only see the first 2 columns? I've looked this over multiple times and can't see any limitations in the code itself. Maybe it's an MQ limitation. Any ideas? Thanks!

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Nov 09, 2004 10:31 am

I had the same problem, I just ended up going back to the default since I autoloot anyway so I don't need an easy loot window :D
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

Rhev
a lesser mummy
a lesser mummy
Posts: 75
Joined: Fri Apr 23, 2004 12:25 pm

Post by Rhev » Mon Dec 13, 2004 10:16 am

Crashing with latest zip? Doesnt like the rez window popping up and drops to server select.