[REL] rFactor2 Weather Tool

Discussion in 'Other' started by Gerald Jacobson, Mar 30, 2013.

  1. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Gerald thx for "record weather feature" !
    Very useful :)
     
  2. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    Think I spotted a bug, the replay time can't be set in 24 hour clock, it displays 12 hour clock when typing 24 hour time.

    "Cannot read from closed TextReader"? Does this mean I can't schedule the replay until the other is generated?

    I wonder if it's possible to set the schedule for recording and replay to repeat weekly at a set day and time and replay at a set day and time?
     
  3. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
  4. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    Thanks Gerald.
     
  5. argo0

    argo0 Registered

    Joined:
    Jan 22, 2012
    Messages:
    624
    Likes Received:
    8
    I haven't used your weather tool yet, I'm waiting for ISI to sort out rain and weather implementation first, but your support and your work are incredible. Thanks a lot Gerald. Great contribution.
     
  6. MerlinC

    MerlinC Registered

    Joined:
    Nov 3, 2012
    Messages:
    282
    Likes Received:
    3
    Can't get WeatherServer running. The Readme file refers to an ini file which is not in the same directory as the WeatherServer.exe.

    Could somebody please provide an working INI File. For sure you can delete the Wunderground API Key if it's in this INI File. I assume it should be named WeatherServer.ini ?!
     
  7. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    Paste this and save it as WeatherServer.ini

     
  8. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Hello,
    I re-uploaded a version containing the ini files on dropbox.
    Sorry for the inconvenience.

    Thank Woodee for your reply.
     
  9. MerlinC

    MerlinC Registered

    Joined:
    Nov 3, 2012
    Messages:
    282
    Likes Received:
    3
    Based on the communication scheme I have some questions:

    (1) Is it necessary to install the plugin on every client joining the dedicated server or will rF2 protocol ensure that every driver has the same weather?

    (2) If the plugin needs to be installed on every client, how is it garantueed that no driver is joining without the Plugin installed or redirects the communication to a different weather server?

    P.S.: My intention is to ensure that every driver in an online race faces the same weather ;-)

    Thanks in advance
    Merlin




    Sent with Tapatalk
     
  10. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    No, it is not necessary. It is the Server who provide the race weather condition.
    A client will use it, only if he want to have "Live" radar information, and so he must be sure to use the same location (lat/lon) than the one used on the server. The client have several possibilities to define lat/long, including connecting to the Weather Server (which is the aim of the schema you quoted)
     
    Last edited by a moderator: Jun 20, 2014
  11. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Gerald one question is it possible to develop a control interface via http for the
    real time weather server ? Same question I have for the TV plugin.
    Reason:
    - If the admin is also a driver he have to change to the desktop to adjust settings this results most time in CTD. The window mode is under certain circumstances bad for rF2 performance (specialy for SLI user)
    - It would be more comfortable in any case

    Most of us have a smartphone and / or a tablett. If it would possible to control the tool
    via http interface or something similar IMO this would be a perfect solution.
    I've only less experience with development so please excuse if my question is ......
     
  12. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Ok, i will think about it.

    For now, i'm working on providing 64bits DLL of my plugins, so it will be ready when the rF2 64bit will be released.
     
  13. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Thx Gerald you are the best :)
    And you answered my second questions (64bit plugins) which I have even not asked.

    Many thanks!
     
  14. F1Aussie

    F1Aussie Registered

    Joined:
    Apr 1, 2011
    Messages:
    636
    Likes Received:
    271
    awesome Gerald, you the man!!
     
  15. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    These are the settings I used to write to a file:

    [​IMG]

    This is the output which is an hour ahead?

     
  16. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    In the file, the time is at the track location. Here it is 12h58:33 GMT+2

    Envoyé de mon GT-N7105 en utilisant Tapatalk
     
  17. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    Ah... I get ya now. So the times in the file show MY local time? The time I set it to was the LOCAL time for the location?
     
  18. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    In the HMI it is your time. And in the file it is the weather condition at the nearest time it was collected by weather stations in the lat/long time.

    Envoyé de mon GT-N7105 en utilisant Tapatalk
     
  19. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Weather Control Plugin v2.0 available
    - No functional change, but now you have the WeatherControlPlugin.dll for 32 bits (like previously) and the WeatherControlPlugin_x64.dll for the future rF2 64bit

    So as soon as a future rF2 build contains the 64bits support, you will already have the Weather Control Plugin for it.
     
  20. hockel

    hockel Registered

    Joined:
    Jan 11, 2012
    Messages:
    38
    Likes Received:
    0
    THX for your great Tool Gerald,
    we're using it for some time already and our F1 league is really happy with it, as we race the same weather as in the real F1 sessions just a day afterwards
    you did a great job here

    Only thing missing for me is the possiblity to have realtime weather on more than one dedicated server at the same time.
    Your tool supports one rf2 installation with multiple profiles, that's fine for most admins, but I would never run multiple dedicated servers like this.
    I prefer to have a full installation for each rf2 dedicated server instance we have running. And there lies the problem...

    What I (and a lot of admin) would need:
    - Either I would be able to start multiple instances of your realtime tool, one for each dedicated server,
    - Or being able to place multiple path values (for each rf2 server location as for 2 servers, I have 2 Core path's...) into the WeatherServer.ini

    Keep up the good work!
     
    Last edited by a moderator: Jun 24, 2014

Share This Page