Re: [Test RELEASE:] Interstellar Tweak OXP
Posted: Wed Apr 18, 2012 7:46 pm
Murphy
I'm struggling a bit to understand that (though I'm sure it makes sense). But I've done something similar, and it works. What I do is check, when the later event fires, not only that the timer for the earlier one is not running (if it were running, that would mean that the earlier event had not even started), but also, via a boolean variable, whether that earlier stuff finished. If it has not finished, then I reschedule the new stuff for a bit later.
But, in fact, I'm not sure that the timers were causing the crashes. At any event - and having changed various other things (to do with checking what ships existed and removing ships) - there are no crashes now, and - inevitably? - I'm fiddling with other stuff. Or rather, I've done that fiddling, and am now testing.
In short, it is very nearly ready. But - again - anyone on a mac on Linux? Actually, Murphy, what OS are you using, please?
I'm struggling a bit to understand that (though I'm sure it makes sense). But I've done something similar, and it works. What I do is check, when the later event fires, not only that the timer for the earlier one is not running (if it were running, that would mean that the earlier event had not even started), but also, via a boolean variable, whether that earlier stuff finished. If it has not finished, then I reschedule the new stuff for a bit later.
But, in fact, I'm not sure that the timers were causing the crashes. At any event - and having changed various other things (to do with checking what ships existed and removing ships) - there are no crashes now, and - inevitably? - I'm fiddling with other stuff. Or rather, I've done that fiddling, and am now testing.
In short, it is very nearly ready. But - again - anyone on a mac on Linux? Actually, Murphy, what OS are you using, please?