hunter.mac simple hunt macro with loot capability.

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

inthrall
orc pawn
orc pawn
Posts: 13
Joined: Sun Mar 14, 2004 3:57 pm

Post by inthrall » Sun Mar 14, 2004 5:52 pm

ok $spawn and $spawnsearch if you want to get technical about it :oops:
:Start
/call GetTarget
/if @HasTarget=="1" /call MoveToMob
/if @HasTarget=="1" /call CombatSub
/if @HasTarget=="1" /call MoveToMob
/if @HasTarget=="1" /call LootMob
/call ResetSub
/goto :Start
the logic in most of this macro has a target aquired and Im not sure how to edit this mac to instead act when $spawn(id) is in combat range instead

of the code I have reviewed so far the use of $spawn and $spawnsearch are over my current level of comprehension and the manual only shows syntax (which is great), I just havent figured it out yet.

im not asking for someone to write this code for me.. that wont help me learn.. but I am however asking if someone has some basic move to mob without targeting mob code already produced so I can elaborate on it.

perhaps I should just stop posting and experiment more.. but it never hurts to ask. Thanks

CyberCide
a lesser mummy
a lesser mummy
Posts: 41
Joined: Wed Mar 10, 2004 1:48 pm
Location: Here lurking

Post by CyberCide » Sun Mar 14, 2004 7:39 pm

Advchant does what you are asking using spawn and spawnsearch.

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

Post by ml2517 » Sun Mar 14, 2004 7:58 pm

inthrall wrote:ok $spawn and $spawnsearch if you want to get technical about it :oops:

If you are trying to respond with a snappy come-back and pointing out the correct information... at least make sure you have it correct heh. $searchspawn.

code4food
orc pawn
orc pawn
Posts: 24
Joined: Fri Feb 20, 2004 12:31 pm

Post by code4food » Sun Mar 14, 2004 11:26 pm

CTD? haven't used it recently, haven't had time (that real life job thing cuts into the fun stuff), translation?

edit: yah, like 3 seconds later it clicked. crash to desktop. i'll figure it out, gimme a day or 2.

inthrall
orc pawn
orc pawn
Posts: 13
Joined: Sun Mar 14, 2004 3:57 pm

Post by inthrall » Mon Mar 15, 2004 12:29 am

ml2517 wrote:
inthrall wrote:ok $spawn and $spawnsearch if you want to get technical about it :oops:

If you are trying to respond with a snappy come-back and pointing out the correct information... at least make sure you have it correct heh. $searchspawn.

yeah, im extremely new and messed up ..rub it in a little more guys :roll: Im sure youve never messed up before

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

Post by ml2517 » Mon Mar 15, 2004 12:58 am

inthrall wrote:
ml2517 wrote:
inthrall wrote:ok $spawn and $spawnsearch if you want to get technical about it :oops:

If you are trying to respond with a snappy come-back and pointing out the correct information... at least make sure you have it correct heh. $searchspawn.

yeah, im extremely new and messed up ..rub it in a little more guys :roll: Im sure youve never messed up before
Sorry, I enjoy kicking people when they are down. :lol:

Draekz
a hill giant
a hill giant
Posts: 263
Joined: Thu Aug 01, 2002 6:07 pm
Location: Winnipeg, Manitoba, Canada

Post by Draekz » Tue Mar 16, 2004 12:13 am

Any luck with the CTD's? Im experiencing the same thing for some reason? not sure why! Havent even changed the code..left the loot table the same to make sure its not something i messed with..all the same..no idea..hope someone's come up with one ;)

Draekz

BrainDozer
a lesser mummy
a lesser mummy
Posts: 45
Joined: Sun Aug 03, 2003 2:10 pm

Post by BrainDozer » Tue Mar 16, 2004 1:38 am

"$macro" is bugged as of Friday or Saturday's MQ release. It's causing the CTD problem.

code4food
orc pawn
orc pawn
Posts: 24
Joined: Fri Feb 20, 2004 12:31 pm

Post by code4food » Tue Mar 16, 2004 9:52 am

thanks for the heads up, should just be able to comment out the 1 line that refers to it, and you'll be good2go. more time to pack more useless features into the next general release!