Reputation Guide

Reputation Guide

194k Downloads

LUA Error when gain "Army of the Light" Reputation through a World Quest

fubaWoW opened this issue ยท 4 comments

commented

Get an LUA Error then gain Reputation with "Army of the Light""

10x ReputationGuide/ReputationGuide.lua:3656: bad argument #6 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@ReputationGuide/ReputationGuide.lua"]:3656: in function `DumpReputationChangesToChat'
[string "@ReputationGuide/ReputationGuide.lua"]:404: in function `REP_OnEvent'
[string "*RetailReputationGuide.xml:11_OnEvent"]:1: in function <[string "*RetailReputationGuide.xml:11_OnEvent"]:1>
[string "=[C]"]: in function `resume'
[string "@ArkInventory/Core/ArkInventory.lua"]:13238: in function `ThreadResume'
[string "*ArkInventory.xml:2549_OnUpdate"]:4: in function <[string "*ArkInventory.xml:2549_OnUpdate"]:1>

Locals:
(*temporary) = "Reputation with %s decreased by %d. (Total: %s%d, Left to %s: %d)"
(*temporary) = "Army of the Light"
(*temporary) = 9650
(*temporary) = ""
(*temporary) = -9650
(*temporary) = nil
(*temporary) = 9973
(*temporary) = "string expected, got nil"
commented

@fubaWoW Was this before or during The War Within pre-patch event? And do you remember what world quest it was, or was it just any that gave the error?

commented

phu... hard to say right now
it was random that i ran into a worldquest from legion and the error popped, so i reported it :D

i can test it later if i do not forget ^^

commented

There is a chance it was caused due to issues with the War Within prepatch event not registering correctly that the API was changed already so certain functions were no longer available, and this should be fixed in the 1.2.2-release on curse.

I tested quickly with a random quest I saw on the map in the area:

Wow_9HbAJUQYgv

But if you remember what quest it was or encounter it again please let me know and I will see if I can fix the issue!

commented

I am going to assume it's fixed since the 1.2.2 update. If people still encounter this, please make a new issue and let me know which quest you got it on, so I can test it as well.