Hi,
im moving the Rogue Combo Point Bar like this:
Lua Code:
local function yOffset(Frame,y)
local P = { Frame:GetPoint() }
Frame:SetPoint(P[1], P[2], P[3], P[4],y)
end
hooksecurefunc(ComboPointPlayerFrame,"SetPoint",function(ComboPointPlayerFrame) yOffset(ComboPointPlayerFrame,91) end)
however i get the following error:
Code:
Message: C stack overflow
Time: 04/13/18 15:51:24
Count: 1
Stack: C stack overflow
[C]: ?
[C]: in function `SetPoint'
.lua:84: in function <...lua:1>
.lua:87: in function <...lua:6>
[C]: in function `SetPoint'
.lua:84: in function <...lua:1>
.lua:87: in function <...lua:6>
[C]: in function `SetPoint'
.lua:84: in function <...lua:1>
.lua:87: in function <...lua:6>
[C]: in function `SetPoint'
.lua:84: in function <...lua:1>
...
[C]: in function `SetPoint'
.lua:84: in function <...lua:1>
.lua:87: in function <...lua:6>
[C]: in function `SetPoint'
.lua:84: in function <...lua:1>
.lua:87: in function <...lua:6>
[C]: in function `SetPoint'
Interface\FrameXML\ComboFramePlayer.lua:35: in function `Setup'
Interface\FrameXML\ClassPowerBar.lua:56: in function `OnEvent'
Interface\FrameXML\ComboFramePlayer.lua:27: in function <Interface\FrameXML\ComboFramePlayer.lua:21>
its working fine though, but i cant fix it, whats the exact problem here?