Broker Everything

Broker Everything

588k Downloads

[BUG]: XP module error

kazso opened this issue ยท 0 comments

commented

WoW client

WoW Classic WotLk

What happened?

XP module shows 0 value for characters above level 60, and throws LUA errors. It should show the actual XP values until level 80.

This is due to a bug in the WoW client. The variable MAX_PLAYER_LEVEL is set to 60 (was 60 during TBC Classic as well), and the XP module compares this value with the actual character level, and errors out above level 60.

Lua Error Message?

27x Broker_Everything\modules/xp.lua:87: attempt to concatenate local 'percentExhaustionStr' (a nil value)
[string "@Broker_Everything\modules/xp.lua"]:87: in function <Broker_Everything\modules/xp.lua:69>
[string "@Broker_Everything\modules/xp.lua"]:388: in function <Broker_Everything\modules/xp.lua:358>

Locals:
text = "XP"
level = 70
needToLevelup = 0
percentCurrentXP = 0
percentExhaustion = -1
percentCurrentXPStr = nil
percentExhaustionStr = nil
(*temporary) = nil
(*temporary) = " ("
(*temporary) = nil
(*temporary) = ")"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'percentExhaustionStr' (a nil value)"
L = <table> {
 Display client info in tooltip = "Display client info in tooltip"
 Action = "Action"
 Bags = "Bags"
 Repair options = "Repair options"
 More names = "More names"
 Notes = "Notes"
 Show quest tags = "Show quest tags"
 Display count of friends if 'Split friends on Broker' enabled otherwise add friends to summary count. = "Display count of friends if 'Split friends on Broker' enabled otherwise add friends to summary count."
 Show BattleTag/RealID = "Show BattleTag/RealID"
 Show champions = "Show champions"
 Reward beyond exalted = "Reward beyond exalted"
 RealmNamesDesc = "Show realm names behind charater names in tooltip"
 Starts = "Starts"
 SizeSuffix-10E3 = "K"
 'Save set' should ignore main hand weapon = "'Save set' should ignore main hand weapon"
 OptAchievBrokerPointsSess = "Session points"
 Show events = "Show events"
 Sorry = "Sorry"
 Display set name on items = "Display set name on items"
 Failed quests = "Failed quests"
 Coordinates indeterminable = "Coordinates indeterminable"
 Left in mailbox = "Left in mailbox"
 Currently no battle.net friends online... = "Currently no battle.net friends online..."
 Display empty equipment slots = "Display empty equipment slots"
 Space between currencies = "Space between currencies"
 Switch between time format 24 hours and 12 hours with AM/PM = "Switch between time format 24 hours and 12 hours with AM/PM"
 Short transport menu = "Short transport menu"
 Display count of BattleNet friends on Broker if 'Split friends on Broker' enabled otherwise add BattleNet friends to summary count. = "Display count of BattleNet friends on Broker if 'Split friends on Broker' enabled otherwise add BattleNet friends to summary count."
 Revered = "Revered"
 Show shorter title = "Show shorter title"
 Hide calendar button = "Hide calendar button"
 Learnable = "Learnable"
 Broker format = "Broker format"
 RegionLabel4 = "Taiwan"
 Show PvP weeklys = "Show PvP weeklys"
 World bosses = "World bosses"
 Reset last repairs = "Reset last repairs"
 buildings = "buildings"
 Display status like AFK in tooltip = "Display status like AFK in tooltip"
 Adjust the count of numbers behind the dot. = "Adjust the count of numbers behind the dot."
 OptArtRelicILvlDesc = "Display relic item level"
 Artifact frame = "Artifact frame"
 FollowersHeaderInfoDesc = "Display additional header lines like '%s'"
 Show country flag = "Show country flag"
 Open achievement = "Open achievement"
 ModDesc-Calendar = "Broker to show calendar events and invitations"
 Coloring limited currencies by total and/or weekly cap. = "Coloring limited currencies by total and/or weekly cap."
 Display total/weekly caps in different colors = "Display total/weekly caps in different colors"
 Addon list = "Addon list"
 Show expire date instead of duration = "Show expire date instead of duration"
 AutoRepair = "AutoRepair"
 Coordination format = "Coordination format"
 Herb Gathering = "Herbalism"
 Build date = "Build date"
 OptArchOrder = "Order by continent"
 Show available blueprints in tooltip = "Show available blueprints in tooltip"
 Show PvP honor = "Show PvP honor"
 Repair info = "Repair info"
 Show all in one = "Show all in one"
 Show PvP honor in tooltip = "Show PvP honor in tooltip"
 Earn/loss of watched faction = "Earn/loss of watched faction"
 CmdResetInfo = "Reset all settings"
 Addon panel = "Addon panel"
 Mobile app user = "Mobile app user"
 ModDesc-GuildLog = "Broker to show last entries of the guild log"
 InvasionsNumNext = "Number of future appointments"
 AllFactions = "All factions"
 Split friends on Broker = "Split friends on Broker"
 Faction icon in own column = "Faction icon in own column"
 DigitGroupDesc = "Displays large numbers with digit group symbols to make it easil

Other addons?

No response