Ingame Delay caused by my map.

Status
Not open for further replies.
Implement this script into your map:
JASS:
function hcact takes nothing returns nothing
    local location l = Location(0,0)
    call BJDebugMsg(I2S(GetHandleId(l)-0x100000))
    call RemoveLocation(l)
    set l = null
endfunction

function InitTrig_HC takes nothing returns nothing
    local trigger t = CreateTrigger()
    call TriggerRegisterTimerEvent(t,2,true)
    call TriggerAddAction(t,function hcact)
endfunction

Create a trigger called HC, go to Edit -> Convert to Custom Text, and just paste this in there. Run the map and see what numbers it spits out. It isn't that accurate, but that doesn't matter since you only need to find a clear difference.

Just test it for a while and take a screenshot/record what numbers it spits out. It will send a message every 2 seconds. Post the results here and we might be able to figure out what the problem is/rule out some problems. :)
 
Mm, the numbers stabilze around 3~4k. I have been removing some triggers, so I think I might've fixed it.

That is good to know.

If it kept increasing consistently, then that would mean that you were leaking periodically. But since it is stable, it should be fine. As for good or bad numbers, as long as it doesn't increase too much it should be fine. ;D So if the trigger removal fixed it, then that is good. Otherwise, you know it isn't leaks.
 
Status
Not open for further replies.
Top