Natural Beastlord Hunter v1.1.9 (Updated 2004-07-11)

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

Moderator: MacroQuest Developers

crisdan
a ghoul
a ghoul
Posts: 126
Joined: Mon Mar 24, 2003 1:56 pm

Post by crisdan » Fri Aug 06, 2004 9:34 am

Code: Select all

|Events for counting the money we loot.
|#event Receive "#*#You receive#*#"
#event CashLoot "You receive #1#"
|#event CashLoot2 "#*#You receive #*#"

|-- The normal debug - for normal play. Enable: "/echo", Disable: "/squelch /echo"
#define DEBUG_1 "/echo"
|-- Deeper debugging - enable when trying to find bugs. Enable: "/echo", Disable: "/squelch /echo"
#define DEBUG_2 "/squelch /echo"
|-- The Deepest debugging - will spam a lot. Enable: "/echo", Disable: "/squelch /echo"
#define DEBUG_3 "/squelch /echo"

|-- Destroys Silver if you have more than the given amount! 0=disable
#define DESTROY_GOLD_IF_ABOVE 0
|-- Destroys Silver if you have more than the given amount! 0=disable
#define DESTROY_SILVER_IF_ABOVE 500
|-- Destroys Copper if you have more than the given amount! 0=disable
#define DESTROY_COPPER_IF_ABOVE 500


|-- The degree we face towards the target, so we dont run dead on.
#define THE_SLACK_DEGREE 20
|-- The max search radius for a mob (will not use /target untill closer than SEARCH_RADIUS). 
#define MAXIMUM_SEARCH_RADIUS 3000
|-- The max TARGET radius for a mob (above 500 could be bad, SoE logging?).
#define TARGET_RADIUS 499
|-- Define the Z radius on our pulls. To prevent pulling to far up or below (floors?)
#define Z_RADIUS_ON_PULLS 250
|-- How far is the max range we want to go from homespot?
#define MAX_RANGE_FROM_HOMEPOINT 3000

|-- Target method. 1-Prioritize mob sequence or 2-Prioritize distance
#define TARGET_METHOD 2

|-- The closest a another PC can be to a target
#define AVOID_PEOPLE_RADIUS 300

|-- The closest a another NPC can be to a target - Only attack single mobs?
#define AVOID_CROWDED_RADIUS 40

|-- Also loot items?
#define LOOT_ITEMS True
|-- Loot all items?
#define LOOT_ALL_ITEMS False
|-- Destroy the remaining items -not in use atm
#define LOOT_ABOVE_LEVEL 1
|-- Keep loot record - Will display how much you have looted + items
#define LOOT_KEEP_RECORD True

|-- No matter other settings. If the value of the item is above this, GET IT! (Value is in copper)
|-- Not nodrop
#define LOOT_NORMAL_ITEMS_IF_VALUE_IS_ABOVE 10000
|-- No matter other settings. If the value of the item is above this and stackable, GET IT! (Value is in copper)
|-- Not lore, not nodrop
#define LOOT_STACKABLE_ITEMS_IF_VALUE_IS_ABOVE 1000

|#define LOOT_DESTROY False
|-- What lvl should the mob be before we bother looting it


|-- At what range do we slow/send in pet?
#define INITIALIZE_ATTACK_RANGE 150
|-- If we dont get any target for a while at homepoint, run somewhere else
#define ARE_WE_RESTLESS False
|-- How far do we want to run?
#define RESTLESS_RANGE 200
|-- We dont want to stay back when the mob is fleeing, now do we :-)
#define FORCE_ATTACK_WHEN_MOB_BELOW 30
|-- Do we want to stay on opposite side than the pet on the mob
#define STRAFE_TO_BACK True
|-- If the PCT of your pet and yourself differs from this number, let pet tank 
#define LET_PET_TANK_IF_DIFFERENCE 8
|-- If there are more than 1 mob within this radius, just tank on
#define IGNORE_PETTANK_IF_MOBS_RADIUS 100

|-- Allways return to homepoint | can be li'l buggy?
#define RETURN_TO_HOMEPOINT False 

|-- Should we allways pull to the same spot?
#define PULL_TO_HOMEPOINT True
|-- What spell should we use to pull ?
#define PULL_TO_HOME_SPELL_NAME "Sicken"
|-- What spellgem slot should we use?
#define PULL_TO_HOME_SPELL_GEM 1
|-- Should I tell pet to back off while running back. False for those who have /pet hold
#define PULL_TO_HOME_PETBACKOFF True

|-- If we dont have a pet, should we allways summon one?
#define ALLWAYS_HAVE_PET True
|-- What pet do we want?
#define PET_SPELL "Spirit of Herikol"
|-- Favorite gem spot for the pet (1-8)
#define PET_GEM 7
|-- How far off should the pet be before we summon it?
#define MAX_PET_RANGE_BEFORE_SUMMON 500


|-- Should we slow when pulling?
#define DO_SLOW_ON_PULL True
|-- Should we send in pet before or after we slow?
#define SEND_PET_BEFORE_SLOW True
|-- Only slow mobs above a certain level
#define SLOW_ABOVE_LEVEL 25
|-- What slow spell
#define SLOW_SPELL "Drowsy"
|-- Favorite gem spot for the slow (1-8)
#define SLOW_GEM 2

|-- Should we nuke when we pull?
#define DO_NUKE_ON_PULL False
|-- Prevent nuking when mana below % to not waste mana
#define NUKE_ABOVE_MANA_PCT 50
|-- Prevent nuking low lvls, they arent worth it
#define NUKE_ABOVE_LEVEL 30
|-- Name of nuke spell
#define NUKE_SPELL "Spirit Strike"
|-- Favorite gem spot for the nuke (1-8)
#define NUKE_GEM 1

|-- How low on health should I be before I heal myself (noncombat)
#define HEAL_BELOW_PCT 85
|-- Name of healing spell
#define HEAL_SPELL "Light Healing"
|-- Favorite gem spot for the heal (1-8)
#define HEAL_GEM 4
|-- If your health gets below this lvl start /beep'ing
#define ALARM_HEALTH_BELOW_PCT 40

|-- How low on health should the pet be before we heal it (noncombat)
#define HEAL_PET_BELOW_PCT 50
|-- Name of pet healing spell
#define HEAL_PET_SPELL "Herikol`s Soothing"
|-- Favorite gem spot for the petheal (1-8)
#define HEAL_PET_GEM 5

|-- What is the minimum mana I should have, sit down and med if below
#define MIN_MANA_BEFORE_MEDITATE 30



|----------------------------------------------------------------------------
|SUB: Main - Declarations and Initialization
|----------------------------------------------------------------------------
Sub Main
    |Log to output file "/spew on" or turn it off "/spew off" (MacroQuest\logs\DebugSpew.log)
    /spew on
    
    |Buffs to be kept up on self (max 15) - "Buff" or "Buff|GemSlot"
    /declare MyBuffs[2] string outer 
    /varset MyBuffs[1] "Spirit of Wolf|8" 
    /varset MyBuffs[2] "Spirit of Bear|6" 
    
    |Critical buffs to be kept up on self (max 15) - cast during fight
    /declare CritBuffs[1]   string outer 
    /varset CritBuffs[1] "Spirit of Wolf|8" 

    |Buffs to be kept up on petf (max 15) - "Buff" or "Buff|GemSlot"
    /declare PetBuffs[2] string outer 
    /varset PetBuffs[1] "Spirit of Wolf|8" 
    /varset PetBuffs[2] "Spirit of Inferno|3" 
    

    |Loot items we want to loot
    /declare LootList[6] string outer 
    /varset LootList[1] "Fine Steel Short" 
    /varset LootList[2] "Fine Steel Long" 
    /varset LootList[3] "Fine Steel Rapier" 
    /varset LootList[4] "Fine Steel Scimitar" 
    /varset LootList[5] "silk" 
    /varset LootList[6] "venom" 
Here are the settings I am using for a level 30 beastlord at very safe and ongoing camp. Note: I am using the feature of pulling to a home spot and its been working great after I adjusted the array for buffs and stuff.

Problems I notice Wolf are:

1. The heal spell is Herikol`s Soothing - I never see the pet get healed even when the pet has been below 30 percent. Is it a syntax problem with the way I have the " ` " as I cannot determine if its an apostrophe or a tilde for this spell. But it never gets cast.

2. When pulling to a home spot, my beastie only uses sicken to pull, the slow spell never casts even though I defined it as above it should be casting on the level 28 mobs I have selectec.

3. I cannot get the debug stuff to write to any log file. This is what I would really like to get working as I could post a better detail of the bugs I encounter.

Hope this sample helps a few of you using younger beasties. Any help you can give I would apprecaite as well for the pulling to home bugs I seem to have.

ztrike
a ghoul
a ghoul
Posts: 83
Joined: Fri Mar 26, 2004 1:17 pm
Contact:

Post by ztrike » Fri Aug 06, 2004 10:30 am

Code: Select all

|-- The normal debug - for normal play. Enable: "/echo", Disable: "/squelch /echo" 
#define DEBUG_1 "/echo" 
|-- Deeper debugging - enable when trying to find bugs. Enable: "/echo", Disable: "/squelch /echo" 
#define DEBUG_2 "/squelch /echo" 
|-- The Deepest debugging - will spam a lot. Enable: "/echo", Disable: "/squelch /echo" 
#define DEBUG_3 "/squelch /echo" 
you might wanna change your debug settings.. :)

for the slowpart.. i had some problems my self.. but just changed pull spell to a "slow_spell" and problem is kinda fixed..
Ztrike out

crisdan
a ghoul
a ghoul
Posts: 126
Joined: Mon Mar 24, 2003 1:56 pm

Post by crisdan » Fri Aug 06, 2004 12:49 pm

I changed my debug settings..and spoke to wolf about them. The /macroquest2/logs/ is for macroquest debugging only, not macs from what I think I understand.

But the information is not logging to any file. I am looking for someone who is actually gathering debug data and can post how :>

ztrike
a ghoul
a ghoul
Posts: 83
Joined: Fri Mar 26, 2004 1:17 pm
Contact:

Post by ztrike » Mon Aug 09, 2004 9:35 am

been using this wonderful mac for more that 20 levels now.. but i am running out of hunting grounds.. (or am i?)

After DSP i ran to BW.. was great, but mobs are now to low and then where to go? (ME seems to be just a bit to high still)

Anyone feel like "sharing" their hunting grounds ?
Ztrike out

crisdan
a ghoul
a ghoul
Posts: 126
Joined: Mon Mar 24, 2003 1:56 pm

Post by crisdan » Mon Aug 09, 2004 2:08 pm

MIght help if you post what level your looking for ztrikez :P

I would consider karnors castle if find a single room camp...wont be fast but still dark blue. I might also suggest skyshrine and skellys in the grey.

ztrike
a ghoul
a ghoul
Posts: 83
Joined: Fri Mar 26, 2004 1:17 pm
Contact:

Post by ztrike » Tue Aug 10, 2004 6:57 am

thanks C :)

you read what i didnt write :) hehe

skellies in the Gray sounds like a great thing.. able to singe pull and fast spawn .. should get me some more levels i guess :)
Ztrike out

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Tue Aug 10, 2004 12:24 pm

I'm still having trouble with this macro. If I manually engage a mob it works fine, mostly, but other than that, doesn't seem to want to work.

Guess I'll be turning on full logging to see if I can find the problem's location.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

ztrike
a ghoul
a ghoul
Posts: 83
Joined: Fri Mar 26, 2004 1:17 pm
Contact:

Post by ztrike » Thu Aug 12, 2004 4:05 am

Hey,

Found some minor issues..

Zone : BW
Mobs : Hornets

Problem.

Hornets move very slow even when they have agro.. problem shows if I pull a hornet from range ~500 and up..

I go and pull, slowly run back making sure it follows… but at some point it gives up(times out) and does 1 of 2 things..

1, ENGANGE (good thing) got tired of waiting and runs to the mob and kills it..

2, Puts it on ignore list, and goes out to pull a new one dragging the already agroed hornet around zone causing a nasty fight..



I am not sure if .. |-- Should we allways pull to the same spot? Is buggy as well or if it is only |-- Allways return to homepoint | can be li'l buggy?

Anyway.. been looking at the “timer_for_waiting_on_a_mob_before_doing_something_new”

And guess I found it in the :WaitForMob

Code: Select all

/if (${timeoutcnt1}>50) {
                	DEBUG_1 Timeout waiting for mob!
I guess setting the value to 100 would solve the problem..

Nothing like posting a question and guessing that you actually found the answer while asking.. I will try it out when I get home.. (yea.. off cause I am at work)
]
Ztrike out

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Aug 12, 2004 6:47 am

ztrike wrote:I am not sure if .. |-- Should we allways pull to the same spot? Is buggy as well or if it is only |-- Allways return to homepoint | can be li'l buggy?
In the file when you change the different switches, the one for "Always Return to Homepoint has a note that says may be buggy if set to true.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

FlemBoi
orc pawn
orc pawn
Posts: 12
Joined: Thu Mar 11, 2004 4:42 am
Location: Melbourne, Australia

Post by FlemBoi » Fri Aug 13, 2004 8:15 pm

nice macro.. keep good work up!
Wise Man says,

To meet Girl in park is good but,
to park meat in girl is better.

DumbStruck
a ghoul
a ghoul
Posts: 125
Joined: Fri Apr 30, 2004 8:46 am

Post by DumbStruck » Fri Aug 20, 2004 8:09 pm

hmm does this work stil ? i cant d/l from updated link ?

Gag
a lesser mummy
a lesser mummy
Posts: 52
Joined: Fri Sep 03, 2004 5:57 pm

Newest Version..

Post by Gag » Wed Sep 08, 2004 12:43 am

i have been trying to go to the link for the newest Version of this Macro
but i for one Reason or another i cant get to the site can some one link the newest Version of nbh.mac here plz thanks

ztrike
a ghoul
a ghoul
Posts: 83
Joined: Fri Mar 26, 2004 1:17 pm
Contact:

Post by ztrike » Wed Sep 08, 2004 4:19 am

link is down atm.. ill put it on my server tonight and make a new link here..
Ztrike out

User avatar
KentyMac
a lesser mummy
a lesser mummy
Posts: 44
Joined: Sat Sep 11, 2004 1:28 am
Location: Auburn, AL
Contact:

Post by KentyMac » Sat Sep 11, 2004 1:30 am

Wolf5, I just want to say that this is one sexy macro. Good golly it's nice! :lol:

Wow!

~KentyMac

User avatar
KentyMac
a lesser mummy
a lesser mummy
Posts: 44
Joined: Sat Sep 11, 2004 1:28 am
Location: Auburn, AL
Contact:

Problem

Post by KentyMac » Sun Sep 12, 2004 7:29 pm

Been running nbh and it works great in Rathe Mountains & Frontier Mountains. But when I go to the LOY zones Dulak's Harbor & Torigan's Mines it suddenly craps out. Will summon pet, buff pet & owner, and sometimes it will locate the target and tell you it's going to attack it but then you don't move. Sometimes it keeps targetting yourself and switching back & forth between you & your pet.

The only modification I made was to remove SoW as a critical buff since the zones are indoor.

Here's an example of what it said the last time I tried to run the macro:
Starting macro
Homepoint ...
Target defined (1)...
NewTarget loop (Tick: 0)
stop all movement MainSub
Stopping facing
stop all movement FaceTarget
NewTarget loop2
ClearTarget called from repeater1
AssistPet called from mainsub
Delaying 1 (repeats several times)
ClearTarget called from repeater3
ClearTarget called from mainsub2
stop all movement DowntimeWork
1. Critical Buffs Checked
2. Mana Checked
3. Health Checked
4. Pet Health Checked
5. Pet Buffs Checked
6. Buffs Checked
ClearTarget called from aquiretarget
Do target
Want to target from AT2
Doing GetNewTarget method 2
IgnoreListCheck: NULL==2107 ?
Someone is closer than <40
To crowdy at Target: an armor guardian (2107) (147.73)
IgnoreListCheck: NULL ==2145?
At this point the macro seems to stop even though it was never ended.

Immediately after running it this time I killed a couple mobs nearby, ran it again, and then it proceeded to try and attack myself over & over.

Can someone help me figure out what the problem is? :?:

Thank you so much in advance!
KentyMac


P.S. I tried to find the spew log (/spew on) but it doesn't seem to be recording it.