[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:
    824
    Likes Received:
    96
    I implemented the dynamic bar, so more DirectX calls.
    Sorry but it's Norton's fault here :)
     
  2. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Hi,

    you don't need an ini file for the plugin to work.
    I suspect you didn't copy the DeltaBestBackground.png file into the plugins directory, did you?
     
  3. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    760
    Likes Received:
    198
    Yep you got me! :D I'm sooooooo stupid :D
     
  4. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    760
    Likes Received:
    198
    What is the .log file doing? 1 Lap on the Nord and i got a 30MB file? Is this nessacery?
     
  5. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Log shouldn't be active... it's not meant to be enabled for releases. It's for debugging purposes.

    Ouch... :)

    I'll release a new version without logging. Sure you are using v9?
     
  6. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    760
    Likes Received:
    198
  7. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Yes, debug logging was accidentally enabled in v9. Now I updated the first post with v10, also attached here, which disables this logging.
    If you have a DeltaBest.log or similar, feel free to remove it.

    View attachment 12701
     
  8. MarcG

    MarcG Member

    Joined:
    Oct 4, 2010
    Messages:
    6,573
    Likes Received:
    1,886
    could that be the cause of occasional 1 frame delays when racing? I renamed v0.9 and it was "fixed" so definately your plug in causing a slight issue. Worked fine in practice but more noticeable in Race.
     
  9. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Could be because of the additional I/O activity. Try v10.
     
  10. dragon

    dragon Registered

    Joined:
    Nov 17, 2010
    Messages:
    141
    Likes Received:
    1
    Hi,

    I have downloaded your's last version of plugin, i copied all file to ...\Plugin and rename file 'DeltaBest.example.ini' to 'DeltaBest.ini' and it doesn't work. I have been pressing CTRL+D and i can't see the delta time. What i should do ?
     
  11. Mr.Thor

    Mr.Thor Registered

    Joined:
    May 25, 2013
    Messages:
    240
    Likes Received:
    31
    just drive some laps. but you should not press ctrl+D. it is already started when you go on track. you can toggle it off / on with ctrl+D.
     
  12. hexagramme

    hexagramme Member

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    Norton quarantined the plugin saying it's not safe. Pfth, what nonsense.
    What would make an anti-virus software respond like that?
     
  13. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    See http://isiforums.net/f/showthread.p...-for-rFactor-2?p=273723&viewfull=1#post273723 for a similar report. A plugin is essentially binary code that performs Windows and DirectX calls, so it's understandable that it can be detected as false positive.

    If I were you, I would consider other products or none at all. Personally I don't use AV software. In my experience it slows down your machine significantly and usually installs a crapload of stuff I don't need (at least Norton did). YMMV.
     
  14. Freddy3792

    Freddy3792 Registered

    Joined:
    Feb 16, 2014
    Messages:
    275
    Likes Received:
    0
    I just experienced a problem this weekend. I had a long endurance race coming up and when I got into the car (join as spectator + driver swap) the plugin didn't work, which was a real shame.
    As I find it very useful even in the race, because I have no split times during the race session.
    I was not using the latest version, but couldn't retest it since yesterday.

    Any idea on this? Reset HW Plugin doesnt seem to affect the plugin at least in offline single player.
     
  15. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Right. I don't think I ever tested the Delta Best plugin with driver swaps.

    There is a bit of logic that decides whether to activate the display of the plugin.
    Probably that logic ignores the driver swap event, so doesn't recognize when you start playing after a driver swap.
     
  16. Freddy3792

    Freddy3792 Registered

    Joined:
    Feb 16, 2014
    Messages:
    275
    Likes Received:
    0
    Would be great, if it would work. Really helpful think especially in endurance races to make sure, that you hit your laptime targets.
     
  17. Marc Collins

    Marc Collins Registered

    Joined:
    Jan 11, 2012
    Messages:
    3,168
    Likes Received:
    162
    Just wanted to say thanks again for this great plugin. A wonderful addition to rF2 that is so good ISI should consider building it in or re-doing it on their own.
     
  18. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,658
    Likes Received:
    1,046
    Thank you very much cosimo. It's a very useful plugin for me.
    I've a question, is it possible to have the delta time with the best lap of the session, instead of with the best lap from the start of rF2?
     
  19. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Thanks Marc, comments like these are always very appreciated :)
     
  20. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    824
    Likes Received:
    96
    Thanks!

    Yes, it should be possible. I've tried to fix this bug a couple of times now, but it seems I don't intercept the right event (session end).
    Will try again :)
     

Share This Page