Macro Farm.mac

I just downloaded Farm.mac to try it out. I created a mesh for my test zone and the mesh is located in the MQ2Nav folder.

However, when I try to run the Macro, it keeps telling me I haven't created a NavMesh for this zone.

I'm not sure where to go from here.
 
What would be the command to use a bow for pulling in the declarations? I've gotten it to work with spells but I'd like to know how to use my bow.
 
What would be the command to use a bow for pulling in the declarations? I've gotten it to work with spells but I'd like to know how to use my bow.

I haven't added that as a feature. I didn't realize anyone used a bow :p

I can look into incorporating it in the future.
 
Yeah, no useful pulling AA yet on RF/LJ for the Warrior or Ranger.
 
Oh yeah, I can use that or Bellow but the ranges are so short, 70 on throw stone and 100 on Bellow, that often the Warrior runs right on top of the mobs.

The places I am pulling I am using a 1200-2000 range and the mobs occasionally trail away from the puller by the time he gets to them and he gets really large pulls or dies on the pull running back through several other mobs. It's not the end of the world or anything.
 
Come to think of it this might already be in the code. I just never thought of it that way. What is the command for using the bow via typed command. IE: doability "Ranged" or something like that. If that's the case then you may be able to set the PullAbility=Ranged, then set the range to your bow/arrow range.

I could try with the zerker. The thing is that if you have a stat ranged item it won't switch to it, nor will it switch to bow for you.
 
Bows: very effective pulling tools for many

What would be the command to use a bow for pulling in the declarations? I've gotten it to work with spells but I'd like to know how to use my bow.

Must equip the bow and ammo. then type /autofire 'on' to open fire, 'off' to stop.
 
What would be the command to use a bow for pulling in the declarations? I've gotten it to work with spells but I'd like to know how to use my bow.

Must equip the bow and ammo. then type /autofire 'on' to open fire, 'off' to stop.

I was looking for the command to do it once. not the automatic firing option.
 
It's been a while since I got a chance to sit down and work on this project. I've given it a major overhaul while leaving in the original functionality at the same time.

FarmBeta.mac can be found on the first post in this thread.

So what's new?

This includes the new /farm command and all its glory.

Will optionally automatically cast detrimental spells that you have memorized that are single target. This is effective for most detrimental spells. Ones that do not work as intended are debuffs/dots that have an effect that isn't the same as the name of the spell being cast. IE: It triggers 1 or more spells that don't share the name of the spell being cast. Normal Dots/Debuffs will fire off only if the targetted NPC doesn't have the effect on them.

Now has an option for a pullability. Pull ability options are as follows.
Skill, Spell, Disc, AA, Pet, Item, Melee. Ranged can be selected with "Ranged", "Throwing", "Archery", or "Bow" in an attempt to catch any attempt at selecting a bow/throwing type pull method when a user just guesses; However, they all do the same thing.

Pulling with bow/throwing will automatically detect the maximum range of the throwing or bow pulling by getting the range of the bow and arrow, or just the throwing item.
Bowing will shoot until the target is too close to shoot and immediately go into melee combat mode.

Any /farm command with a corresponding INI entry will change the INI when used. IE: If /farm debug on is used, then the character's INI will have debug set to on as well as altering the variable immediately for the change to occur in game. This was done in an attempt to prevent the user from having to restart the macro for a simple INI change and can now be done without ending the macro at all. Additionally, once the change is made it prevents the user from having to make the change again the next time the macro is run.

Made a minor correction to the main loop to reduce it from multiple conditions to a single condition for ending the while loop. This was done because I've found that multiple conditions tend to fail.

Summons Memorized pets. Farm.mac now innately summons a users memorized pet spell. IE: Mage or Necromancer pets for example will automatically be summoned if the spell is memorized. This is not a hard coded in spell, it's just automatically detected by checking your memorized spells for one that is Pet and Self. Both mage and necromancer have been tested, however no other class has been verified. There is no option to toggle this on or off, if you don't want to summon your pet using farm.mac don't have the pet spell memorized. Note: This will not try to cast swarm pet spells in the same fashion as those are single target detrimental and would cast during "CastDetrimental" lineup during combat.

The overall changes to farm.mac have almost doubled the size of the file. There may be minor changes that are not listed here, or changes that have been mentioned have altered the way the subroutines that were already in place receive information but the change hasn't been mentioned as they should only be obvious internally or by others that code and can compare the sub routines to see said changes.

Please inform me of any bugs that you encounter so that I may address them.

[Commands]
/farm or /farm Help --- Displays this help window.
/farm Radius --- Displays the current Radius to engage mobs from your current location.
/farm Radius #### --- Set the radius around you to search for spawns.
/farm ZRadius --- Displays the current ZRadius to engage mobs from your current location.
/farm Pause --- Toggles if the macro should pause or not. Will wait till out of combat. But won't react after current combat is done.
/farm Debug --- Will tell you if Debugging is on or off.
/farm Debug On|1|Off|0 --- /farm debug on or /farm debug 1 will turn on debugging, /farm debug off or /farm debug 0 will turn off debugging.
/farm HealAt --- Displays the current health to wait for before pulling.
/farm HealAt ### --- Sets the health to wait for before pulling.
/farm HealTill --- Displays the current health to wait until after stopping for HealAt.
/farm Healtill ### --- Sets the health to wait until after stopping pulls to heal.
/farm MedEndAt --- Displays the current Endurance to wait for before pulling.
/farm MedEndAt ### --- Sets the Endurance to wait for before pulling.
/farm MedEndTill --- Displays the current Endurance to wait until after stopping for MedEndAt.
/farm MedEndTill ### --- Sets the Endurance to wait until after stopping pulls for MedEndAt.
/farm MedAt --- Displays the current Mana to wait for before pulling.
/farm MedAt ### --- Sets the Mana to wait for before pulling.
/farm MedTill --- Displays the current Mana to wait until after stopping for MedAt.
/farm MedTill ### --- Sets the Mana to wait until after stopping pulls for MedAt.
/farm CastDetrimental --- Will tell you if CastDetrimental is on or off.
/farm CastDetrimental On|1|Off|0 --- /farm CastDetrimental on or /farm CastDetrimental 1 will turn on CastDetrimental, /farm CastDetrimental off or /farm CastDetrimental 0 will turn off CastDetrimental.
/farm UseEQBC --- Will tell you if UseEQBC is on or off.
/farm UseEQBC On|1|Off|0 --- /farm UseEQBC on or /farm UseEQBC 1 will turn on UseEQBC, /farm UseEQBC off or /farm UseEQBC 0 will turn off UseEQBC.
/farm assistMe --- Will tell you if assistMe is on or off.
/farm assistMe On|1|Off|0 --- /farm assistMe on or /farm assistMe 1 will turn on assistMe, /farm assistMe off or /farm assistMe 0 will turn off assistMe.
/farm useLogOut --- Will tell you if useLogOut is on or off.
/farm useLogOut On|1|Off|0 --- /farm useLogOut on or /farm useLogOut 1 will turn on useLogOut, /farm useLogOut off or /farm useLogOut 0 will turn off useLogOut.
/farm UseMerc --- Will tell you if UseMerc is on or off.
/farm UseMerc On|1|Off|0 --- /farm UseMerc on or /farm UseMerc 1 will turn on UseMerc, /farm UseMerc off or /farm UseMerc 0 will turn off UseMerc.
/farm LineOfSight --- Will tell you if PullRequiresLineOfSight is on or off.
/farm LineOfSight On|1|Off|0 --- /farm LineOfSight on or /farm LineOfSight 1 will turn on PullRequiresLineOfSight, /farm LineOfSight off or /farm LineOfSight 0 will turn off PullRequiresLineOfSight.
 
OM Great God 1200-2000 range

Oh yeah, I can use that or Bellow but the ranges are so short, 70 on throw stone and 100 on Bellow, that often the Warrior runs right on top of the mobs.

The places I am pulling I am using a 1200-2000 range and the mobs occasionally trail away from the puller by the time he gets to them and he gets really large pulls or dies on the pull running back through several other mobs. It's not the end of the world or anything.
What bow can reach that? I want to acquire 3-4 of those :eek:
 
Development for a plugin variant of this is in process. Currently have it getting the nearest target, navigating to the target, targeting it. I'm only in day 2 at this point, so there's more to go for sure. The plugin language is much more complicated and unforgiving than the macro language.

I look forward to finishing this for everyone to use. Though as things progress testing would be needed other than myself and those helping me with the project.

Renji and PeteSampras have both helped bring this project to light, without their help this would still be a figment of my imagination. Hopefully as code becomes clearer in my mind and I begin to fully comprehend what it is that I'm doing I'll be able to create more toys to play with in the future.

Until then, keep your ears to the ground :)
 
Toy ... spss, Gonna be on all the hunters lists

Development for a plugin variant of this is in process. Currently have it getting the nearest target, navigating to the target, targeting it. I'm only in day 2 at this point, so there's more to go for sure. The plugin language is much more complicated and unforgiving than the macro language.

I look forward to finishing this for everyone to use. Though as things progress testing would be needed other than myself and those helping me with the project.

Renji and PeteSampras have both helped bring this project to light, without their help this would still be a figment of my imagination. Hopefully as code becomes clearer in my mind and I begin to fully comprehend what it is that I'm doing I'll be able to create more toys to play with in the future.

Until then, keep your ears to the ground :)

Now ya talkin, I'll be waiting on that sweet project!!
 
Hey just tried this out this morning and it is awesome!

Wanted to make a feature request to maybe add in a "Camp" position, so that it will go to a mob and pull it, then navigate back to the "camp" position. Is that something that would be difficult to implement? (I'm pretty new to MQ2 so still learning how things work)

Thanks!