Reputation.lua file is not being loaded - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-22-21, 01:44 AM   #1
A Pyroguard Emberseer
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,203
Reputation.lua file is not being loaded

I was updating ElvUI_PCDB and I've run into a strange issue. Core.lua is throwing a nil error for a function in Reputation.lua, which means the function isn't being called, so I added an error debug near the top. The error didn't fire.

Which means the file itself isn't loading. I've created it again, in case of corruption, and that wasn't the issue. I have checked the ToC and the file is listed. I honestly cannot figure out why the game isn't loading the file.

Of course, to really test, someone needs ElvUI, and they people on their Discord have greatly helped, but this is beyond them. It's a game issue.

Why is this Lua file not loading? I have tried both with C_Timer.After and without, like the commented out other lines in Core.lua. EX:
C_Timer.After(0.5, EPDBC.HookRepBar)
C_Timer.After(0.5, EPDBC.HookHonorBar)
[email protected]@
[email protected]@
Honor.lua and its function both work. I honestly do not understand why this file isn't loading.
Lua Code:
  1. 3x ElvUI_PDBC\Core.lua:110: Usage: C_Timer.After(seconds, func)
  2. [string "=[C]"]: in function `After'
  3. [string "@ElvUI_PDBC\Core.lua"]:110: in function `StartUp'
  4. [string "@ElvUI_PDBC\Core.lua"]:39: in function <ElvUI_PDBC\Core.lua:36>
  5. [string "=[C]"]: ?
  6. [string "@ElvUI\Core\Core.lua"]:1753: in function `CallLoadFunc'
  7. [string "@ElvUI\Core\Core.lua"]:1768: in function `CallLoadedModule'
  8. [string "@ElvUI\Core\Core.lua"]:1794: in function `InitializeModules'
  9. [string "@ElvUI\Core\Core.lua"]:1898: in function <ElvUI\Core\Core.lua:1866>
  10. [string "=[C]"]: in function `Initialize'
  11. [string "@ElvUI\init.lua"]:163: in function <ElvUI\init.lua:162>
  12. [string "=[C]"]: ?
  13. [string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
  14. [string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:527: in function `EnableAddon'
  15. [string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:630: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
Attached Files
File Type: zip ElvUI_PDBC.zip (147.2 KB, 95 views)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Reputation.lua file is not being loaded

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off