Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
Digitalxero
- a ghoul

- Posts: 129
- Joined: Tue Sep 10, 2002 5:01 pm
Post
by Digitalxero » Sun Oct 15, 2006 12:01 am
Just run to the Rat room in Forgotten Halls and start the macro, it is 100% automated for looting, healing and killing. Since I dont play EQ any more I figure I can share this
EDIT:
Requires MQ2Twist and MQ2MoveUtils.
Code: Select all
Sub Main
/declare DeadCount int local
/if (${Zone.ID} != 998) /call Exit
/if (${Me.Speed} == 0) /goto :Reset
:Mainloop
/varset DeadCount ${SpawnCount[corpse radius 220]}
/if (${DeadCount} > 0) {
/goto :Lootloop
}
/if (${Me.PctHPs} < 20) {
/twist stop
/keypress instant_camp
/endmacro
}
/if (!${Target.ID}) /target npc radius 220 rat
/if (${Zone.ID} != 998) /call Exit
/delay 35
/if (!${Me.Buff[1].ID}) {
/twist 8 1 2 4 3
}
/goto :Mainloop
:Lootloop
/circle off
/twist stop
/call Loot
/varset DeadCount ${SpawnCount[corpse radius 220]}
/if (${DeadCount} > 0) /goto :Lootloop
/goto :Reset
:Reset
/call MoveToLoc -572.48 147.59
/face fast loc -574.26,140.40
/look center
/if (${Me.PctHPs} < 60) /call Rest
/twist 8 1 2 4 3
/circle on 21
/goto :Mainloop
/return
Sub Exit
/twist stop
/camp desktop
/endmacro
/return
Sub Loot
/declare numitems int local
/declare lootslot int local
/target corpse radius 220
/stick 5 hold
:Moveto
/if (${Target.Distance} > 5) {
/delay 1s
/goto :Moveto
}
/stick off
/loot
/delay 1s
:DoLoot
/varset numitems ${Corpse.Items}
/for lootslot 1 to ${numitems}
/itemnotify loot${lootslot} rightmouseup
/delay 1s
/next lootslot
/if (${Corpse.Items} > 0) /goto :DoLoot
/notify LootWnd DoneButton leftmouseup
/return
Sub Rest
/if (!${Me.Sitting}) /sit
:healloop
/if (${Me.PctHPs} < 100) {
/delay 3s
/goto :healloop
}
/return
Sub MoveToLoc(MoveToY, MoveToX)
/echo ${MoveToY} ${MoveToX}
/moveto loc ${MoveToY} ${MoveToX}|on
:moveToLocation
/if (${Math.Distance[${Me.Y},${Me.X}:${MoveToY},${MoveToX}]} > 10) {
/delay 5
/echo ${Math.Distance[${Me.Y},${Me.X}:${MoveToY},${MoveToX}]}
/goto :moveToLocation
}
/return
Last edited by
Digitalxero on Sat Oct 28, 2006 8:47 am, edited 1 time in total.
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Mon Oct 23, 2006 12:17 am
you should probably say what plugins, if any, are needed to run this macro. I see a couple...
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.
-
EQ007
- a lesser mummy

- Posts: 46
- Joined: Fri Aug 27, 2004 6:00 pm
Post
by EQ007 » Sun Oct 29, 2006 8:21 am
If I remember correctly, SOE fixed bard kiting so you couldn't use AE while kiting mobs. Something to do with they had to be stationairy ie. being tanked in order for AE and DD songs to work.
If I'm correct then that makes this macro useless as it kites... Correct me if I am wrong please!

-
Gabby
- a lesser mummy

- Posts: 49
- Joined: Sat Mar 13, 2004 10:35 am
Post
by Gabby » Sun Oct 29, 2006 10:52 am
Chant Kiteing and AOE kiteing are 2 different things.
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Sun Oct 29, 2006 2:29 pm
This script does indeed work with chant kiting except the wonderful "Cannot see your target" error pops up a lot because of the small decline/incline in the rat room. This could probably be done better in the bigger room, but there arent as many mobs...
Here's an idea, Grab a rat or bat, kite it over the the big room and kite away. That would be a useful macro.
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.
-
Auronin
- a ghoul

- Posts: 80
- Joined: Tue Jul 11, 2006 7:52 am
Post
by Auronin » Sun Oct 29, 2006 2:39 pm
...
Last edited by
Auronin on Sun Jan 21, 2007 9:02 am, edited 1 time in total.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Sun Oct 29, 2006 6:52 pm
or just initially tag the rat with bellows.
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Sun Oct 29, 2006 10:49 pm
Actually while running the macro it can and will get the can not see message while kiting. Levi boots, now thats a good idea.
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.
-
Grantde
- decaying skeleton

- Posts: 3
- Joined: Thu Jun 15, 2006 4:44 am
- Location: Australia
Post
by Grantde » Sat Nov 11, 2006 7:51 am
Digitalxero wrote:Just run to the Rat room in Forgotten Halls and start the macro, it is 100% automated for looting, healing and killing.
Snip...
/twist 8 1 2 4 3
Sorry to be a bother, but what songs are recommended for this twist?
Cheers.
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Sat Nov 11, 2006 2:11 pm
chants, amplifiction maybe, etc.
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.
-
Digitalxero
- a ghoul

- Posts: 129
- Joined: Tue Sep 10, 2002 5:01 pm
Post
by Digitalxero » Sun Nov 12, 2006 10:41 am
Grantde wrote:
Sorry to be a bother, but what songs are recommended for this twist?
Cheers.
I had Selo's in 8 and used all 4 chants for the others
-
Grantde
- decaying skeleton

- Posts: 3
- Joined: Thu Jun 15, 2006 4:44 am
- Location: Australia
Post
by Grantde » Fri Nov 24, 2006 2:42 am
Thank you for that. That's certainly the obvious choice. I was just checking if I was missing something.
-
Madin
- decaying skeleton

- Posts: 4
- Joined: Sun Dec 10, 2006 10:16 pm
Post
by Madin » Tue Dec 19, 2006 8:15 pm
nt
Last edited by
Madin on Sat Dec 23, 2006 7:57 pm, edited 2 times in total.
-
ieatacid
- Developer

- Posts: 2727
- Joined: Wed Sep 03, 2003 7:44 pm
Post
by ieatacid » Tue Dec 19, 2006 9:07 pm
Is that you in your avatar?
-
Madin
- decaying skeleton

- Posts: 4
- Joined: Sun Dec 10, 2006 10:16 pm
Post
by Madin » Tue Dec 19, 2006 9:38 pm
Just a funny pic, not me