[REL] Delta Best plugin for rFactor 2

Discussion in 'Other' started by cosimo, Apr 20, 2014.

  1. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Ouch, actually the CSV telemetry does not have the mLapDist variable... so that doesn't help in finding what's the problem.
     
  2. Fullchaos

    Fullchaos Registered

    Joined:
    Apr 5, 2015
    Messages:
    9
    Likes Received:
    0
  3. Flatspotter

    Flatspotter Registered

    Joined:
    Oct 7, 2010
    Messages:
    379
    Likes Received:
    120
    cosimo, this sounds like the same problem I reported in posts 254 and 258. I stopped using the plugin after that.
     
  4. Fullchaos

    Fullchaos Registered

    Joined:
    Apr 5, 2015
    Messages:
    9
    Likes Received:
    0
    I think I have got a clue. This figures go "crazy" when I have made a bigger mistake on the previous lap and lost noticeable time. Here is the thing:
    - I start the warmup lap, Delta os "off".
    - I make the first lap, Delta still doesn't show anything (of course)
    - but if I make a mistake on this lap, the next lap (when Delta starts to show the difference time)
    - Delta will work properly only until the point when I have made the mistake!

    After that point if I stop the car, the delta will be correct, but when I start it, it goes wrong again, it miscalculates the delta time. It seems to me that it uses a wrong data as a reference - at the first "delta" lap it uses my "all time very best" time, and after the second lap it seems to use a mixture of my best lap and my last lap.

    Am I crazy or what? :)
     
  5. Fullchaos

    Fullchaos Registered

    Joined:
    Apr 5, 2015
    Messages:
    9
    Likes Received:
    0
    I have read Flatspotters 254-258 and Cosimo's answer. In my case I haven't crashed: just stopped for 6-7 seconds at the first corner, then I started to race again.
     
  6. rocavasin

    rocavasin Registered

    Joined:
    Apr 7, 2015
    Messages:
    1
    Likes Received:
    0
    For rf1 rfactor 1

    Does anyone knows a similar plugin for rf1?
    or any plugin with real time delta-time
     
  7. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    As far as I know nothing similar exists for rF1.
     
  8. Fullchaos

    Fullchaos Registered

    Joined:
    Apr 5, 2015
    Messages:
    9
    Likes Received:
    0
    Cosimo, any other ideas, suggestions...? :)
     
  9. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Can you post a video of that happening?
    That may happen, yes, but should go away the moment you score a faster lap,
    unless you just do those two laps and you stop...
     
  10. Fullchaos

    Fullchaos Registered

    Joined:
    Apr 5, 2015
    Messages:
    9
    Likes Received:
    0
    OK, I will make a video, thx...
     
  11. Marc Collins

    Marc Collins Registered

    Joined:
    Jan 11, 2012
    Messages:
    3,159
    Likes Received:
    162
    I hope we are not calling this a problem or worried about it if all resets back to normal after you do TWO normal laps in a row, which isn't too much to ask.
     
  12. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    A quick update for the loyal followers of this plugin :)

    I think I got the basic code in place to make best laps persistent across sessions.
    That means, now the plugin will save a file with the best lap data by track and vehicle class (f.ex.: "rFactor2\Userdata\player\Settings\SaoPaulo\DeltaBest_Brabham BT20.lap").

    Next time you load a session with the same Track and Vehicle, the lap will be automatically loaded from the saved file at the start of the new session.
    Effectively this makes your best laps persistent.

    Not sure if anyone needed this, but I did. Very badly :)
    If anyone would like to test this very early "persistent-laps" code, give me a shout.
    Of course it might crash and burn, etc.. YMMV :)
     
  13. hexagramme

    hexagramme Registered

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    Wow that's a really nice addition! Something like that was needed indeed. :)
     
  14. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    1,031
    Likes Received:
    317
    can you add a configurable shortcut for reseting the bestlap or even make it deativatable in the ini? Laptime normally drop as you drive longer on one track because of grip build up. So if you come back to the serer the next day you would be able to set the laptimes which you drove the day before
     
  15. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I guess the solution there would just be to delete the best lap file from the Settings folder.
     
  16. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Nice enhancement, Cosimo.
     
  17. whitmore

    whitmore Registered

    Joined:
    Feb 26, 2012
    Messages:
    552
    Likes Received:
    142
    Yes very much needed should be good. Need download
     
  18. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    1,031
    Likes Received:
    317
    Jep that would work but is a little bit complicated :D
     
  19. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    I confirm the problem with zandvoort. However, in that track, the bar that shows drivers' position in the track goes crazy in the first sector with disappearing drivers. There must be an issue in the aiw file of that track.
     
  20. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    Hi cosimo. Do you have also looked into this?
     

Share This Page