• 0

    posted a message on Pitbull rangecheck module
    The pitbull rangecheck module has a couple of pretty severe limitations and issues that are, I think, solvable with events from the WoWUI, but I'm afraid I don't know enough about LUA or coding in general to fix a problem this large.

    Basically, for a healer class (I play a paladin) the code
    distanceCheckFunction = function(unit) return IsSpellInRange(BS["Holy Light"], unit) == 1 or not UnitIsFriend("player", unit) end

    checks unit range against the spell Holy Light and ignores enemy units. The problem with this is that Is SpellInRange isn't a good check for friendly NPC units that you cannot heal (such as friendly mobs in Hyjal, or the many mobs running around Shattrath), and the rangecheck module shows them a permanently out of range. A simple solution to this is to add a check into the line for UnitIsPlayer. The limitation of that is that the few NPCs you CAN heal will not have the frame alpha changed. Additionally, the default pitbull rangecheck is unable to do anything with unfriendly mobs for healers with offensive spells.

    I think I have a potential solution, as the IsSpellInRange can return nil according to wowwiki. If so, all you would need to do is add a check for that return and take another action (make the distance check based on CheckInteractDistance). Additionally two more range check functions should be added, for hostile mobs (as healers need to check range on both in most cases).

    What I need to do in the code is basically run a check that does something like this (obviously the code isn't right, and some of the range check functions will be level and race dependent):

    class == "PALADIN" then
    if IsSpellInRange = nil then range check based on CheckInteractDistance(unit,2) -- nonhealable friendly npc range check at 7 yards (about the range for basic interaction with bankers and vendors)
    elseif UnitIsFriend(player,unit) then -- friendly unit range check
    	if UnitLevel(player)>=8 then distanceCheckFunction based on IsSpellInRange(Holy Light) and distanceCheckFunctionLow based on IsSpellInRange(Cleanse)
    	else distanceCheckFunction based on IsSpellInRange(Holy Light)
    else -- enemy unit range check
    	if UnitPowerType(unit)=0 (mana) and UnitRace(player)=Blood Elf then distanceCheckFunction based on IsSpellInRange(Mana Tap) and distanceCheckFunctionLow based on IsSpellInRange(Jugement)
    	else distanceCheckFunction based on IsSpellInRange(Jugement)
    end


    Problem is I'm just not clear on where to even begin to implement something like this in the rangecheck.lua pitbull module.
    Posted in: Lua Code Discussion
  • 0

    posted a message on SCT 6.0 / SCTD 3.0
    Quote from Nicke »

    I just flew by a warlock (I'm a warlock as well) who was fighting a mob. My SCTD was showing his damage, while I was just flying above him.


    I saw a serpent sting dot go by on SCT as I was flying over a hunter in Nagrand. I'm a paladin. It was disconcerting.
    Posted in: General AddOns
  • 0

    posted a message on SpellReminder - Official Thread
    And three more requests, hopefully my last because the mod is otherwise perfect

    1) Can you add the hide option for the fubar plugin?
    2) When a buff expires can you report who it expired on? ( for example, "Blessing of Might has expired on Someguy" )
    3) Can you truncate the time of the buffs in the bar ( > 1 left, I just see XXm, and < 1 min would be XXs ).
    Posted in: General AddOns
  • 0

    posted a message on SpellReminder - Official Thread
    Would it be possible to independently configure the height / width of the bars, and to disable the emphasis bar?
    Posted in: General AddOns
  • 0

    posted a message on BigWigs
    Is there any way to disable picking up DBM timers and bars? I run bigwigs specifically because I didn't need to see all the timers that DBM uses.
    Posted in: Raid AddOns
  • 0

    posted a message on Post useful/interesting DogTag-1.0 sequences here
    Quote from geffron »

    Any ideas how to do it ?


    Here's a example of how I did just what you're asking about

    [Status][~Status?IsMaxHP?IsFriend?SureHP?CurHP:Short!PercentHP:Percent][~Status?~IsMaxHP?IsFriend?SureHP?SmartMissingHP:Color(ff7f7f)!PercentHP:Percent][~Status?IsEnemy?SureHP?CurHP:Short][~Status?IsEnemy?~IsMaxHP?SureHP?PercentHP:Percent:Prepend( || )][~Status?IsEnemy?~SureHP?PercentHP:Percent]


    At 100%, It shows % when the HP value isn't known, otherwise the value if 100%. If friendly it shows the defecit and if not it shows "CurHP | %"
    Posted in: Unit Frames
  • 0

    posted a message on simpleMinimap, now with Ace2 goodness
    Quote from Speeddymon »

    The original author I dont think is maintaining the addon anymore, but I can add it. There is another fix I am looking into now anyways, so give me a bit, and it will be up.


    While you're in there add

    MinimapNorthTag:Hide()


    To get rid of the default blizzard generated N, since there is an option to enable the compass anyway.
    Posted in: Map/Minimap AddOns
  • 0

    posted a message on SpellReminder - Official Thread
    Yeah, sharedmedia support would be nice, as would (maybe) the addition of a reminder sound (which you can also pull from sharedmedia). Also a way to configure the bar width, height and text displayed (I don't need to see the spell name, the icon says enough and I'd just need the target's name in the bar).

    Looks great so far though
    Posted in: General AddOns
  • 0

    posted a message on PallyPower - Official Thread
    Pet buffing is all kinds of not working correctly atm.

    Right now when I buff pets it buffs warriors, and vice versa. Rather confusing until I realized what was happening.
    Posted in: General AddOns
  • 0

    posted a message on VisualThemes
    Quote from Hack »

    Not exactly helping here but I also had the same thing, 4 times yesterday.

    Got to light bloke at Thrallmar and selected the destination at Ruaan Weald in BEM. Bang. Game crash. Log back in to discover I am flying, but flight stops at Falcon Watch (Hellfire). Clicked to fly to Ruaan again and bang, another instant WoW kill.Log back in and I am flying and it stops at Swamprat Post in err.. mushroom land.. Anyway, by this point I got a bit narked and disabled the 'Flight timer' in quartz and then clicked to go to Ruuans Weald. No crash that time. Not sure if that's the problem or VisualThemes now..


    I'm using inflight. Possibly some sort of incompatibility that causes a crash?

    In the meantime I've commented out line 31 in BlizzardFrames.lua (that references taxiframe) and no longer have an issue.
    Posted in: General AddOns
  • 0

    posted a message on VisualThemes
    Quote from Kameril »

    If you can reproduce it I'd be interested, but at this point it likely didn't have anything to do with the mod.


    My client just crashed as the window for the TB flight master was closing... not sure if VT is what caused it but it's the only thing that has changed for me recently.
    Posted in: General AddOns
  • 0

    posted a message on PallyPower - Official Thread
    Quote from Morgalm »

    Could just cast them the old fashioned way the odd time you need to buff something else:P


    Yes well obviously I will do that from now on. However using PP is habit and blessing salvation on the MT is, while entertaining, not always the best thing to do mid-bossfight.
    Posted in: General AddOns
  • 0

    posted a message on PallyPower - Official Thread
    Quote from Aznamir »

    DO NOT assign buffs in combat.


    That's not always an idea option. If it is a limitation of the add-on, then just lock the configuation down so we can't, as Doxxx said.
    Posted in: General AddOns
  • 0

    posted a message on SCT 6.0 / SCTD 3.0
    Quote from S0und »

    [6] = {name="", search="Vampiric Embrace heals you", r=0/256, g=0/256, b=0/256},
    [8] = {name="", search="Judgement of Light heals you", r=0/256, g=0/256, b=0/256},
    [9] = {name="", search="Invigorate heals you", r=0/256, g=0/256, b=0/256},
    [10] = {name="", search="Seal of Light heals you", r=0/256, g=0/256, b=0/256},

    iam using these, all working well


    Thanks, those worked for me. Can't seem to filter out Vampiric Touch at all though.
    Posted in: General AddOns
  • 0

    posted a message on PallyPower - Official Thread
    I'm having an issue where sometimes - SOMETIMES when I set a buff during combat, but then leave combat, pallypower remembers the old buff I had assigned and not the new one, causing the wrong buff to be cast.

    Anyone else seeing this or am I just hallucinating?
    Posted in: General AddOns
  • To post a comment, please or register a new account.