Expose new rF2 data (battery stuff).
Thanks to Seven Smiles for this update.
This version introduces input buffers. See "Input Buffers" readme section (on the Github) for more info.
Plugin:
* Expose `rF2PitInfo` and `rF2Weather` buffers. Special thanks for prototyping `AccessPitMenu` and `CheckHWControl` plugin functionality go to Seven Smiles.
* Expose `rF2HWControl` input buffer, which allows sending limited number of inputs into the game.
* Expose `rF2WeatherControl` input buffer, which allows changing weather conditions dynamically.
* Expose `rF2PluginControl` input buffer. Allows requesting additional plugin features dynamically.
* Experimental: Expose `rF2RulesControl` input buffer, which allows sending rules input into the game.
* Intenral: rework tracing and reduce code duplication.
Monitor:
* Updated to demo newly added features.
Plugin:
- Expose UsubscribedBuffersMask via rF2Extended::mUnsubscribedBuffersMask. This can be used by clients to validate UBM, and might be made client writable in the future.
11/08/2019 - v3.7.0.0
Plugin:
- Expose rF2Graphics (GraphicsInfoV02) buffer via $rFactor2SMMP_Graphics$. Note that it is not subsribed to by default.
- It is now possible to configure which buffers get updated and which don't. This is done via UnsubscribedBuffersMask value in the CustomPluginVariables.json file. To specify buffers to unsubscribe from, add desired flag values up.
Telemetry = 1, Scoring = 2, Rules = 4, MultiRules = 8, ForceFeedback = 16, Graphics = 32
So, to unsubscribe from Multi Rules and Graphics buffeers set UnsubscribedBuffersMask to 40 (8 + 32).
**05/01/2019 - v3.6.0.0**
Plugin:
* Fix version string not behaving as expected (breaking rF2Extended change, Sorry!)
* Reduce amount of string copies in DMA mode.
03/29/2019 - v3.5.0.9
Plugin:
Monitor:
- Expose LSI messages in DMA mode.
- Clear out accumulated damage on return to Monitor.
- Harden DMA mode against crashes.
- Implement Frozen Order detection based on LSI messages. That's the only way to handle FO in the online sessions.
02/08/2019 - v3.4.0.6
Plugin/Monitor:
- Expose Stock Car Rules plugin FCY instruction message in DMA mode.
- Deprecate SCR plugin hosting (breaking change).
01/28/2019 - v3.3.0.6
Plugin/Monitor:
- Expose Message Center messages, global status message and pit lane speed values via rF2Extended buffer. This functionality if off by default and is enabled via "EnableDirectMemoryAccess" plugin variable.
12/15/2018 - v3.2.0.0
Plugin/Monitor:
- Update exposed field headers and C# marhsaling code to include fields found in Rules/Knockout Qualifying plugins. See this commit to see what has changed.
09/04/2018 - v3.1.0.0
Plugin:
Monitor:
- Add $rFactor2SMMP_ForceFeedback$ buffer to map rF2ForceFeedback structure. Note that since it is a single value buffer, and it is updated at 400FPS, no synchornization is applied nor needed while reading it.
- Updated to expose FFB info.
03/29/2018 - v3.0.1.0
Plugin:
- Add DedicatedServerMapGlobally preference to allow mapping dedicated server shared memory buffers to global section, so that users running under other accounts can access them. Note that "Create Global Objects" permission is needed on user account running dedicated server.
Rework plugin and monitor to remove mutexes/locks. Now plugin is truly universal/reusable.