Cell

Cell

2M Downloads

[BUG] hooksecurefunc error/bug

PsjPocco opened this issue · 2 comments

commented

227x [string "-------------------------------------------..."]:8: Usage: hooksecurefunc([table,] "function", hookfunc)
[C]: in function 'hooksecurefunc'
[-------------------------------------------------
-- 2024-05-18 03:09:08 GMT+8
-- remove icons border
-- 删除图标指示器的边框

hooksecurefunc(Cell.iFuncs, "CreateAura_BarIcon", function(name)
local f = _G[name]
hooksecurefunc(f, "SetCooldown", function()
f:SetBackdropColor(0, 0, 0, 1)
end)

end)]:8: in function <[string "-------------------------------------------..."]:6>
[C]: in function 'CreateAura_BarIcon'
[Cell/Indicators/Base.lua]:924: in function 'CreateAura_Icons'
[Cell/Indicators/Custom.lua]:81: in function 'CreateIndicator'
[Cell/RaidFrames/UnitButton.lua]:208: in function 'func'
[Cell/Utils.lua]:875: in function 'IterateAllUnitButtons'
[Cell/RaidFrames/UnitButton.lua]:527: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Core.lua]:110: in function 'UpdateLayout'
[Cell/Core.lua]:145: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Core.lua]:644: in function 'GROUP_ROSTER_UPDATE'
[Cell/Core.lua]:789: in function '?'
[Cell/Core.lua]:891: in function <Cell/Core.lua:890>

Locals:
(*temporary) =

{
CUF_Focus_ShieldBar = CUF_Focus_ShieldBar {
}
ERR_OUT_OF_CHI = "Not enough chi"
DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 786
SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 424
ClassTrialTimerDisplayMixin =
{
}
CUF_Boss10_DebuffsIcon19 = CUF_Boss10_DebuffsIcon19 {
}
MultiBarLeftButton7 = MultiBarLeftButton7 {
}
LE_GAME_ERR_INVALID_FOLLOW_PVP_COMBAT = 378
MerchantItem5AltCurrencyFrameItem1Text = MerchantItem5AltCurrencyFrameItem1Text {
}
OPTION_SHOW_ACTION_BAR5_TOOLTIP = "Attached to the left side of Action Bar 4 by default"
BINDING_NAME_NAMEPLATES = "Show Enemy Nameplates"
CHAT_HEADER_SUFFIX = ": "
DetailsBreakdownWindowTabButtonAvoidance267_Text = DetailsBreakdownWindowTabButtonAvoidance267_Text {
}
COVENANT_MISSIONS_HEALTH = "Health"
PVPReadyDialogBottomArt = PVPReadyDialogBottomArt {
}
DUNGEON_FLOOR_UPPERBLACKROCKSPIRE3 = "Hall of Blackhand"
BW_VirtualTooltipTexture30 = BW_VirtualTooltipTexture30 {
}
ChatFrame6EditBoxFocusMid = ChatFrame6EditBoxFocusMid {
}
CellRaidFrameHeader3UnitButton1TargetedSpells1 = CellRaidFrameHeader3UnitButton1TargetedSpells1 {
}
CinematicFrameRaidBossEmoteFrame = CinematicFrameRaidBossEmoteFrame {
}
LE_GAME_ERR_ONLY_ONE_QUIVER = 36
INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;"
LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared"
CellPetFrameHeaderUnitButton17MissingBuff2 = CellPetFrameHeaderUnitButton17MissingBuff2 {
}
MacroFrame = MacroFrame {
}
Boss1TargetFrameValue = Boss1TargetFrameValue {
}
AUCTIONATOR_L_DEFAULT_LIST_HEADER = "Default Shopping List"
ACTION_SPELL_MISSED_POSSESSIVE = "1"
CellPartyFrameHeaderUnitButton4PetRaidDebuff2Icon = CellPartyFrameHeaderUnitButton4PetRaidDebuff2Icon {
}
CellRaidFrameHeader0UnitButton3DispelRequestText = CellRaidFrameHeader0UnitButton3DispelRequestText {
}
CellRaidFrameHeader0UnitButton24AbsorbsBar = CellRaidFrameHeader0UnitButton24AbsorbsBar {
}
LE_GAME_ERR_AZERITE_ESSENCE_SELECTION_FAILED_ESSENCE_NOT_UNLOCKED = 1079
DUNGEON_FLOOR_DRAGONBLIGHTCHROMIESCENARIO2 = "Andorhal"
WowTokenRedemptionFrameBg = WowTokenRedemptionFrameBg {
}
LAG_TOLERANCE = "Lag Tolerance"
RCLootCouncil_Tooltip_ParseTextLeft1 = RCLootCouncil_Tooltip_ParseTextLeft1 {
}
STABLE_PET_ABILITIES_LIST_HEADER = "Special Abilities"
SendStationeryBackgroundRight = SendStationeryBackgroundRight {
}
TUTORIAL61_SPELLID_DRUID = "768"
CONQUEST_BAR = "Conquest %d / %d"
MultiBarLeftButton9Border = MultiBarLeftButton9Border {
}
LE_GAME_ERR_NOT_ON_TOURNAMENT_REALM = 893
UIWidgetCenterDisplayFrameText = UIWidgetCenterDisplayFrameText {
}
CUF_Boss1_HealthBarLoss = CUF_Boss1_HealthBarLoss {
}
OPTION_TOOLTIP_SHOW_ACCOUNT_ACHIEVEMENTS = "Turning this option on will only display your character achievements when people inspect you or use the Blizzard website."
SPIRIT_HEALER_RELEASE_RED = "|cffff2020Spirit Healer|r"
OPTION_TOOLTIP_FIX_LAG = "Enabling this reduces user interface lag, but may drastically reduce frame rates."
ARTIFACT_XP_FULL = "%s is at max level."
VOICEMACRO_8_Tr_1_FEMALE = "Cure me!"
UnitPopupCommunitiesKickFriendButtonMixin =
{
}
CompactArenaFrameMember4HealthBarBackground = CompactArenaFrameMember4HealthBarBackground {
}
NEWBIE_TOOLTIP_ACHIEVEMENT = "View information about your achievements and statistics."
LE_FRAME_TUTORIAL_TRANSMOG_MODEL_CLICK = 36
VOICEMACRO_8_Tr_1 = "Heal me!"
CompactRaidFrameManagerDisplayFrameEveryoneIsAssistButton = CompactRaidFrameManagerDisplayFrameEveryoneIsAssistButton {
}
CellSpotlightFrameUnitButton2ShieldBarR = CellSpotlightFrameUnitButton2ShieldBarR {
}
SHOW_PET_SPELL_DAMAGE = "Show pet spell damage"
BOOST2_HUNTERBEAST_REMIND_KILLCOMMAND = "Use |cFFFFFFFFKill Command|r."
QuestTitleFont = QuestTitleFont {
}
UnitPopupAddGuildBtagFriendButtonMixin =
{
}
LE_GAME_ERR_BUTTON_LOCKED = 285
CellSpotlightFrameUnitBut