A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
Scary_Penguin
- a lesser mummy

- Posts: 76
- Joined: Sun Nov 16, 2003 11:45 am
Post
by Scary_Penguin » Mon Jan 19, 2004 9:21 am
My first real attempt at a macro. Created due to so many people bitching about Stormfeather all the time and various requests in the request forum. Utilizes Shadowknight's Unholy Aura + Harmtouch. Will add more class specific support if the interest is there.
This *has* been tested, just not on Stormfeather himself.
Thanks to wilso132 for having a nice checker macro to use as a base.
1.26.04 Update: Fixed movement problems, and cleaned the macro up with additional subs.
Code: Select all
| Stormfeather Camper by Scary Penguin
| 1.19.04
|
| Set Up to utilize Shadowknight Unholy Aura and Harmtouch.
| More class specifics to be added later.
|
| Main code based off of: Spawnchecker macro by wilso132
| USAGE: /macro stormfeather <beep/kill> will beep a number of times to alert you of spawn every
| 5 minutes untill dead, or target, kill, and loot the mob for you.
Sub Main
/echo Stormfeather Camper by Scary Penguin
/declare alerts global
/declare BeepKill global
/declare x global
/declare CorpseLoot global
/varset x 0
/varset alerts 1
/varset BeepKill "@Param0"
/if "@BeepKill"=="beep" {
/echo Camping Stormfeather! You have chosen to [[ALERT]] when Stormfeather spawns!
} else /if "@BeepKill"=="kill" {
/echo Camping Stormfeather! You have chosen to [[KILL]] when Stormfeather spawns!
}
/alert clear alerts
/alert add alerts npc radius 10000 "Stormfeather"
:SpawnCheckLoop
/if $alert(alerts)==TRUE {
/echo Stormfeather is UP!
/echo Time of spawn is $time(h):$time(m):$time(s)
/target npc "Stormfeather"
/if "@BeepKill"=="beep" /call Beep {
} else /if "@BeepKill"=="kill" /call Kill {
}
} else {
/goto :SpawnCheckLoop
}
/return
Sub Loot
/varset CorpseLoot 0
/lootn never
/target "Stormfeather's corpse"
/delay 1s
/call Move
/loot
:lootloop
/delay 1s
/if n @CorpseLoot>=8 /goto :lootend
/click left corpse @CorpseLoot
/delay 1s
/if "$cursor()"!="TRUE" /goto :lootend
/autoinventory
/varadd CorpseLoot 1
/goto :lootloop
:lootend
/lootn always
/varset CorpseLoot 0
/press esc
/press esc
/press esc
/press esc
/endmac
Sub Move
:moveloop
/if n $target(distance)>12 {
/sendkey down up
}
/if n $target(distance)<=10 {
/sendkey up up
/return
}
/goto :moveloop
/return
Sub Beep
/for x 0 to 35
/beep
/next x
/delay 5m
/return
Sub Kill
/echo Engaging $target(name) !!
/if $char(state)=="SIT" /stand
/if $char(state)=="FEIGN" /stand
/delay 1s
/face fast
/call Move
/if n $target(distance)<=100 {
/sendkey up up
/disc Unholy
/delay 2s
/doability Harmtouch
} /call Move
/if n $target(id)==0 /Call Loot
/attack on
:combatloop
/face fast
/if n $target(distance)>12 {
/press up
}
/if n $target(distance)<10 {
/press down
}
/face fast
/if n $target(id)!=0 /goto :combatloop
/if n $target(id)==0 /Call Loot
/return
Last edited by
Scary_Penguin on Mon Jan 26, 2004 7:42 pm, edited 2 times in total.
-
AlphaBeta
- a ghoul

- Posts: 126
- Joined: Sat Nov 09, 2002 12:35 am
Post
by AlphaBeta » Tue Jan 20, 2004 12:45 pm
Would love to see this work for a monk FD while waiting etc..
-
wilso132
- Contributing Member

- Posts: 106
- Joined: Thu Oct 17, 2002 11:53 am
Post
by wilso132 » Tue Jan 20, 2004 5:08 pm
AlphaBeta wrote:Would love to see this work for a monk FD while waiting etc..
It looks to me like it already would, the only part to change would be this:
Code: Select all
Sub Kill
/varset CorpseLoot 0
/echo Engaging $target(name) !!
/if $char(state)=="SIT" /stand
[color=cyan]/if $char(state)=="FEIGN" /stand[/color]
/delay 1s
/face fast
/if n $target(distance)>=101 {
} /sendkey down up
[color=red]/if n $target(distance)<=100 {
/sendkey up up
/disc Unholy
/delay 2s
/doability Harmtouch
} [/color]
That's the only class specific part I see. It also checks for feign if you'll notice.
Last edited by
wilso132 on Wed Jan 21, 2004 6:21 pm, edited 1 time in total.
-
wrangler
- a ghoul

- Posts: 93
- Joined: Fri Nov 28, 2003 3:07 pm
Post
by wrangler » Wed Jan 21, 2004 3:55 pm
thanks alot for the macro, gonna modify it to use on my ranger
one question tho, would it be possible to insert a line in somewhere to make me camp out after looting?
-
Scary_Penguin
- a lesser mummy

- Posts: 76
- Joined: Sun Nov 16, 2003 11:45 am
Post
by Scary_Penguin » Wed Jan 21, 2004 4:55 pm
Add this:
Code: Select all
/press esc
/press esc
/press esc
/press esc
[color=blue] /sit
/delay 1s
/camp desk[/color]
/endmac
Note: If you dont get aggro this works, if you get hit by some random cougar, it wont camp you. Add some line that says /cast Camo/invis/whatever and an appropriate delay if you want.
And wilso, why move the /delay up one line? as far as I know, it wont parse correctly, and i wanted the delay to be there after returning from sit or feign.
-
wilso132
- Contributing Member

- Posts: 106
- Joined: Thu Oct 17, 2002 11:53 am
Post
by wilso132 » Wed Jan 21, 2004 6:21 pm
And wilso, why move the /delay up one line? as far as I know, it wont parse correctly, and i wanted the delay to be there after returning from sit or feign.
That was just a formatting error, now fixed. I also wasn't fixing the macro at all, just trying to show AlphaBeta what to remove (since she's a monk and the part in red is SK specific).
Last edited by
wilso132 on Thu Jan 22, 2004 1:16 pm, edited 1 time in total.
-
AlphaBeta
- a ghoul

- Posts: 126
- Joined: Sat Nov 09, 2002 12:35 am
Post
by AlphaBeta » Thu Jan 22, 2004 3:09 am
He is a she.. Thank you

-
wilso132
- Contributing Member

- Posts: 106
- Joined: Thu Oct 17, 2002 11:53 am
Post
by wilso132 » Thu Jan 22, 2004 1:17 pm
AlphaBeta wrote:He is a she.. Thank you


Fixed! Sorry about that mam :).
-
wrangler
- a ghoul

- Posts: 93
- Joined: Fri Nov 28, 2003 3:07 pm
Post
by wrangler » Fri Jan 23, 2004 6:00 pm
when i tested the macro out on other mobs, i ran into a problem
it would pick up the spawn and my toon started stutter stepping towards the mob very slowly. less than walking speed
kinda hard to explain, one if finally got to the mob, the rest worked fine
i tried messing with altering distances and even removing instructions that might not be required for basic hunt, kill, loot sequence
thanks for any tips
-
Scary_Penguin
- a lesser mummy

- Posts: 76
- Joined: Sun Nov 16, 2003 11:45 am
Post
by Scary_Penguin » Fri Jan 23, 2004 6:45 pm
I had this problem a bit too, tried to fix it, but it wasnt working quite right. I'll see if i can get it to work tonight.
-
wrangler
- a ghoul

- Posts: 93
- Joined: Fri Nov 28, 2003 3:07 pm
Post
by wrangler » Fri Jan 23, 2004 7:29 pm
thanks much, my friend
was beyond my comprehension
i guess if i can position myself exactly where stormfeather spawns i would be fine, unless he runs at low health, than things could go bad if i would have to follow
-
wrangler
- a ghoul

- Posts: 93
- Joined: Fri Nov 28, 2003 3:07 pm
Post
by wrangler » Mon Jan 26, 2004 10:10 pm
got stormfeather last night while at work, thanks SO much
all i did to alleviate the movement problem was to simply put a /cast 3 after targetting him to snare him in, but this wouldnt work for a non snaring class
thanks again
-
Scary_Penguin
- a lesser mummy

- Posts: 76
- Joined: Sun Nov 16, 2003 11:45 am
Post
by Scary_Penguin » Wed Jan 28, 2004 4:26 am
Congrats :) I'm happy this is working for someone, and am open to suggestions for improvements, or if you think its worth turning this into a more wideley useable camper macro, adding whatever spawn name you want.
Please let me know :)
-
bzt
- a lesser mummy

- Posts: 77
- Joined: Fri Oct 10, 2003 3:39 pm
Post
by bzt » Sun Feb 08, 2004 5:17 pm
how would I change it to cast spell, or send in a pet?..I am a necro and would be very interested getting this to work for a pet class.