• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Macro to auto-eat junk food?

testtube

Member
Joined
May 9, 2014
RedCents
263¢
(Apologies in advance, rather new here),

My friend linked me a program that allows me to eat *anniverary auto-made food* in place of my good food.

However, is there another macro that would allow me to *choose* what food I eat instead? The anniversary only around one a year.

Thanks
 
I've been using downshits to keep me eating summoned food so i don't waste my stat food

This utilizes MQ2melee plugin MQ2 MQ2melee page - it is not a macro and because of that you could use this while running other macro - or running no macros

These particular summon food items are from the marketplace, but anything can be subbed into here

Code:
downflag1=1
downflag2=1
downflag3=1
downflag4=1
downflag5=1
downflag6=1
downshit1=/if (${FindItemCount[=Warm Milk]}<=5 && ${Cast.Ready[Warm Milk Dispenser]} && !${Me.Invis} && !${Me.CombatState.Equal[COMBAT]}) /casting "Warm Milk Dispenser" item
downshit2=/if (${FindItemCount[=Fresh Cookie]}<=5 && ${Cast.Ready[Fresh Cookie Dispenser]} && !${Me.Invis} && !${Me.CombatState.Equal[COMBAT]}) /casting "Fresh Cookie Dispenser" item
downshit3=/if (${Me.Hunger}<4500 && ${FindItemCount[=Fresh Cookie]}>0) /useitem "Fresh Cookie"
downshit4=/if (${Me.Thirst}<4500 && ${FindItemCount[=Warm Milk]}>0) /useitem "Warm Milk"
downshit5=/if (${Cursor.Name.Equal[Fresh Cookie]}) /autoinventory
downshit6=/if (${Cursor.Name.Equal[Warm Milk]}) /autoinventory
 
Yup!

https://www.redguides.com/community/resources/mq2feedme.289/

/plugin mq2feedme

Then set the .ini file with your favorite foods, as shown in the link above. Click "discussion" if you have any issues.

Redbot, it looks like there are less than 100 available foods this can be used for, unless I'm reading this wrong.

Can this not be used with ANY food I want? (For instance, If want my "trash food / drink" to be Merchant's Feast / Merchant's Brew, I don't see those on there.

I've been using downshits to keep me eating summoned food so i don't waste my stat food

This utilizes MQ2melee plugin MQ2 MQ2melee page - it is not a macro and because of that you could use this while running other macro - or running no macros

These particular summon food items are from the marketplace, but anything can be subbed into here

Code:
downflag1=1
downflag2=1
downflag3=1
downflag4=1
downflag5=1
downflag6=1
downshit1=/if (${FindItemCount[=Warm Milk]}<=5 && ${Cast.Ready[Warm Milk Dispenser]} && !${Me.Invis} && !${Me.CombatState.Equal[COMBAT]}) /casting "Warm Milk Dispenser" item
downshit2=/if (${FindItemCount[=Fresh Cookie]}<=5 && ${Cast.Ready[Fresh Cookie Dispenser]} && !${Me.Invis} && !${Me.CombatState.Equal[COMBAT]}) /casting "Fresh Cookie Dispenser" item
downshit3=/if (${Me.Hunger}<4500 && ${FindItemCount[=Fresh Cookie]}>0) /useitem "Fresh Cookie"
downshit4=/if (${Me.Thirst}<4500 && ${FindItemCount[=Warm Milk]}>0) /useitem "Warm Milk"
downshit5=/if (${Cursor.Name.Equal[Fresh Cookie]}) /autoinventory
downshit6=/if (${Cursor.Name.Equal[Warm Milk]}) /autoinventory

Sicprofundus, if I were to use this instead of Redbot's method, but I just wanted to use non-renewable food, how would I go about changing this? (Let's say to "Merchant's Feast" and "Merchant's Brew" for example)
 
ok, so just so I'm clear - you want to EAT merchant's fast and Merchant's brew? This sounds like a waste of plat, but its your plat =p

How I have mine setup is I have my Best food in bag 1 top slots - I never want these consumed as they are expensive, but because they are in the top slots I get the stat benefit from them

1554499141757.png


The code is using these two items
1554499214882.png

It is looking in my invetory to see if I have less than 5 Warm Milk (which comes from the warm milk dispenser - if I don't have 5 or more, and I am not invis, and I am not in combat, it will use the warm milk dispenser until I have 6 Warm Milk --- same for the Fresh Cookie Dispenser and Fresh Cookie

If you are not using a food summon item you can just use these two to consume your "trash food"

This code is saying - If my hunger level is lower than 4500 (i believe 6000 is the max "full" value) AND I have more than 1 Merchant's Feast then eat a Merchant's feast etc.


Code:
downflag0=1
downflag1=1
downshit0=/if (${Me.Hunger}<4500 && ${FindItemCount[=Merchant's Feast]}>0) /useitem "Merchant's Feast"
downshit1=/if (${Me.Thirst}<4500 && ${FindItemCount[=Merchant's Brew]}>0) /useitem "Merchant's Brew"


If you are trying to USE the merchant's feast for stats, you would want to get some junk food to eat to stay full while keeping the merchant stuff in your top most container slots (above other food).

These, for example, are vendor bought and stack to 1000 so you could fill a bag with these for junk food

1554499518816.png
Code:
downflag0=1
downflag1=1
downshit0=/if (${Me.Hunger}<4500 && ${FindItemCount[=Bottle of Milk]}>0) /useitem "Bottle of Milk"
downshit1=/if (${Me.Thirst}<4500 && ${FindItemCount[=Fresh Fish]}>0) /useitem "Fresh Fish"
 
ok, so just so I'm clear - you want to EAT merchant's fast and Merchant's brew? This sounds like a waste of plat, but its your plat =p

How I have mine setup is I have my Best food in bag 1 top slots - I never want these consumed as they are expensive, but because they are in the top slots I get the stat benefit from them

View attachment 16342


The code is using these two items
View attachment 16344

It is looking in my invetory to see if I have less than 5 Warm Milk (which comes from the warm milk dispenser - if I don't have 5 or more, and I am not invis, and I am not in combat, it will use the warm milk dispenser until I have 6 Warm Milk --- same for the Fresh Cookie Dispenser and Fresh Cookie

If you are not using a food summon item you can just use these two to consume your "trash food"

This code is saying - If my hunger level is lower than 4500 (i believe 6000 is the max "full" value) AND I have more than 1 Merchant's Feast then eat a Merchant's feast etc.


Code:
downflag0=1
downflag1=1
downshit0=/if (${Me.Hunger}<4500 && ${FindItemCount[=Merchant's Feast]}>0) /useitem "Merchant's Feast"
downshit1=/if (${Me.Thirst}<4500 && ${FindItemCount[=Merchant's Brew]}>0) /useitem "Merchant's Brew"


If you are trying to USE the merchant's feast for stats, you would want to get some junk food to eat to stay full while keeping the merchant stuff in your top most container slots (above other food).

These, for example, are vendor bought and stack to 1000 so you could fill a bag with these for junk food

View attachment 16345
Code:
downflag0=1
downflag1=1
downshit0=/if (${Me.Hunger}<4500 && ${FindItemCount[=Bottle of Milk]}>0) /useitem "Bottle of Milk"
downshit1=/if (${Me.Thirst}<4500 && ${FindItemCount[=Fresh Fish]}>0) /useitem "Fresh Fish"

Okay. TY

And where (what file) do I insert these lines into in order to make this take effect?
 
downshits are part of MQ2Melee, so make sure you have mq2melee plugin in the list when you type '/plugin list' if it's not there, type '/plugin mq2melee' then type '/melee save'

This will create an [MQ2Melee] section in your MQ2Folder\servername_charname.ini eg my file is at C\RGMQ2\bertox_Dumbtank.ini

open this in a notepad and under the [MQ2Melee] section add in the downflag/downshit that Sicpro has shared for you. save it, and in game type /melee load on that character you set it up for.

You can read more about holyshits/downshits here

If you want to check your holyshit/downshit code 'works' you can in game '/echo ${Me.Hunger}<4500 && ${FindItemCount[=Bottle of Milk]}>0' and you should see something like [MQ2] 0<4500 && 0>0 -- if you are starved and have no milk, like all my characters.
 
Redbot, it looks like there are less than 100 available foods this can be used for, unless I'm reading this wrong.

Can this not be used with ANY food I want? (For instance, If want my "trash food / drink" to be Merchant's Feast / Merchant's Brew, I don't see those on there.

Yes. You simply add the lines for the food/drink that you want to consume. The ini given on the readme page is really just an example. You can stip it down to just the food/drink that you personally use.
 
best to use the plugin designed for the task, instead of plugin that is designed to make melee combat easier, and then you add programming to it that will make it simulate the other plugins behaviour.
 
Don't want to hijack the thread, but what is the best stat food now adays?
 
Question - Macro to auto-eat junk food?

Users who are viewing this thread

Back
Top
Cart