Adv_foraging macro v1.0 beta (Advanced Foraging Macro)

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

Moderator: MacroQuest Developers

jakevsnake
orc pawn
orc pawn
Posts: 16
Joined: Sat Oct 22, 2005 1:10 pm

Post by jakevsnake » Thu May 18, 2006 5:08 pm

Army, the YAFM would work fine if I wanted to sit there and set a 0 Value to the whole loot list of that zone instead of updating my .ini to loot just the stuff I want. The list of items I want, is MUCH smaller than list of crap that I dont want. As for dropping the items, well that is personal preference and is not a sign of botting since I have dropped items from my cursor in droves while running around and sitting in one place. The idea for destroying the no drop items is something I need to address since I do not want to make it just automatically delete items on my cursor cuz that would be a bad thing. Is there a way for me to identify the item on my cursor as being no drop? If so I could have it do a check for that during the forage cycle and delete it at that time, and not in between cycles.

I imagine I could add an option for the loot to be added to the list if thats what the person wanted, but the .ini file is setup on a per zone basis so it couldnt just add the item to the end of the file. Like I said before, if people want a macro like that, use YAFM. I merely posted this code that was based on the adv_fishing macro because it acted the way I wanted it to. I asked in the YAFM forum and this was suggested to me since I described my needs for a forage macro and it was the best option based on that fact. Maybe I should have kept this to myself and not shared it. Seems that this macro is so useless to everyone but me. Im glad you like YAFM and for you its great, for me its not.

jakevsnake
orc pawn
orc pawn
Posts: 16
Joined: Sat Oct 22, 2005 1:10 pm

Post by jakevsnake » Thu May 18, 2006 5:17 pm

Does anyone have a suggestion on how I can have this macro reload the loot list from my .ini when I change zones? What I mean is, can it be made to identify a zone change and then pull up the loot list for that new zone? Right now I have to stop the macro and restart it for the new zone Im in.

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Thu May 18, 2006 8:18 pm

Canadian_Cowgirl wrote: GMs are known to zone in, check for druid droppings and bring a train of greens to the druid or ranger in question. A self-renewing damage shield is always a good idea. Good luck with your foraging :smile:

-C_CG

That made me laugh. Get real please a GM doesnt need to train. If GMs are known for training why in what 6 years of playing I have NEVER NEVER heard of a GM doing this? Being at one time i was afk foraging in 6 zones at once it never happend to me and I dropped everything that I didnt need. Stop making up shit.

You could look at AutoEnch in VIP section I think it uses a zone table to determin what mobs are immune and what are not.

User avatar
Canadian_Cowgirl
a bunny
Posts: 245
Joined: Sat May 13, 2006 1:43 pm

Post by Canadian_Cowgirl » Thu May 18, 2006 8:58 pm

I sat in Dreadlands and watched a Guide zone in, sit there for a few minutes, every mob spawned, and then he went and rounded up all the skelies in the temple area and visited each and every forager in the hidden valley.

Just because it hasn't happened to you - doesn't mean it doesn't happen. Maybe your server don't have the 22 afk foragers in DL that mine does.

I've been trained by guides a few times in my time played - normally when they forget to turn on their non-aggro. Its funnier when they forget to turn on their immortality.

Sounds to me like you need a big hug, JimJohnson. You're awfully aggressive and judgemental.

-C_CG.
Agripa: Isn't there a rule about never getting into a fight with a Canadian when tech support is on the line?

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Thu May 18, 2006 9:36 pm

Canadian_Cowgirl wrote:I sat in Dreadlands and watched a Guide zone in, sit there for a few minutes, every mob spawned, and then he went and rounded up all the skelies in the temple area and visited each and every forager in the hidden valley.

Just because it hasn't happened to you - doesn't mean it doesn't happen. Maybe your server don't have the 22 afk foragers in DL that mine does.

I've been trained by guides a few times in my time played - normally when they forget to turn on their non-aggro. Its funnier when they forget to turn on their immortality.

Sounds to me like you need a big hug, JimJohnson. You're awfully aggressive and judgemental.

-C_CG.
Guide != GM

Guide is some fag who puts in for a free account saying they will log in and help do shit to unimportant to pay people to do.

Gm is someone who actually has commands and abilities to do stuff and along with that have GUIDELINES if they wish to keep their paychecks.

Is a small differance. But who knows morons like you get them confused

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Thu May 18, 2006 11:43 pm

[quote="JimJohnson"][/quote]

I am only saying that because I care - there's a lot of decaffeinated brands on the market that are just as tasty as the real thing.

Lord_Vyper
a hill giant
a hill giant
Posts: 169
Joined: Sat Sep 25, 2004 1:57 am

Post by Lord_Vyper » Fri May 19, 2006 3:52 am

Canadian_Cowgirl wrote:I sat in Dreadlands and watched a Guide zone in, sit there for a few minutes, every mob spawned, and then he went and rounded up all the skelies in the temple area and visited each and every forager in the hidden valley.

Just because it hasn't happened to you - doesn't mean it doesn't happen. Maybe your server don't have the 22 afk foragers in DL that mine does.

I've been trained by guides a few times in my time played - normally when they forget to turn on their non-aggro. Its funnier when they forget to turn on their immortality.

Sounds to me like you need a big hug, JimJohnson. You're awfully aggressive and judgemental.

-C_CG.
I call BS on this.
Interacting with mobs, in any way, has always been, and probably will always be, the quickest way for a guide to get canned.

Guides don't have the ability to turn aggro on/off.
They also don't have the ability to become invulnerable.

User avatar
Canadian_Cowgirl
a bunny
Posts: 245
Joined: Sat May 13, 2006 1:43 pm

Post by Canadian_Cowgirl » Fri May 19, 2006 2:07 pm

GM = Generic term to refer to "the powers that be" in the EQverse. Or at least, it has been for as long as I've been playing. I only started in 99, maybe things were different in beta. My apologies for not being anally specific, I felt for the conversation at hand general terminalogy was suitable. While, yes, you're correct that there's levels .. Guides, GMs, Devs, etc, typically, I've found on forums and in game, they're all lumped under the terminology "GM" for sake of brevity. I didn't realize that would be unacceptable here.

As far as guide powers go - maybe its changed in the two years, but previous to that, yes, they could turn on/off their aggro and they can choose to be not be damaged by mobs.

Maybe instead of calling people "morons" you should give them the benefit of the doubt. Making mistakes != stupidity, making mistakes = human. But, as I said before, just because you haven't seen it, doesn't mean it hasn't happened.. and not everyone uses the language the same way you do. But don't worry JJ, I'm not offended, I always consider the hypocracy level of the source.

Now, as far as forage macros go (this is about forage macros, isn't it?), you're absolutely right, Jake, about it being personal choice to destroy or drop. I would think it makes no difference in the running of the script and if you're not going to be standing around AFK foraging - you're right.. who cares?!

A thought occured to me, the hunterloot.ini specifies by zone what loot it wants to keep, couldn't you impliment something similar in your foraging? That way you can just build a "keep" database for when you run around the world.

-C_CG.
Agripa: Isn't there a rule about never getting into a fight with a Canadian when tech support is on the line?

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Fri May 19, 2006 2:53 pm

Canadian_Cowgirl wrote:Now, as far as forage macros go (this is about forage macros, isn't it?), you're absolutely right, Jake, about it being personal choice to destroy or drop. I would think it makes no difference in the running of the script and if you're not going to be standing around AFK foraging - you're right.. who cares?!

A thought occured to me, the hunterloot.ini specifies by zone what loot it wants to keep, couldn't you impliment something similar in your foraging? That way you can just build a "keep" database for when you run around the world.

-C_CG.
My personal recommendation is to have items sorted alphabetically so you don't end up with multiple lines for the same item from several zones. If you want to keep an item it doesn't matter what zone you got it from.
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

jakevsnake
orc pawn
orc pawn
Posts: 16
Joined: Sat Oct 22, 2005 1:10 pm

Post by jakevsnake » Fri May 19, 2006 9:52 pm

CG, the macro is currently setup like you mentioned. Here is a little example

Code: Select all

[Takish-Hiz: Sweeping Tides]
loot1=geode
loot2=amethyst

[The Broodlands]
Loot1=scale ore
Loot2=Air-infused Spring Water
Loot3=Steaming Water
Loot4=Coarse Salt
Loot5=Olive
Fear had a good suggestion for alphabetizing the loot table so its not specific to a zone. The important thing for me is that I just have a loot.ini that is setup to keep only the items I put there. So I could add every forage item in the game I want to keep to my loot.ini and all I need to do is have the zone check be indifferent to what zone im in.

JJ had a good suggestion for the chanter macro that I could use if the other idea doesnt work out. Thanks for the inputs.

jakevsnake
orc pawn
orc pawn
Posts: 16
Joined: Sat Oct 22, 2005 1:10 pm

Post by jakevsnake » Sat May 20, 2006 3:13 am

Ok the level of my macro knowledge is extremely limited. I would like to make the code ignore what the zone info is in the ini file and just check the loot table which I will enter alphabetically. I also want it to only echo in the stat section of the macro the number of things looted that are >0. The reason for this is if the loot ini file has 100 items in it, it will echo the stats for all 100 items everytime it does a forage cycle and will spam my MQ2 window. I just want it to echo the items that have been looted and show me the totals for each of those. I will try and play with it a bit myself but so far I havent gotten it to work.

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

Post by aChallenged1 » Sat May 20, 2006 5:59 am

How about having it check your bags before you start foraging and make temporary variables for those items you have, after that have it give you an updated count each time you forage something. You can have it give you total numbers and total currently foraged that way.

Just an idea.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Sun May 21, 2006 12:18 am

jakevsnake wrote:Ok the level of my macro knowledge is extremely limited. I would like to make the code ignore what the zone info is in the ini file and just check the loot table which I will enter alphabetically. I also want it to only echo in the stat section of the macro the number of things looted that are >0. The reason for this is if the loot ini file has 100 items in it, it will echo the stats for all 100 items everytime it does a forage cycle and will spam my MQ2 window. I just want it to echo the items that have been looted and show me the totals for each of those. I will try and play with it a bit myself but so far I havent gotten it to work.
/call ReadINI ForagingLoot.ini "${Zone.Name}" Loot


to /call ReadINI ForagingLoot.ini MyLoot Loot


Take out the zone names

[MyLoot]

at the top of ini file

no clue how your ini is set up .. so thats as far as i can go

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Sun May 21, 2006 12:21 am

jakevsnake wrote:Army, fearless about sums it up. I know how YAFM works, and for many its a great macro. But like I said in the previous posts, it sucked for my needs. Most of the foraged items are garbage, so this is the best way for me to eliminate them.
if your gonna make an alphabetical list and all ....

just curious but since YAFM has a ini with alot of forages would it be easier to just change the "garbage" to zeros?

BTW /destroy only destroys one item .. not all items on cursor

Just a thought

ARMY

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Sun May 21, 2006 12:22 am

maybe try modding that, add your sub for tracking forages?

I added in the Item handling sub an cursor echo so i see what i am foraging and get an idea of % of forages .. and such


ARMY