Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Commits
- Deprecations
- PSPAWNINFO to PlayerClient*
- PCHAR to const char*
- GetCharInfo()->pSpawn to pLocalPlayer
- PITEMINFO to ItemDefinition* (8f604b4)
- Merge branch 'deprecations' into 'master'
Deprecations
See merge request redguides/plugins/MQ2Autoforage!2...
Commits
- Deprecations
- Removed superfuous pChSpawn = pLocalPlayer and replaced with pLocalPlayer
- removed unnecessary char/sprintf_s when we already have the information available (5278468)
- Merge branch 'Deprecations' into 'master'
Deprecations
See merge request redguides/plugins/MQ2Autoforage!3...
I know it's an old question, but I use:Question: I am trying to make a hotkey to destroy an Item on the cursor. Using /destroyitem (name of Item) to set it to destroy the item when foraged. What or is their a way to have what is on the cursor to fill in the name part?
So when I get a foraged item and pick it up on the cursor then press the hotkey to destroy the item the item fills in the rest of the command. Example: I forage grubbs. I then click it to get it on the cursor. Then press the hotkey and the name of the item fills in the name in the hotkey. Can I make something like {Item.Name.(?)}
Zeb
Newly foraged as in it wasn't in the list before?Why does the plugin adds newly foraged items to a Global List? I am in The Broodlands and have a list of what to keep, but instead of using the list, the plugin created a "Global list" section and puts the foraged items there.
Same thing happens to me. I’ve stopped adding items to destroy and just do it manually now. Annoying but less annoying than changing the ini constantly.Good clarification. So I had the item in the list under a zone, but when I foraged the item it got added to the Global list and ignored the zone list that had it set up to destroy the item. I am finding that it happens everywhere so maybe the macro was changed to have just one list regardless of region? I didn't see anything in the updates though.
Commits
(99cc9c0) ~Knightly
...Merge branch 'v143' into 'master'
Update for v143
See merge request redguides/plugins/MQ2Autoforage!4
There's a global and a zone setting if the guide is accurateAm I mistaken about the fact that a .ini file should be auto created for each toon as they forage in the different zones? If I am correct, then why is it not happening. There is only one .ini file for MQ2AutoForage and the appears to be the general one that looks like this:
It’s in the loot.ini file. I couldn’t find it originally either.Am I mistaken about the fact that a .ini file should be auto created for each toon as they forage in the different zones? If I am correct, then why is it not happening. There is only one .ini file for MQ2AutoForage and the appears to be the general one that looks like this:
[General]
AutoKeepAll=on
AutoAddAll=on
ForageOn=on
Thanks in advance for the help.
That's what I do too.Figured out how....unload the plugin on all toons, load it on just the ones i want to forage!
nice plugin, just wanted to mention that it interrupts the /camp process....can this be fixed? thanks!
I have noticed that the commands to start and stop forge are slightly different:
/start forage
/stopforage
Note the space in the "start" command, but not in the "stop" command. Hope this helps you, it would be the first time I was able to answer soemthing, hehe.
Please post in the correct thread and not necropost some disjointed thread from 2008. It actually tells you that you're necroposting.Wow this just saved me lmao. Thank you from 18 years ago!

Did not realise it was an old thread to be honest just came up as a "whats new" and it was something I had noticed day before on one of my characters. So thought I would mention it in case it was a bug that needed sorting. Its a shammy so not really bothered about him Foraging and have loads more toons who i can forage on, but for some reason it just wont autoforage on this one toon, started two forageing at same time, one works perfect other doesnt, and yes bought the AA's in fact they are maxed lol.Please post in the correct thread and not necropost some disjointed thread from 2008. It actually tells you that you're necroposting.
bumping something from 15+ years ago is wild too, because the code for autoforage clearly shows that, at least currently (which doesn't mean fifteen years ago it wasn't different) the commands are "/startforage" and "stopforage". a lot of things can change in such a long period of time
View attachment 69170
git history for autoforage only goes back to 2017, but as of at least april 2017 (8 years ago) it was also "/startforage"
but these commands are one of the reasons so many folks are insistent on doing something like "/plugin what-thing (setting-value)" like it *should* have been "/autoforage start" or something similar
"/start" will shortcut to any registered command that it finds so if you had something, an alias or bind that was /startdoingcoolstuff and nothing else with /start in it "/start" would execute the /startdoingcoolstuff
yeah it was kronoislife who bumped it (last reply was 2008) which brought it to "whats new" which is where you repliedDid not realise it was an old thread to be honest just came up as a "whats new" and it was something I had noticed day before on one of my characters. So thought I would mention it in case it was a bug that needed sorting. Its a shammy so not really bothered about him Foraging and have loads more toons who i can forage on, but for some reason it just wont autoforage on this one toon, started two forageing at same time, one works perfect other doesnt, and yes bought the AA's in fact they are maxed lol.
The wiki above in the nav bar is a wonderful resource.Is there a method that can be called to 'see' if MQ2AutoForage is in a (started = true/false ) state?
I am able to check if it's enabled, but there is no call I've found to see what the current 'foragestate' is. (running/stopped)
Usecase: I'm trying to write a script that uses the cursor item. I'd like to be able to know if forage needs to be stopped, this way it doesn't interfere with the items I'm expecting to be on the cursor.
Then I can return it to the original state when I'm done.
Now I would need to rely on the user to restart it, or just log that it was stopped and they can restart it if required.
- M
That is a very good option and the one I sort of have in place. This only checks if the plugin is loaded, but not running. I wouldn't want to assume it was running and force start it again.You could just issue the /stopf command as part of your script, then start it back up at the end. If the plugin is not loaded., those commands won't work. It's not a great solution, but could be workable.
You could also just see what is on your cursor and if it is the item you want to deal with it, then deal, or if not, just wait or other similar logic.That is a very good option and the one I sort of have in place. This only checks if the plugin is loaded, but not running. I wouldn't want to assume it was running and force start it again.
Also if MQ2AutoForage is not loaded, it would spit out an error because /startf and /stopf are not valid commands.
What I am doing now is checking if the plugin is loaded, and if loaded provide a check box to /stopf. They could however close the app without un-checking the box. If they do I add a reminder to the log to start it and the command.
I just think it would be so much cleaner if I could capture the original state and return it to that state at the end.
These are all good workarounds if a foragestate option is not something that can be done.You could also just see what is on your cursor and if it is the item you want to deal with it, then deal, or if not, just wait or other similar logic.
Or you can check to see if there is a forage "event" and then stop forage and restart.
It depends on how long your script is doing stuff.
Awesome. I'll give that a shot!I would remove anything mq and rg related on your pc, if its been years and years since you played many changes have been made.
After uninstalling and removing everything, then you should install redfetch, and go from there, its the new rg launcher, and its so much cooler and nicer and funner!
