[REL] WeatherPlugin

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

  1. ChalkyWIS

    ChalkyWIS Registered

    Joined:
    Sep 14, 2016
    Messages:
    20
    Likes Received:
    3
    Thanks for the info. I tried a few things and even checked for any additional ports that rF2 dedicated may be listening.
    To be honest I haven't a clue what I've done to resolve it, but at least when it was working I can see the plugin in the named pipe list now.
    Also, the Auto Save feature now works too! So double bonus.
    Better now leave it and not fiddle in case I break it.
    Thanks for your assistance Stefan.
     
  2. Felipe Granado

    Felipe Granado Registered

    Joined:
    Aug 29, 2013
    Messages:
    27
    Likes Received:
    4
    Guys,

    I have same ChalkyWIS' problem but I can't solve...

    CustomPlugins set 9 and the plugin 9 too... Says connection timeout (DarkSky and OWM)

    Pipelist don't appears the plugin listed...

    Since I changed the server from W Server 2012 to W Server 2016 the plugin not works..

    Any ideia?
     
  3. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    Do you have the vc140 redist installed?
     
  4. Felipe Granado

    Felipe Granado Registered

    Joined:
    Aug 29, 2013
    Messages:
    27
    Likes Received:
    4
    I don't know.. I verify this in Server PC..

    EDIT:

    SOLVED! It was vcredist 140! Thanks @lagg for info (and the plugin creator!) :)

    PS: Have you an information about track temperature? If there's some feature (or other plugin) about this...
     
    Last edited: May 29, 2019
  5. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    It's not possible.
    The rF2 doesn't allow currently that
     
    Felipe Granado likes this.
  6. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    Sorry. I don't speak portuguese
     
  7. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    no change - applying data skipped means that the weather is the same than 3 minutes before and the plugin doesn't have to change anything in the rF2 server.
    It's ok.
    The plugin will change the weather in the rF2 server, when the weather changes
     
    Felipe Granado and Corti like this.
  8. infiltrado

    infiltrado Registered

    Joined:
    Jul 7, 2016
    Messages:
    11
    Likes Received:
    1
    Hello and thanks for the job.

    I try to install the plugin and it seem to works, but not.

    I copied the .dll to my bin64\plugin and rfactor recognize it, the server is connect but in the game i don't see the rain

    [​IMG]

    I tried to change the option simple weather to scripted, but the result is the same

    Perhaps I forgott something?

    Thanks in advance.
     
  9. Felipe Granado

    Felipe Granado Registered

    Joined:
    Aug 29, 2013
    Messages:
    27
    Likes Received:
    4
    Thanks again for your information!

    I don't understand, I write in english.. hahaha!
     
  10. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    345
    Likes Received:
    161
    You are new connected but in manual mode. You have to hit apply once...
     
  11. Onno Nieuwenburg

    Onno Nieuwenburg Registered

    Joined:
    Aug 18, 2018
    Messages:
    5
    Likes Received:
    1
    Hello,

    I can't connect to my rf2 dedi server everything is setup as it should but he will not connect.
    What dit i do wrong?

    regards
    Onno Nieuwenburg
     

    Attached Files:

    • rf2.PNG
      rf2.PNG
      File size:
      129.6 KB
      Views:
      64
  12. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    Check if rf2WeatherPlugin.dll is in ...\rFactor 2\Bin64\Plugins\ and launch rF2
    Check if appears a section called rf2WeatherPlugin.dll in ...\rFactor 2\UserData\player\CustomPluginVariables.json
    If the section doesn't exist, install the vc140 redist, launch again rF2 and check if appears the section in CustomPluginVariables.json.
     
    Corti likes this.
  13. Onno Nieuwenburg

    Onno Nieuwenburg Registered

    Joined:
    Aug 18, 2018
    Messages:
    5
    Likes Received:
    1
    It is working i added the lines myself and that was wrong.
    As soon as i deleted the lines and started everything it worked.

    Thanks great tool!
     
    Corti likes this.
  14. Christof1971

    Christof1971 Registered

    Joined:
    Sep 10, 2019
    Messages:
    1
    Likes Received:
    1
    This works great thanks :)

    Could you make this also set the time of day as well based on real time? I would say have it as a toggle option :)
     
    Liuke44 likes this.
  15. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Hey guys any chance some one can point me in the direction of getting an api key please really appreciate it alot.

    Also and im sorry beforehand for my dumb question. Setting location iv read its done with longitude an latitude i assume this will have to be manually enterd for each track location.?? Told you its a dumb question lol.
     
  16. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    You can use keys from DarkSky
     
    Corti, t0p5ecret and jonno like this.
  17. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    I dont understand it i have followed everything down to the last letter and its still not working

    Have a dedi server on windows 8.1
    And its litraly just got rf2 on it.
    (I dont play from this pc)

    I have the rf2weather.dll in rf2 bin64/plugins
    I have my api key iv made a new mod just incase it was my other mod and its still not working.
    Vc140 redist is up to date as i saw above i made sure it was. Iv loaded rf2 and closed checked the custompluginvariables and nothing shows up what am i missing. In the rf2weather plugin download there is also 2 other files ionic.Zilb.dll and rf2GeoData do they need to go somewere.

    Im sure its a simple thing iv over looked but my mind is now a blank please help..
     
  18. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Ohhh yeah i got it working lol for some reason i had to uninstall the runtimes and reinstall and it was up thank god for that.. Just one question how often does the weather update is it seconds or ?? Does it change mid game so if it starts raining in the location i use will it start in game.????? Sorry if they seem dumb questions pretty new to this lol..
     
  19. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,126
    Likes Received:
    778
    I'm glad it's working.
    The plugin makes a call to the weather provider every 3 min and if the weather changes, it's applied to the server at this moment.
     
    jonno likes this.
  20. jonno

    jonno Registered

    Joined:
    May 12, 2019
    Messages:
    46
    Likes Received:
    14
    Ahh cool is there a way to increase the time. Or is 3 minz all you can do..???
     

Share This Page