[REL] rFactor2 Weather Tool

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

  1. KAMPFBIBER81

    KAMPFBIBER81 Registered

    Joined:
    Dec 12, 2012
    Messages:
    34
    Likes Received:
    4
    Ok, thanks for the answer Gerald.
     
  2. Jimmi Allison

    Jimmi Allison Administrator Staff Member

    Joined:
    Apr 2, 2011
    Messages:
    1,186
    Likes Received:
    1,002
    Any idea why it's started to make it really cold? Like 24 degrees to low
     
  3. Mee

    Mee Registered

    Joined:
    Oct 4, 2010
    Messages:
    154
    Likes Received:
    13
  4. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,518
    Likes Received:
    186
  5. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    16
    Yes, you need to alter the GPS coordinate to point to another location (like WiZPER propose 52.08319855,-0.88903427), until they remove the Gremlins from there station at Towcester ;)
     
  6. R-B

    R-B Registered

    Joined:
    Aug 6, 2013
    Messages:
    54
    Likes Received:
    0
    hmm, strange.

    i get on regulary basis a weahterunderground api usage alert.

    i have only 1 api active, and is setup on every 300 seconds! And also, the server is offline between 00.30 and 08.00.

    Small bug or use somebody elke using my api? :)
     
  7. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    16
    Do you use the same key for radar image?
     
  8. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,625
    Likes Received:
    698
    Remember you can generate another one.
     
  9. R-B

    R-B Registered

    Joined:
    Aug 6, 2013
    Messages:
    54
    Likes Received:
    0
    oh, the box was checked indeed. I uncheckt it now.

    i think this was the problem indeed :)
     
  10. Mee

    Mee Registered

    Joined:
    Oct 4, 2010
    Messages:
    154
    Likes Received:
    13
    The Weather Tool crashes with the new build.
     
  11. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    16
    Could you please give me more detail to be able to figure out the issue ? What do you do to be able to have the crash ?
     
  12. Mee

    Mee Registered

    Joined:
    Oct 4, 2010
    Messages:
    154
    Likes Received:
    13
    Sorry, my bad. I didn't notice I had another instance of the Weather Tool running.

    You could maybe implement a check on startup looking for another running WeatherServer.exe process?
     
  13. hossians

    hossians Registered

    Joined:
    Nov 2, 2014
    Messages:
    7
    Likes Received:
    0
    No calls to server after restarted Practise

     
  14. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    16
    Please could you describe me the procedure and what you see. It will be easier for me to make a quick fix.
    Thanks
     
  15. hossians

    hossians Registered

    Joined:
    Nov 2, 2014
    Messages:
    7
    Likes Received:
    0
    Hi Gerald

    One picture hopefully says more than words...
    View attachment 14746

    The dedicated server is set to stop/paus the server when no one is logged in. So when the first persons logs in the State change from STOPPED to RUNNING as I have Auto start checked.
    The tool then do one successfull api call to Weather Underground, but after that it doesn't continue polling the api.
    If I change "Ask server every:" by just one second or change location and press Apply it works correctly until the last persons logs out. It doesn't matter if it is every 173s or 10s update
    There is no difference if I have Radar image activated or not.

    Hope you can solve it, thanks in advance.
    /Henrik
     
  16. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    16
    I see an unexpected error in your screenshot. Can you translate it to me please?

    Additionnally, in the previous post before this one, you spoke about an issue when restarting the session. Is this a new issue, or two way to reproduce the same bug ?
     
  17. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    16
    Here the fix.

    Plugin 2.2.1 Available (only the plugin DLLs have been updated)

    - Fix a bug: the weather server stop to call website when the dedicated server is set to "be paused when there is no human player on it".
    Code:
    "Pause While Zero Players":true,
     
  18. hossians

    hossians Registered

    Joined:
    Nov 2, 2014
    Messages:
    7
    Likes Received:
    0
    Big thanks, now it seems to be working!

    Regarding the fault message, I think that is what you discussed earlier that Weather Underground not always answers. The text can be translated into Timelimit has been exceeded.

    Again, thanks for quick support!!

    /Henrik
     
  19. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    2,606
    Likes Received:
    1,648
    Hi Gerald.
    Yesterday it was raining and stop raining during all the race.
    We realise that the changes were too much sudden. It was like if we were opening and closing the shower.

    Is there any way to make a transition between rain and no-rain and vice-versa?

    And as always, thank you very much for your effort.
     
  20. Mee

    Mee Registered

    Joined:
    Oct 4, 2010
    Messages:
    154
    Likes Received:
    13
    That's the purpose of the "Smoothing weather change"-parameter you can use. This specifies how many seconds the weather transition takes. So if it is raining at the moment and the next call to Weather Underground returns "not raining", it takes this specified transition time to go from rain to no rain. I have set this at 100 seconds, with a WU-call every 200 seconds.
     

Share This Page