Custom Map freezes with added scripts.

Started by creeper killer, October 13, 2014, 08:51:02 PM

Previous topic - Next topic

creeper killer

With these three scripts added to three separate cores on any of my custom maps,
the map freezes up when I try to play it about 30 seconds to two minutes in.
The play timer still goes up, but emitters don't emit, the scripts stall (nothing gets executed), units don't move, and creeper doesn't move. Only health bars on units and runners go down.
What could be causing this freeze up?
Without any scripts added, the custom map plays fine, and the game has full functionality on other maps.
Quoteyou will be assimilated into the herd, resistance is futile
(picture's too big :( )
just though I'd let you guys know :)

knucracker

Look in the game log at the time of the freeze for any exceptions... they might shed some light.

creeper killer

Was a divide by zero exception :P
Random integer is troll.
Thanks!
Quoteyou will be assimilated into the herd, resistance is futile
(picture's too big :( )
just though I'd let you guys know :)

knucracker

I really should catch those in CRPL... it was a goof that I didn't.  They throw and cause the whole game loop to abort currently, which is why you get odd effects.