CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on Broker Caster Stats?
    If there is going to be a more minimalistic version, it's going to exist next to this one, because I like the blocks seperate too :)

    Once Broker_CasterStats gets found by a Curse search, I will link to it in the Broker_Heal description. I will only keep Broker_CasterStats up to date from now on. No sense in keeping them both, since they do exactly the same (Well SpellHit got added, but you can just disable that in the Display addon you use).
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker Caster Stats?
    Only downsides I can think of:

    * Only one stat in direct sight
    * Slightly less room for information

    I guess it's just another approach, a more minimalistic one.

    Could be nice though, maybe one could just click the stat in the tooltip to set that stat as shown on the block. It wouldn't be what I want, but I'm sure there are folks out there that would actually prefer it.

    Problem is: It would take more programming skill than I have (since I have 0) :)

    To clarify why I made it this way:
    http://picasaweb.google.nl/stefhartog/WoW#5260324656469531506
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker Caster Stats?
    Are you talking about putting all five stats (regen, spellpower, crit, haste, hit) in one LDB-block?
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker Caster Stats?
    I whipped something up today:

    http://wow.curseforge.com/projects/broker_casterstats/

    If anyone wouldn't mind checking out the lua for stupid stuff, I'd be very grateful...

    My thoughts thus far:
    * I might add a tooltip to the SpellCrit Block that shows all school's critchance like Blizz' paper doll...
    * I'm not sure if Spellpower ever varies between schools... I should probably ask a mage or lock...
    * I'm not so sure how many people are actually interested in the five second rule bar-type-thingy I cooked up for my priest... Maybe I should take that out and put it in a different Broker_ManaRegen or something like that...

    Any thoughts?
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker Caster Stats?
    Now that I think of it: There are some little things that might be 'off' for casters (like a Greater Heal Icon for Spellpower and such).

    I could change those things and rename it Broker_Caster if noone else made something already... Just let me know.
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker Caster Stats?
    I made Broker_Heal for myself a while back. It does Everything that is stated here and also Manaregen.

    Since the patch combined +healing and +damage in spellpower this is now just as usefull for all casters...

    It's on Curse.

    Of course, since I'm not a coder at all, I'm sure on of the others in this thread can do a much better job :)
    Posted in: Data Broker AddOns
  • 0

    posted a message on Button Bin - Minimalistic LDB display addon
    Quote from Caliban7263
    I couldn't find it on wowinterface.com - only "Ara Broker Guild Friends" and "Ara Dotimer"...


    Yeah it's gone now, I think (well actually I read a few posts up) the author wants to develop it some more. I guess I was lucky to catch it when I did :)
    Posted in: Data Broker AddOns
  • 0

    posted a message on Button Bin - Minimalistic LDB display addon
    It's on wowinterface.com already. Just search for ara.
    Posted in: Data Broker AddOns
  • 0

    posted a message on LibDataBroker-1.1 not-really-official thread
    I agree some kind of consensus would be great. I for one would be in favour of dropping .text -since that seems to be the part that's open for interpretation- and go for something 'mathematic' and therefore less prone to confusion like this:

    .Name (the name)
    .Type (launcher/datafeed)
    .Variable (The Variable)
    .Value (The value, wich can be text of course)
    .Unit (The unit in which the Value is given)

    An example would then be:

    .Name = Broker_Groceries
    .Type = Datafeed
    .Variable = Ham
    .Value = 200
    .Unit = Grams

    To me that seems kind of fool proof, but I'm sure some will see it differently :)

    Anyways, I don't mind how it's done, but some kind of logical commonly accepted structure would be nice, because at the moment, there doesn't seem to be one.
    Posted in: Data Broker AddOns
  • 0

    posted a message on Fortress + kgPanels + FuBar2Broker + FuDPS
    Quote from willbailey »



    PS I've already used StatBlock DPS and again I don't want to really start running StatsBlock again just for DPS. I'd like a solution/replacement for both FuFaction and FuDPS. If taht makes sense :)

    Thanks


    I'm not sure if I understand you correct here... It seems like you think StatBlock_DPS needs StatblockCore, which isn't the case... Fortress should be able to display StatBlock_DPS just fine. I can't help you on the FuFaction problem though...
    Posted in: Data Broker AddOns
  • 0

    posted a message on Broker_Heal
    I made a little Broker plugin that shows me Healing related stats I like to keep track of.

    It creates 4 blocks without icons...

    Broker_ManaRegen:
    Shows current Mp5 and a little five second rule bar left of that (made from dots). Think of it as regenFU-ultralite...
    Tooltip shows current Mp5 in- and outside fsr...

    Broker_HealingBonus:
    Shows current... indeed...
    No Tooltip

    Broker_HolyCrit:
    Shows current... You've guessed it...
    No Tooltip

    Broker_SpellHaste:
    ...
    No Tooltip

    ---

    I have no coding experience whatsoever, so thanks to all of the authors I shamelessly stole (regenFu, RangedStats and more) from and the ones that helped me in the code-forum. And if you come across any mistakes, I'd love the feedback...

    I've added it to this post as a .zip because I have no svn acces, nor do I plan to get it, but be my guest if you want to put it out there...

    How I use it at the moment: http://www.forfeit.nl/Stef/example.jpg
    (Bottomright corner in combination with some custom text blocks to the left of them, mousing over the ManaRegen-block)

    Maybe there's someone else that can use it :)

    EDIT: Tested with Fortress and added labels, updated .zip...
    EDIT: Added some icons for those who like that (maybe I'l create prettier ones one day), updated .zip...
    Posted in: Data Broker AddOns
  • 0

    posted a message on Code noob needs help
    Quote from Malreth »

    It's a common trait among Cargo Cult Programmers.

    http://en.wikipedia.org/wiki/Cargo_cult_programming



    And copy/pasting noobs! :)

    oh and I moved it like you said Slakah, thanks.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Code noob needs help
    This is it:
    local BHS = CreateFrame("Frame", nil, UIParent)
    BHS.Regen = LibStub("LibDataBroker-1.1"):NewDataObject("Broker_ManaRegen", {text = "0", value = "0"})
    BHS.Heal = LibStub("LibDataBroker-1.1"):NewDataObject("Broker_HealingBonus", {text = "0", value = "0"})
    BHS.Crit = LibStub("LibDataBroker-1.1"):NewDataObject("Broker_HolyCrit", {text = "0", value = "0"})
    BHS.Haste = LibStub("LibDataBroker-1.1"):NewDataObject("Broker_Spell_Haste", {text = "0", value = "0"})
    
    ---
    
    BHS.UpdateInterval = 0.2
    BHS.missing_mana = UnitManaMax"player" - UnitMana"player"
    BHS.time_in_fsr = 0
    
    function BHS:Update()
    --- Regen
      local out_of_fsr, in_fsr = GetManaRegen()
      if self.time_in_fsr > 4 then
        self.Regen.text = format("%s %d", ".....", in_fsr * 5)
      elseif self.time_in_fsr > 3 then
        	self.Regen.text = format("%s %d", "....", in_fsr * 5)
      elseif self.time_in_fsr > 2 then
        self.Regen.text = format("%s %d", "...", in_fsr * 5)
      elseif self.time_in_fsr > 1 then
        self.Regen.text = format("%s %d", "..", in_fsr * 5)
      elseif self.time_in_fsr > 0 then
        self.Regen.text = format("%s %d", ".", in_fsr * 5)
      else
        self.Regen.text = format("%d", out_of_fsr * 5) 
      end
    --- Heal
      local heal = format(GetSpellBonusHealing())
    		self.Heal.text = heal
    --- Crit
    	local crit = format ("%.2f", GetSpellCritChance(2))
    		self.Crit.text = crit
    ---Haste	
    	local haste = format ("%.2f", GetCombatRatingBonus(20))
    		self.Haste.text = haste
    ---
    end
    
    BHS:SetScript("OnEvent", function (self, event, ...)
      local new_missing_mana = UnitManaMax"player" - UnitMana"player"
      if new_missing_mana > self.missing_mana then
        self.time_in_fsr = 5
      end
      self.missing_mana = new_missing_mana
      self:Update()
    end)
    
    BHS:SetScript("OnUpdate", function (self, elapsed)
    	self.TimeSinceLastUpdate = self.TimeSinceLastUpdate or 0
    	self.TimeSinceLastUpdate = self.TimeSinceLastUpdate + elapsed
      local time_in_fsr = self.time_in_fsr or 0
      local new_time_in_fsr = time_in_fsr - elapsed
      self.time_in_fsr = new_time_in_fsr
      if (self.TimeSinceLastUpdate > BHS.UpdateInterval) then
      self:Update()
      self.TimeSinceLastUpdate = 0
     	end
    end)
    
    
    BHS:RegisterEvent("UNIT_MANA")
    BHS:RegisterEvent("UNIT_MAXMANA")
    BHS:RegisterEvent("COMBAT_RATING_UPDATE")
    BHS:RegisterEvent("ITEM_LOCK_CHANGED")
    BHS:RegisterEvent("PLAYER_AURAS_CHANGED")


    One final question:
    I changed the update to a manual 0.2 seconds so my silly 5 points 'fivesecbar' is smoother. Will the faster updateinterval slow things down too much or is it acceptable like this?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Code noob needs help
    Thank you very much Jerry. I had looked into the OnUpdate function, but only understood it when I saw your code. It needed a few very small additions/changes to work, but it does brilliantly :

    local BHS = CreateFrame("Frame", nil, UIParent)
    BHS.Regen = LibStub("LibDataBroker-1.1"):NewDataObject("Broker_ManaRegen", {text = "0", value = "0"})
    
    BHS.missing_mana = UnitManaMax"player" - UnitMana"player"
    
    function BHS:Update()
      local out_of_fsr, in_fsr = GetManaRegen()
      if self.time_in_fsr > 0 then
        self.Regen.text = format("%d", in_fsr * 5)
      else
        self.Regen.text = format("%d", out_of_fsr * 5)
      end
    end
    
    BHS:SetScript("OnEvent", function (self, event, ...)
      local new_missing_mana = UnitManaMax"player" - UnitMana"player"
      if new_missing_mana > self.missing_mana then
        self.time_in_fsr = 5
      end
      self.missing_mana = new_missing_mana
      self:Update()
    end)
    
    BHS:SetScript("OnUpdate", function (self, elapsed)
      local time_in_fsr = self.time_in_fsr or 0
      local new_time_in_fsr = time_in_fsr - elapsed
      self.time_in_fsr = new_time_in_fsr
      if (time_in_fsr < 0) ~= (new_time_in_fsr < 0) then
        self:Update()
      end
    end)
    
    BHS:RegisterEvent("UNIT_MANA")
    BHS:RegisterEvent("UNIT_MAXMANA")
    BHS:RegisterEvent("COMBAT_RATING_UPDATE")
    BHS:RegisterEvent("ITEM_LOCK_CHANGED")
    BHS:RegisterEvent("PLAYER_AURAS_CHANGED")


    Again, thank you very much, now to add some static healingstats-blocks and I'm set :)
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.