Stefan_L_01
Registered
So you admit that rf2 is hacked by this tool?
So you admit that rf2 is hacked by this tool?
No, this tool is reading from rF2. Writing to rF2 is an entirely different thing.
What are you trying to do?
You consider acessing something that is not intended to be accessibly not a hack?
How big is the difference from reading to writing as soon as you know a memory location?
In the Releases section of GitHub, there is the source code- Is there any up to date sample, how to access the data? I saw in the description there should be a sample in C# but I didn't manage to find it=
Thanks a lot, this is exactly what I was looking forThe sample app (C#) is rF2SharedMemoryMapPlugin/Monitor/rF2SMMonitor/rF2SMMonitor at master · TheIronWolfModding/rF2SharedMemoryMapPlugin (github.com)
Yes you could switch to Java, here is my Python library as an example TonyWhitley/pyRfactor2SharedMemory: Python library for accessing rFactor 2's shared memory (github.com)
(I have never written Java)
11:06:05.306 TID:0x18f0 DirectMemoryReader::Initialize(29) : ERROR: Failed to resolve message array.
11:06:05.306 TID:0x18f0 SharedMemoryPlugin::Startup(345) : ERROR: Failed to initialize DMA, disabling DMA.
"rFactor2SharedMemoryMapPlugin64.dll":{
" Enabled":1,
"DebugISIInternals":0,
"DebugOutputLevel":5,
"DebugOutputSource":1,
"DedicatedServerMapGlobally":1,
"EnableDirectMemoryAccess":1,
"EnableHWControlInput":1,
"EnableRulesControlInput":0,
"EnableWeatherControlInput":0,
"UnsubscribedBuffersMask":0
}
}
I have no idea about dedicated server setup but i can tell that "EnableDirectMemoryAccess": is meaningless for dedi server and should be set to 0. Connection to shared memory should not be affected by that though.Hi everybody,
I'm currently trying to get the Plugin + Monitor running on the dedicated server. Unfortunately, the monitor always says "Not connected". When enabling the debugging, I get these messages:
Code:11:06:05.306 TID:0x18f0 DirectMemoryReader::Initialize(29) : ERROR: Failed to resolve message array. 11:06:05.306 TID:0x18f0 SharedMemoryPlugin::Startup(345) : ERROR: Failed to initialize DMA, disabling DMA.
Does anyone have an idea, what I'm doing wrong? I have installed the redistributables and set the Variables to this:
Code:"rFactor2SharedMemoryMapPlugin64.dll":{ " Enabled":1, "DebugISIInternals":0, "DebugOutputLevel":5, "DebugOutputSource":1, "DedicatedServerMapGlobally":1, "EnableDirectMemoryAccess":1, "EnableHWControlInput":1, "EnableRulesControlInput":0, "EnableWeatherControlInput":0, "UnsubscribedBuffersMask":0 } }
As I am using an admin account on the server, I should also have the permission to "create global objects. Looking forward to hearing from you,
Thank you and kind regards![]()
Thanks a lot for your feedback. I only tried to get the rf2smmp_monitor running. So I did not try to read anywthing with my own code.I have no idea about dedicated server setup but i can tell that "EnableDirectMemoryAccess": is meaningless for dedi server and should be set to 0. Connection to shared memory should not be affected by that though.
Did you append PID to shared memory file names you are trying to read? You can use SysInternals Process Explorer to see what shared memory files plugin creates.
Correct - Monitor does not work with Dedicated server.Thanks a lot for your feedback. I only tried to get the rf2smmp_monitor running. So I did not try to read anywthing with my own code.
So if I get this correctly, rf2smmp_monito cannot work with dedi server, as the PID cannot be added somewhere in the settings?
Also, for which application do I need to look? Should it be the dedi application it self? I cannot see anything else that would suitable.
View attachment 41754
"rFactor2SharedMemoryMapPlugin64.dll":{
" Enabled":1,
"DebugISIInternals":0,
"DebugOutputLevel":0,
"DebugOutputSource":0,
"DedicatedServerMapGlobally":1,
"EnableDirectMemoryAccess":0,
"EnableHWControlInput":1,
"EnableRulesControlInput":0,
"EnableWeatherControlInput":0,
"UnsubscribedBuffersMask":0
}
Do not worry about this particular message - it's a warning, it does not indicate any serious problem.pls help guys, i get this error after reinstalling windows server
15:43:28.118 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:31.669 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:32.422 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:32.622 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:32.822 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:33.022 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:33.221 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:33.422 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:33.622 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:33.821 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:34.022 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:34.222 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:34.422 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:34.622 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:34.822 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:35.022 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.
15:43:35.222 TID:0x0528 SharedMemoryPlugin::UpdateScoring(897) : WARNING: Scoring update is ahead of telemetry.