Experiencer

Experiencer

83.3k Downloads

9.0 fix needed

BalurPoco opened this issue ยท 2 comments

commented

Please update the addon for the latest patch.

Message: Interface\AddOns\Experiencer\modules\experience.lua:404: attempt to index global 'MAX_PLAYER_LEVEL_TABLE' (a nil value)
Time: Wed Oct 14 12:47:39 2020
Count: 1
Stack: Interface\AddOns\Experiencer\modules\experience.lua:404: attempt to index global 'MAX_PLAYER_LEVEL_TABLE' (a nil value)
[string "@Interface\AddOns\Experiencer\modules\experience.lua"]:404: in function `IsPlayerMaxLevel'
[string "@Interface\AddOns\Experiencer\modules\experience.lua"]:96: in function `Initialize'
[string "@Interface\AddOns\Experiencer\core.lua"]:159: in function `InitializeModules'
[string "@Interface\AddOns\Experiencer\core.lua"]:102: in function <Interface\AddOns\Experiencer\core.lua:68>
[string "=[C]"]: ?
[string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:498: in function `InitializeAddon'
[string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:623: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>

Locals: <none>
Message: Interface\AddOns\Experiencer\modules\experience.lua:509: attempt to call global 'GetNumQuestLogEntries' (a nil value)
Time: Wed Oct 14 12:48:32 2020
Count: 1
Stack: Interface\AddOns\Experiencer\modules\experience.lua:509: attempt to call global 'GetNumQuestLogEntries' (a nil value)
[string "@Interface\AddOns\Experiencer\modules\experience.lua"]:509: in function `CalculateQuestLogXP'
[string "@Interface\AddOns\Experiencer\modules\experience.lua"]:251: in function `GetBarData'
[string "@Interface\AddOns\Experiencer\core.lua"]:613: in function `Refresh'
[string "@Interface\AddOns\Experiencer\core.lua"]:448: in function `SetActiveModule'
[string "@Interface\AddOns\Experiencer\core.lua"]:857: in function `SetModule'
[string "@Interface\AddOns\Experiencer\core.lua"]:1260: in function `func'
[string "@Interface\SharedXML\UIDropDownMenu.lua"]:905: in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals: self = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:367
 IsDisabled = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:101
 Enable = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:294
 NewModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:235
 baseName = "Experiencer"
 EnableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 GetModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:210
 IterateEmbeds = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:442
 initialized = true
 RefreshText = <function> defined @Interface\AddOns\Experiencer\core.lua:179
 defaultModuleLibraries = <table> {
 }
 playerCanLevel = true
 ResetSession = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:379
 PLAYER_LEVEL_UP = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:634
 CHAT_MSG_SYSTEM = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:568
 UnregisterAllEvents = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 RestoreSession = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:362
 PLAYER_XP_UPDATE = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:607
 UPDATE_EXHAUSTION = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:630
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:409
 QUEST_LOG_UPDATE = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:559
 UPDATE_EXPANSION_LEVEL = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:552
 CalculateQuestLogXP = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:507
 name = "Experiencer_experience"
 Initialize = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:88
 IsEnabled = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:451
 orderedModules = <table> {
 }
 session = <table> {
 }
 DisableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:350
 CalculateXPMultiplier = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:471
 CalculateHourlyXP = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:407
 GetBarData = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:241
 GetChatMessage = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:220
 RegisterMessage = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 UnregisterMessage = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 Update = <function> defined @Interface\AddOns\Experiencer\modules\experience.lua:109
 HasRecruitingBonus = <fun
commented

I have added a pull request with an updated modules\experience.lua. That fixed experience calculation for me.

I still have to look into Artifact/Honor/Conquest, but at least it's not throwing LUA errors at the moment.

commented

Thanks for the contribution. I haven't played in a while and am not very interested in Shadowlands so addon probably wouldn't have received update otherwise for some time.