[REL] rF2 Shared Memory Tools for Developers

Discussion in 'Other' started by The Iron Wolf, Jan 19, 2017.

  1. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    941
    Likes Received:
    6,432
    To read data from server, you need to find rf2 server executable "PID" and append it to the end of mmap buffer/file name, as mentioned in rF2SharedMemoryMapPlugin readme file.
    Note: you may need to set DedicatedServerMapGlobally value back to 0.

    It will look like:
    $rFactor2SMMP_Telemetry$SERVER_PID

    For example, this tool uses "psutil" to retrieve server PID and append it to each buffer name in "pyRfactor2SharedMemory" for accessing data:
    https://forum.studio-397.com/index....egrid-grid-batch-tool-for-server-admin.72944/
     
    elgagon and Seven Smiles like this.
  2. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    744
    Likes Received:
    229
    Most of the time, if plugin don't load, it's the runtimes that are not installed. Make sure you install all runtimes in the Support folder, if i remember well ...
     
  3. elgagon

    elgagon Registered

    Joined:
    Dec 21, 2022
    Messages:
    217
    Likes Received:
    140
    Thank you very much @svictor
    I'll try it tonight
    @DanRZ the plugin is working in the rF2, but not in the dedicated (same pc). The problem has to be what Vitor said
     
    DanRZ likes this.
  4. elgagon

    elgagon Registered

    Joined:
    Dec 21, 2022
    Messages:
    217
    Likes Received:
    140
    Thank you very much @svictor
    It works.
     
    svictor likes this.
  5. BlackMamba

    BlackMamba Registered

    Joined:
    Oct 17, 2016
    Messages:
    20
    Likes Received:
    0
    download 1 link is invalind..
     
  6. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
  7. MileSeven

    MileSeven Registered

    Joined:
    Apr 1, 2014
    Messages:
    652
    Likes Received:
    256
    ...I'm trying to get @Nibo's log file analyzer to work with our multi-dedi setup. It works fine if both dedis are run from the same Windows user but we prefer to run each dedi under a separate Windows user session to avoid unfortunate snafus.

    As one of the live-timing troubleshooting steps, he suggested using the shared memory tool - but it didn't seem to help (or possibly even work) when the dedi's were under different users.

    Would it / should it / could it? Or are Windows server user sessions totally segregated?
     
  8. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    744
    Likes Received:
    229
    Hello, what issue do you have exactly ?

    Which user launches r2la core ?

    It can be a simple NTFS issue. The r2la user has to have access to all files. If another user creates the log files, r2la have probably no access to these files. Folders must be acessible to all involved users. Check your acess rights on all directories ...
     
  9. Jonas

    Jonas Registered

    Joined:
    Oct 12, 2020
    Messages:
    6
    Likes Received:
    0
    Download at the top is not working?
    I just come to a error page.
     
  10. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Scroll back 3 posts.
     
    Jonas likes this.
  11. Mike Volik

    Mike Volik Registered

    Joined:
    Nov 6, 2020
    Messages:
    2
    Likes Received:
    0
    Is there a plan to update plugin to support LMU after it release? Devs said that now It's crashes the game
     

    Attached Files:

  12. I_Bellett

    I_Bellett Registered

    Joined:
    Jan 12, 2012
    Messages:
    200
    Likes Received:
    277
    Shared Memory Tools automatically turns off when the remaining session time reaches 0. Is there a solution?
     
  13. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I'm waiting to hear from S397.
     
  14. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    First I've heard of this, can you give me some details? Start with what you mean by "Shared Memory Tools" and which version of rF2SharedMemoryMapPlugin.dll
     
  15. Paolo Pennimpede

    Paolo Pennimpede Registered

    Joined:
    Nov 8, 2016
    Messages:
    83
    Likes Received:
    13
    I made some dashboard overlays for RF2 and now I'm using the same overlays for LMU.

    Yesterday I was checking the original HUD for the tire wear and my overlay for tire wear and there was some differences in tire wear percentage and tire temperature. Was not too much difference to be honest, but I never saw something like this in RF2.
    Nobody has noticed some strange behaviour like this?
     

Share This Page