FuBar_HonorFuPlus

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

FuBar_HonorFuPlus

This is a mod of the original HonorFu by ckknight. It will update honor points dynamically as they are gained or spent. The options allow for Arena points to be displayed in this manner as well. The tooltip has been updated to show Battleground Marks of Honor and arena points. Bugfixes will accurately show BG wins and losses as well as kills and deaths per session.

You must login to post a comment. Don't have an account? Register to get one!

  • 7 comments
  • Avatar of sinfulx sinfulx Nov 01, 2010 at 20:51 UTC - 0 likes

    Date: 2010-11-01 15:26:50
    ID: -1
    Error occured in: Global
    Count: 33
    Message: ..\AddOns\FuBar_HonorFuPlus\HonorFuPlus.lua line 430:
       attempt to perform arithmetic on global 'WORLDSTATESCOREFRAME_PADDING' (a nil value)
    Debug:
       (tail call): ?
       [C]: ?
       FuBar_HonorFuPlus\HonorFuPlus.lua:430
          FuBar_HonorFuPlus\HonorFuPlus.lua:421
       (tail call): ?
       [string "*:OnEvent"]:3:
          [string "*:OnEvent"]:1
       [C]: SetBattlefieldScoreFaction()
       ..\FrameXML\WorldStateFrame.lua:987 WorldStateScoreFrameTab_OnClick()
       [string "*:OnShow"]:3:
          [string "*:OnShow"]:1
       [C]: Show()
       ..\FrameXML\UIParent.lua:1467 SetUIPanel()
       ..\FrameXML\UIParent.lua:1272 ShowUIPanel()
       ..\FrameXML\UIParent.lua:1198
          ..\FrameXML\UIParent.lua:1194
       [C]: SetAttribute()
       ..\FrameXML\UIParent.lua:1873 ShowUIPanel()
       ..\FrameXML\WorldStateFrame.lua:996 ToggleWorldStateScoreFrame()
       [string "*:OnClick"]:9:
          [string "*:OnClick"]:1

    Last edited Nov 01, 2010 by sinfulx
  • Avatar of Krevlorn Krevlorn Jun 09, 2010 at 21:50 UTC - 0 likes

    You have my blessing to continue to update and maintain this project rythos. I haven't even had time to look at it forever.

  • Avatar of rythos42 rythos42 Feb 06, 2010 at 07:20 UTC - 0 likes

    This addon didn't look like it was being updated, so I made some modifications to it myself. Minor things like adding Isle, fixing Strand and the holiday calculations, which you've included in this update.

    But one thing I did that I thought was really useful was changing from using GloryLib to count win/losses, to using the statistics/achievement API to do it.

    Here's the gist of the changes:

    local BattlegroundWinStatisticIds = {
    	["Warsong Gulch"] = 105,
    	["Arathi Basin"] = 51,
    	["Alterac Valley"] = 49,
    	["Eye of the Storm"] = 50,
    	["Strand of the Ancients"] = 1550,
    	["Isle of Conquest"] = 4097,
    	["All"] = 840
    }
    
    function HonorFuPlus:GetBattlegroundWins(battlegroundName)
    	local wins = GetStatistic(BattlegroundWinStatisticIds[battlegroundName])
    	if wins == nil or wins == '--' then
    		return 0
    	end
    	return tonumber(wins)
    end
    
    local BattlegroundPlayedStatisticIds = {
    	["Warsong Gulch"] = 52,
    	["Arathi Basin"] = 55,
    	["Alterac Valley"] = 53,
    	["Eye of the Storm"] = 54,
    	["Strand of the Ancients"] = 1549,
    	["Isle of Conquest"] = 4096,
    	["All"] = 839
    }
    
    function HonorFuPlus:GetBattlegroundLosses(battlegroundName)
    	local winStatisticId = BattlegroundWinStatisticIds[battlegroundName]
    	local playedStatisticId = BattlegroundPlayedStatisticIds[battlegroundName]
    	
    	local games = GetStatistic(playedStatisticId)
    	local wins = GetStatistic(winStatisticId)
    		if games == nil or wins == nil or games == '--' or wins == '--' then 
    		return 0
    	end
    	return tonumber(games) - tonumber(wins)	
    end
    

    If you want to discuss this more, give me a shout: rythos42 at gmail.com or a PM here I'll bet will reach me :). If you want to use this, feel free to without talking with me first - it's a gift so this neat little mod continues to be useful to people :)

  • Avatar of Grilor Grilor May 22, 2009 at 15:36 UTC - 0 likes

    any chance we can get SOTA added tot his any time soon please?

  • Avatar of dtc11 dtc11 Oct 27, 2008 at 17:13 UTC - 0 likes

    I know its a totally different program but is there anyway you can incorporate battleground fu, into this addon.

  • Avatar of Talyrius Talyrius Oct 16, 2008 at 18:18 UTC - 0 likes

    Any chance of a 3.0.2 update soon? Broker support?

  • Avatar of Talyrius Talyrius Oct 16, 2008 at 18:18 UTC - 0 likes

    Any chance of a 3.0.2 update soon? Broker support?

  • 7 comments

Facts

Date created
Jul 25, 2008
Category
Last update
Dec 09, 2009
Development stage
Abandoned
Language
  • deDE
  • enUS
  • frFR
  • ruRU
License
All Rights Reserved
Downloads
34,161
Recent files
  • R: r51 for 3.3.0 Dec 09, 2009
  • A: r49 for 3.2.0 Nov 21, 2009
  • A: r48 for 3.2.0 Nov 20, 2009
  • A: r47 for 3.2.0 Nov 20, 2009
  • A: r46 for 3.2.0 Nov 20, 2009

Authors