Knuckle Cracker

Knuckle Cracker => Support => Topic started by: creeper killer on October 13, 2014, 08:51:02 PM

Title: Custom Map freezes with added scripts.
Post by: creeper killer on October 13, 2014, 08:51:02 PM
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.
Title: Re: Custom Map freezes with added scripts.
Post by: knucracker on October 14, 2014, 09:53:43 AM
Look in the game log at the time of the freeze for any exceptions... they might shed some light.
Title: Re: Custom Map freezes with added scripts.
Post by: creeper killer on October 15, 2014, 03:03:04 AM
Was a divide by zero exception :P
Random integer is troll.
Thanks!
Title: Re: Custom Map freezes with added scripts.
Post by: knucracker on October 15, 2014, 08:49:18 AM
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.