Page 1 of 2

Forgotten Halls Bard macro

Posted: Sun Oct 15, 2006 12:01 am
by Digitalxero
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

Posted: Mon Oct 23, 2006 12:17 am
by mekaniak
you should probably say what plugins, if any, are needed to run this macro. I see a couple...

Posted: Sun Oct 29, 2006 8:21 am
by EQ007
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! :lol:

Posted: Sun Oct 29, 2006 10:52 am
by Gabby
Chant Kiteing and AOE kiteing are 2 different things.

Posted: Sun Oct 29, 2006 2:29 pm
by mekaniak
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.

Posted: Sun Oct 29, 2006 2:39 pm
by Auronin
...

Posted: Sun Oct 29, 2006 6:52 pm
by SwiftyMUSE
or just initially tag the rat with bellows.

Posted: Sun Oct 29, 2006 10:49 pm
by mekaniak
Actually while running the macro it can and will get the can not see message while kiting. Levi boots, now thats a good idea.

Re: Forgotten Halls Bard macro

Posted: Sat Nov 11, 2006 7:51 am
by Grantde
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.

Posted: Sat Nov 11, 2006 2:11 pm
by mekaniak
chants, amplifiction maybe, etc.

Re: Forgotten Halls Bard macro

Posted: Sun Nov 12, 2006 10:41 am
by Digitalxero
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

Posted: Fri Nov 24, 2006 2:42 am
by Grantde
Thank you for that. That's certainly the obvious choice. I was just checking if I was missing something.

Posted: Tue Dec 19, 2006 8:15 pm
by Madin
nt

Posted: Tue Dec 19, 2006 9:07 pm
by ieatacid
Is that you in your avatar?

Posted: Tue Dec 19, 2006 9:38 pm
by Madin
Just a funny pic, not me