A thank you to Niclas147 for opening the project for Looter on Curse with permission, and for his answering of comments here while he did. He has since gone inactive however and I as the author of the addon am going to continue updating it here as I do on WoWI. The current release version shall be uploaded to here within 4 hours or so
-
I have been looking for a mod to auto loot profession windows. For example I want to auto loot whenever I skin something or mine something etc... So after looking for some time with out much luck I stumbled across FastDisenchant by masahikotao. This seemed to do the trick, but it only dealt with disenchanting and prospecting. I decided that wasn't good enough and put my limited coding knowledge to work with my friend to make it work with other professions. Thus looter was born. Though I admit while messing around with the code we came up with several other features we think would be great to add if we can figure out how.
/*
1.0.17q Released.
See the Changelog for details.
As always, keep a watch on the Portal for more information
/*
Note: Short of thinking of something else, this will one of the last updates to the Looter mod itself, to keep it a nice small and lightweight but does what you want looting mod. Next in line is titan/fubar support (which might be another mod, such as how bankitems does, depending on size of the change) and WoTLK compatibility.
Further "extra" features that will enhance Looter such as been discussed before, such as possibly Loot/Rolling based on wish list in Atlas Loot, or Auctioneer values, and so on, will most likely be turned into another mod such as "LooterExtras" which will require Looter but be an optional addon for those that want the extra features and don't mind the extra memory/performance hit they might cause (again see readme for details).
- Added looting of Quest items (updated as of 1.0.4, see readme)
- Quest item loot list updated on login automatically
- Added /looter add, and /looter remove for adding or removing the mouseovered item to the custom loot list.
- Added looting by item value, read readme for details
- See change log for more details.
- Minimap button is now hideable and showable via slash command or menu option
- Looter will now automatically reset and update the saved settings if the version (or lack of version for even older versions) is older then the current version. This will fix most problems related to having older settings that don't have the new toggles added in later versions.
- Fixed 3 outstanding bugs (listed at the portal below, see there or the changelog for details)
- Should now be fully WoTLK compatible.
Made an author portal at This link where people can more easily post any bug reports or feature requests and easily track them.
Current version:
Working slash command system, using /looter.
Using the above, you can toggle any of the current looting options on or off.
- Added /looter list custom, to list whats in the custom loot list (see gui)
- Added /looter toggle status, to see whats toggled on or off
- Added /looter version, to see what the current version is
- Added /looter reset, to reset the toggles back to default and clear the custom loot list
- Added /looter clear, to clear the custom loot list (and hence not /looter reset, which resets the toggles, or needing to remove each item yourself)
Working Menu/GUI, for now use /looter open menu to access.
Can use the new menu to visually see whats enabled or disabled, as well as change them from the menu, also can use the menu to add items you wish to loot automatically to the custom loot list and click the display button to see whats in there so far.
Working saved options, all toggle options and the custom loot list will now be saved between sessions for each individual character.
Working Minimap button, place it where you want it, and you can left click it to open the menu or right click it to update your quest item loot list (see readme)
Next in line:
TBD
- Loots Prospecting window
- Loots Milling window
- Loots Disenchanting window
- Loots Mining window
- Loots Skinning Window (think its a fairly complete list let me know if you see something that wasnt looted.)
- Loots Herbalism window
- Loots Tailoring window
- Loots Fish, from the Fishing window
- Loots Health and/or Mana Potions
- Loots Battleground items (see readme for more details)
- Loots Quest items (see readme for update details)
- Loots Items if a certain value (if enabled, see readme for details)
Coming soon:
- Localizations
- And more for a full list (or at least current full list) read the included readme.
Should work fine with mods that change the loot frame such as xloot.
1.0.17q:
Quickfix for quest item looting, made a change to Looter's method of GetItemInfo, thought I'd updated all the calls but apparently I missed the itemType call for quest items, my apologies for missing that and thank you for the reports.
1.0.17:
3.2 Compatibility and TOC Update. Added 3.1/3.2 Profession loot (such as Titanium Powder to prospecting which can now be turned in for Jewelcrafters tokens). Removed the don't loot if in-combat check, as the LootSlot API was thankfully changed back to non-protected (as in, won't throw an error if it's called while still in combat). Also now the Loot by value will work without needing any SellValue mod thanks to the items sell value now being obtainable straight from the API. Some code optimization, and finally getting Looter to use the merge method of updating it's settings like my other mods, so no longer need to rechoose your settings after an update (though it might be a good idea to do a /looter reset for this version just to make sure everythings setup). EMLib Update.
1.0.16:
Rewrote the Quest item looting code, should no longer have any problems looting a quest item, even if it is one that is not listed on the quest objectives (such as collecting two parts of an amulet which combine into the final amulet which is the only thing asked for in the quest objectives), and the code is smaller to boot.
1.0.15:
3.1 Compatibility, Added loot everything for pickpocketing, in-combat check for looting since apparently they changed LootSlot to a protected api (can't be used in combat), and TOC update.
1.0.14:
Integrated LDB support, can now be put onto Titan Panel, Fubar, or other LDB compatible mods (DockingStation).
1.0.13q:
Quick change to when the Mount after Looting is called for those using that option, should be a bit better.
1.0.13:
Black Vitriol was added to the Misc Profession looting section, a mount after gathering option (see the 'remount' feature request on the portal for more information), possible fix for the once mentioned can't autoloot with modifier down issue.
1.0.12:
Updated Health/Mana and Prospecting with WoTLK items, somehow I missed them on the WoTLK release version so my apologies. Also finally updated Looter to use EMLib.
1.0.11:
Added the Milling and Miscellaneous Profession loot toggles, so for all those inscriptionists out there, you can now automatically loot those pigments from your milling. Also the new toggle for Miscellaneous Profession loot will loot those miscellaneous items used for profession such as Hearts of the Wild, Spider Silks, Venom Sacs, Motes, and so on that don't fit in the main loot categories.
1.0.10:
Changed how the reset & update works when Looter detects the users saved variables are from a version older then the current version, specifically, since how the custom loot list works isn't changed very much, the clearing of it after each new version was removed (if a future version does require it, the manual /looter reset still does a full reset, and I'll make sure to let people know to do it). Also implemented a slash command method of adding items to the custom loot list, for example, mouse over an Iron Ore, and do /looter add, and it'll add iron ore to the custom loot list (coincedentally, mouse over the same iron ore, and do /looter remove, and it will remove it from the list). I'll continue working on a way to do this without needing a slash command, but its there for those that will find it helpful.
1.0.9:
Improved GetSellValue support (thanks Cirk for the help), Looter should now work just fine with any GetSellValue mod. Also implemented is 'Loot by Stack Value', you have an item that is worth 20 copper, stacks in lots of 20, thats 4 silver for one bag slot, if your loot value is 3 silver and you have loot by stack value on, it'd loot those items since the stack can be valued over your loot value. Whether you wish to use stack value looting is up to you.
1.0.8:
Release for 3.0.2, might need a quick fix version later depending, it shouldn't need one as everything should be all set, but as I still can't log into my server to test personally I cannot say. Added most known WoTLK Leather, Mining, Herb, Enchanting and Fishing items to Looter, This will currently only be useful to beta testers, but once WoTLK releases in around a month it'll be all set to go for everyone else.
1.0.7:
WoTLK compatible, see readme for details, but essentially it is just a small change to make the mod compatible, it is still fully compatible with the normal live servers, and there isn't really any reason to upgrade to 1.0.7 over 1.0.6 besides to be fully up-to-date and be compatible when WoTLK is actually released (bar major API changes).
1.0.6:
Added the ability for Looter to tell if the version of the User's saved settings is different then the new version and automatically do a reset and update of their settings (you will have to redo the toggles/custom loot list).
Also fixed the three bugs listed on the portal (to summarize, the bug if not using a "GetSellValue" mod, ala informant, itempricetooltips, etc.. The bug where the loot by value wasn't looting based on users value after a reconnect or reload ui, and Looter not looting heavy stones if mining is on.)
1.0.5:
The minimap button can now be shown or hidden at will with the menu or the /looter toggle minimap slash command. Items can also now be looted based on their value, using the menu to set what you want to loot at or above, with slash toggle and menu option to turn item value looting on or off.
1.0.4:
Added code so that the quest item loot list will automatically update on logging into your character, so you don't have to manually update the list or talk to a quest giver first in order to go out looting quest items if you have quest item looting enabled. Slightly changed the text of Prospecting (so people know gem looting is part of that) and the on/off checkbox to be more understandable (checked being on). Found a uncommon but not so uncommon bug where some quest items would not be added correctly on accepting a quest due to cache, and fixed that. Also added a /looter clear slash command to clear the custom loot list without doing a /looter reset (and hence clearing the toggles as well) or having to 'type and hit remove' for each one.
1.0.3:
Well, after a good bit of time (more then I really should be awake) figured out the way to handle the problem of grabbing quest items after getting a new quest (as removing the items not needed was never a problem), so all should be well now there. Next is to find a way for the mod to 'self-update' for people using older versions that upgrade so that it updates the old saved variable to the new with the new toggles. In the meantime, just do a /looter reset after any version that adds a new toggle you'll be fine.
P.S. For anyone that has all autolooting just stop, the above might be the reason, so just do a /looter reset and it should be fine. (Particularly from people updating from versions prior to 1.0.1 with the Looter on/off toggle)
1.0.2q:
Sorry for another quick fix guys, but I'm sleep deprived and forgot to remove another small debug message pertaining to the new quest item updating method.
1.0.2:
Changed the event that triggers the quest item updating, it should now automatically grab the quest items needing to be looted, and take them off the list when they aren't needed anymore, so in essence manually updating the quest item loot list shouldn't be needed anymore, but its still there if needed.
1.0.1q:
Fixed a small bug with the quest item looting conflicting with the user selected list.
1.0.1:
Added a Looter on/off toggle with slash and menu option, so you can turn off looter whenever you want to just loot things yourself, without having to turn all the checkboxes off. Also added checks for when looting everything with shift-key or blizzard's 'autoloot all' toggle.
1.0.0q:
(figured to use q for quickfix rather then jump the version again since it really is just a small fix) Quickfix in the new quest item setting function to remove a small doubling.
1.0.0:
Added Quest item looting with slash and menu option. Also added /looter reset slash command for reseting the toggle options back to default (on) and clear the custom loot list. Also fixed the version command/version number which wasn't updated in the last version. Also implemented a functional minimap button, with right click to auto-update quest loot items based on active quests (see readme for notes on that and the quest item looting).
0.9.6b:
Added Battleground item looting with appropriate slash toggle and menu option, for the moment its only the different items you can loot and turnin for faction quests in alterac valley, if anyone knows of other battleground items let me know (and that doesn't include the corpse insiginia, as it isn't a physical item/end up your inventory).
0.9.5b:
Implemented saved options. All toggle options and the custom loot list will now be saved between sessions. Next on list is hopefully a working scroll box, minimap button, and then item value loot options.
0.9b:
Implemented a functional gui, read the readme for comments on that, but essentially it allows the easy toggling of the different looting options on or off, as well as adding or removing items to a custom loot list. Also added two new slash commands (/looter list custom and /looter toggle status) which will allow people to see whats in the custom loot list, or what loot options are on or off respectively. Next on the list is getting a scroll box in the menu so that people can easily see whats in the loot list without having it sent to chat, and then probably item value looting options. P.S. its 0.9b instead of 1.0 even though everything on the complete by end of Beta is done, because I don't feel that the menu is *really* done till its got the scroll box, and options are saved over sessions (which is almost done, but I'm too dead tired to finish it tonight).
0.2.1b:
oops, my mistake, quick fix to remove a little debug (not to worry haven't found any) line in regards to money.
0.2b:
Finished a working slash command system using /looter, which lets people toggle the different looting on or off. Also added Health and/or Mana potion looting.
0.1b:
First beta release,
Rewrote the code, now also handles Tailoring and Fishing. Currently when looting corpses for Tailoring, or Fishing for fish, it will loot the cloths or fish, but leave the window open with the rest, next on the list is get the GUI working, so that people can choose what exactly they wish to loot.
0.02a:
Second alpha release,
Leatherworking and Herbalism are working.
0.01a:
First release version (alpha)
Mining, Prospecting and Enchanting are working.