Need help pulling out some information from rf2

Discussion in 'Plugins' started by Martin Vindis, Feb 9, 2017.

  1. Martin Vindis

    Martin Vindis Registered

    Joined:
    Apr 15, 2014
    Messages:
    146
    Likes Received:
    98
    I've been looking around for quite a while now and can't for the life of me find out how to get the pit speed limit of the current track and session. Sounds like this should be a simple task but I'm not finding it in any struct.

    Another thing I would like to fetch is the latency to the server (if in a multiplayer session ofc).
     
  2. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    The pit limit speed is in the gdb file of the track (unless overriden in the vmod).
    A more empirical method is turning speed limiter on and accelerating until it reaches the limit.

    I don't understand what you mean with the latency. Ping value?
     
  3. Martin Vindis

    Martin Vindis Registered

    Joined:
    Apr 15, 2014
    Messages:
    146
    Likes Received:
    98
    So there is no way to access it within a internals plugin (should have mentioned this in my first post, shouldn't I)?

    Yes, ping value.
     
  4. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    I don't know if it can be accessed via internals plugin. Probably I would say.

    For ping value I think you can only visualize your opponents ping if you are racing. In the server you can see every driver's ping. I don't think these values can be managed via plugins.
    Yes, ping value.
     

Share This Page