Storyline

Storyline

1M Downloads

Lua error: rewards_buttons.lua, attempt to index local 'reward' (a nil value)

Dairyman opened this issue ยท 3 comments

commented

Got it from Khadgar's quest A Primal Threat

1x ...terface/AddOns/Storyline/rewards/rewards_buttons.lua:152: attempt to index local 'reward' (a nil value)
[string "@Interface/AddOns/Storyline/rewards/rewards_buttons.lua"]:152: in function <...terface/AddOns/Storyline/rewards/rewards_buttons.lua:146>
[string "@Interface/AddOns/Storyline/rewards/rewards_buttons.lua"]:205: in function `Refresh'
[string "@Interface/AddOns/Storyline/rewards/rewards_buttons.lua"]:368: in function <...terface/AddOns/Storyline/rewards/rewards_buttons.lua:364>
[string "=[C]"]: in function `xpcall'
[string "@Interface/AddOns/Storyline/lib/Ellyb/Tools/EventsDispatcher.lua"]:74: in function `TriggerEvent'
[string "@Interface/AddOns/Storyline/lib/Ellyb/Tools/GameEvents.lua"]:43: in function <...face/AddOns/Storyline/lib/Ellyb/Tools/GameEvents.lua:41>
commented

Addon version is 3.3.1

You can run /dump GetAddOnMetadata("Storyline", "Version") in game to get the version.

commented

I don't seem to have issues with the quest with the latest version (3.3.1). Unfortunately it doesn't seem there's a way to check the version in-game right now so best I can suggest is if you're using an addon client, check the path it installs addons in and compare it to the game path in Battle.net settings?

Untitled

commented

So happened again with Awaken, Dracthyr:

1x Storyline/rewards/rewards_buttons.lua:150: attempt to index local 'reward' (a nil value)
[string "@Storyline/rewards/rewards_buttons.lua"]:150: in function <Storyline/rewards/rewards_buttons.lua:146>
[string "@Storyline/rewards/rewards_buttons.lua"]:205: in function `Refresh'
[string "@Storyline/rewards/rewards_buttons.lua"]:368: in function <Storyline/rewards/rewards_buttons.lua:364>
[string "=[C]"]: in function `xpcall'
[string "@Storyline/lib/Ellyb/Tools/EventsDispatcher.lua"]:74: in function `TriggerEvent'
[string "@Storyline/lib/Ellyb/Tools/GameEvents.lua"]:43: in function <...faceStoryline/lib/Ellyb/Tools/GameEvents.lua:41>

Seems to happen for uncached rewards, here the spell Disintegrate.