Works, but possibly without background and bars. Check out V14, which solves this problem. Or a quick&dirty workaround is to create the "Plugins" directory, even if rF2 doesn't use it anymore and place the DeltaBestBackground.png file there.
hi cosimo, i am using the 64bit plugin. was driving on Tommy's Hockenheim National circuit and changed the track to Sebring 12h. But the Plugin still compared to my best time from Hockenheim. i know you fixed that in a previous 32bit version, but i looks like it is not deleting the best time when changing the track without leaving the game anymore. best regards T.
Unfortunately, this is not a 32-64 bit problem, because the source code is exactly the same. The problem is that I can't seem to get the right events from the sim. When a track is changed, I don't get any "signal" so to speak, so I don't know when to reset the best recorded lap time. So this is still an open bug.
Hello cosimo. Cheers for the latest update. The delta is not moving around the screen I set-up the ini exactly the same as v13 and its working better. I don't include the png file as I don't like the grey box and I have to set the Top value for Bar even though I have the Bar this disables as this seems to be the only way to move the delta time higher up than its default position. I tried setting the Top value under the Time parameter however this has no affect. One small issue I still have. I think I may have mentioned it before. On a race restart after a crash the delta goes missing. I have to fully exit out and re-load for it to work again. Is this a known issue? cheers again.
thanks for the info cosimo. do you get the name of the running track? if yes, you could save it, and when it is different to the saved value it has changed and you could reset the time. don`t if something like that would be possible?
Yes, it is possible and it is the road I thought I should take, but the code would be a bit clunky, so I've been a bit reluctant. We'll see.
Hi cosimo today i tried v14 of your plugin. Everything worked fine. But is it possible to make the bar a bit more smooth? The flickering of the colors in the bar is pretty hard. Maybe you could add more gradations of green and red. Greets
Hi cosimo. I have been speaking with a friend of mine (Gaboni) about this problem and i think that he has gave me the solution. virtual void Load() {} // scene/track load virtual void Unload() {} // scene/track unload virtual void StartSession() {} // session started virtual void EndSession() {} // session ended
Thanks lagg, will check my code now. I'm sure I have StartSession() and EndSession() implemented. Not sure about Load() and Unload().
Right, son of a bi... I found the source of this bug. Basically was a big facepalm in the code. StartSession() and EndSession() were of course called as they should have. This means that from now on (version 15+), whenever you change car or track, the previously saved best lap will be reset and won't count in the new session. Version 15 of Delta Best plugin with this bug fix was just released! First post updated.