PassLoot
What this mod does
This mod will allow you to automatically roll greed, need, pass, or if the setting is disabled, let you manually roll on loot based on customized loot rules.
By adding customized rules, you can do things like roll greed on all Bind on Equip items, except in Karazhan. You could also let it ignore all Bind on Pickup items, to let you manually roll on them.
Features
Automatic loot settings for each category:
- Need - This will roll need on the loot in this rule.
- DE - If an enchanter is present this will roll disenchant
- Greed - This will roll greed on the loot in this rule.
- Pass - This will automatically pass on the loot in this rule.
- If no loot method is selected, you will have to manually roll on the items.
- You may select multiple methods.
Loot rules can filter loot based on the following:
- Bind on status
- Can I Roll filter - Checks if you can roll differently
- Class / Spec - Checks if you are on a certain class / spec (does not check if the item is good for your spec)
- Equip slot
- Equipable - Only checks if you can actually equip the item. (does not check if the item is good for your spec)
- Group/Raid - Checks when in a group or raid - Use ZoneType for normal/heroic types.
- Guild Group - When the group has a percentage of guild mates.
- Inventory - Can check if you already own an item.
- Item Level (or formula based on current equipped level)
- Item Name (partial or exact)
- Item Price - Vendor value.
- Item Type and SubType
- Learned Item (recipes/mounts)
- Loot Won Counter/Comparison - How often you have won an item with the rule
- Player Name
- Quality
- Required Level (or formula based on current level)
- Uniqueness
- Usable Items - Checks for red text in tooltip - Good for recipes/mounts/pets.
- Zone
- Zone Type - Outside/Group/Raid - Raid Finder / Normal / Heroic
- Confirm BoP filter to accept BoP item popups
- Confirm DE filter to accept DE item popups (use care with this one)
Stat Matching
- Grab the PassLoot_ItemScales addon - Currently has support for Pawn.
- If you would like support for other addons let me know which ones.
Logic
- Rules are checked for a match in the order they appear.
- You may have more than one of the same type of filter.
- Each filter type must have at least one match.
- Items may not match any exception.
- If ( matched rule ) then ( roll ) else ( skip rule )
- Rolling is attempted in the following order: Need > DE > Greed > Pass. (Depending on what is selected)
Logic Example 1
- Quality -> Rare
- Quality -> Epic
- Binds on -> None
- Binds on -> Equip
- Binds on -> Use
This will match IF (Rare OR Epic) AND (None OR Equip OR Use)
Logic Example 2
- Item Type -> Armor
- Item Type -> Weapon
- Item Type -> Plate Armor (exception)
- Item Type -> 2H Maces (exception)
This will match IF (Armor OR Weapons) AND NOT (Plate OR 2H Mace)
Logic Example 3
- Quality -> Rare
- Quality -> Epic
- Binds on -> Pickup
- Usable -> Unsuable
- Zone Name -> Halls of Reflection (exception)
- Zone Name -> Pit of Saron (exception)
This will match IF (Rare OR Epic) AND (BoP) AND (Unusable) AND NOT (HoR OR PoS)
Roll Logic Examples
- -Need +DE +Greed -Pass = DE > Greed
- +Need -DE +Greed -Pass = Need > Greed
- +Need -DE -Greed +Pass = Need > Pass
- -Need +DE -Greed -Pass = DE > Manual roll
Basic Usage
- To open the configuration menu, type /passloot
- Use Add button to create a new rule (Rules are processed in the order they are listed)
- To remove a rule, select the rule and click the remove button
- To move a rule up and down in the list, select the rule and click the up/down buttons
- Once a rule has been selected, you can edit the description or change it's filters.
- To add a filter to the selected rule, select the filter you wish to add and click add.
- To remove a filter, select the filter in the Active Filters window and click remove. (You can also shift-right click the filter)
- To edit an active filter, select the filter in the Active Filters window and change it's properties. (You may have multiple filters of the same type to match)
- To test an item to see how PassLoot would roll, type /passloot test <shift-click an item>
Example 1 If you want to roll greed on all BoE items, except when on a raid in Karazhan, you can do the following:
-
Rule 1: (Greed)
- Zone -> Karazhan (Exception)
- Binds on -> Equip
(You can add more Bind On filters to the rule if you wish to add Bind on None or Bind on Use.)
Example 2 The only way to have it roll Need if condition X is met, and Greed if condition Y is met is to have 2 separate rules.
You wish to manually roll on all epic items, roll greed on all rare non-bop items items, and roll Disenchant on anything else (and greed if no disenchant option is available)
-
Rule 1: (nothing checked)
- Quality -> Epic
-
Rule 2: (Greed)
- Binds on -> Pickup (exception)
- Quality -> Rare
-
Rule3: (Greed + Disenchant)
- (no filters added)
Notes
-
Default settings
- Mod: On (If this setting is off, it won't do automatic pass/greed/need on anything)
- Quiet: disabled (If this setting is enabled, you won't see what it rolls on)
- All loot categories are disabled by default to let you manually roll on them.
- When rolling greed or need on BoP items, WoW will still ask you if you are sure you want to roll since it will bind on pickup. If you want to auto click yes on the BoP confirmations, add a Confirm BoP filter to the rule.
- The Loot Won Counters are only incremented when you win loot. It will remember what rule was matched and will increment that counter accordingly.
Translation
- Translation is done through the localization system on WoWAce.
They made it so you can only have 1 confirm loot popup at a time.
PassLoot tries to roll on epic #1
WoW pops up a confirm dialog
PassLoot tries to roll on epic #2
WoW checks for previous confirm dialog, and closes it (and thus making you reroll on epic #1)
WoW pops up a confirm dialog for epic #2
Could potentially remove the exclusivity bit by doing something like:
/script StaticPopupDialogs.CONFIRM_LOOT_ROLL.exclusive = nil
/script StaticPopupDialogs.CONFIRM_LOOT_ROLL.multiple = 1
I am not sure how this might affect anything else. I am going to add an option to passloot options to allow multiple.
Date: 2009-12-29 17:49:45
ID: 1
Error occured in: Global
Count: 1
Message: AceLocale-3.0: PassLoot_Modules: Missing entry for 'level'
Debug:
...AddOns\BankStack\lib\AceLocale-3.0\AceLocale-3.0.lua:31:
...AddOns\BankStack\lib\AceLocale-3.0\AceLocale-3.0.lua:29
PassLoot\Modules\RequiredLevel.lua:260: in main chunk
AddOns:
Swatter, v5.8.4591 (CreepyKangaroo)
AllPlayed, v30300-1 $Revision: 176 $
AltClickToAddItem, v1.22
AucAdvanced, v5.8.4591 (CreepyKangaroo)
AucFilterBasic, v5.8.4591 (CreepyKangaroo)
AucFilterOutlier, v5.8.4591.2531
AucMatchUndercut, v5.8.4591.2531
AucSearcherPawn, v1.1.7
AucStatClassic, v5.8.4591 (CreepyKangaroo)
AucStatHistogram, v5.8.4591 (CreepyKangaroo)
AucStatiLevel, v5.8.4591 (CreepyKangaroo)
AucStatPurchased, v5.8.4591 (CreepyKangaroo)
AucStatSales, v5.8.4591.2842
AucStatSimple, v5.8.4591 (CreepyKangaroo)
AucStatStdDev, v5.8.4591 (CreepyKangaroo)
AucStatWOWEcon, v5.8.4591.2530
AucUtilAHWindowControl, v5.8.4591.3311
AucUtilAppraiser, v5.8.4591.2530
AucUtilAskPrice, v5.8.4591.3175
AucUtilAutoMagic, v5.8.4591.3142
AucUtilBigPicture, v3.1.0.1
AucUtilCompactUI, v5.8.4591.2530
AucUtilEasyBuyout, v5.8.4591.3583
AucUtilFixAH, v5.8.4591 (CreepyKangaroo)
AucUtilGlypher, v5.8.4591.2545
AucUtilItemSuggest, v5.8.4591.3108
AucUtilPriceLevel, v5.8.4591.2545
AucUtilScanButton, v5.8.4591.2530
AucUtilScanFinish, v5.8.4591.2530
AucUtilScanProgress, v5.8.4591.2530
AucUtilSearchUI, v5.8.4591.3655
AucUtilSimpleAuction, v5.8.4591.4546
AucUtilVendMarkup, v5.8.4591.2530
AuldLangSyne, v2.0
AuldLangSyneBackup, v2.0
AuldLangSyneFriendList, v2.0
AuldLangSyneFu, v2.0
AuldLangSyneGuildList, v2.0
AuldLangSyneInfo, v2.0
AuldLangSyneNote, v2.0
AuldLangSynePanel, v2.0
AuldLangSyneSync, v2.0
AutoBar, vv3.2.0.795
Automaton, v1.3.9
Babylonian, v5.1.DEV.130
BadBoy, v4.0.3.2
BankStack, vv15
Barrel, v0.3
Bartender4, v4.4.2
BaudBag, v1.4.9
BeanCounter, v5.8.4591 (CreepyKangaroo)
BetterInbox, v
BetterOutbox, v
Capping, v3.3.002
Configator, v5.1.DEV.130
DebugLib, v5.1.DEV.130
DoTimer, v4.3.6
ElkBuffBars, v2.2.5-150
Enchantrix, v5.8.4591 (CreepyKangaroo)
EnchantrixBarker, v5.8.4591 (CreepyKangaroo)
EquipCompare, v2.17
ExplorerCoords, v1.0
Factionizer, v30300.1
Fortress, v1.13.1
FuBar, v
FuBarDurabilityFu, v2.13
FuBarExperienceFu, v1.1 $Revision: 65606 $
FuBarGarbageFu, v2.0.$Revision: 79607 $
FuBarMoneyFu, vv1.2.3
FuBarTopScoreFu, vv1.0.7
GatherMate, vv1.22
GearScore, v3.0.14 - Release
GnomishYellowPages, vr51
GreedyQuester, v3.3
IceHUD, v1.5.16 (Revision: 451)
KillsToLevel, v1.7
LearningAid, v1.08
LevelSnap, v1.31
LibDBIcon10, v
LibItemBonus20, v2.0.1
LibPeriodicTable31, vv3.3.0.243
LibRock10, v
Lootvalue, v
MikScrollingBattleText, v5.4.74
Misspelled, v1.3.46
Mounty, v3.3.0.1.0
Omen, v3.0.9
Overachiever, v0.52
PassLoot, v4.0
Pawn, v1.2.5
SlideBar, v5.8.4591 (CreepyKangaroo)
Stubby, v5.8.4591 (CreepyKangaroo)
BlizRuntimeLib_enUS v3.3.0.30300 <us>
(ck=ab5)
I want this mod to roll DE/Greed all greens and blues no matter the situation and to auto-confirm BOP on the blues.
However, concerning epics, I only want the rules for those to apply in a 5 man-grp.
I want to roll Need on my wishlist
I want to roll DE/greed otherwise
I want to confirm BOP and confirm DE
So, considering all that...
First rule, I add quality, uncommon, rare, and confirm BOP right?
I cant really combine the wishlist thing with the DE/Greed so I have to make a separate 2nd rule for that right?
Third rule is where I get a little confused. Can I add all those conditions to one rule? and if so, what order do I input them? I noticed whatever I put in first gets bumped down the list so do I add grp/raid, grp... quality, epic, confirm DE, confirm BOP and then check DE/Greed?
Hope someone can give me a little help...I am kinda scared to use this in a grp without a little guidance.
The rules are matched in the order they are listed (Rule 1 first, if it doesn't match, it tries rule 2. If it doesn't match rule 2 it tries rule 3).. The filters in the rules do not matter on the order (Actually, they are just sorted to what they look like on the available filter list). Each filter TYPE must have at least one match. IE - (Rare OR Uncommon) AND (BoE)
There are multiple solutions to your problem. Here is one solution I think would work: (if there is such a thing as bop greens and you don't want to confirm bop on them, just create a separate rule)
Rule 1: My pass list (pass)
Item Name -> Reigns of the Bronze Drake
Rule 2: the green/blue rule (greed/de)
Quality -> Uncommon
Quality -> Rare
Confirm BoP
(If you want - add Confirm DE also)
Rule 3: Wishlist (Need)
AtlasLoot Wishlist -> <select the appropriate wishlist>
Quality -> Epic
Group / Raid -> Group
Rule 4: Other Epics (Greed / DE)
Quality -> Epic
Group / Raid -> Group
Confirm BoP
Confirm DE
Frost orbs are rare, so they should match rule #2, and roll greed (can't roll de on them)
If you are NOT in a group, neither rule 3 or 4 will match
Perhaps for questions such as these, you should make a separate page ppl can reference for 4-5 examples and a few quick comments on why they each one works the way it does... basically what you wrote to me. If there'd been a bit more to reference I may have been able to figure it out myself, but I wasn't sure about following the comment suggestions. It may save you some time. Just a small suggestion. Thanks for the great mod =)
Essentially I both tank and heal as a pally and have two different wishlists, one for each spec.
Lots of people would go nuts if I autorolled on a piece of tanking gear while healing
If there's already a way to generate this rule in the addon, I'm sorry I missed it and would appreciate knowing how to create it. Preferably without having to create separate profiles for each of my toons.
Thanks for your time and for creating this excellent addon.
I whould really löike "usable" flag too!
Great work!
Anyway.. I can't seem to find any useful code to determine if an item is 'usable'.
If anyone knows of a function or library or addon that knows how to figure out if an item is usable let me know.
If you type in 201 and click the 'less than', it should set it as Less than <previous number>.
However, I havn't been able to reproduce any crashes yet and no one has ever reported them before. If you can't even open the drop down menu at all.. something is fishy. I use similar code to blizzard's normal drop down menus.
Could also try the wow repair program.