This is more specifically about the shared memory plugin in the case of dedicated servers. I'm typically running anywhere from 3 - 10 instances on my server at a time. I understand that I need to append the PID to the buffer name to access the shared memory, however, I'm stuck even getting the dedicated server instances to enable the plugin.
When I try to pull a scoring frame, for instance, at $rFactor2SMMP_Scoring$9560, I get the error that it is "Unable to find the specified file.".
Using the rest API endpoint /rest/options/plugins, I get:
Code:
{
"TrackIR_rF2_Plugin.dll": {
"name": "TrackIR_rF2_Plugin.dll",
"enabled": true,
"restartNeeded": false
}
}
The endpoint on a full rf2 install system returns something like:
Code:
{
"rFactor2SharedMemoryMapPlugin64.dll": {
"name": "rFactor2SharedMemoryMapPlugin64.dll",
"enabled": true,
"restartNeeded": false
},
"StockCarRules.dll": {
"name": "StockCarRules.dll",
"enabled": false,
"restartNeeded": false
},
"KnockoutQualifying.dll": {
"name": "KnockoutQualifying.dll",
"enabled": false,
"restartNeeded": false
},
"TrackIR_rF2_Plugin.dll": {
"name": "TrackIR_rF2_Plugin.dll",
"enabled": true,
"restartNeeded": false
}
}
CustomPluginVariables.json for the dedicated server profile is:
Code:
{
"TrackIR_rF2_Plugin-bak.dll":{
" Enabled":1
},
"rFactor2SharedMemoryMapPlugin64.dll":{
" Enabled":1,
"DebugISIInternals":0,
"DebugOutputLevel":0,
"DebugOutputSource":1,
"DedicatedServerMapGlobally":0,
"EnableDirectMemoryAccess":0,
"EnableHWControlInput":1,
"EnableRulesControlInput":0,
"EnableWeatherControlInput":0,
"UnsubscribedBuffersMask":160
}
}
This is the same rFactor2SharedMemoryMapPlugin64 section as the full install system's.
rFactor2SharedMemoryMapPlugin64.dll is in C:\rfactor2-dedicated\Bin64\Plugins (this is the dedicated server install directory).
I'm not sure how to troubleshoot this further....
Thanks in advance for any help,
Joel