ID:137220
Jan 19 2002, 12:12 am
|
|
While turning world.loop_checks off seems to be necessary for my game, do you think infinite loops could result in a more graceful end that simply crashing everything?
| |
#1 Jan 19 2002, 12:31 am
|
|
One would think that turning off loop checks would tell the game to not worry about loops, therefore if a loop does run indefinatly, it's not going to handle it, because you turned loop checking off, and one would think that... (back to the beginning :D)
| |
#2 Jan 19 2002, 12:33 am
|
||
Just put a one second delay before you start the loop again it saves alot of errors, here's an example:
| ||
#3 Jan 19 2002, 11:31 am
|
|
Awakening wrote:
While turning world.loop_checks off seems to be necessary for my game, do you think infinite loops could result in a more graceful end that simply crashing everything? No, because infinite loops are bad bad bad! You should find some way to avoid it... In the military there is a concept of "catastrophic failure". That is, they want to know that in certain systems a bug will cause everything to fail completely, because they want to be sure that a bug doesn't go unnoticed. Say, for example, a missile is going off course... | |
So, according to catastrophic failure: if the computerized lighting system fails for a half second due to a large stream of data input, the helicopter crashes!
| |
