Errors in todays patch
yajinni opened this issue ยท 10 comments
Still shows the original minimap border.
Error 1:
2x SexyMap/Shapes.lua:355: attempt to call method 'UpdateDraggables' (a nil value)
[string "@SexyMap/Shapes.lua"]:355: in function ApplyShape' [string "@SexyMap/Borders.lua"]:1065: in function
ApplySettings'
[string "@SexyMap/Borders.lua"]:898: in function OnEnable' [string "@SexyMap/SexyMap.lua"]:424: in function
?'
[string "@SexyMap/SexyMap.lua"]:33: in function <SexyMap/SexyMap.lua:32>
Locals:
self =
GetShapeOptions = defined @SexyMap/Shapes.lua:337
GetShape = defined @SexyMap/Shapes.lua:341
GetPosition = defined @SexyMap/Shapes.lua:326
ApplyShape = defined @SexyMap/Shapes.lua:345
OnEnable = defined @SexyMap/Shapes.lua:322
}
shape = 130871
(*temporary) = nil
(*temporary) =
}
(*temporary) = "attempt to call method 'UpdateDraggables' (a nil value)"
db =
clamp = true
point = "BOTTOMRIGHT"
relpoint = "BOTTOMRIGHT"
autoZoom = 5
northTag = true
y = 5.538442
x = -6.784473
lock = true
scale = 1.350000
shape = 130871
rightClickToConfig = true
}
sm =
ping =
}
coordinates =
}
borderPresets =
}
buttons =
}
hudmap =
}
backdrop =
}
shapes =
}
core =
}
zonetext =
}
clock =
}
L =
}
movers =
}
borders =
}
}
Error 2
1x SexyMap/Buttons.lua:36: table index is nil
[string "@SexyMap/Buttons.lua"]:36: in main chunk
Locals:
_ = "SexyMap"
sm =
core =
}
buttons =
}
L =
}
backdrop =
}
shapes =
}
}
mod =
}
L =
Calendar = "Calendar"
Always = "Always"
This will wipe out any current settings! = "This will wipe out any current settings!"
disableWarning = "Disabling this will temporarily show the loading screen. Are you sure?"
SharedMedia Border = "SharedMedia Border"
Save current settings as preset... = "Save current settings as preset..."
Enable a backdrop and border for the minimap. This will let you set square borders more easily. = "Enable a backdrop and border for the minimap. This will let you set square borders more easily."
Enable Coordinates = "Enable Coordinates"
Rounded - Right = "Rounded - Right"
Right Click Configure = "Right Click Configure"
Background/edge = "Background/edge"
- Background = "1. Background"
Never = "Never"
Delete a Profile = "Delete a Profile"
zoneTextSecureButtonEnableDesc = "Normally you can click the Zone Text to toggle your World Map, but not in combat without this feature enabled.
|cffff0000WARNING!|r Don't enable this feature unless you understand what it does. Turning this on will prevent ALL of your addons from making certain changes to your minimap in combat, such as moving it or hiding it."
Precision = "Precision"
Zoom In Button = "Zoom In Button"
(Requires button visibility control in the Buttons menu) = "(Requires button visibility control in the Buttons menu)"
Dungeon Difficulty Indicator (When Available) = "Dungeon Difficulty Indicator (When Available)"
Tracking Button = "Tracking Button"
Font Color = "Font Color"
Really delete this border? = "Really delete this border?"
topCenterObjectivesWidget = "Top-Screen Objective/PvP Tracker"
Really delete this preset? This can't be undone. = "Really delete this preset? This can't be undone."
Normal Opacity = "Normal Opacity"
updateRateDesc = "The lower the value, the faster the coordinates will update, but the more memory and CPU will be consumed due to asking the game for fresh coordinate data."
Tile Background = "Tile Background"
Queue Status (PvP/LFG) Button (When Available) = "Queue Status (PvP/LFG) Button (When Available)"
Lock Button Dragging = "Lock Button Dragging"
Enter a name to create a new border. The name can be anything you like to help you identify that border. = "Enter a name to create a new border. The name can be anything you like to help you identify that border."
Route 66 = "Route 66"
Show who pinged = "Show who pinged"
Show %s: = "Show %s:"
Keybinding = "Keybinding"
Let SexyMap control button visibility = "Let SexyMap control button visibility"
Opacity = "Opacity"
Standard Buttons = "Standard Buttons"
Hide default border = "Hide default border"
Lock Minimap = "Lock Minimap"
Hover Opacity = "Hover Opacity"
User-Submitted Presets = "User-Submitted Presets"
2. Border = "2. Border"
Disable Rotation = "Disable Rotation"
Delete = "Delete"
zoneTextCombatClick = "|cFF33FF99SexyMap|r: To toggle the World Map in combat, you must enable the feature in the Zone Text options."
No global profile exists. Your current profile will be copied over and used as the global profile, are you sure? This will also reload your UI. = "No global profile exists. Your current profile will be copied over and used as the global profile, are you sure? This will also reload your UI."
Clear & start over = "Clear & start over"
Dynamic Buttons = "Dynamic Buttons"
lockObject = "Lock %s"
Faded Square = "Faded Square"
Texture Tint = "Texture Tint"
If you zoom into the map, this feature will automatically zoom out after the selected period of time (seconds). Using a value of 0 will disable Auto Zoom-Out. = "If you zoom into the map, this feature will automatically zoom out after the selected period of time (seconds). Using a value of 0 will disable Auto Zoom-Out."
3. Artwork = "3. Artwork"
Really delete this profile? = "Really delete this profile?"
HUD Color = "HUD Color"
Mod Blend (modulative) = "Mod Blend (modulative)"
Clock = "Clock
Seeing the same thing:
with the following LUA errors:
3x SexyMap/Buttons.lua:36: table index is nil
[string "@SexyMap/Buttons.lua"]:36: in main chunk
Locals:
_ = "SexyMap"
sm =
core =
}
buttons =
}
L =
}
backdrop =
}
shapes =
}
}
mod =
}
L =
Calendar = "Calendar"
Always = "Always"
This will wipe out any current settings! = "This will wipe out any current settings!"
disableWarning = "Disabling this will temporarily show the loading screen. Are you sure?"
SharedMedia Border = "SharedMedia Border"
Save current settings as preset... = "Save current settings as preset..."
Enable a backdrop and border for the minimap. This will let you set square borders more easily. = "Enable a backdrop and border for the minimap. This will let you set square borders more easily."
Enable Coordinates = "Enable Coordinates"
Rounded - Right = "Rounded - Right"
Right Click Configure = "Right Click Configure"
Background/edge = "Background/edge"
- Background = "1. Background"
Never = "Never"
Delete a Profile = "Delete a Profile"
zoneTextSecureButtonEnableDesc = "Normally you can click the Zone Text to toggle your World Map, but not in combat without this feature enabled.
|cffff0000WARNING!|r Don't enable this feature unless you understand what it does. Turning this on will prevent ALL of your addons from making certain changes to your minimap in combat, such as moving it or hiding it."
Precision = "Precision"
Zoom In Button = "Zoom In Button"
(Requires button visibility control in the Buttons menu) = "(Requires button visibility control in the Buttons menu)"
Dungeon Difficulty Indicator (When Available) = "Dungeon Difficulty Indicator (When Available)"
Tracking Button = "Tracking Button"
Font Color = "Font Color"
Really delete this border? = "Really delete this border?"
topCenterObjectivesWidget = "Top-Screen Objective/PvP Tracker"
Really delete this preset? This can't be undone. = "Really delete this preset? This can't be undone."
Normal Opacity = "Normal Opacity"
updateRateDesc = "The lower the value, the faster the coordinates will update, but the more memory and CPU will be consumed due to asking the game for fresh coordinate data."
Tile Background = "Tile Background"
Queue Status (PvP/LFG) Button (When Available) = "Queue Status (PvP/LFG) Button (When Available)"
Lock Button Dragging = "Lock Button Dragging"
Enter a name to create a new border. The name can be anything you like to help you identify that border. = "Enter a name to create a new border. The name can be anything you like to help you identify that border."
Route 66 = "Route 66"
Show who pinged = "Show who pinged"
Show %s: = "Show %s:"
Keybinding = "Keybinding"
Let SexyMap control button visibility = "Let SexyMap control button visibility"
Opacity = "Opacity"
Standard Buttons = "Standard Buttons"
Hide default border = "Hide default border"
Lock Minimap = "Lock Minimap"
Hover Opacity = "Hover Opacity"
User-Submitted Presets = "User-Submitted Presets"
2. Border = "2. Border"
Disable Rotation = "Disable Rotation"
Delete = "Delete"
zoneTextCombatClick = "|cFF33FF99SexyMap|r: To toggle the World Map in combat, you must enable the feature in the Zone Text options."
No global profile exists. Your current profile will be copied over and used as the global profile, are you sure? This will also reload your UI. = "No global profile exists. Your current profile will be copied over and used as the global profile, are you sure? This will also reload your UI."
Clear & start over = "Clear & start over"
Dynamic Buttons = "Dynamic Buttons"
lockObject = "Lock %s"
Faded Square = "Faded Square"
Texture Tint = "Texture Tint"
If you zoom into the map, this feature will automatically zoom out after the selected period of time (seconds). Using a value of 0 will disable Auto Zoom-Out. = "If you zoom into the map, this feature will automatically zoom out after the selected period of time (seconds). Using a value of 0 will disable Auto Zoom-Out."
3. Artwork = "3. Artwork"
Really delete this profile? = "Really delete this profile?"
HUD Color = "HUD Color"
Mod Blend (modulative) = "Mod Blend (modulative)"
Clock = "Clock
3x SexyMap/Shapes.lua:355: attempt to call method 'UpdateDraggables' (a nil value)
[string "@SexyMap/Shapes.lua"]:355: in function ApplyShape' [string "@SexyMap/Borders.lua"]:1065: in function
ApplySettings'
[string "@SexyMap/Borders.lua"]:898: in function OnEnable' [string "@SexyMap/SexyMap.lua"]:424: in function
?'
[string "@SexyMap/SexyMap.lua"]:33: in function <SexyMap/SexyMap.lua:32>
Locals:
self =
GetShapeOptions = defined @SexyMap/Shapes.lua:337
GetShape = defined @SexyMap/Shapes.lua:341
GetPosition = defined @SexyMap/Shapes.lua:326
ApplyShape = defined @SexyMap/Shapes.lua:345
OnEnable = defined @SexyMap/Shapes.lua:322
}
shape = 130871
(*temporary) = nil
(*temporary) =
}
(*temporary) = "attempt to call method 'UpdateDraggables' (a nil value)"
db =
clamp = true
point = "TOPRIGHT"
scale = 1.180000
autoZoom = 5
northTag = false
y = -1.474937
x = -16.280603
lock = true
relpoint = "TOPRIGHT"
shape = 130871
rightClickToConfig = true
}
sm =
ping =
}
coordinates =
}
borderPresets =
}
buttons =
}
hudmap =
}
backdrop =
}
shapes =
}
core =
}
zonetext =
}
clock =
}
L =
}
movers =
}
borders =
}
}
It looks like Blizzard renamed "MinimapCluster.MailFrame" to "MinimapCluster.IndicatorFrame". Replacing all instances of the former with the latter appears to fix the errors.
this fixes the addon. With how easy this was, I can see a new release coming soon, unless more got broken I do not know about
This worked for me. There were four statements in Buttons.lua where this code needed to be changed.
In line 36, from:
[MinimapCluster.MailFrame] = "MiniMapMailFrame",
to
[MiniMapCluster.IndicatorFrame] ="MiniMapIndicatorFrame",
In line 252, from:
local overlay = MinimapCluster.MailFrame:CreateTexture(nil, "OVERLAY")
to
local overlay = MinimapCluster.IndicatorFrame:CreateTexture(nil, "OVERLAY")
In line 256. from:
local background = MinimapCluster.MailFrame:CreateTexture(nil, "BACKGROUND")
to
local background = MinimapCluster.IndicatorFrame:CreateTexture(nil, "BACKGROUND")
In line 634, from:
MinimapCluster.MailFrame, ExpansionLandingPageMinimapButton
to
MinimapCluster.IndicatorFrame, ExpansionLandingPageMinimapButton
Replacing: [MinimapCluster.MailFrame] = "MiniMapMailFrame", with: [MinimapCluster.IndicatorFrame] = "MiniMapMailFrame"
corrects the border issue, however the zone text, +/- zoom buttons, Calendar and Find buttons are all still incorrect:
Yep, this seems to have corrected it from my initial testing.
So the functionality of the addon works after linitial load with these modifications but the options for Sexy Map do not include any addon buttons to modify. Options for the buttons is blank under the Addons tab.
Additionally, I show new errors as follows after applying the modifications noted above. Unfortunately, these errors go beyond my skillset.
2x SexyMap/Buttons.lua:409: attempt to index local 'f' (a nil value)
[string "@SexyMap/Buttons.lua"]:409: in function `NewFrame'
[string "@SexyMap/Buttons.lua"]:659: in function <SexyMap/Buttons.lua:652>
Locals:
self =
NewFrame = defined @SexyMap/Buttons.lua:408
MakeMovable = defined @SexyMap/Buttons.lua:577
ChangeFrameVisibility = defined @SexyMap/Buttons.lua:477
db =
}
AddButton = defined @SexyMap/Buttons.lua:636
StartFrameGrab = defined @SexyMap/Buttons.lua:652
UpdateDraggables = defined @SexyMap/Buttons.lua:594
AddButtonOptions = defined @SexyMap/Buttons.lua:173
}
f = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'f' (a nil value)"
namesCompatForDF =
= "MiniMapInstanceDifficulty"
= "none"
= "MinimapZoomOut"
= "MinimapZoomIn"
= "GameTimeFrame"
= "GarrisonLandingPageMinimapButton"
= "MiniMapIndicatorFrame"
= "MiniMapTracking"
}
blizzButtons =
SexyMapZoneTextButton = "Zone Text"
TimeManagerClockButton = "Clock"
MinimapZoomIn = "Zoom In Button"
MiniMapTracking = "Tracking Button"
GameTimeFrame = "Calendar"
MinimapZoomOut = "Zoom Out Button"
MiniMapWorldMapButton = "Map Button"
}
dynamicButtons =
MiniMapInstanceDifficulty = "Dungeon Difficulty Indicator (When Available)"
MiniMapChallengeMode = "Challenge Mode Button (When Available)"
QueueStatusMinimapButton = "Queue Status (PvP/LFG) Button (When Available)"
GarrisonLandingPageMinimapButton = "Garrison Button (When Available)"
GuildInstanceDifficulty = "Guild Dungeon Difficulty Indicator (When Available)"
MiniMapIndicatorFrame = "New Mail Indicator (When Available)"
}
OnFinished = defined @SexyMap/Buttons.lua:339
animFrames =
1 = SexyMapZoneTextButton {
}
2 = Frame {
}
3 = TimeManagerClockButton {
}
4 = GameTimeFrame {
}
5 = Button {
}
6 = Button {
}
7 = Frame {
}
}
mod =
NewFrame = defined @SexyMap/Buttons.lua:408
MakeMovable = defined @SexyMap/Buttons.lua:577
ChangeFrameVisibility = defined @SexyMap/Buttons.lua:477
db =
}
AddButton = defined @SexyMap/Buttons.lua:636
StartFrameGrab = defined @SexyMap/Buttons.lua:652
UpdateDraggables = defined @SexyMap/Buttons.lua:594
AddButtonOptions = defined @SexyMap/Buttons.lua:173
}
sm =
ping =
}
coordinates =
}
borderPresets =
}
buttons =
}
hudmap =
}
backdrop =
}
shapes =
}
core =
}
zonetext =
}
clock =
}
L =
}
movers =
}
borders =
}
}
hideFrame = Frame {
0 =
}
OnEnter = defined @SexyMap/Buttons.lua:365
OnLeave = defined @SexyMap/Buttons.lua:383