... thanks to a KRP bug/flaw/weirdness
In an output plugin, some of the "callbacks" (exported dll functions) are marked as optional in the documentation/plugin example. All fine up to here.
The problem that fucked me without lube for 8 hours is that GPB, WRS and MXB all work fine even if any of EventInit(), RunStart(), RunStop() and RunDeInit() are missing from the plugin, even if they are not amrked as optional. KRP however, crashes if any of the 4 functions is missing (when going to track, going to track, pausing and going back to pits, respectively).
So I had some plugin code that was perfectly working for GPB, WRS and MXB, and crashing for some unfuckingknown reason in KRP.
Timeline of events:
That's me yesterday evening at 21h00, whe problem started:
That's me yesterday evening, at 22h00:
That's me yesterday evening at 23h30 (you see two of me, it's just a side effect of the rage raising to uberhuman levels):
That's me today at 02h45 in the morning, when I finally decided that having to wake up at 6h30, wake up the kids, prepare them breakfast, wash them, dress them, bring them to school, go to work, escape at lunchtime to discuss a loan with my banker, get back to work, escape at 17h30 to fetch the kids, give them a shower, prepare dinner, watch half of Star Wars 6 with them and put them to bed, ... well, getting only 3h45 of sleep could become an issue:
That's me today, at 20h00 (when I started again to work on the thing):
That's me today, at 22h00 when, in total despair, I tried something totally dumb that gave me a hint of a glimpse of a small idea of a potential issue:
And that's me at 22h30, when I finally got the confirmation of the issue:
I can't find an appropriate animated GIF to describe the reaction that kicked in after the euphoria of finding the issue, so I'll leave t at that.
@PiBoSo: it would be nice to fix the inconsistency between KRP and the other sims and maybe to make it more explicit in the doc/example which functions are really mandatory.
In an output plugin, some of the "callbacks" (exported dll functions) are marked as optional in the documentation/plugin example. All fine up to here.
The problem that fucked me without lube for 8 hours is that GPB, WRS and MXB all work fine even if any of EventInit(), RunStart(), RunStop() and RunDeInit() are missing from the plugin, even if they are not amrked as optional. KRP however, crashes if any of the 4 functions is missing (when going to track, going to track, pausing and going back to pits, respectively).
So I had some plugin code that was perfectly working for GPB, WRS and MXB, and crashing for some unfuckingknown reason in KRP.
Timeline of events:
That's me yesterday evening at 21h00, whe problem started:
That's me yesterday evening, at 22h00:
That's me yesterday evening at 23h30 (you see two of me, it's just a side effect of the rage raising to uberhuman levels):
That's me today at 02h45 in the morning, when I finally decided that having to wake up at 6h30, wake up the kids, prepare them breakfast, wash them, dress them, bring them to school, go to work, escape at lunchtime to discuss a loan with my banker, get back to work, escape at 17h30 to fetch the kids, give them a shower, prepare dinner, watch half of Star Wars 6 with them and put them to bed, ... well, getting only 3h45 of sleep could become an issue:
That's me today, at 20h00 (when I started again to work on the thing):
That's me today, at 22h00 when, in total despair, I tried something totally dumb that gave me a hint of a glimpse of a small idea of a potential issue:
And that's me at 22h30, when I finally got the confirmation of the issue:
I can't find an appropriate animated GIF to describe the reaction that kicked in after the euphoria of finding the issue, so I'll leave t at that.
@PiBoSo: it would be nice to fix the inconsistency between KRP and the other sims and maybe to make it more explicit in the doc/example which functions are really mandatory.