EsreverWoW / ShestakUI_Classic

ShestakUI for Wrath Classic (3.4.3), Burning Crusade Classic (2.5.4), and WoW Classic (1.15.0)
130 stars 45 forks source link

[BUG] Classic Era - GetSpecialization Error #157

Open rakras opened 3 months ago

rakras commented 3 months ago

What steps will reproduce the problem?

  1. Login to any character in Classic Era

What version of ShestakUI are you using? (Stating 'latest' is not useful)

2.1.4

Do you have an error log of what happened?

14448x ShestakUI/Core/Classic.lua:17: attempt to compare number with string [string "@ShestakUI/Core/Classic.lua"]:17: in function `GetSpecialization' [string "@ShestakUI/Modules/Auras/SelfBuffsReminder.lua"]:15: in function <ShestakUI/Modules/Auras/SelfBuffsReminder.lua:12>

Locals: isInspect = nil isPet = nil specGroup = nil specIndex = nil max = 0 (for index) = 1 (for limit) = 3 (for step) = 1 tabIndex = 1 spent = "" (temporary) = 3 (temporary) = 81 (temporary) = "Arcane" (temporary) = "" (temporary) = 135932 (temporary) = "attempt to compare number with string" T =

{ CalculateMoverPoints = defined @ShestakUI/Core/Functions.lua:210 class = "MAGE" RaidBuffs =
{ } SkinExpandOrCollapse = defined @ShestakUI/Core/API.lua:1029 white_list =
{ } TBC = false IsFramePositionedLeft = defined @ShestakUI/Core/Functions.lua:236 MoverFrames =
{ } PostUpdateRaidHealth = defined @ShestakUI/Modules/UnitFrames/Functions.lua:212 ShiftBarUpdate = defined @ShestakUI/Modules/ActionBars/Core.lua:546 merge =
{ } CheckPlayerBuff = defined @ShestakUI/Core/Functions.lua:144 UpdateManaLevel = defined @ShestakUI/Modules/UnitFrames/Functions.lua:438 SkinIconBorder = defined @ShestakUI/Core/API.lua:1132 ShortValue = defined @ShestakUI/Core/Functions.lua:15 CurrentProfile = defined @ShestakUI/Core/Functions.lua:248 HideAuraFrame = defined @ShestakUI/Modules/UnitFrames/Functions.lua:659 SkinDropDownBox = defined @ShestakUI/Core/API.lua:726 GetSpecializationRole = defined @ShestakUI/Core/Classic.lua:39 BuffWhiteList =
{ } SkinFrame = defined @ShestakUI/Core/API.lua:1094 color =
{ } raid_spells =
{ } CreateAuraWatch = defined @ShestakUI/Modules/UnitFrames/Functions.lua:915 UpdateThreat = defined @ShestakUI/Modules/UnitFrames/Functions.lua:880 Hider = Frame { } healfilter =
{ } CreateAuraTimer = defined @ShestakUI/Modules/UnitFrames/Functions.lua:726 SkinFuncs =
{ } name = "Rakras" oUF_colors =
{ } SkinTab = defined @ShestakUI/Core/API.lua:545 BuffBlackList =
{ } SkinRotateButton = defined @ShestakUI/Core/API.lua:686 ArenaControl =
{ } SkinScrollBar = defined @ShestakUI/Core/API.lua:426 race = "Gnome" PostUpdateRaidHealthColor = defined @ShestakUI/Modules/UnitFrames/Functions.lua:190 ReminderCasterBuffs = defined @ShestakUI/Config/Filters_Vanilla/Reminders.lua:174 DebuffWhiteList =
{ } client = "enUS" enemy_spells =
{ } Hardcore = false SoD = true RaidDebuffs =
{ } SkinIconSelectionFrame = defined @ShestakUI/Core/API.lua:909 IsHealerSpec = defined @ShestakUI/Core/Functions.lua:129 UTF = defined @ShestakUI/Core/Functions.lua:178 StyleShift = defined @ShestakUI/Modules/ActionBars/Style.lua:263 SkinCheckBox = defined @ShestakUI/Core/API.lua:759 SkinCheckBoxAtlas = defined @ShestakUI/Core/API.lua:796 RaidDebuffsReverse =
{ } SetFontString = defined @ShestakUI/Modules/UnitFrames/Functions.lua:45 Scale = defined @ShestakUI/Core/PixelPerfect.lua:28 PostCreateButton = defined @ShestakUI/Modules/UnitFrames/Functions.lua:679 oUF =
{ } SkinHelpBox = defined @ShestakUI/Core/API.lua:1083 level = 50 ColorPlate =
{ } Classic = true CustomFilterBoss = defined @ShestakUI/Modules/UnitFrames/Functions.lua:806 PostUpdateButton = defined @ShestakUI/Modules/UnitFrames/Functions.lua:757

Any additional information? (example: WoW language if not English) (Attach screenshots here if available, do not link externally)

Nothing visibly wrong with the UI just continuous chat spam as it adds another error every .5 seconds