Yet Another Forage Macro - yafm

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

Moderator: MacroQuest Developers

skyler
a snow griffon
a snow griffon
Posts: 311
Joined: Wed May 11, 2005 9:22 am

Post by skyler » Mon Jun 20, 2005 4:18 pm

creamsoda wrote:Some thing somewhere is getting lost in the translation. I have the macro scripted from a copy format the same as whats listed above. Looking at the script I see nothing off hand that would cause the notation I listed previously. Note that when I run the script I get no mention of an error on line "so and so". I've even removed to call line from the script itself to see if that changes the line to an actual error but there was no change on my end.
Sounds like you aren't even starting the macro correctly.
/mac <macro name>
If you are doing anything other then /mac you are wrong.

ziptop21:
Those are all comments and have no effect on the macro itself.

creamsoda
decaying skeleton
decaying skeleton
Posts: 3
Joined: Fri Apr 29, 2005 2:32 pm

Post by creamsoda » Mon Jun 20, 2005 7:16 pm

All my other macros run normally it's just this one thats giving me the hard time.

ozum
orc pawn
orc pawn
Posts: 13
Joined: Fri Apr 15, 2005 5:47 pm

YAFM.MAC not counting items already have

Post by ozum » Fri Jul 15, 2005 9:10 pm

above the /autoinventory, I added to check the # it had counted, the # I told it to keep in the .ini and the method it used to count said item.

/echo ${ItemsHave},${ItemSetting},${FindItemCount[=${Cursor.Name}]}

This is returning 0,20,0 (there are approx 40 of this item in my bags)

My only guess is that it cannot/will not count items in bags or the method of counting items has changed. I have tried all of the variations of YAFM.MAC in this thread. Other than this one snafu, I love this macro, so any help/suggestions would be appreciated.

Ok, after experimentation, cannot count items in bags, only in main slots, so, never mind!!!

Scythe
decaying skeleton
decaying skeleton
Posts: 6
Joined: Thu Aug 04, 2005 7:29 pm

Post by Scythe » Thu Aug 18, 2005 4:26 pm

Well, I did what ziptop21 suggested and it worked perfectly - I was having the same issue myself.

ozum
orc pawn
orc pawn
Posts: 13
Joined: Fri Apr 15, 2005 5:47 pm

adding invis to this macro

Post by ozum » Mon Sep 05, 2005 1:13 pm

Ok, I have copied and pasted the '/event' for appearing and fizzles, etc. from other macros, but get various errors (or just nothing happens). All I want to do is keep my foraging druid invised. (it is probably a max of 10 additional lines, but I can't find the right ones, or maybe just the right order). Any help would be appreciated.

(yeah, let the flames begin about how if I can't do this one simple thing, I shouldn't be using MQ at all or even allowed to live!)

imanlyman
orc pawn
orc pawn
Posts: 14
Joined: Sat Oct 26, 2002 8:17 pm

Post by imanlyman » Wed Sep 07, 2005 2:55 pm

I had this .mac working perfectly, cant seem to get it working after todays patch. Did they fix something?
thanks, ive tried everything

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

Post by fearless » Wed Sep 07, 2005 3:03 pm

today's what patch
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]

nadia69
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sun Sep 04, 2005 11:13 am

Post by nadia69 » Wed Oct 12, 2005 12:24 pm

still dont work any fix for soon ?

Farendal
a lesser mummy
a lesser mummy
Posts: 52
Joined: Thu Nov 17, 2005 4:17 am
Contact:

Post by Farendal » Wed Dec 28, 2005 6:33 am

Nicely done but how about posting the ini as well so that I can get some idea on how it is supposed to work. Will be my 1st attempt at getting this running

sonofcycle
orc pawn
orc pawn
Posts: 16
Joined: Thu Mar 23, 2006 9:37 am

Post by sonofcycle » Mon Apr 10, 2006 12:15 pm

Just create a file with notepad called yafm.ini and stick it in the macro folder. It will populate the file for you and update it everytime you forage something new that's not listed in there.
What if there IS no tomorrow? There wasn't one today...

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

Post by jakevsnake » Mon May 08, 2006 12:35 pm

Is there anyway to have this macro modified so it acts like the adv_fishing macro? I want to set up loot tables for individuals zones so as to loot ONLY what is in the loot table. So in other words it will destroy anything that is not currently in the loot table. I get sick of having to keep adding things to destroy since I dont know every item on a zones loot table. Often I just want one item.

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

Post by aChallenged1 » Mon May 08, 2006 1:55 pm

You know, if you wanted to you could do it. You already know where the basic code for what you want to do is.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

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

Post by jakevsnake » Mon May 08, 2006 3:17 pm

Well if someone else did it that would mean I could be my naturally lazy self and not have to work for it :) I do have some old school programming to fall back on (Turbo Pascal, yeah I know, who the fuck programs in that crap) so I am sure I could learn pretty fast how to make it work.

Zane
decaying skeleton
decaying skeleton
Posts: 1
Joined: Mon Jun 26, 2006 1:20 pm

not working

Post by Zane » Mon Jun 26, 2006 1:23 pm

I have used this macro for a long time and never had a problem. After the last patch it now auto destoys everything wether or not its in theYAFM.INI.
any suggestions? :(

jimbo123
a ghoul
a ghoul
Posts: 87
Joined: Wed Dec 21, 2005 9:46 pm

Post by jimbo123 » Mon Jul 17, 2006 11:03 am

Just guessing, Zane ...
mdar wrote:******WARNING****** DO NOT set defaultmax to 0. If you are using your inventory when a forage happens, it will on occasion treat an item you have in your hand as a forage result, and as such, will be added into your ini file. If DefaultMax = 0, the item will be DELETED.
If that key is missing or misspelled... NULL is often interpretted as zero.

Check your ini file to see if the format conforms to what is expected for the version of yafm you are using.

--jimbo