• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Click "RG3" at the very bottom-left of this page to change it. To dismiss this notice, click the X --->

Question - saving forage settings (1 Viewer)

Joined
Sep 8, 2019
RedCents
769¢
The forage ini file is per character and the items are per zone in that file. MQ2Forage_Character_Server.ini in the plugin directory. It was working in February.
 

ChatWithThisName

⚔️🛡️🗡️
Moderator
Joined
Dec 29, 2017
RedCents
866¢
Doesn't look like there was a change submitted at this time. I'm looking at it right now. No idea how this got lost in the wood works. Thanks for the reminder.
 

ChatWithThisName

⚔️🛡️🗡️
Moderator
Joined
Dec 29, 2017
RedCents
866¢
Okay, so looking at the details

C++:
sprintf_s(INIFileName,"%s\\MQ2Forage_%s_%s.ini",gszINIPath,GetCharInfo()->Name,EQADDR_SERVERNAME);
The INI file is MQ2Forage_YourName_Server.ini being set in SetGameState where GameState is GAMESTATE_INGAME.

Even though the plugin is called MQ2Autoforage

So it's saving this to the INI listed above and not MQ2Autoforage.ini (which is a file I currently have in my Release as well) which makes things a bit misleading.

1583179365831.png 1583179395777.png

I set berries to destroy using /destroyitem Berries

and when I found them again it successfully destroyed them as expected.

I then installed a debug statement, rebuild the plugin, logged out and loaded the plugin at character select. As expected no INI file was loaded at character select, but once I logged in the characters INI file was loaded correctly for the entries AutoKeepAll, AutoAddAll, and ForageOn. Those entries are all in the general section.

Determining if an item is Kept or destroyed is part of a function called Check_INI() which uses the same INI file as those entries. It's used when an item is on the cursor and a bool is set to the value based on that Function.

It first attempts to get a value from the INI for the zone and item mentioned with a default value of NULL, if it's NULL it will check your AutoAddEnabled and AutoKeepEnabled settings to determine how to handle new items not currently in the INI.

To be clear, determining if an item is kept or destroyed is done on a zone by zone basis and there is no global keep/delete file. It's also done per character so that different characters can have different values for each entry per zone.

Based on all tests this does in fact save to the INI, just perhaps not the one you were thinking it was. MQ2Forage (Not MQ2Autoforage).
Additionally, a review of the previous merge requests doesn't appear to change the name of the INI, which tells me it's been this way for a significant amount of time.

The resource overview with this information is found at the following link. https://www.redguides.com/community/resources/mq2autoforage.99/

It seems the issue is a misunderstanding more than a logic issue. Possibly due to the INI File and plugin name not matching since based on all tests everything seems in order.

If you're positive the issue persists and you can walk me through what happens and what should happen and we can recreate the issue it would be helpful to try and recreate the issue. When providing these details. please type out exactly what you type in game, IE: /destroyitem ..... vs /destroy item berries

If my explanation of the details on how the plugin works has cleared up a misunderstand, then please also let me know so that we know the issue is resolved.
 
Last edited:

Sic

Nihil
Moderator
Joined
May 5, 2016
RedCents
7,237¢
I am glad someone resurrected this. Getting annoyed with small chunk of velium everywhere.
The forage ini file is per character and the items are per zone in that file. MQ2Forage_Character_Server.ini in the plugin directory. It was working in February.
yup exactly what drawthow said

it might be useful for it to be a universal file instead of a per character per zone
 

Saffron

Well-known member
Joined
Jul 15, 2019
RedCents
585¢
When TOV first launched I tried this and the fishing mac at the same time. I ended up modifying the ini manually. I also noticed that things on the destroy list worked maybe 80 percent of the time. It may have had something to do with the timing of fishing and foraging. Those velium globe thingies, sandals, and daggers would sometimes get past the macs and end up in my bags. I didn't run them long enough to figure out why.
 

Sic

Nihil
Moderator
Joined
May 5, 2016
RedCents
7,237¢
When TOV first launched I tried this and the fishing mac at the same time. I ended up modifying the ini manually. I also noticed that things on the destroy list worked maybe 80 percent of the time. It may have had something to do with the timing of fishing and foraging. Those velium globe thingies, sandals, and daggers would sometimes get past the macs and end up in my bags. I didn't run them long enough to figure out why.
yeah if something gets auto inventoried before the plugin gets to deleting something, then it would get auto inventoried
 

Mikey02

Well-known member
Joined
Aug 7, 2019
RedCents
401¢
Well that explains why in some zone the Velim Chunk doesn’t get destroyed. Will just have to bcaa destroyitem in every zone.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top