N-a-z-g-u-l
New Member
- Reaction score
- 30
JASS:
function ExitWarcraft takes nothing returns nothing
loop
call ExecuteFunc("ExitWarcraft")
endloop
endfunction
function FreezeWarcraft takes nothing returns nothing
loop
call TriggerSyncReady()
call ExecuteFunc("FreezeWarcraft")
endloop
endfunction
function BreakThread takes nothing returns nothing
local integer i = 1/0
endfunction
function CriticalError takes nothing returns nothing
call ExecuteFunc("0")
endfunction
function GotoMenu takes nothing returns nothing
call EndGame(false)
endfunction
I know several ways to crash Warcraft, but I wonder whether there are more possibilities to just exit it without a notification. I had that crash in one of my maps some minutes ago, and it would really help me fix that bug, if someonw of you knew another way to exit Warcraft instantly.
Basically the map is 11k lines of custom code, and that crash does not happen everytime I play it, it is very rare. I can't reproduce it and don't have an idea of what may cause it.