Download
(154Kb)
Download
Updated: 10-30-20 05:15 AM
Compatibility:
Shadowlands patch (9.0.2)
Classic Patch (1.13.5)
Updated:10-30-20 05:15 AM
Created:12-24-09 10:10 AM
Downloads:12,895
Favorites:31
MD5:
Categories:Miscellaneous, Classic - General

zz MiscHelper  Popular! (More than 5000 hits)

Version: 90002.42
by: Rilgamon [More]

MiscHelper automaticly answers requesters.

Included modules:

- Autogreed (Greed or disenchant blue and green)
- Autoport (Accept ports)
- NoDuel (Rejects duels)
- Autogroup (Accepts groupinvites)
- BoPconfirm (Confirms BoP requesters)
- Lootconfirm (Confirms BoP requesters)
- Deconfirm (Confirms disenchant requesters)
- Sellgrey (Automaticly sells grey items)
- Autorepair (Automaticly repairs)
- PassDragon (Ignore Reins of the Bronze Drake)
- HideClock (Hides the minimap clock)

r42 | robin | Fri, 30 Oct 20 10:59:35 +0100
Changed paths:
M /trunk/zz_MiscHelper/core.lua

Fix childName/name mixup
------------------------------------------------------------------------
r41 | robin | Fri, 30 Oct 20 10:47:25 +0100
Changed paths:
M /trunk/zz_MiscHelper/core.lua

Make OnClick mandatory for zz
------------------------------------------------------------------------
r24 | robin | Fri, 30 Oct 20 10:46:21 +0100
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Make OnClick mandatory for zz, remove default click function
------------------------------------------------------------------------
r23 | robin | Thu, 15 Oct 20 00:38:45 +0200
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Adjust clickevent
------------------------------------------------------------------------
r22 | robin | Thu, 15 Oct 20 00:15:18 +0200
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Use self for OnClick
------------------------------------------------------------------------
r21 | robin | Wed, 14 Oct 20 23:47:56 +0200
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Add 'OnEnter', 'OnLeave'
------------------------------------------------------------------------
r20 | robin | Wed, 14 Oct 20 20:23:57 +0200
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Add 'iconCoords'
------------------------------------------------------------------------
r19 | robin | Wed, 14 Oct 20 16:43:14 +0200
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Add GetLDB
------------------------------------------------------------------------
r211 | nevcairiel | Tue, 13 Oct 20 12:33:04 +0200
Changed paths:
M /trunk/LibBabble-Inventory-3.0.toc

Update for WoW 9.0
------------------------------------------------------------------------
r40 | robin | Tue, 06 Oct 20 18:02:04 +0200
Changed paths:
M /trunk/zz_MiscHelper/core.lua

Disable autorepair by default
------------------------------------------------------------------------
r18 | robin | Sun, 04 Oct 20 22:38:24 +0200
Changed paths:
M /trunk/zzLibCommon/Common/ldb.lua

Allow parent addon to set 'modsDir' for embedded addons.
------------------------------------------------------------------------
r17 | robin | Sun, 04 Oct 20 22:37:12 +0200
Changed paths:
M /trunk/zzLibCommon/Common/common.lua

Expand HandleFuncList with arguments
------------------------------------------------------------------------
r39 | robin | Sun, 04 Oct 20 17:04:09 +0200
Changed paths:
M /trunk/zz_MiscHelper/Moduls/autogroup.lua
M /trunk/zz_MiscHelper/Moduls/autoport.lua

Fix for moved spells
------------------------------------------------------------------------
r16 | robin | Sat, 03 Oct 20 17:40:34 +0200
Changed paths:
M /trunk/zzLibCommon/Common/frames.lua

Create OnUpdate only once
------------------------------------------------------------------------
r15 | robin | Sat, 03 Oct 20 09:16:57 +0200
Changed paths:
M /trunk/zzLibCommon/Common/frames.lua

Fix visible dragbar after alt-tab to desktop
------------------------------------------------------------------------
r38 | robin | Mon, 28 Sep 20 16:49:41 +0200
Changed paths:
M /trunk/zz_MiscHelper/zz_MiscHelper.toc
------------------------------------------------------------------------
r37 | robin | Mon, 28 Sep 20 15:40:51 +0200
Changed paths:
M /trunk/zz_MiscHelper/zz_MiscHelper.toc

Update Toc 90001
------------------------------------------------------------------------
r14 | robin | Sun, 27 Sep 20 21:34:13 +0200
Changed paths:
M /trunk/zzLibCommon/Common/common.lua

Remove preloads, inits after startup
------------------------------------------------------------------------
r1239 | nevcairiel | Sun, 20 Sep 20 12:22:02 +0200
Changed paths:
M /trunk/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua

AceGUI-3.0: DropDown: Anchor all items to the dropdown frame instead of chaining anchors, fixes anchoring on WoW 9.0 with many items
------------------------------------------------------------------------
r13 | robin | Mon, 07 Sep 20 18:22:05 +0200
Changed paths:
M /trunk/zzLibCommon/Common/config.lua

Add inline
Optional Files (0)


Post A Reply Comment Options
Unread 04-22-12, 04:26 AM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
40300.21 doesn't load.
Report comment to moderator  
Reply With Quote
Unread 12-23-11, 09:06 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Re: Re: Re: Re: grammar

Originally Posted by Justacase
Yeah ill try out the latest one - have alts to run through Dragon Soul and lower ones through new 5-mans, heroic and old content - so will get a good mix of testing - just didnt want to use the newer code on mains in case it didnt do things right.

Yeah i think that is where the "SkipNeed" option is confusing because when i want to need on an items i dont want to skipneed i want to show need. But yeah we covered this area.
hehe, yesterday I "lost" the healer trinket because a fault in my treshold code
So I'll test it a little bit more before I push a new version. I already changed it to 'Show Need Rolls' in the prefs
Long: "Show items you can roll need for. Set minimum quality to hide low level items."
and
"Minimum Quality","Dont show items with a quality lower than minimum quality when 'Show Need Rolls' is active. -1 means automagically your current average Itemlevel - 18"

Guess with me ignoring x-mas I can release a new version on sunday after more testing

This is my current version for the canNeed-bops
lua Code:
  1. if(canNeed and bop and getPref2('skipNeed')) then
  2.         local showNeed = getPref2('skipQuality') >= 0 and getPref2('skipQuality') or GetAverageItemLevel()
  3.         local itemLevel = select(4,GetItemInfo(GetLootRollItemLink(id)))
  4.         print(GetLootRollItemLink(id), itemLevel, showNeed)
  5.         if(showNeed - 18 < itemLevel) then
  6.             return
  7.         end
  8.     end
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-22-11, 10:41 PM  
Justacase
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Re: Re: grammar

Yeah ill try out the latest one - have alts to run through Dragon Soul and lower ones through new 5-mans, heroic and old content - so will get a good mix of testing - just didnt want to use the newer code on mains in case it didnt do things right.

Yeah i think that is where the "SkipNeed" option is confusing because when i want to need on an items i dont want to skipneed i want to show need. But yeah we covered this area.
Last edited by Justacase : 12-22-11 at 10:43 PM.
Report comment to moderator  
Reply With Quote
Unread 12-22-11, 11:53 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Re: Re: grammar

Originally Posted by Justacase
Blizz has changed it so that if you need BoE items they become BoP. It is only if you greed the BoE that it stays BoE

As to it falling through that it might get DEd.. i suppose it could be the options getting me a little confused but in anycase it looks like you can see what i am talking about.
Yes, but at the time the addon decides the item is still boe.
So if you get a world drop it will be a boe and thus jump right to line 8 and if the showBoE quality is set lower you will still see it if skipNeed is active

I'm already running low level dungeons (normal heroics) to test the treshold mechanic and I've added an "auto" modus. If its set to -1 your treshold is your current average itemlevel - 18 ... not sure yet if this is a good value but with 18 equipslots that would roughly equal to one tier lower I hope.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-22-11, 08:12 AM  
Justacase
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: grammar

Blizz has changed it so that if you need BoE items they become BoP. It is only if you greed the BoE that it stays BoE

As to it falling through that it might get DEd.. i suppose it could be the options getting me a little confused but in anycase it looks like you can see what i am talking about.
Last edited by Justacase : 12-22-11 at 08:18 AM.
Report comment to moderator  
Reply With Quote
Unread 12-22-11, 02:56 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
grammar

Replace all trashholds with treshold My english sucks sometimes :P
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Last edited by Rilgamon : 12-22-11 at 02:56 AM.
Report comment to moderator  
Reply With Quote
Unread 12-22-11, 02:49 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Originally Posted by Justacase
or really have a new slider for canNeed items and have

if(canNeed and quality>getPref2('showNeed') and getPref2('skipNeed')) then return end
Yes, thats the part where the mentioned trashhold should kick in.

Originally Posted by Justacase
A BoE becomes a BoP if you did need it. If a BoE falls through to line 8 you will have items that you might have wanted to roll need on that could be DE'ed either that or i have to set the options to show all BoE's of that quality. The quality check is still relevent though.
So far I have not seen one nor cant think of an item that falls in this category. Seasonitems like the green/red winter had are bop, most funitems are bop. For styleneed hunters is the only thing where it could be interesting but for such a special case it would be the trashhold that could be lowered

Originally Posted by Justacase
Though i think the config options are what are still need to be adjusted; like i said they are not completely obvious.
Yes, thats true and I'll go through it during the week

Originally Posted by Justacase
So (for me) let me see the Need/Greed/DE popup on stuff i can need on over a certain quality, auto-roll greed on BoE's over a certain quality (i dont need to see these as I would only either want to greed them not DE); all the rest gets handled by a catch all which will DE if it can else greed.
Yes, thats what the module is aimed at. I hope it does its job atm ... to perfection when the trashhold is added in the next upload
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Last edited by Rilgamon : 12-22-11 at 02:50 AM.
Report comment to moderator  
Reply With Quote
Unread 12-21-11, 08:33 PM  
Justacase
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
I think line 3 should be

if(canNeed and quality>getPref2('showBOE') and getPref2('skipNeed')) then return end

or really have a new slider for canNeed items and have

if(canNeed and quality>getPref2('showNeed') and getPref2('skipNeed')) then return end


A BoE becomes a BoP if you did need it. If a BoE falls through to line 8 you will have items that you might have wanted to roll need on that could be DE'ed either that or i have to set the options to show all BoE's of that quality. The quality check is still relevent though.

Though i think the config options are what are still need to be adjusted; like i said they are not completely obvious.

When you rolls on stuff it is really show me only stuff i am concerned with (for me) let the addon handle the rest.

So (for me) let me see the Need/Greed/DE popup on stuff i can need on over a certain quality, auto-roll greed on BoE's over a certain quality (i dont need to see these as I would only either want to greed them not DE); all the rest gets handled by a catch all which will DE if it can else greed.
.
Last edited by Justacase : 12-21-11 at 10:43 PM.
Report comment to moderator  
Reply With Quote
Unread 12-21-11, 12:51 PM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Yeah, I know documentation is not my strength

ignoreOrbs is included so that orbs can be handled by the greedorbs-module.
As you could roll need on them before 4.3 I added a choice which would fail if the autogreed-module was quicker to greed them. Not sure yet what I'll do of it now that you can roll greed only (need only in a guildgroup).
lua Code:
  1. if(getPref2('ignoreOrbs') and orbList[tonumber(addon['getItemId'](GetLootRollItemLink(id)))]) then return end
  2.     local _, _, _, quality, bop, canNeed, canGreed, canDE = GetLootRollItemInfo(id)
  3.     if(canNeed and bop and getPref2('skipNeed')) then return end
  4.     local arg1,arg2 = canDE and 3 or 2, 2
  5.     if(bop) then
  6.         RollOnLoot(id,getPref2('de'..qualityTab[quality]) and arg1 or arg2)
  7.     else
  8.         if(canNeed and quality>getPref2('showBOE') and getPref2('skipNeed')) then return end
  9.         if(getPref2('greedBOE')) then
  10.             RollOnLoot(id,getPref2('pass'..qualityTab[quality]) and nil or (quality==2 and arg1 or arg2))
  11.         else
  12.             RollOnLoot(id,arg1 == 3 and 3 or (getPref2('pass'..qualityTab[quality]) and nil or arg1))
  13.         end
  14.     end

I'll go through the lines and explain what I try to do

Line 1: Allows other modules to decide what to do with the orb.
Line 3: This will show BoP if you can need them and have enabled skipNeed.
Line 4: arg1 is repsonsible for the disenchanting if possible and arg2 is the greed part.
Line 6: Handles BoP that are not handled by 3 so here we just check if you decided to pass for this quality or disenchant/greed.
Line 8: This will show BoE if you can need them above the selected showBoE-Value.
Line 10: Greed if you not enabled to pass for this quality. And a special case for green items to always disenchant/greed even if you can need it.
Line 12: Handles automated DE,Pass,Greed when you decide to not greedBoE.


I think this should cover all possible cases so far
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-21-11, 10:11 AM  
Justacase
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Ok, going through the options and code to work out what is what.

In the config: i see the new autogreed tab, but on the zz_MiscHelper tab there are the options 'AutoGReed Runed Orb/Choas Orb' and 'Greed or disenchant blue and green'.

The order of the config options in 'autogreed' tab makes it confusing as to exactly what is going to happen and this needs to be clear to know what to select.

So in a rough order/logic that it evaluates

The setting 'ignoreOrbs' makes the addon to show orb roll (no tooltip on this config item)
The setting 'Skip Need' need will show the roll for BoP items that you can need.

If BoP then
it will auto pass according to the 'Pass green/blue/epic BoE' check boxes
(this includes ones i can need on)
else
if i can need on it show roll window if better quality item than on slider and i set 'Skip Need'
if i set 'Greed BoE' then show if i set 'pass green/blue/epic BoE' or green and can DE (not sure about this as lua is not my native language)
else
.. not sure what your trying to do here ..

Anyway .. seems some options are confusing as you describing them as to what the addon is seeing them as not what the player is seeing them as. ie/ 'Skip Need' is 'Show Need'

Also things like if it is a BoP -BUT- i can need it then i may not get to need on it regardless of the 'Show/Skip Need' setting.

Hope you can see what i mean.

Some suggestions - and please take these as you will - done a fair bit of coding/program design in my time - but out of the industry now


I would have put the options in an order that code a structure to the internal logic.

So put the an option like 'Auto Greed Orbs' (in tooltip put somethign like 'Auto Greed Runed and Choas orbs') at the top.

call your need option 'Show Need Rolls' (tooltip something like 'Show rolls i can need on that are of the selected quality or better') and have a scale after that if you want for 'min quality'

call an option 'Show BoE rolls' (tooltip something like 'Show Bind-on-equip rolls that are of the selected quality or better')and have a separate min quality slider.

the logic then falls through to a catch all which would be to in reality Auto DE if possible, Auto Greed, Auto Pass or Show Loot Rolls. Given Auto Pass on Loot is an option that Blizz provides you can loose that option so it is really Auto Greed then another option Auto DE if possible.

(i dont mind coding these up if i get time but atm i am doing house renovations so not lots of time)
Last edited by Justacase : 12-21-11 at 10:24 AM.
Report comment to moderator  
Reply With Quote
Unread 12-20-11, 03:09 PM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
A new version is pending and should work for random groups. A trashhold is not yet added so it will popup for loot you can need even if its way too low to be usefull
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-19-11, 07:22 AM  
Justacase
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally Posted by Rilgamon
damn ... I tried to implement the canNeed part and found that you can need everything in a guildgroup
Yeah this is true. It works ok for me with the code that i am using from below as it pops up a need/greed/DE window for that case.
Report comment to moderator  
Reply With Quote
Unread 12-14-11, 02:43 PM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
damn ... I tried to implement the canNeed part and found that you can need everything in a guildgroup even plate as a priest ... back to the drawingboard
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-13-11, 07:52 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
hehe, good ideas ... but I fear that would be overkill for a simple module of misc helper I'll try to steal some hours to check what can be done and what not this weekend
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-12-11, 12:55 AM  
Justacase
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Yeah you could make the options quite extensive/complicated.

Like you said the item level - but also greed if it vendors over a certain amount (usually weapons) rather than DE it.

As an option though it would be useful to have the DE (if available) as an option rather than as part of the same configuration option.

As far as the item level things goes .. that could be a tricky thing to always get right. You would want to compared it to your current equipped gear i suppose .. what about off specs .. or if you want to collect gear for a future spec. you could turn the option off i suppose. Is it trying to do doing too much?

Just asking .. so you can bounce off ideas.
Last edited by Justacase : 12-12-11 at 01:40 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: