GW2 UI

GW2 UI

2M Downloads

TBC Classic 2.5.4: TriStateCheckbox_SetState is not a function

chief-tyrol opened this issue ยท 1 comments

commented

Getting the following in TBC Classic 2.5.4.42869 with GW2 UI 1.18.0-TBC:

Version: 1.18.0-TBC Classic Date: 03/22/22 21:48:16 Locale: enUS Build 2.5.4 42869
[21:48:04] [ERROR]: "...rface\AddOns\GW2_UI\immersive\skins\addonManager.lua:54: hooksecurefunc(): TriStateCheckbox_SetState is not a function"
[string "=[C]"]: ?
[string "=[C]"]: in function `hooksecurefunc'
[string "GW2_UI\immersive\skins\addonManager.lua"]:54: in function `SkinAddonList'
[string "GW2_UI\GW2_ui.lua"]:421: in function <GW2_UI\GW2_ui.lua:353>
[string "GW2_UI\GW2_ui.lua"]:649: in function <GW2_UI\GW2_ui.lua:645>

Relevant code block:

hooksecurefunc("TriStateCheckbox_SetState", function(checked, checkButton)
local checkedTexture = _G[checkButton:GetName().."CheckedTexture"]
-- 1 is a gray check
if checked == 1 then
checkedTexture:SetVertexColor(1, .93, .73)
end
end)

Swatter output:

Date: 2022-03-22 21:48:04
ID: 2
Error occured in: Global
Count: 1
Message: ...rface\AddOns\GW2_UI\immersive\skins\addonManager.lua line 54:
   hooksecurefunc(): TriStateCheckbox_SetState is not a function
Debug:
   [string "@RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua"]:146:
      ...tCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:144
   [string "=[C]"]: ?
   [string "=[C]"]: hooksecurefunc()
   [string "@GW2_UI\immersive\skins\addonManager.lua"]:54: SkinAddonList()
   [string "@GW2_UI\GW2_ui.lua"]:421:
      GW2_UI\GW2_ui.lua:353
   [string "@GW2_UI\GW2_ui.lua"]:649:
      GW2_UI\GW2_ui.lua:645
Locals:
private = <table> {
 ThrowError = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:46
 DoesErrorExist = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:87
 ClearOldErrors = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:107
 SanitizeLine = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:83
 MAX_STACK_DEPTH = 10
 log = <table> {
 }
 ErrorHandler = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:116
 IncrementErrorCount = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:77
 NewError = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:50
 IsRCLootCouncilError = <function> defined @Interface\AddOns\RCLootCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:94
}
orig_errorhandler = <function> defined @Interface\AddOns\GW2_UI\core/errorHandler.lua:150

AddOns:
  Swatter, v2.5.6773 (SwimmingSeadragon)
  WowheadLooter, v20503
  AtlasLootClassic, vv2.4.1-bcc
  AtlasLootClassicData, vv2.4.1-bcc
  AtlasLootClassicDungeonsAndRaids, vv2.4.1-bcc
  Attune, v250
  AucAdvanced, v2.5.6733 (SwimmingSeadragon)
  AucFilterBasic, v2.5.6759 (SwimmingSeadragon)
  AucStatHistogram, v2.5.6761 (SwimmingSeadragon)
  AucStatPurchased, v2.5.6762 (SwimmingSeadragon)
  AucStatSimple, v2.5.6763 (SwimmingSeadragon)
  AucStatStdDev, v2.5.6764 (SwimmingSeadragon)
  AucUtilFixAH, v2.5.6766 (SwimmingSeadragon)
  BeanCounter, v2.5.6767 (SwimmingSeadragon)
  BetterVendorPrice, vv1.16.02
  DBMCore, vee7a996
  DBMStatusBarTimers, vee7a996
  DBMVPVEM, v81c3e41
  Details, v
  DetailsStreamer, v
  DetailsTinyThreat, v
  DruidBarClassic, v0.7.11
  Enchantrix, v2.5.6768 (SwimmingSeadragon)
  EnchantrixBarker, v2.5.6769 (SwimmingSeadragon)
  GW2UI, v1.18.0-TBC
  HandyNotes, vv1.6.5
  HandyNotesNetherwingEggs, v1.08
  Informant, v2.5.6770 (SwimmingSeadragon)
  ItemRack, v
  LFGBulletinBoard, v2.61
  LittleBuster, v1.13.1
  NovaInstanceTracker, v1.27
  NovaWorldBuffs, v2.24
  OgriLazyClassic, v1.1
  Pawn, v2.5.34
  Questie, v6.8.6
  RCLootCouncilClassic, v0.14.1
  SkilletClassic, v1.44
  Stubby, v2.5.6772 (SwimmingSeadragon)
  TankBuddy, vv3.1.0
  TidyPlatesThreatPlates, v10.3.3
  WeakAuras, v3.7.14
  WeaponSwingTimer, v6.5.2
  BlizRuntimeLib_enUS v2.5.4.20504 <none>
  (ck=56f)
commented

fixed in 1.19.0