Open Luashine opened 1 year ago
Under normal circumstances SetUnitX, IssuePointOrder will no longer crash. Units will be legit outside the map and not interact normally but it doesn't crash anymore. The below snippet is an extreme case and still does crash.
oob = CreateUnit(Player(0), FourCC("hfoo"), -30, 0, 90)
-- Either will crash the game within 1-2 seconds, 1.36.2.21230
-- math.mininteger, math.maxinteger
SetUnitX(oob, math.mininteger)
SetUnitY(oob, math.mininteger)
Idk how I would need to proceed. It'd be too much hassle to test all by hand so I'm short of writing like a fuzzer. Not exactly but even writing down all functions in a list by hand is tedious work. Then its either automation or nothing.
https://web.archive.org/web/20140213050502/http://www.wc3c.net/showthread.php?t=102576
Post 5:
Pages 2 and 3 were not archived.
Maybe no longer crashes on Reforged.