SOLVED Dedicated Server and DLLs

Discussion in 'Technical & Support' started by trichens, Jan 1, 2021.

  1. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Hi all,
    Not sure if this should be in the Third Party section or not... but here's my question.

    Got a strange problem here with the dedicated servers I have recently set up.
    I've used the SteamCMD method so I don't have access to the GUI rF2 screens at the moment.
    All config has to be done through the JSON files.

    Servers run OK and people cn connect and race events all run OK but I have found that they don't load a couple of DLL files :mad:
    I used the SysInternals Process Explorer to see what's going on.

    I have the following in the CustomPluginVariables.JSON file and all are marked as " Enabled":1
    KnockoutQualifying.dll
    StockCarRules.dll
    TrackIR_rF2_Plugin.dll
    rFactor2SharedMemoryMapPlugin64.dll
    rf2WeatherPlugin.dll

    All the files are in the Bin64\Plugins folder but only the TrackIR_rF2_Plugin.dll and rf2WeatherPlugin.dll plugins load.

    If I disable both of these by setting " Enabled":0 then neither load so it would appears that the CustomPluginVariables.JSON file is being read OK and parsed OK; and is looking in the correct folder.

    Any suggestions as to what might be going wrong?

    The only other pieces of information that might be relevant...
    the path the server runs on is D:\Racing\rFactor2-Dedicated-Server01
    rFactor2 build: v1122
    O/S: Windows 10 Pro
    Memory: 96GB RAM
    Processors: Dual Quad-core Xeon E5500 processors

    I've now installed Steam on the PC and currently installing rF2 through theSteam application.
    I'll then test the the server mode in this if I can.
    The big issue with this may be that the hardware is a headless 1U unit with no real graphics capability so it's likely that I can't fire up the GUI interface :(
    All config will have to be done through the JSON files.

    My race PC has exactly the same DLL files and the same CustomPluginVariables.JSON file and that does load up the recalcitrant DLL files with no problems.
    So a problem with one of...
    the path to the programme or plugin folder
    some missing Windows or application files
    a hardware issue that the DLL files don't like

    Any advice gratefully received :D
     
  2. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,407
    Likes Received:
    957
    Have you run the 4 executables in the ...support/runtimes folder on your server?
     
    trichens likes this.
  3. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Brilliant Goanna.
    Runing the two Visual C++ runtime executables looks to have fixed the problem.
    So that was vcredist_2012_x64.exe and vcredist_2013_x64.exe
    Now have the other DLL files loaded.
     
    Goanna likes this.

Share This Page