Loading...

[Installer Help] Profile does not load

12
Benik wrote: Mon Aug 17, 2020 5:56 pm Add this:

Code: Select all

if E.db["movers"] == nil then E.db["movers"] = {} end
added it and got the following error:

Code: Select all

1x ElvUI_gPuzzLayouts\Code.lua:168: attempt to index field 'customTexts' (a nil value)
[string "@ElvUI_gPuzzLayouts\Code.lua"]:168: in function <ElvUI_gPuzzLayouts\Code.lua:27>
[string "@ElvUI_gPuzzLayouts\Code.lua"]:811: in function <ElvUI_gPuzzLayouts\Code.lua:811>

Locals:
layout = "tank"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'customTexts' (a nil value)"
E = <table> {
 GetTimeInfo = <function> defined @ElvUI\Core\Math.lua:391
 mylevel = 1
 Bags = <table> {
 }
 privateVars = <table> {
 }
 modules = <table> {
 }
 role = "Melee"
 FormatMoney = <function> defined @ElvUI\Core\Math.lua:445
 Config_OpenWindow = <function> defined @ElvUI\Core\Config.lua:861
 UpdateUnitFrames = <function> defined @ElvUI\Core\Core.lua:917
 screenwidth = 1920
 SetMoversPositions = <function> defined @ElvUI\Core\Movers.lua:466
 ScheduleTimer = <function> defined @ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
 PriestColors = <table> {
 }
 RemoveEmptySubTables = <function> defined @ElvUI\Core\Core.lua:566
 Cooldown_Options = <function> defined @ElvUI\Core\Cooldowns.lua:120
 UIScale = <function> defined @ElvUI\Core\PixelPerfect.lua:27
 db = <table> {
 }
 SetEnabledState = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
 Layout = <table> {
 }
 UnregisterEventForObject = <function> defined @ElvUI\Core\Core.lua:1220
 Distributor = <table> {
 }
 SendPluginVersionCheck = <function> defined @ElvUI\Libraries\LibElvUIPlugin-1.0\LibElvUIPlugin-1.0.lua:144
 PositionGameMenuButton = <function> defined @ElvUI\init.lua:213
 UIFrameFade = <function> defined @ElvUI\Core\Animation.lua:274
 TimeIndicatorColors = <table> {
 }
 TexturePath = "ElvUI\Media\Textures\"
 StaticPopup_CreateSecureButton = <function> defined @ElvUI\Core\StaticPopups.lua:1150
 Truncate = <function> defined @ElvUI\Core\Math.lua:140
 TimeThreshold = 3
 ToggleMoveMode = <function> defined @ElvUI\Core\Config.lua:66
 Dump = <function> defined @ElvUI\Core\API.lua:350
 WorldMap = <table> {
 }
 MinimapHeight = 176
 Disable = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:314
 DF = <table> {
 }
 SlideOut = <function> defined @ElvUI\Core\Animation.lua:209
 Unhook = <function> defined @ElvUI\Libraries\Ace3\AceHook-3.0\AceHook-3.0.lua:418
 UnregisterObjectForVehicleLock = <function> defined @ElvUI\Core\API.lua:478
 LockedCVars = <table> {
 }
 EscapeString = <function> defined @ElvUI\init.lua:123
 ObjectEventFrame = <unnamed> {
 }
 StaticPopup_Resize = <function> defined @ElvUI\Core\StaticPopups.lua:778
 Tutorials = <function> defined @ElvUI\Core\Tutorials.lua:109
 mynameRealm = "Uglymoe - The Maelstrom"
 ProfileTableToPluginFormat = <function> defined @ElvUI\Core\Core.lua:765
 ShortValueDec = "%.1f"
 UpdateMediaItems = <function> defined @ElvUI\Core\Core.lua:925
 unitFrameElements = <table> {
 }
 Shake = <function> defined @ElvUI\Core\Animation.lua:154
 Config_CreateBottomButtons = <function> defined @ElvUI\Core\Config.lua:943
 RawHookScript = <function> defined @ElvUI\Libraries\Ace3\AceHook-3.0\AceHook-3.0.lua:395
 BuildPrefixValues = <function> defined @ElvUI\Core\Math.lua:35
 myrole = "DAMAGER"
 UnregisterAllEventsForObject = <function> defined @ElvUI\Core\Core.lua:1247
 PreviousPage = <function> defined @ElvUI\Core\Install.lua:686
 Config_UpdateLeftButtons = <function> defined @ElvUI\Core\Config.lua:728
 myname = "Uglymoe"
 IterateModules = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:437
 StaticPopupSpecial_Hide = <function> defined @ElvUI\Core\StaticPopups.lua:582
 ActionBars = <table> {
 }
 myfaction = "Horde"
 NudgeMover = <function> defined @ElvUI\Core\Config.lua:219
 GetModule = <function> de

[Installer Help] Profile does not load

13
this is another error that has to do with your custom texts. You have to add this for "Player" (do the same for the other unitframes):

Code: Select all

if not E.db.unitframe.units.player.customTexts then E.db.unitframe.units.player.customTexts = {} end
and this before each of your Player Custom texts:

Code: Select all

if E.db["unitframe"]["units"]["player"]["customTexts"]["YourCustomTextName"] == nil then
	E.db["unitframe"]["units"]["player"]["customTexts"]["YourCustomTextName"] = {}
end
Everything I do is guareanteed 100% miskrake free

[Installer Help] Profile does not load

14
Tried to edit it as said, but still get errors.

Code: Select all

3x ElvUI_gPuzzLayouts\Code.lua:168: attempt to index field 'customTexts' (a nil value)
[string "@ElvUI_gPuzzLayouts\Code.lua"]:168: in function <ElvUI_gPuzzLayouts\Code.lua:27>
[string "@ElvUI_gPuzzLayouts\Code.lua"]:829: in function <ElvUI_gPuzzLayouts\Code.lua:829>

Locals:
layout = "tank"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'customTexts' (a nil value)"
E = <table> {
 GetTimeInfo = <function> defined @ElvUI\Core\Math.lua:391
 mylevel = 1
 Bags = <table> {
 }
 privateVars = <table> {
 }
 modules = <table> {
 }
 role = "Melee"
 FormatMoney = <function> defined @ElvUI\Core\Math.lua:445
 Config_OpenWindow = <function> defined @ElvUI\Core\Config.lua:861
 UpdateUnitFrames = <function> defined @ElvUI\Core\Core.lua:917
 screenwidth = 1920
 SetMoversPositions = <function> defined @ElvUI\Core\Movers.lua:466
 ScheduleTimer = <function> defined @ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
 PriestColors = <table> {
 }
 RegisterModule = <function> defined @ElvUI\Core\Core.lua:1315
 Cooldown_Options = <function> defined @ElvUI\Core\Cooldowns.lua:120
 UIScale = <function> defined @ElvUI\Core\PixelPerfect.lua:27
 db = <table> {
 }
 SetEnabledState = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
 Layout = <table> {
 }
 UnregisterEventForObject = <function> defined @ElvUI\Core\Core.lua:1220
 Distributor = <table> {
 }
 SendPluginVersionCheck = <function> defined @ElvUI\Libraries\LibElvUIPlugin-1.0\LibElvUIPlugin-1.0.lua:144
 PositionGameMenuButton = <function> defined @ElvUI\init.lua:213
 UIFrameFade = <function> defined @ElvUI\Core\Animation.lua:274
 TimeIndicatorColors = <table> {
 }
 TexturePath = "ElvUI\Media\Textures\"
 StaticPopup_CreateSecureButton = <function> defined @ElvUI\Core\StaticPopups.lua:1150
 Truncate = <function> defined @ElvUI\Core\Math.lua:140
 TimeThreshold = 3
 ToggleMoveMode = <function> defined @ElvUI\Core\Config.lua:66
 RemoveTableDuplicates = <function> defined @ElvUI\Core\Core.lua:588
 WorldMap = <table> {
 }
 MinimapHeight = 176
 Disable = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:314
 DF = <table> {
 }
 SlideOut = <function> defined @ElvUI\Core\Animation.lua:209
 Unhook = <function> defined @ElvUI\Libraries\Ace3\AceHook-3.0\AceHook-3.0.lua:418
 UnregisterObjectForVehicleLock = <function> defined @ElvUI\Core\API.lua:478
 LockedCVars = <table> {
 }
 EscapeString = <function> defined @ElvUI\init.lua:123
 ObjectEventFrame = <unnamed> {
 }
 RequestBGInfo = <function> defined @ElvUI\Core\API.lua:514
 Tutorials = <function> defined @ElvUI\Core\Tutorials.lua:109
 mynameRealm = "Uglymoe - The Maelstrom"
 ProfileTableToPluginFormat = <function> defined @ElvUI\Core\Core.lua:765
 ShortValueDec = "%.1f"
 oUF = <table> {
 }
 unitFrameElements = <table> {
 }
 Shake = <function> defined @ElvUI\Core\Animation.lua:154
 Config_CreateBottomButtons = <function> defined @ElvUI\Core\Config.lua:943
 RawHookScript = <function> defined @ElvUI\Libraries\Ace3\AceHook-3.0\AceHook-3.0.lua:395
 BuildPrefixValues = <function> defined @ElvUI\Core\Math.lua:35
 myrole = "DAMAGER"
 UnregisterAllEventsForObject = <function> defined @ElvUI\Core\Core.lua:1247
 PreviousPage = <function> defined @ElvUI\Core\Install.lua:686
 Config_UpdateLeftButtons = <function> defined @ElvUI\Core\Config.lua:728
 myname = "Uglymoe"
 IterateModules = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:437
 StaticPopupSpecial_Hide = <function> defined @ElvUI\Core\StaticPopups.lua:582
 ActionBars = <table> {
 }
 myfaction = "Horde"
 NudgeMover = <function> defined @ElvUI\Core\Config.lua:219
 GetModule = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceA
https://textuploader.com/1f715