29.05.2012, 09:56
I had some weird thing happen like this when i accessed an array out of bounds at runtime. Random things would just stop working. I also noticed it because it stopped all my timers from working.
I had a variable that counts vehicles as they are created, and i used that variable as an index to an array. I forgot to reset the var when the vehicles were destroyed, which led to indexing an array OOB at runtime. Can be a pain in the ass to find this kind of bug because when you think it's a bug in your code you seldom look at array sizes.
I'm not saying this IS your problem, just saying it may be.
I had a variable that counts vehicles as they are created, and i used that variable as an index to an array. I forgot to reset the var when the vehicles were destroyed, which led to indexing an array OOB at runtime. Can be a pain in the ass to find this kind of bug because when you think it's a bug in your code you seldom look at array sizes.
I'm not saying this IS your problem, just saying it may be.