Luxocracy / NeatPlates

NeatPlates is a continuation of the original Tidy Plates in an attempt to keep it update date in the absence of its authors.
https://wow.curseforge.com/projects/neat-plates
80 stars 20 forks source link

NeatPlatesWidget error after latest update #371

Closed Bradington closed 2 days ago

Bradington commented 1 year ago

What version of the game you are experiencing the issue with: WOTLK CLASSIC

Describe the bug Large amount of LUA errors.

Expected behavior Chat box Spam

ERROR AS FOLLOWED: 1033x NeatPlatesWidgets\ResourceWidget.lua:91: attempt to concatenate local 'runeType' (a nil value) [string "@NeatPlatesWidgets\ResourceWidget.lua"]:91: in function <NeatPlatesWidgets\ResourceWidget.lua:60>

[string "@NeatPlatesWidgets\ResourceWidget.lua"]:414: in function UpdatePoints' [string "@NeatPlatesWidgets\ResourceWidget.lua"]:369: in functionExpire' [string "@NeatPlatesWidgets\WidgetCore.lua"]:61: in function <NeatPlatesWidgets\WidgetCore.lua:52>

Locals: self =

{ GetPower = defined @NeatPlatesWidgets\ResourceWidget.lua:60 POWER = 5 POINT = "DK-Rune-Classic" } points =
{ } runeMap =
{ RUNETYPE_CHROMATIC = "Unholy" 3 = "Unholy" RUNETYPE_BLOOD = "Blood" RUNETYPE_FROST = "Frost" 2 = "Frost" RUNETYPEDEATH = "Death" 1 = "Blood" } runeOrder =
{ 1 = 1 2 = 2 3 = 5 4 = 6 5 = 3 6 = 4 } (for generator) = defined =[C]:-1 (for state) =
{ 1 = 1 2 = 2 3 = 5 4 = 6 5 = 3 6 = 4 } (for control) = 1 = 1 i = 1 point =
{ EXPIRATION = 0 ICON = "DK-Rune-Classic" DURATION = 0 STATE = "Off" } start = 0 duration = 10 runeReady = true expiration = 10 runeType = nil (temporary) = "DK-Rune-Classic" (temporary) = "-" (temporary) = nil (temporary) = nil (*temporary) = "attempt to concatenate local 'runeType' (a nil value)" getPointIcon = defined @NeatPlatesWidgets\ResourceWidget.lua:46

Sibedeux commented 1 year ago

_Same thing here, pretty sure it is crashing my game completely._

630x NeatPlatesWidgets\ResourceWidget.lua:91: attempt to concatenate local 'runeType' (a nil value) [string "@NeatPlatesWidgets\ResourceWidget.lua"]:91: in function <NeatPlatesWidgets\ResourceWidget.lua:60>

[string "@NeatPlatesWidgets\ResourceWidget.lua"]:414: in function `UpdatePoints' [string "@NeatPlatesWidgets\ResourceWidget.lua"]:465: in function <NeatPlatesWidgets\ResourceWidget.lua:464> [string "@NeatPlatesWidgets\ResourceWidget.lua"]:520: in function <NeatPlatesWidgets\ResourceWidget.lua:515>

Locals: self =

{ GetPower = defined @NeatPlatesWidgets\ResourceWidget.lua:60 POWER = 5 POINT = "DK-Rune-Classic" } points =
{ } runeMap =
{ RUNETYPE_CHROMATIC = "Unholy" 3 = "Unholy" RUNETYPE_BLOOD = "Blood" RUNETYPE_FROST = "Frost" 2 = "Frost" RUNETYPEDEATH = "Death" 1 = "Blood" } runeOrder =
{ 1 = 1 2 = 2 3 = 5 4 = 6 5 = 3 6 = 4 } (for generator) = defined =[C]:-1 (for state) =
{ 1 = 1 2 = 2 3 = 5 4 = 6 5 = 3 6 = 4 } (for control) = 1 = 1 i = 1 point =
{ EXPIRATION = 0 ICON = "DK-Rune-Classic" DURATION = 0 STATE = "Off" } start = 1917.650000 duration = 10 runeReady = false expiration = 1927.650000 runeType = nil (temporary) = "DK-Rune-Classic" (temporary) = "-" (temporary) = nil (temporary) = nil (*temporary) = "attempt to concatenate local 'runeType' (a nil value)" getPointIcon = defined @NeatPlatesWidgets\ResourceWidget.lua:46

Luxocracy commented 1 year ago

Sorry that this has taken a while to get to, but seems like I forgot to add the integer for the "Death" rune to the rune mappings. As that is the only rune I was unable to test properly in the new resource widget.

This should be fixed in the latest release.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 90 days with no activity. If you feel the issue is still relevant, please leave a comment to prevent the issue from being closed in 30 days