- Joined
- Dec 13, 2018
- Messages
- 2,368
Hi I have been experiencing a series of seemingly random crashes, and I am starting to suspect they are UI related.
I have just recently started tinkering a bit with the new UI natives, and now I am receiving some errors in the log files that seems to be related to the UI.
I'm getting this error;
And this is the code in the map;
Is there any chance that code can cause the random crashes I am experiencing? I have crossed out faulty models (by having all the units in the map use default models and deleting all doodads), and I have quadruple checked my periodic timers and projectile systems for leaks and whatnot.
I have just recently started tinkering a bit with the new UI natives, and now I am receiving some errors in the log files that seems to be related to the UI.
I'm getting this error;
And this is the code in the map;
Lua:
TimerStart(CreateTimer(),0,false, function()
local size = 0.05
local num = 4
local start = (0.4 - (size * num / 2)) - (size / 2)
local counter = 0
for int = 11-num, 11 do
BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_"..int, 0), FRAMEPOINT_TOPLEFT, start + (size * counter), 0.05)
counter = counter + 1
end
end)
Is there any chance that code can cause the random crashes I am experiencing? I have crossed out faulty models (by having all the units in the map use default models and deleting all doodads), and I have quadruple checked my periodic timers and projectile systems for leaks and whatnot.