ZelionGG / XIV_Databar-Continued

Continuation of XIV_Databar addon
https://discord.gg/g7JZNGSU32
GNU General Public License v3.0
5 stars 3 forks source link

Having "Show Coordinates" checked causes endless lua errors in Necrotic Wake instance. #45

Open rlzimmerman opened 1 month ago

rlzimmerman commented 1 month ago

Describe the bug While in Necrotic wake, upon reaching the third boss, constant lua errors occur for the duration of the dungeon when Show Coordinates in the Armor module is checked.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Necrotic Wake' dungeon
  2. Progress to the third boss. Upon reaching the third boss area and having the Show Coordinates check box checked in the Armor module will cause endless lua errors until exiting the dungeon.
  3. Observe the error.

Expected behavior No errors should be occurring.

Lua error logs 1033x ...Ons/XIV_Databar_Continued/Mainline/modules/armor.lua:233: attempt to index local 'bottomright' (a nil value) [string "@XIV_Databar_Continued/Mainline/modules/armor.lua"]:233: in function `UpdatePlayerCoordinates' [string "@XIV_Databar_Continued/Mainline/modules/armor.lua"]:108: in function <...Ons/XIV_Databar_Continued/Mainline/modules/armor.lua:106>

Locals: self =

{ modules =
{ } defaultModuleLibraries =
{ } MapRects =
{ } name = "XIV_Databar_Continued_ArmorModule" armorIcon = Texture { } orderedModules =
{ } armorButton = Button { } armorText = FontString { } durabilityList =
{ } durabilityLowest = 96 iconPath = "Interface\AddOns\XIV_Databar_Continued\media\datatexts\repair" baseName = "XIV_Databar_Continued" coordText = FontString { } enabledState = true defaultModuleState = true moduleName = "ArmorModule" armorFrame = Armor { } } mapid = 1668 rects =
{ } = nil topleft = nil _ = nil bottomright = nil (temporary) =
{ x = 1 y = 1 } (temporary) = nil (temporary) = 1 (temporary) =
{ x = 1 y = 1 } (*temporary) = "attempt to index local 'bottomright' (a nil value)" xb =
{ defaults =
{ } modules =
{ } baseName = "XIV_Databar_Continued" fontFlags =
{ } defaultModuleState = true frames =
{ } miniTextPosition = "TOP" db =
{ } enabledState = true Changelog =
{ } name = "XIV_Databar_Continued" orderedModules =
{ } LSM =
{ } constants =
{ } timerRefresh = true defaultModuleLibraries =
{ } L =
{ } }

Screenshots If applicable, add screenshots to help explain your problem.

WoW Version (please complete the following information)

XIV_Databar Continued Version Which version of XIV_Databar Continued are you using ? 3.1

Additional context Add any other context about the problem here. Nothing more.

ZelionGG commented 3 weeks ago

Heya, the fix has been found, the coordinates part will be disabled in dungeons in the next update of XIV Continued (Blizzard disabled the possibility to get coordinates in instances) !