• 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

I know you answered the GEAR, but if I setitem as Quest #, will it distribute the item to others after its looted the allotted number of the item to the masterlooter?
 
Another question on the Quest|#, I noticed it passes the item to the 2nd person in group but not to others. The plugin is enabled on everyone in group, but I assume that everyone in group has to be reading the same ini file, or a file that has the item marked as Quest|#, in order to distribute to all in group?

Would that account for the items only moving to the 2nd person, but not the others? Since I have the characters running of different comps, not all are using the same ini file.
 
The master looter should go down the line, ie he attempts to pass the item to the second person first, third person second etc. I originally had it roll for each item, but that permanently set that item to auto roll, which i didn't want to do. If the master looter is passing out that item, each character's loot ini should be marked if they want it or not. If the loot is new to that loot.ini it will automatically set to something that makes them want to loot it. Does that make sense? sorry if it doesn't i just went to my wife's naming hash and a little bit drunk. I can clarify tomorrow if that doesn't make sense

Is the 3rd- 6th character using an ini that says they want to loot that item? If they are and still aren't selecting "need" I need to look at the logic. My characters aren't showing any weird issues like that but they are all using the same ini.
 
My 3rd-6th character to loot were on a different comp using a different loot.ini file then the master looter. Once I set the ini value correctly to match the master looter's ini values, the loot started distributing. I still have to test distribution on No Drop items like wrists, ears, finger slots.

But general quest drops that are not No Drop, its working now on distributing once the ini values matched as same in both ini files.
 
Just want to make absolutely sure I'm setting this up right.

1. Turn off looting in KA
2. Set ML for group
2. Load MQ2Autoloot on all toons

Party on... ??
 
Yup, only issue could be if your loot ini has some other name then loot.ini or is located in a folder other then your macros folder.
 
Just a plain ole loot.ini that has been growing for some years...

I had a ton of stuff marked sell so I dropped by that little Drakan girl vendor, that sassy one with the butch hair cut. Darn, hit her so hard and fast, she was crying when I left.
 
Not a bug per se, but I can see people running into an annoyance with this. When the corpse opens up to everyone, and it defaults to old style corpse looting. If you bend down to pick up a No-Drop item of the corpse, the plugin gets into the cycle spamming the NO button on the confirmation box to loot the No-Drop item, each time you try to right click the item on the corpse to loot it. Only fix I could think of was to unloaded the plugin to solve the issue and reload it back after looting the item.
 
If you try to loot a no drop item not using the advanced looting it will spam click no? Does it spit out any spam at you when it clicks the no button? I will look into it.
 
I can't reproduce this problem. When I click a no drop item to loot off an actual corpse it auto clicks the confirmation box and tells me "Accepting a no drop item". Can you unload the plugin and put your mouse over the button it keeps spamming and type /echo ${EverQuest.LastMouseOver.Name} and give me name that pops up in the MQ2 window? I can't image that your windows are named differently then mine, but that is the only thing I can think off.
 
I have to retest this again. The item was already tagged as Quest|1 in the ini file. So when someone other then the master looter tried to loot it by right clicking the confirmation box pops up, and it auto clicks NO, and every time you try to right click pick up the item, it keeps clicking NO for you on the confirmation box to loot the No Drop item.


Will mess with it some more later this week, when I have time to play.
 
If your looting it manually off a corpse it won't matter what your loot.ini entry is. It only checks your loot.ini when the item is in your advance loot window personal/shared list. The accepting no drop bit of code just checks if a confirmation box is up and it has the words "no drop" in it. If it does it clicks the yes button, if it doesn't then it moves on doing nothing.
 
Two updates from a bit more testing-

#1 - Extremely minor issue -
Items marked as Ignore/Destroy still seem to get looted every 1 in 2500ish mobs, still testing this in case I'm still missing tagging any no drops as ignore/destroy in the zone to avoid the confirmation box (not sure the cause)

#2 -Confirmation box looping while attempting to right clicking via old style looting once corpse opens up to everyone -
User error - apparently if the item is set to Quest|1 and the item that is being looted using old style looting is a LORE & NO DROP, then this issue occurs if you have the item already looted (apparently I didn't know I had looted it on my alt). So the plugin kept trying to avoid looting it by clicking NO on the confirmation box.
 
I have fixed 2, now if you are trying to loot a no drop item with the old loot window it will find out if you have the item and it is lore and if that is true it won't auto loot the no drop item. It will leave the confirmation window up. This will be in the next update.

I want to migrate these settings from MQ2AutoLoot.ini to your loot.ini
ExcludeBag1
ExcludeBag2
SpamLootInfo
SaveBagSlots
CursorDelay
DistributeLootDelay

Can anyone think why each character would need different settings for these variables?

I would leave in the MQ2AutoLoot.ini the path for loot file and whether they have turned on MQ2AutoLoot for each character.
 
Potential problem.

I had an old "Gift of Legacies Lost" with the three boxes that give defiant. I was cleaning out the inventory and clicked them to give the defiant pieces to my armor bots.
The item appeared on my cursor but I couldn't drop it into the bag. After 10 or 15 seconds I get "[MQ2AutoLoot]::Putting Elegant Defiant Silk Gloves into inventory". Did that with all three pieces. I had the Parcel Delivery window open at the time.

Did a quick test on another toon, same scenario only no Parcel Delivery. First was normal, second was normal then when I opened the Parcel Delivery window.. big delay before I could put the third item in the bag, same message.

Just sayin.
 
The default time delay is 10 seconds before it puts items into your inventory. You can change how long it will wait before putting items in your inventory with /AutoLoot cursordelay #n, where #n is in seconds.
 
The default time delay is 10 seconds before it puts items into your inventory. You can change how long it will wait before putting items in your inventory with /AutoLoot cursordelay #n, where #n is in seconds.

Not so much worried about the delay but the fact that I was in the guild lobby, moving things in my inventory and autoloot was controlling my actions. ie it would not let me drop my own items into my own bag while I had the Parcel Delivery window open.
Is this normal?
 
If something is on your cursor the plugin is designed to stop accepting loot, that is why it is setup to keep your cursor clear.

If you want i can add a flag so it wont ever autoinventory items on your cursor, or i could make it not do that if you have a trade/banker/parcel/whatever window open.
 
I have set up my next release to not auto inventory items when you are trading with people/npc have your personal/guild banker window up, the new tradeskill window, and when you have a merchant window open (Parcels are done in a merchant window). Is there any other instances where it wouldn't make sense to try and clear your cursor after a small period of time?
 
Last edited:
This update has some major changes regards to where variables are stored. I am sorry for the hassle for people having to reset some variables, but I couldn't figure out why people would need these too vary from one toon to the other and I wanted to keep it as consistent with ninjadvloot.

The location of each character's loot.ini and if it is turned on are stored in MQ2AutoLoot.ini. All the other variables are now stored in your loot.ini file under settings.

I added some new variables, the first is you can now change what you will set new drop items too:
/AutoLoot nodropdefault [quest|keep|ignore] -> Will set new no drop items to this value

Also if you set Quest as default value you can change the number you want to keep with:
/AutoLoot questkeep #n -> If nodropdefault is set to quest your new no drop items will be set to Quest|#n

If you are trading with people/npc have your personal/guild banker window up, the new tradeskill window, and when you have a merchant window open it will no longer try to auto inventory items in your cursor.

I added a new loot designation, "Deposit", it functions the same as "Keep" but when you target your guild banker and type /autoloot deposit it will put all items marked "Deposit" into your guild bank.
If you target your personal banker and type /autoloot deposit it will put all items marked "Keep" into your personal bank.
 
Thank you for this great plugin. I have one little wish tough: Would it be possible to get an option to hand out quest loot to the other group members first ? Would make keeping track from the driver in a box group easier.
 
With ninja I used to have group members announce to group "I still need X of quest item" was helpful. Could be a toggle command maybe?
 
The latest update has a couple nifty features.
/setitem status -> Will tell you what that item is set to in your loot.ini

If you haven't set a masterlooter and the advanced loot window pops up the leader of your group will set themselves as masterlooter.

If an item is marked destroy, the master looter will attempt to loot and then find the item in your inventory/pack and destroy that item. If he can't loot the item he will leave it on the corpse. It will let people keep a clean/semi-clean camp

Oh and i forgot also fixed an error with looting items marked "Deposit"

If anyone has any problems please let me know.
 
MQ2Autoloot is now included in the RG distribution. Yay for not having to download the plugin from this thread.

I added another loot designation, barter. You can set items with:
/SetItem Barter #n -> Will loot, and barter if any buyers offer more then #n plat.

The master looter will try to loot these items just like items marked for sell/deposit/keep but when you type:
/autoloot barter

They will open the barter window and try and sell items as long as the price is above the minimum price you have set in plat.

If anyone has any issues let me know.
 
I haven't had much time to trouble shoot. But after updating yesterday my toons are looting everything and ignoring the .ini file.
 
A couple weeks ago, I changed it so toons will loot items marked destroy and then go find them in your inventory and destroy them. I am assuming they are getting destroyed? If you want to just ignore them go into your ini and do a find and replace by changing them to ignore.

It was designed for people that wanted to keep their camps clean.
 
I like the idea of keeping the camp clean, so would like to keep the setting at destroy. But, I haven't noticed the toons going back through and destroying, they are just filling up my bags. Possibly I have some advloot setting wrong or something along those lines that is causing toons to inventory items too fast.
 
Have you set your masterlooter to automaticaly loot everything in your personal list? If so click that off, the plugin needs to confirm that the items in your personal list are set to destroy.
 
MQ2AutoLoot - Version 1.10

Purpose
This plugin is designed to handle loot from within the advanced looting window. It uses a loot.ini file located in your macro folder to define what your characters should do with each item. It can be setup to handle looting if your soloing, in a group, or a raid. If you use the advanced loot list for an item, that action is takes precedence over of this plugin. IE if you have set an item to Always Need/Always Greed/Never/Autoroll that action will be done as opposed to what you have set in your loot.ini. This means that this plugin will only work on items you have not previously specified an action for on the advanced loot list.

The master looter will keep looting items until their number of free bag slots reaches SaveBagSlots. You can set up to 2 different bag to not count when checking for free bag space with ExcludeBag1/ExcludeBag2. If the master looter can't loot or doesn't want (ie items set to quest/gear) the item he will try to pass it out to others in the group. The rest of the group will either set the item to need or no.

When passing out loot the ML waits DistributeLootDelay (default is 5 seconds) for group members to set need/no before passing out items. If two items comes up it waits the value set by DistributeLootDelay for the first item, then passes it out. After that they go to the next item to be passed out and again wait the value set by DistributeLootDelay before passing out that item. If you have any problems with this taking too long you can shorten DistributeLootDelay.


Usage
1. Turn on advanced looting.
- Type: /advloot​
- Click the Loot Settings Button on the Advanced Loot Window​
- Select Use Advanced Looting​
2. Load the plugin.
- Type: /plugin MQ2AutoLoot​
3A. If your in a group set someone to be the master looter. If you don't the leader of the group will assign himself to be the master looter.
3B. If your in a raid set someone to be the master looter. If you don't the leader of the raid will act as the master looter.

Settings - MQ2AutoLoot.ini
1. lootini= XXX absolute path to your Loot.ini file
- /AutoLoot lootini FILENAME -> Will set your loot ini as FILENAME.ini in your macro folder​
2. UseAutoLoot=[0/1] turns [off/on] MQ2AutoLoot. Default is on.
- /AutoLoot turn [on|off] -> Toggle autoloot​

General Settings - Loot.ini
1. RaidLoot= [0/1] turns MQ2AutoLoot [off/on] when your in a raid. Default is off.
- /AutoLoot raidloot [on|off] -> Toggle raid looting on and off​
2. SpamLootInfo= [0/1] turns [off/on] loot action messages to the MQ chat window. Default is on.
- /AutoLoot spamloot [on|off] -> Toggle loot action messages​
3. LogLoot=[0/1] turns [off/on] logging loot action messages for the master looter. Default is off.
- /AutoLoot logloot [on|off] -> Toggle logging of loot actions for the master looter​
4. CursorDelay=#n time delay in seconds before MQ2AutoLoot auto inventory items on your cursor. Default is 10 seconds.
- /AutoLoot cursordelay #n -> You will wait #n seconds before trying to auto inventory items on your cursor​
5. DistributeLootDelay= #n time delay in seconds before the master looter will attempt to distribute items to others in the group/raid. Default is 5 seconds.
- /AutoLoot distributedelay #n -> Master looter waits #n seconds to try and distribute the loot​
6. NoDropDefault= XXX default loot action for new no drop items. Default is quest.
- /AutoLoot nodropdefault [quest|keep|ignore] -> Will set new no drop items to this value​
7. QuestKeep= #n if nodropdefault is set to quest the quantity to keep will be #n. Default is 10.
- /AutoLoot questkeep #n -> If nodropdefault is set to quest your new no drop items will be set to Quest|#n​
8. SaveBagSlots= #n will stop looting when #n is the number of open bag slots, not including excludedbag1/excludedbag2. Default is 0.
- /AutoLoot saveslots #n -> Stops looting when #n slots are left​
9. ExcludeBag1= XXX will exclude bags named XXX when counting open bag slots. Default is Extraplanar Trade Satchel.
- /AutoLoot excludedbag1 XXX -> Will exclude bags named XXX when checking for how many slots you are free​
10. ExcludeBag2= XXX will exclude bags named XXX when counting open bag slots. Default is Extraplanar Trade Satchel.
- /AutoLoot excludedbag2 XXX -> Will exclude bags named XXX when checking for how many slots you are free​
11. BarMinSellPrice= #n the minimum price in plat you will barter all particular items, note you can set the individual item price minimum higher. Default is 1 plat.
- /AutoLoot barterminimum #n -> The minimum price for all items to be bartered is #n​
12. GuildItemPermission=[view only|public if usable|public]default permission for items placed in your guild bank. Default is "View Only".
- /AutoLoot guilditempermission "[view only|public if usable|public]" -> Change your default permission for items put into your guild bank​

Item Settings - Loot.ini
1. Keep
- Everyone will try to loot.​
- To set an item to keep. Put it on cursor and type : /SetItem Keep​
2. Sell
- Everyone will try to loot. During looting, this is treated the same as setting the item to "Keep".​
- To set an item to sell. Put it on cursor and type : /SetItem Sell​
3. Deposit
- Everyone will try to loot. During looting, this is treated the same as setting the item to "Keep".​
- To set an item to deposit. Put it on cursor and type : /SetItem Deposit​
4. Barter
- Example entry: Barter|#n​
- Everyone will try to loot. During looting, this is treated the same as setting the item to "Keep".​
- To set an item to barter. Put it on cursor and type : /SetItem Barter #n -> #n is the minimum price to sell that item when you use the barter functionality.​
5. Quest
- An example entry: Quest|#n​
- Everyone will try to loot up to #n of that item.​
- To set an item to quest. Put it on cursor and type : /SetItem Quest #n -> when someone gets #n of that item they will stop trying to loot them.​
6. Gear
- An example entry: Gear|Classes|WAR|PAL|SHD|BRD|NumberToLoot|#n|​
- Only classes listed will attempt to loot till they have #n.​
- To set an item to gear. Put it on cursor and type : /SetItem Gear, it will auto populate the entry and number to loot.​
7. Ignore
- Everyone will ignore these items.​
- To set an item to ignore. Put it on cursor and type : /SetItem Ignore​
8. Destroy
- The master looter will try and loot these items, once looted they will pick them out of your inventory and destroy them.​
- To set an item to destroy. Put it on cursor and type : /SetItem Destroy​
9. To check what an item is set to in your Loot.ini
- Put it on cursor and type : /SetItem Status​

Item Actions [Sell/Buy/Deposit/Barter]
1. Sell
- Target a Merchant.​
- Type: /AutoLoot Sell​
- The plugin will then sell every item marked "Sell" to that merchant.​
2. Buy
- Target a Merchant.​
- Type: /AutoLoot Buy "Item Name" #n​
- The plugin will then buy #n of that item from the merchant.​
3. Deposit - Personal Banker
- Target a personal Banker.​
- Type: /AutoLoot Deposit​
- The plugin will then deposit every item marked "Keep" into your personal banker.​
4. Deposit - Guild Banker
- Target a Guild Banker.​
- Type: /AutoLoot Deposit​
- The plugin will then deposit every item marked "Deposit " into your guild banker.​
- It will set the permission to either "view only|public if usable|public" depending on what you set "GuildItemPermission" in your Loot.ini.​
5. Barter
- Type: /AutoLoot Barter​
- It will attempt to barter everything marked "Barter|#n" in your Loot.ini as long as they meet your minimum price of #n plat.​

MQ2AutoLoot's TLO
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.BuyActive-> Will return true when your buying itemat a merchant.
AutoLoot.DepositActive -> Will return true when your depositing your items to a personal/guild banker.
AutoLoot.BarterActive -> Will return true when your bartering your items.
AutoLoot.FreeInventory-> Will return the number of empty slots not in excludebag1 or excludebag2
 
Last edited:
I think that the delay distribution setting does not work for previously unlisted loot. My tank ended up with an item He could not use because it was instantly assigned to him[emoji22]


Sent from my iPhone using Tapatalk
 
Noticed the looter was almost full so popped the veteran vendor and did /autoloot sell.
1. Would only sell what was in the open bag, would not go into unopened bags to sell.
2. After opening all bags and running /autoloot sell again. Was almost done with first bag when I get "Sell timer expired" (or something like that) and stopped selling. Restarted and made it almost through the second bag when it did it again. Ended up having to restart 5 times before all the items were sold. Did it again today. Same scenario, same outcome.

Am I doing something wrong?
 
The current version of the code assumes you have just targeted the merchant and not open the merchant window. I will make it more robust for the next version so that it will work if you already have opened the merchant window.
 
I've updated the plugin so /autoloot sell works even if you've already opened the merchant window. It will be in the next update, if you want the current dll just drop me a PM and i'll send it to you now.
 
I've updated the plugin so /autoloot sell works even if you've already opened the merchant window. It will be in the next update, if you want the current dll just drop me a PM and i'll send it to you now.

Seems the biggest problem is operator error.

I have to say, one amazing plugin!
Thanks
 
Release MQ2AutoLoot

Users who are viewing this thread

Back
Top
Cart