• 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
Resource icon

Release MQ2AutoForage

Burdsjm try this..... /stopforage (you might have it already working) /startforage and /stopforage is like pause on or pause off. You have the plugin loaded so it should be working and you should be foraging. Using /startforage when the plugin is working is like trying to start a car while its running. As far as I know you first stop (or pause) the plugin by using the /stopforage command. Then to get it running again once it has been stopped you would use /startforage to get it running again.

At least that is the way I understand how it works. So the message you got would be like trying to start that car while driving down the road. (lot of grinding noise from the starter)

Zeb
startforage.jpg
/startforage should still not give an error
 
In addition to the loot.ini setting you can add a React statement too!

INI:
  DestroySmallChunk:
    action: /destroy
    condition: "${Cursor.Name.Equal[Small Chunk of Velium]}"

Where do I enter this code, in the forage ini?
Because I'm wasting too much time destroying 'Twilight Orchid' in ToL
 
I found sometimes it does not to destroy stuff, so I get bags full of these as well.
I used to use tracts to ensure their destruction. Ended up with so many reacts it became cumbersome.

Now I have a macro I run periodically to clean up me inventory. (I should convert it to a Lua script)

So warmonger, I feel your pain.
 
I found sometimes it does not to destroy stuff, so I get bags full of these as well.
I used to use tracts to ensure their destruction. Ended up with so many reacts it became cumbersome.

Now I have a macro I run periodically to clean up me inventory. (I should convert it to a lua script)

So warmonger, I feel your pain.
Please share this macro :)
 
I have been working to clean up a lot of my foraging files.
Consolidating everything into the MQ2Forage.ini file and removing all toon based files.

@Sic
Q - I expect that the [Global] settings will be sufficient for items which I wanted listed as Global and they don't need to also be listed under each of the zone sections. Is this correct?

Thanks in advance

~TheFriddler~
 
The config file seems to have both a global list and a zone list. Can I combine them both into just global? My problem is when I want to mark a forage item as destroy I have to find both (if not, more than that due to the item being found in multiple zones) as destroy.
 
Running this while running KA. It seems that KA/NinjaADVLoot adds items to loot.ini as keep?

I found small chunk of velium and lichen roots in the loot.ini. Hope that fixes them piling up...
 
Might have helped some, but still had a dozen or more today :(
unfortunately your cursor allows you have to have more than 1 item "queued" on it, with things like double forage, or lucky double forage, it is possible to have two items on your cursor, and it might be the reason it is getting skipped.

i personally don't let *any* automation delete stuff because of how many things want/need to autoinventory, and things like double forage
 
unfortunately your cursor allows you have to have more than 1 item "queued" on it, with things like double forage, or lucky double forage, it is possible to have two items on your cursor, and it might be the reason it is getting skipped.

i personally don't let *any* automation delete stuff because of how many things want/need to autoinventory, and things like double forage

Could you elaborate? You don't let your loot program delete?
 
Could you elaborate? You don't let your loot program delete?
No, I don't have any automation deleting any items automatically. Not any looting automation, not foraging, the cwtn plugins don't delete items, etc
 
Maybe I am missing a setting? Or should I delete the INI and start over?

I deleted the zone entries, but it recreated them.
Code:
[General]
AutoKeepAll=On
AutoAddAll=On
ForageOn=Off

[Global]
Ice of Velious=keep
Habanero Pepper=keep
Small Chunk of Velium=destroy
Lichen Roots=destroy
Ethernere Essence=keep
...

[Ethernere Tainted West Karana]
Pod of Water=destroy
Roots=destroy
Ethernere Essence=keep
...

[Modest Guild Hall]
Fruit=keep
Fishing Grubs=keep
Vegetables=keep
Rabbit Meat=keep
Roots=keep
Berries=keep
Pod of Water=keep
...
 
Maybe I am missing a setting? Or should I delete the INI and start over?

I deleted the zone entries, but it recreated them.
Code:
[General]
AutoKeepAll=On
AutoAddAll=On
ForageOn=Off

[Global]
Ice of Velious=keep
Habanero Pepper=keep
Small Chunk of Velium=destroy
Lichen Roots=destroy
Ethernere Essence=keep
...

[Ethernere Tainted West Karana]
Pod of Water=destroy
Roots=destroy
Ethernere Essence=keep
...

[Modest Guild Hall]
Fruit=keep
Fishing Grubs=keep
Vegetables=keep
Rabbit Meat=keep
Roots=keep
Berries=keep
Pod of Water=keep
...
1663972796953.png

So add it to global "destroy" or "keep".. and thats the first entry it will go off.
 
I just ran into something I can't figure out. I am in the twilight sea foraging for a twilight orchard when I saw I was auto-destroying roots and keeping feathers. I stopped and re-start the plugin with the same results. This is the twilight sea part of my ini

[CODE lang="ini" title="MQ2Forage.ini"][The Twilight Sea]
Roots=keep
Feather=destroy
Twilight Worms=destroy
Wild Crimson Berries=keep
Pod of Water=keep[/CODE]

Any ideas?
 
I just ran into something I can't figure out. I am in the twilight sea foraging for a twilight orchard when I saw I was auto-destroying roots and keeping feathers. I stopped and re-start the plugin with the same results. This is the twilight sea part of my ini

[CODE lang="ini" title="MQ2Forage.ini"][The Twilight Sea]
Roots=keep
Feather=destroy
Twilight Worms=destroy
Wild Crimson Berries=keep
Pod of Water=keep[/CODE]

Any ideas?
do you have those items in your global section?
 
We've been using this a lot lately to build up some tradeskills - love the convenience BUT -- when we start a toon foraging, other toons we're running will often then start foraging, though we haven't started it on them.

Hoping this is something simple I'm missing, but didn't see it mentioned in any of the discussion

My start social:

/startforage
/ban activate Forage ; Forage Machete

Stop:

/stopforage
/ban activate 1HShield

This happens across zones - e.g. my Druid may be deep in some shabby part of the Old World, and a toon in POK will start to forage.

Thanks for any help, or leads, or ideas.
 
you can't forage while sitting. it has to stand you.

try it manually.

but it also doesn't try and autoforage if you are feign'd or dead
Yeah, i understand you cant forage while sitting but I would prefer to not have the autostand feature and the only time forage works is when im standing or running around.
 
AutoForage broken? my 105 duird will not forage anymore since last patch? I have turned it off and back on and still nothing. logged in and out. zoned to different zones and still nothing.
 
AutoForage broken? my 105 duird will not forage anymore since last patch? I have turned it off and back on and still nothing. logged in and out. zoned to different zones and still nothing.
Working here ( I don't use often, but I tested a couple dozen toons yesterday and all worked)
 
Odd because none of my toons are foraging. is there something else i need to have turned on? Going to log them all out and update the MQ files.
 
Last edited:
Odd because none of my toons are foraging. is there something else i need to have turned on? Going to log them all out and update the MQ files.
You don't just load the plugin, you have to /startforage
 
Code:
local mq = require 'mq'
local forage = function ()
if mq.TLO.Me.Skill('Forage')() > 0 and mq.TLO.Me.Standing() then
    mq.cmd.doability('Forage')
    mq.delay(10)
    if mq.TLO.Cursor.ID() then
        
mq.cmd.autoinventory()
    end
    mq.delay(1000)
end
end
while true do
    forage()
end
 
Last edited:
Code:
local mq = require 'mq'
local forage = function ()
if mq.TLO.Me.Skill('Forage')() > 0 and mq.TLO.Me.Standing() then
    mq.cmd.doability('Forage')
    mq.delay(10)
    if mq.TLO.Cursor.ID() then
     
mq.cmd.autoinventory()
    end
    mq.delay(1000)
end
end
while true do
    forage()
end
Modify your if to a while mq.TLO.Cursor.ID() do around the autoinventory. Been a while since I had to do any heavy foraging, but I believe you can forage multiple items at the same time (maybe only a Ranger/Druid/Bard thing).
 
Modify your if to a while mq.TLO.Cursor.ID() do around the autoinventory. Been a while since I had to do any heavy foraging, but I believe you can forage multiple items at the same time (maybe only a Ranger/Druid/Bard thing).
Thought about that, but don't try to pick anything up 'while' its running. :)
 
@Mad Scientist I like where your head is at. What is that code sample for? a Ini for what?

I think the root problem is interrupting medding, which is done while sitting. I don't believe anyone minds standing up once if they are 100% Health/Mana/Endurance first. May I suggest a watchdog script that toggles /startforage and /stopforage when sitting AND not 100% all 3 bars? A generic "Random Fixes" Lua script, that contains missing features or workarounds such as this, and others people may find elsewhere in the MQ landscape.

Should this be a standalone script or configuration inside something else like LEM or events?
 
I think the autoforage plugin is meant to be a stand alone. Plop a toon in a zone and /startforage
If you are trying to run a plugin that conflicts with other plugins and scripts, you are going to have issues no matter how you look at it.
If you run a Lua script, you can adjust the script itself to your style of what you like and what you don't like.
If I am hunting and using a bando swap or memming spells I really don't want forage interrupting my book or accidentally deleting an item from my cursor.

@Mad Scientist I like where your head is at. What is that code sample for? a Ini for what?

I think the root problem is interrupting medding, which is done while sitting. I don't believe anyone minds standing up once if they are 100% Health/Mana/Endurance first. May I suggest a watchdog script that toggles /startforage and /stopforage when sitting AND not 100% all 3 bars? A generic "Random Fixes" lua script, that contains missing features or workarounds such as this, and others people may find elsewhere in the MQ landscape.

Should this be a standalone script or configuration inside something else like LEM or events?
That code can be placed in a file and saved as forage.Lua and then run /Lua forage

was just a simple example.
 
Thought about that, but don't try to pick anything up 'while' its running. :)
Well, the way this is done, picking up anything while it's running is going to be problematic. Your conditions for autoinventory are just that the character has Forage as a skill and they are standing. Every 1.01 seconds it'll try to store whatever happens to be on the cursor.
 
Release MQ2AutoForage

Users who are viewing this thread

Back
Top
Cart