Kkthnx-Wow / KkthnxUI

KkthnxUI for The War Within World of Warcraft.
MIT License
34 stars 18 forks source link

Error upon initial setup #88

Closed deadlydag closed 1 year ago

deadlydag commented 1 year ago

Description LUA-error after going through the KkthnxUI initial setup. Error goes away after resetting global cvars server-side. 'Interface' disappears completely in Options. Can't edit anything since its gone. Have to reset global cvars.

Message: Interface/SharedXML/Settings/Blizzard_Setting.lua:221: SetValue 'Status Text' requires 'number' type, not 'nil' type. Time: Wed Mar 22 12:42:46 2023 Count: 1 Stack: Interface/SharedXML/Settings/Blizzard_Setting.lua:221: SetValue 'Status Text' requires 'number' type, not 'nil' type. string "=[C]": in function error' [string "@Interface/SharedXML/Settings/Blizzard_Setting.lua"]:221: in functionSetValueInternal' [string "@Interface/SharedXML/Settings/Blizzard_Setting.lua"]:237: in function Init' [string "@Interface/SharedXML/Mixin.lua"]:50: in functionCreateAndInitFromMixin' [string "@Interface/SharedXML/Settings/Blizzard_Settings.lua"]:168: in function RegisterProxySetting' [string "@Interface/FrameXML/SettingDefinitions/Interface.lua"]:287: in functionregistrant' [string "@Interface/SharedXML/Settings/Blizzard_SettingsRegistrar.lua"]:15: in function <...ce/SharedXML/Settings/Blizzard_SettingsRegistrar.lua:14> string "=[C]": in function `secureexecuterange' [string "@Interface/SharedXML/Settings/Blizzard_SettingsRegistrar.lua"]:17: in function <...ce/SharedXML/Settings/Blizzard_SettingsRegistrar.lua:11> [string "@Interface/SharedXML/EventUtil.lua"]:21: in function <Interface/SharedXML/EventUtil.lua:15>

[string "@Interface/SharedXML/CallbackRegistry.lua"]:143: in function <Interface/SharedXML/CallbackRegistry.lua:142>

[string "@Interface/SharedXML/CallbackRegistry.lua"]:146: in function `TriggerEvent' [string "@Interface/SharedXML/GlobalCallbackRegistry.lua"]:9: in function <Interface/SharedXML/GlobalCallbackRegistry.lua:8>

Locals: (*temporary) = "SetValue 'Status Text' requires 'number' type, not 'nil' type."

Kkthnx commented 1 year ago

I know the issue. Currently on vacation atm though Ill work on a temp fix.

Kkthnx commented 1 year ago

Test latest push

https://github.com/Kkthnx-Wow/KkthnxUI/commit/7e24da12ab75794596684067a3f5402b7ecef8de

deadlydag commented 1 year ago

Latest push fixed the error, but now the initial install tutorial doesn't work. When going through the install tutorial, button 1\5 and 5\5 can't be clicked. And on the last page (5\5), you can click decline, leading to no errors as far as I can see - but you won't get out of the setup. It continues to 6\5, 7\5, 8\5 etc.

Kkthnx commented 1 year ago

Fixed