[REL] WeatherPlugin

Discussion in 'Other' started by Stefan_L_01, Dec 14, 2017.

  1. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    You can't because you need a payment key when you raise an amount of daily callings to the weather server.
    The program is configured to not exceed the amount of free callings
     
  2. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Ohh no i meant increase as in every 5 minz etc up the time not lower lol. But you answered another question i had about exceeding limit lol so thanks.
     
  3. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    I think that you can't change the time (increase or decrease)
    But why to change it? I think that there is no reason.
    If there is no weather change between the callings the plugin does nothing and appear a label in the program similar to "No changes applied" (i don't remember esactly)
     
    jonno likes this.
  4. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    It was the worry of running over the limit but as you answered it i have no need to now lol...thanks for all your help lagg apretate it very much.
     
    lagg likes this.
  5. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    473
    Likes Received:
    531
    I hope this guide will help, as for the translation if it is not correct ... the fault lies with the boys of "Simon says" :D
    Many thanks to @lagg for his great help

    First. Install plugin & configure the server
    - Copy rf2WeatherPlugin.dll to ...\rFactor 2\Bin64\Plugins\
    - Copy rF2GeoData.xml to c:\Users\User\AppData(hidden folder)\Roaming\rF2WeatherPlugin\
    - Copy rf2WeatherClient.exe and Ionic.Zlib.dll ...\rFactor 2\Weather client\ (in my case) for example
    - launch dedicated server...close
    - open "player" folder (dedicated server)
    - open "CustomPluginVariable.JSON" file, lines should appear:
    "rf2WeatherPlugin.dll":{
    " Enabled":1,
    "UID":0
    },

    If the section does not exist, you are missing the runtimes of the rf2WeatherPlugin.dll,
    which if I am not mistaken are the vc 140 redistributable - Visual C ++ Redistributable for Visual Studio 2015
    If Enabled = 0 appears, change it to 1
    The UID is the identifier of the rF2 server. Each server must have a different number,
    so that the program knows to which rF2 server it should send the data.
    To the first server you put UID = 0, to the second UID = 1 ...
    Second. now set up the program
    1. Select "Store settings to XML"
    2. Server: It is the IP of the pc where you have the rF2 server.
    If it is on the same pc as the exe you leave the point.
    3. UID: the same as in the "CustomPluginVariables.JSON"
    4. Connect button for manual method
    5. Select "Auto-connect" (recommended)
    6. Select "live"
    7. API: OpenWeatherMap
    8. Log: disabled (optional)
    9. API KEY: put your personal & untransferable API KEY
    10. Store: to save the KEY API in the xml file and you don't have to write every time the program starts
    11. Lat & Lon: Latitude and longitude (Better the position of the station closest to the circuit)
    12. AutoSet: Disabled
    13. Rain mod: 100% (?)
    14. Rain Limit: 30% (To limit the amount of rain)
    15. Toff: 0% (?)
    16. dTime: 3 (better)
    [​IMG]

    Example to find out the coordinates of Canadian Tire Motorsport:
    - We look for the location of the circuit: Bowmanville
    [​IMG]
    - We get the location of the stations
    [​IMG]
    - We copy the coordinates and search them on google maps
    - we locate the circuit, in this case we see that it is north of the selected station.
    [​IMG]
    If we want to obtain more precise data, we look for a station that is closer. In the example Manvers and Tyrone are closer.
    [​IMG]
    Select one of them, Tyrone and those are the coordinates that I will use
    [​IMG]
    We have everything ready, now we start the server and everything should work
    [​IMG] [​IMG]

     
  6. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    fantastic tut @Corti were was you the other day lol...im all sorted now but im sure that will help future noobs like myself lol
     
  7. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Curious im sure a read on here that this plugin dont effect track temp..?
     
  8. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    This plugin can't change the track temp, because this is not implemented in the system that conects rF2 with it.
    No plugin can change the track temperature.
     
  9. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    It effects mine it usualy set to 29c but in game says 45c ambient temp is right says 12c and thats what it is in the area im using.
     
  10. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    As you can see in my game it says 45 in my server says 29 weird lol. 20191017_151324.jpg 20191017_151721.jpg
     
    buzz hornet likes this.
  11. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    This is really strange
    Do you have 29º in all sessions?
    Are you sure that you are looking the correct session?
     
  12. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Yup 29 in all and the lobby is right its mine so i know im in the right one..
     
  13. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    Then i don't know.
    Sorry
     
  14. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    You an me both bud nothing i can see is wrong it dont effect anything tbh so im not too fussed.
     
    lagg likes this.
  15. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    What a strainge one lol i log out reset server and its gone to the normal 29 lol..
     
  16. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    Did you have the temps before to 45º?
    I think that if you change the parameters in rF2, those aren't applied until the session changes
     
  17. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    No iv allways had them at 29 its a weird 1 but it seems to have fixed itself.
     
  18. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    OK, then don't touch anything :D
     
  19. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Lol im not.. I assume whan it says at the bottom NO CHANGE data sync delayed it just means the weather is still the same as it was 3 minz ago so nothing has changed..
     
  20. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,147
    Likes Received:
    791
    Yes
     
    jonno likes this.

Share This Page