• 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 MQ2AutoLoot

You can have separate ini's for each character name you have, they can all point to the same loot.ini or separate ones if you want. I did not make it server specific, ie plure on FV and plure on trakannon will use the same ini. If that is a problem for enough people I can change it to add your server as an identifier for the settings file.

If you want only one toon to loot an item like poision01 you would set it to keep or quest|1000 (or whatever high number you want) in your rogue's lootrogue.ini and to quest|0 for the rest of your toons. It has to be set to quest|0 for your master looter otherwise he won't try and pass it out to your group.

I like the idea of collecting statistics, but I am pretty against having this plugin send data off your computer. I suspect the people at the eqemu community would have access to better tools to collect drop information, not sure if they would share though. I would like better statistics on drops though, would make leveling trade skills easier.

If you want to donate krono PM and we can set something up, or to donate through paypal click here:
 
I made several changes.

1. If there is an item on your cursor it will wait 10 seconds and then autoinventory the item if you have space. You can change the length of time by using the command /autoinventory cursordelay #n, where n is the delay in seconds before it attempts to deal with items on your cursor.

2. I changed /autoloot lootini so you just have to put the filename rather then the full path, it assumes the loot ini is located in your macro folder. If you want it some place else, you will have to edit the mq2autoloot.ini file.

3. I added /autoloot sell, if you have targeted a merchant it will attempt to move close enough to open the merchant window (it assumes you have MQ2MoveUtil loaded). Once open it will sell all your items marked "Sell". I went away from fixed delays to using chat to iterate it, this should make it faster then ninjadvloot's sell function. Please let me know if there is any issue with this new function.

Does anyone use the deposit function? It appears to only deposit items into your guild bank, is there any interest in extending this to depositing items to your person bank?
 
Sell option works great. It's much faster than ninja at selling. It spams the console a little bit - seems to try to sell a few times before it takes - but I'm also on hotel internet right now. Really great work.
 
I just started using this today, it works great, but do I need to turn on in-game advanced looting on other toons in group for it to pass the lore/no drop items to the others in group? It is passing the items but only to 1-2 others in the group atm, and doesn't send it to the others once masterlooter and the other 2 toons in group have the lore item.


Or does the plugin have to be actively loaded on each toon?


EDIT: Think I answered my own question lol. Plugin has to be loaded on every toon in group. Working now!
 
I just started using this today, it works great, but do I need to turn on in-game advanced looting on other toons in group for it to pass the lore/no drop items to the others in group? It is passing the items but only to 1-2 others in the group atm, and doesn't send it to the others once masterlooter and the other 2 toons in group have the lore item.


Or does the plugin have to be actively loaded on each toon?


EDIT: Think I answered my own question lol. Plugin has to be loaded on every toon in group. Working now!

Advloot on all toons also be sure to assign a group master looter!
 
The only way I can see to get the class/race for an item from advloot window is to create a link and pop up that window (I didn't fully verify that this work, but that is one option. I didn't like that method, so I abandoned it.)

The second option I have considered is to create a new designation "Gear" when you create that it with an item on our cursor it would record an entry like this ITEM=Gear|Class|Classes that can use|Race|Races that can use|. i It isn't really an elegant solution, but it is the best I have come up with. It would then loot 1 or 2 of that item if you meet the class/race requirements.

If someone has a better solution, I am all ears.
 
Adding a flag to the loot ini for classes on particular items would be a fairly simple thing to manually edit I think. Fairly useful for things like Epic quest items and the like where you don't necessarily want to have to create new loot inis for all characters when farming for multiple characters at once (like bard/druid in skyfire for instance). Race additions would probably be a bit of overkill. So item line in loot ini might look like:

Item=Quest|1|Class or Class,Class,Class?
 
I want to separate quest and gear items. Quest decides to loot if you don't have a set number of items. Gear would loot based on class/race.
 
Oh. Either way. It would be great. Might even be better than letting a TLO choose classes as some ALL/ALL items are better for some classes than others.
 
I added some TLO's:

AutoLoot.Active -> Will return true when you are using MQ2AutoLoot to handle your advanced looting
AutoLoot.SellActive -> Will return true when your selling your items to a merchant
AutoLoot.DepositActive -> Will return true when your depositing your items to a personal/guild banker (currently not available, so will return false)
AutoLoot.BarterActive -> Will return true when your barter your items (currently not available, so will return false

Added 0.1 second delay between when it reads the texts and attempts the next sell action.
Added 0.2 second delay after attempting to loot a no drop item for your toons to click the accept button.

If anyone has problems please let me know.
 
Hmm is there a slash command missing from the original post for Deposit or is Deposit a valid tag for setitem like Destroy, Sell, Ignore etc? And is that deposit for personal bank or guild bank? I would use it for guild banker for ease, but for personal banker would most likely never use it, but thats personal taste as it would disorganize my personal bank :eek:
 
Deposit isn't live, yet. I am working on my new entry "Gear" which will pass out loot based on the classes that can use that item.
 
Nevermind.

(This was a post a stupid person who hasn't updated the plugin would make.)
 
One small issue on Quest items. It doesn't let you set the number to 0. This is a problem when trying to farm epic items for particular classes. It would be helpful to be able to set the main loot file to Quest|0 and then Quest|1 in the loot file for the toon you want to get the item.

Should note I sometimes use this to filter nodrop items to particular toons as well.
 
The only way I can see to get the class/race for an item from advloot window is to create a link and pop up that window (I didn't fully verify that this work, but that is one option. I didn't like that method, so I abandoned it.)

The second option I have considered is to create a new designation "Gear" when you create that it with an item on our cursor it would record an entry like this ITEM=Gear|Class|Classes that can use|Race|Races that can use|. i It isn't really an elegant solution, but it is the best I have come up with. It would then loot 1 or 2 of that item if you meet the class/race requirements.

If someone has a better solution, I am all ears.

For what it is worth, I am working a very similar approach with ninjadvloot. I will probable limit NoDrop items to one per eligible character. Hmmm, would need to figure a way to allow 2 per character for slots like ears, fingers, wrists. My time is extremely limited at the moment so you will probable get your version out wayyyy before I do.
 
For what it is worth, I am working a very similar approach with ninjadvloot. I will probable limit NoDrop items to one per eligible character. Hmmm, would need to figure a way to allow 2 per character for slots like ears, fingers, wrists. My time is extremely limited at the moment so you will probable get your version out wayyyy before I do.

Nobody exists on purpose, nobody belongs anywhere. RIP RL and macro slave for us again :p
 
For what it is worth, I am working a very similar approach with ninjadvloot. I will probable limit NoDrop items to one per eligible character. Hmmm, would need to figure a way to allow 2 per character for slots like ears, fingers, wrists. My time is extremely limited at the moment so you will probable get your version out wayyyy before I do.

It just loops through the classes to find which ones can use it and then loops through the slots to find how many it can fit it, unless it's lore then I just set it to one. The formatting will look like this:

Crude Defiant Amethyst=Gear|Classes|WAR|CLR|PAL|RNG|SHD|DRU|MNK|BRD|ROG|SHM|NEC|WIZ|MAG|ENC|BST|BER|NumberToLoot|1|
Legionnaire's Bracer=Gear|Classes|WAR|PAL|RNG|SHD|BRD|ROG|BER|NumberToLoot|2|

I have it coded up, and am hoping to have it finished testing over the weekend. I am looking for a Monday release.
 
Awesome plugin. Finally, got to play with it a bit this morning and my OCD went crazy. My OCD would be greatly soothed if the loot.ini headings were in alphabetical order. The second very minor issue I had was how long it took me to find the MQ2autoloot.ini file, though admittedly I should have intuitively known it would be in the plugin folder. I still spent about 20 minutes trying to get settings to appear in the loot.ini file, sigh. The speed of looting with this is simply amazing.
 
Sorry for the silly question. I am very new to this. I downloaded the dll here and placed it in my MQ2 folder with the other dlls and ran /AutoLoot on my puller, but all it is telling me is it cannot parse /AutoLoot. Any direction on what I may have done wrong?
 
One thing I'm noticing some of the items marked as ignore/destroy are being looted sometimes. I ended up with 2-3 of stack of 20 in my bag of an item. I think this is probably related to how quickly its processing the items, since its super fast lol.

My guess is, this happens when a corpse comes up with multiple items, some marked as KEEP vs some others marked as ignore/destroy, off the same corpse, and it processes them along with other items marked KEEP since its happening to quickly? Its not a biggie though, I would say its failing in about 1 in 2500 corpses so the error rate is very minor.
 
I've used this a LOT and haven't seen it looting items on the ignore list. I wonder if perhaps aspire has a conflicting AN/AG on those items in the actual advloot system?

BTW plure did you add something that forces group leader to be set as ML at some point? I seem to be having that happen in the updated version.
 
I forgot to comment that part out of the dll i sent you to test out. I always have my group leader be master looter, saves me from forgetting to set the master looter. It won't be in the dll i post to this thread later today or tomorrow.
 
Ah great. It's not a big deal to just set group leader to be the character I want to be ML. It's absolutely excellent work you've done. Can't wait to see this integrated into the main builds the site provides.
 
If you use the advanced loot list (the in game list), to set an item to always need/greed/no or autoroll this plugin will not change that designation. Basically it ignores items where the loot action has been set.
 
Is it always the same item?

Hmm, not all the time, I went back and checked my AN/AG settings for those items, both values are unchecked just like the other items marked for Ignore/Destroy. I am not grouped in this situation (solo mode) so it's only the Personal Loot window tab that shows.

The only other thing I can think of is I'm killing about 3-4 mobs in under 3 secs so there is a lot of items to filter through in the loot window very quickly, but the plugin is way way faster than the rate i'm killing even at 3 secs, so I'm not sure what it could be.

Honestly, its not a big deal, its about 1 in every 2500 mobs by my guess that it flukes out. Just wanted to point it out though.


I do remember a post a couple months back by Hludwolf regarding the in-game advloot, that if you are killing mobs to fast that it can create some sorta issue. But having trouble finding that post atm.
 
Ahhh if your in solo mode i might know the area causing the issue.

The plugin is locked out from doing any loot actions in the advanced loot window till the last loot action is done processing. This prevents an item from being removed from the shared/personal list while you are cycling through the list. But i am guessing that it doesn't prevent a no drop item from being removed from your personal list because that action is done through a confirmation box. If this is the cause it would cause an index mismatch between the plugin and the personal loot list causing a wrong item to be looted.

I can add a delay after the confirmation box is clicked, if that is the problem it should fix it.
 
Is the confirmation box clicking irrelevant of no-drop items being tagged as DESTROY? In this particular situation I'm only farming tradeskill drops, so not looting any no-drop items. I think all the no-drop items I have them marked as DESTROY, so its leaving them on corpse.

As in, does that confirmation box clicking occur even if I've marked the no-drop item as DESTROY/IGNORE, if so that might be the issue, as all no-drop items I've marked as DESTROY/IGNORE in this situation.
 
Hmmm. I have nothing off the top of my head then, i will have to check out the logic to see if there is any area that could be failing in the personal loot window because i don't see this failing for items in the shared loot window.

Thanks for the information, this should be enough to narrow the search down.

- - - Updated - - -

The update for the 4/25 Patch has some nice changes.

1. I removed the /autoloot setitem blah
2. Intead I created a new command /setitem blah, it was super annoying typing that extra letters when changing action for items
3. It will autoinventory the items after you use /setitem
4. /setitem quest 0, will set the loot.ini entry to Quest|0
5. Actually checks to see if you have mq2moveutils loaded when trying to move close to your merchant and throw appropriate warning if you don't and are too far away from the merchant
6. Won't click yes on every confirmation box, will check the text before. This might not be completely robust, but so far I haven't had any stray confirmation boxes clicked.
7. Added the full functionality of /setitem gear, it will populate the classes that can use the item and the number they can wear. Only members of that class will loot that item up to the number they can use.
Example entry: Crude Defiant Amethyst=Gear|Classes|WAR|CLR|PAL|RNG|SHD|DRU|MNK|BRD|ROG|SHM|NEC|WIZ|MAG|ENC|BST|BER|NumberToLoot|1|

If anyone has any problems please let me know.
 
This is awesome and I can't wait to test it out!

We're going to have to put together loot.ini entries for epic items and no-drop gear.
 
This is awesome and I can't wait to test it out!

We're going to have to put together loot.ini entries for epic items and no-drop gear.

Its so nice to have control over ini names, the minutia of it helps so much sorting stuff out like that. And don't forget to donate to plure!

Plure your donation button poofed.


Gear setting is a revolution!

Hmm does it default to distributing to everyone else after the classes marked for the GEAR have looted it already? Only useful for tribute purposes.
 
Release MQ2AutoLoot

Users who are viewing this thread

Back
Top
Cart