[REL] WeatherPlugin

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

  1. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    51
    Likes Received:
    17
    Then im all good really great help from people and a fantastic plugin to give my btcc league an extra spice when season 2 kicks off next year..
     
  2. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    463
    Likes Received:
    179
    BTCC, i'm in !!
     
  3. buzz hornet

    buzz hornet Registered

    Joined:
    Oct 5, 2010
    Messages:
    103
    Likes Received:
    44
    Great tool easy to set up and simple to use - thanks to Corti for the detailed instructions.
     
  4. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    425
    Likes Received:
    244
    13. Rain mod: 100% (?)
    You can increase / decrease the rain rate by this percentage. E.g. 200% -> twice as much rain rate as it would be for 100%.

    14. Rain Limit: 30% (To limit the amount of rain).
    Exactly, but this is the amount like shown ingame (e.g. 6%). So you can avoid monsuns. Actually the rain rates by most weather engines are so low that I would leave it open on 100%

    15. Toff: 0% (?)
    Temperature offset. Its not %, its degree. Nowaday temps can be down to < 10°C, or even minus. That way you can bring it up to 10-20°C range approx. by adding a value.
     
    Corti, lagg and buzz hornet like this.
  5. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,826
    Likes Received:
    579
    Hello @Stefan_L_01 , I try to use your plugin/program and I have no information displayed in the client :
    upload_2019-11-21_0-55-22.png

    How the plugin and the program communicate, because I'm not on the default port of rF2.
    The plugin is in <rFactor 2>\Bin64\Plugins
    The program is in a tool folder of the same PC
    The CustomPluginVariables.JSON have this configuration :
    "WeatherControlPlugin.dll":{
    " Enabled":1,
    "UID":0
    },
    The rF2GeoData.xml is in User AppData\Roaming\rF2WeatherPlugin\

    I don't know what I do wrong.
     
  6. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,558
    Likes Received:
    993
    Do you have the Dark Sky API key?
     
  7. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    586
    Likes Received:
    713
    In the championships (ISR) that we use the plugin I usually modify the temperature of the track manually based on the data provided by this link ;)
    http://www.myweather2.com/motor-racing.aspx
     
    atomed and philmcqueen like this.
  8. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    425
    Likes Received:
    244
    Me not too..
    Try to follow this
    https://forum.studio-397.com/index.php?threads/weatherplugin.58614/page-5#post-983912
    In case pipe does not show install latest vs14 (2015) redist. Added link in first posting
     
  9. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,826
    Likes Received:
    579
    No, for the moment I just try to have "Connected" displayed, so I let the manual side selected pending the connection, after I will test the DarkSky.

    I installed the pipe program and it says :
    rf2WeatherPlugin 1 1
    upload_2019-11-21_20-20-52.png

    I installed the vs14 redist 64 & 32bits, and no change, same status as the screen posted above.
     
  10. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    425
    Likes Received:
    244
    Hmm I cant say for the moment. Is any security blocking named pipe access?
    Is there another client running hidden with same Uid owning the access ?
     
  11. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,826
    Likes Received:
    579
    Will try to reboot and investigate more. I will let you know if I found something.
     
  12. Mr.Thor

    Mr.Thor Registered

    Joined:
    May 25, 2013
    Messages:
    239
    Likes Received:
    30
    Hi @Stefan_L_01
    since thursday i have the problem "webquery failed". Did not do any changes on the server (Windows Server 2008), but it does not get any data from darksky anymore. I checked the coordinates (no space somewhere, it is a dot, no comma ), i restarted everything and tried it with a new API Key, but it is still the same. Also a change of the track on rf2 dedi server did not help.
    Do you have any idea what else can be wrong? my first idea was a problem at Darksky, but after 2-3 days i am afraid it is not on their side.

    edit: Version 1.11.0.0 running
     
  13. RoWo

    RoWo Registered

    Joined:
    Jul 16, 2014
    Messages:
    313
    Likes Received:
    364
    I second that!
     
  14. Mr.Thor

    Mr.Thor Registered

    Joined:
    May 25, 2013
    Messages:
    239
    Likes Received:
    30
    Same Problem for you? Than i expext it to be a problem on DarkSky...
     
  15. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    586
    Likes Received:
    713
    Dark Sky same problem here. (webquery failed)
    Open Weather ok
     

    Attached Files:

  16. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    425
    Likes Received:
    244
    Pls try 1.11b (1.11.2), updated file on first page / first posting
    Note: Only client as changed (exe), plugin dll is unchanged
    BR
     
    atomed, buzz hornet, lagg and 2 others like this.
  17. Mr.Thor

    Mr.Thor Registered

    Joined:
    May 25, 2013
    Messages:
    239
    Likes Received:
    30
    Hi Stefan,
    thanks alot it is running again :)
     
  18. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    586
    Likes Received:
    713
    Many thx Stefan.
    P.D.: In case of help copy the file rf2WeatherClient.xml in the new folder and it worked at the first
     

    Attached Files:

  19. baal

    baal Registered

    Joined:
    Apr 12, 2012
    Messages:
    1
    Likes Received:
    0
    Hello Stefan,
    the CustomPluginVariables.JSON file doesn`t appear in the rfactor2 /userdata /player folder.
    So I can't know what is my UID. What is happening?
     
  20. buzz hornet

    buzz hornet Registered

    Joined:
    Oct 5, 2010
    Messages:
    103
    Likes Received:
    44
    Thanks Stefan - can confirm updated file did the trick.
     

Share This Page