Author Topic: I've just lost 8 hours of my life ...  (Read 1160 times)

HornetMaX

  • Hero Member
  • *****
  • Posts: 5920
    • View Profile
I've just lost 8 hours of my life ...
« on: March 23, 2016, 10:06:30 PM »
... 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.


doubledragoncc

  • Hero Member
  • *****
  • Posts: 4616
  • If it dont fit HIT it!!!!!!!!!
    • View Profile
    • GPBOC Live Streams
Re: I've just lost 8 hours of my life ...
« Reply #1 on: March 23, 2016, 10:22:51 PM »
OH NO!!!
 Oh man I feel for you. So sorry this has happened to you, you do so much for us.

I only hope you sort it out and do not go round the twist.

Take a break and refresh your batteries.

DD
GPBOC Live Streams: https://www.youtube.com/c/IASystemsComputerControls

Teamspeak: Server IP: 82.43.148.211  user password "yougetin"

i5 7600 5.0GHz z270 ASUS Maximus Code Mobo 16GB 3866MHz DDR4 RAM ASUS Strix GTX1050Ti OC 4GB DDR5 Kraken X62 AIO Cooler

Napalm Nick

  • Hero Member
  • *****
  • Posts: 4698
  • #68 NICKED-IT RACING - STEAL THE FINISH LINE
    • View Profile
Re: I've just lost 8 hours of my life ...
« Reply #2 on: March 23, 2016, 10:32:15 PM »
Ahahahaha! That is fekin hilarious! Not your pain and grief obviously but the GiF Timeline. Brilliant.

My evening is only this one


from playing with Arc and Path cameras for 5 hours.

Still it sounds like you got it sorted in the end so its not time wasted as such, it was time well spent on a voyage of discovery.

Have a nice sleep.
Motorcycles have BRAKES
Glass BREAKS
Engine BRAKING is a thing
Sometimes engines BREAK
If the BRAKES BREAK you may BREAK
English 101.

Vini

  • Hero Member
  • *****
  • Posts: 1612
  • Es gibt nur ein Gas...
    • View Profile
Re: I've just lost 8 hours of my life ...
« Reply #3 on: March 26, 2016, 02:13:00 AM »


from playing with Arc and Path cameras for 5 hours.
same for me

Klax75

  • Hero Member
  • *****
  • Posts: 1197
  • GP Team: Horizon GP #75
    • View Profile
Re: I've just lost 8 hours of my life ...
« Reply #4 on: March 26, 2016, 04:10:52 AM »
The first two of those are definitely how I feel when I have a upset stomach and have to use the bathroom a bunch. :(