[REL] Delta Best plugin for rFactor 2

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

  1. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Thank you very much.
     
  2. Coanda

    Coanda Registered

    Joined:
    Jun 9, 2013
    Messages:
    689
    Likes Received:
    3
    Tested on the new beta 64bit build. The plugin doesn't work.
     
  3. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Of course it doesn't. It's not a 64 bit build :)
     
  4. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    If you are interested, I posted a v11 build with 32 and 64-bit plugin files over at the "Unstable testing" subforum.
    Seems to work fine for me. I will post it here once a stable 64-bit build of rF2 is released.
     
  5. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Updated first post with 64-bit version of the plugin.
     
  6. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I've had a couple of cases of crash to desktop with the unstable build 767. Not sure at this point what's causing it, so I'm assuming it's the plugin.
    Be careful when upgrading, and if you have crashes, let me know.
     
  7. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Verify that all your variable are well initialized in constructor. When i changed to VC2012, my plugins crashed with the same source as the one used in VC++2010. For me, in all case it was not initialized variable who take random value at launch.
    Ex:
    in the ".h" i had "bool mEnable", but i forgot to set explicitly "mEnable=false;" in the constructor of the ".c" file. So with VC++2010 the variable was in a "memory address" full of "0" -> so it was well set to "false", but in VC++2012 the memory address was not clean and the bool was "true" at creation. I had the same thing for several variable (array, string, etc...)

    So i double check all my code to be sure that all needed variable was correctly set at constructor, and then no more bug appear. Good chance that you encounter the same thing.
     
  8. Coanda

    Coanda Registered

    Joined:
    Jun 9, 2013
    Messages:
    689
    Likes Received:
    3
    Cheers cosimo. Works a treat :)
     
  9. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I believe v12 (just updated first post) shouldn't crash, while v11 could be the cause of some strange CTD.
    Remember this zip file includes also the 64-bit version of the plugin (DeltaBest_x64.dll) needed to run with 64-bit builds of rFactor 2 (soon to be released by ISI, currently under unstable testing).

    Download v12 here: View attachment 13367
     
  10. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Thank you cosimo
     
  11. DJCruicky

    DJCruicky Registered

    Joined:
    Jan 25, 2012
    Messages:
    1,592
    Likes Received:
    1,121
    Hi cosimo thanks for the 64bit version. v12

    I'm getting a crash.
    If I drive on track, stop the car, then in reverse gear drive backwards, then rfactor2 crashes for me. Is that the same for you?

    I try many times and only crashes like this if I have your plugin installed.
     
  12. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Yes, I can reproduce this crash David.
    Thanks, I'm looking at it.
     
  13. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    And... fixed I think.
    At least in my tests I can't reproduce it anymore with v13.

    If you'd like to help test it, download v13 here: View attachment 13372
     
  14. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I was thinking that it's so cool to be able to test your own software by driving rFactor 2 :)
     
  15. DJCruicky

    DJCruicky Registered

    Joined:
    Jan 25, 2012
    Messages:
    1,592
    Likes Received:
    1,121
    That is now working without crash when reversing. Thanks Cos :D.
    Funny bug.
    DJC
     
  16. hexagramme

    hexagramme Registered

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    Thank you so much for this wonderful plugin! It works perfectly in the new b770 64 bit.
    Such a helpful tool. :)
     
  17. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Even if I do it for my personal fun and enjoyment, it's always nice to know there's people who appreciate this work.
    Keeps the motivation going :)

    Thanks to the two or three people that donated too.

    Most of that money went to pleclair for his awesome work on the Nords.
    I hope he's using this plugin too :)
     
  18. MMartin

    MMartin Registered

    Joined:
    Oct 30, 2010
    Messages:
    515
    Likes Received:
    4
    Cosimo, you are right. Bravo!
     
  19. ~IsR~Barabba

    ~IsR~Barabba Registered

    Joined:
    Oct 6, 2010
    Messages:
    1,160
    Likes Received:
    40
    +1000

    Babs
     
  20. Coanda

    Coanda Registered

    Joined:
    Jun 9, 2013
    Messages:
    689
    Likes Received:
    3
    Hi Cosimo. I just went from b767 to 772 and the plugin is not working on 64bit.
     

Share This Page