Quantcast
Help with old addon(CombatStats) - WoWInterface
Thread Tools Display Modes
10-30-20, 06:35 PM   #1
MarzMan
A Kobold Labourer
Join Date: Sep 2019
Posts: 1
Help with old addon(CombatStats)

Got CombatStats working on classic, events capture and everything seems fine, but it throws errors when in a party and in combat and I can't figure out why. I've been testing by just converting from party to raid and back while in combat. I just pulled the latest version I could find(4.901 on curse) fixed couple small lua errors, got combat events working with a few small changes.

Can't trace down where any of this is coming from. SetAttribute is not in the code anywhere so I don't understand how its even calling it. I've tried so many ways to trace down what is causing it. Seems to be running *:OnEvent, but I remove the calls from OnEvent in the xml, no change. I add print("onevent") to the onevent function, it never prints anything. Been trying to trace this down for 3 days now and I've got nothing. Anyone able to help?


Date: 2020-10-30 19:58:50
ID: 1
Error occured in: AddOn: CombatStats
Count: 1
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame1:SetAttribute()) during combat lockdown.
Debug:
[C]: SetAttribute()
..\FrameXML\CompactUnitFrame.lua:161: CompactUnitFrame_SetUnit()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:318: CompactRaidFrameContainer_AddUnitFrame()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:254: CompactRaidFrameContainer_AddPlayers()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:176: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 2
Error occured in: AddOn: CombatStats
Count: 1
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame2:SetAttribute()) during combat lockdown.
Debug:
[C]: SetAttribute()
..\FrameXML\CompactUnitFrame.lua:161: CompactUnitFrame_SetUnit()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:318: CompactRaidFrameContainer_AddUnitFrame()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:254: CompactRaidFrameContainer_AddPlayers()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:176: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 3
Error occured in: AddOn: CombatStats
Count: 1
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame1:ClearAllPoints()) during combat lockdown.
Debug:
[C]: ClearAllPoints()
..\FrameXML\FlowContainer.lua:157: FlowContainer_DoLayout()
..\FrameXML\FlowContainer.lua:17: FlowContainer_ResumeUpdates()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:185: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 4
Error occured in: AddOn: CombatStats
Count: 1
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame1:SetPoint()) during combat lockdown.
Debug:
[C]: SetPoint()
..\FrameXML\FlowContainer.lua:161: FlowContainer_DoLayout()
..\FrameXML\FlowContainer.lua:17: FlowContainer_ResumeUpdates()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:185: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 5
Error occured in: AddOn: CombatStats
Count: 1
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame2:ClearAllPoints()) during combat lockdown.
Debug:
[C]: ClearAllPoints()
..\FrameXML\FlowContainer.lua:157: FlowContainer_DoLayout()
..\FrameXML\FlowContainer.lua:17: FlowContainer_ResumeUpdates()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:185: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 6
Error occured in: AddOn: CombatStats
Count: 1
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame2:SetPoint()) during combat lockdown.
Debug:
[C]: SetPoint()
..\FrameXML\FlowContainer.lua:161: FlowContainer_DoLayout()
..\FrameXML\FlowContainer.lua:17: FlowContainer_ResumeUpdates()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:185: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 7
Error occured in: AddOn: CombatStats
Count: 2
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame1:Show()) during combat lockdown.
Debug:
[C]: Show()
..\FrameXML\CompactUnitFrame.lua:353: CompactUnitFrame_UpdateVisible()
..\FrameXML\CompactUnitFrame.lua:286: CompactUnitFrame_UpdateAll()
..\FrameXML\CompactUnitFrame.lua:176: CompactUnitFrame_SetUnit()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:318: CompactRaidFrameContainer_AddUnitFrame()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:254: CompactRaidFrameContainer_AddPlayers()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:176: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)

Date: 2020-10-30 19:58:50
ID: 8
Error occured in: AddOn: CombatStats
Count: 2
Message: Note: AddOn CombatStats attempted to call a protected function (CompactRaidFrame2:Show()) during combat lockdown.
Debug:
[C]: Show()
..\FrameXML\CompactUnitFrame.lua:353: CompactUnitFrame_UpdateVisible()
..\FrameXML\CompactUnitFrame.lua:286: CompactUnitFrame_UpdateAll()
..\FrameXML\CompactUnitFrame.lua:176: CompactUnitFrame_SetUnit()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:318: CompactRaidFrameContainer_AddUnitFrame()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:254: CompactRaidFrameContainer_AddPlayers()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:176: CompactRaidFrameContainer_LayoutFrames()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:130: CompactRaidFrameContainer_TryUpdate()
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:57: CompactRaidFrameContainer_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
CombatStats, v4.901
BlizRuntimeLib_enUS v1.13.5.11305 <none>
(ck=6a)


Attached Files
File Type: zip CombatStats.zip (51.6 KB, 136 views)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Help with old addon(CombatStats)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off