[REL] rFactor2 Weather Tool

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

  1. Matti1291

    Matti1291 Registered

    Joined:
    Mar 3, 2013
    Messages:
    110
    Likes Received:
    2
    Yes that's a way, but the change would be any way unrealistic. I mean, I can't pass from 13% to 37% in a second, it should gradually increase.
     
  2. Nazirull Safry Paijo

    Nazirull Safry Paijo Registered

    Joined:
    May 28, 2011
    Messages:
    1,417
    Likes Received:
    35
    Hi guys...ive bumped into some error

    [​IMG]
     
  3. Jeferson Richart

    Jeferson Richart Registered

    Joined:
    Oct 23, 2013
    Messages:
    124
    Likes Received:
    23
    Hello

    My radar generated does not bring the rain image (colored clouds). As you can see in the picture, the same location shown on the radar and Wundergroud site, are different.
    Both show the "Doppler Radar" correctly (circled in red), but the colored clouds that appear on the site (rain intensity), are not shown on the radar.

    Already tried changing the value in Radius, for more and for less (10 km to 1000 km).

    What am I doing wrong? The track is Red Bull Ring in Austria, but in other locations, happens the same.

    Thank you

    View attachment 15635
     
    Last edited by a moderator: Feb 1, 2015
  4. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,023
    Likes Received:
    327
    Wondered if this feature could be implemented.... a realtime weather delay?

    For example, we run 8pm on our server but a race time of 4pm. Would be cool to have weather delayed so we had what it was really like at the track at 4pm.

    Is this possible? Setting up the recording feature is sometimes a bit tiresome, so hoping for a "hands-free" weather delay that would just keep going.
     
  5. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    760
    Likes Received:
    198
    I have a question regarding the "rain intesity cap" function. If i cap it at 10% and it rains 50% is the rain intensity on the server at 10% or at 5%?
     
  6. WiZPER

    WiZPER Member

    Joined:
    Oct 5, 2010
    Messages:
    1,521
    Likes Received:
    186
    If it is a CAP then it should be 10%, but I think that a Multiplier setting could be interesting...
     
  7. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,650
    Likes Received:
    1,045
    According to my tests it's a 10%
     
  8. Didier Coquillard

    Didier Coquillard Registered

    Joined:
    Jul 24, 2013
    Messages:
    95
    Likes Received:
    3
    i have same problem Nazirull Safry Paijo
    View attachment 15733

    I try to regenarate api key, but unsolved problem
     
  9. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,023
    Likes Received:
    327
  10. Didier Coquillard

    Didier Coquillard Registered

    Joined:
    Jul 24, 2013
    Messages:
    95
    Likes Received:
    3
    Ooppss...thanks [emoji1]
     
  11. Satangoss

    Satangoss Registered

    Joined:
    Jun 2, 2011
    Messages:
    1,123
    Likes Received:
    7
    Interlagos inserted in the Google Docs databases.

    Code:
    	<Location name="Interlagos" inProfiles="1">
    		<Providers>
    			<Provider id="1">
    				<Parameters>
    					<Parameter name="Location" value="BRXX0232"/>
    				</Parameters>
    			</Provider>
    			<Provider id="2">
    				<Parameters>
    					<Parameter name="Longitude" value="-23.6998"/>
    					<Parameter name="Latitude" value="-46.697"/>
    				</Parameters>
    			</Provider>
    		</Providers>
    		<Directories>
    			<Directory path="Saopaulo"/>
    		</Directories>
    	</Location>
    
     
  12. DocJones

    DocJones Registered

    Joined:
    Jan 26, 2011
    Messages:
    403
    Likes Received:
    5
    I would like to propose an enhancement to an already great tool:
    Since with the free Wunderground API key we can only pull data from the server 500 times per day, and since most servers are not in use most of the day but only for a few hours in the evenings, it would be great if it was possible to schedule different intervals for pulling data based on the time of day. Like between 0 and 8 am when there's nobody on the server anyways, the tool would not pull data at all, between 8 am and 4 pm when most people are at work, say twice an hour - thus making it possible to use a much shorter interval than 173 seconds during the busy hours in the evening. It would be fantastic if such a schedule could even be configured to each communities/servers individual requirements.

    We were thinking about increasing the interval because it seems the rF2 dedi does pull the weather from the .wet file at the beginning of each session before it gets the next update from the Weather Tool. If you have sunny weather set up in the .wet file but it's actually cloudy and/or rainy, you get some very harsh weather changes currently (well at least on build 910, haven't had the time to test 930 yet) despite using a smoothing value of 120 seconds. If it changes from clear sky to heavy clouds for instance, it makes the sky flicker badly two or three times for me before the server has completed the change. (That's only at the beginng of sessions though, the smoothing does work generally.) This is particularly irretating at the beginning of race sessions, and I hope it can be resolved using a shorter pull interval like twice per minute or lower. With a high enough value for "Race Client Wait" in Multiplayer.json ("Seconds to wait at the beginning of a race session for clients to get ready and go to grid") the issue might be resolved almost completely. At least it would be much less irretating if the change happened before the actual start of a race.
     
  13. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,023
    Likes Received:
    327
    There is something about fading clouds for build 930, "possible fix" I think it said in changelog or build thread.
     
  14. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,650
    Likes Received:
    1,045
    Hi all.
    I've a problem with the WeatherServer.
    In the statusbar appear a messaje telling "Unexpected Error: No se puede reconocer la cadena como valor DateTime válido."
    In english:
    Unexpected Error: Can not recognize the string as a valid DateTime value.​
    [​IMG]

    I've installed and configured the plugins in two rF2 Dedicated and both appear running in the WeatherServer.
    Then i supose that the plugins config are OK (the client side).
    Code:
    //
    [Plugin]
    Port=12346
    
    [Server]
    Address=localhost
    Port=23456
    
    Code:
    //
    [Plugin]
    Port=12345
    
    [Server]
    Address=localhost
    Port=23456
    
    The server config is:
    Code:
    // Weather Server ini file
    [RFACTOR2]
    // The directory containing the "core" directory
    CorePath=c:\RR\Servidores2\Realtime_Server
    // The directory where GDB/AIW will be extracted
    GDBExtractPath=c:\RR\Servidores2\Realtime_Server\tracks
    
    [SERVER]
    Port=23456
    DefaultWeatherUndergroundAPIKey=
    HttpPort=8081
    HttpPath=./web
    
    [Plugins]
    count=2
    pluginSection.1=12345
    pluginSection.2=12346
    [12345]
    temperatureCelciusOffset=5
    rainIntensityCap=50
    smoothingDelay=80
    Radar.width=200
    Radar.height=200
    Radar.timeLabelOffsetX=50
    Radar.timeLabelOffsetY=185
    Radar.haveRadarInfo=1
    Radar.haveSatelliteInfo=1
    Radar.radiusKm=40
    askWeatherEveryInSecond=173
    ownLatitude=45.22
    ownLongitude=1.46
    useOwnLocation=0
    WeatherUndergroundAPIKey=????????
    weatherMode=Realtime
    Radar.displayTimeLabel=0
    [12346]
    Radar.displayTimeLabel=1
    rainIntensityCap=25
    WeatherUndergroundAPIKey=????????
    ownLatitude=52.42
    ownLongitude=1.46
    useOwnLocation=1
    weatherMode=Realtime
    smoothingDelay=82
    temperatureCelciusOffset=0
    askWeatherEveryInSecond=180
    overrideGDB=0
    extractAIW=0
    userRainingIntensity00=0
    userRainingIntensity01=0
    userRainingIntensity02=0
    userRainingIntensity10=0
    userRainingIntensity11=0
    userRainingIntensity12=0
    userRainingIntensity20=0
    userRainingIntensity21=0
    userRainingIntensity22=0
    userCloudCoverage=0
    userTemperatureInCelcius=0
    userWindSpeedKMH=0
    Radar.haveRadarInfo=0
    Radar.haveSatelliteInfo=0
    
    Do you know how to solve this problem?

    Thanks.
     
    Last edited by a moderator: Mar 2, 2015
  15. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    344
    Likes Received:
    210
    Is it possible to show in the widget the current location (or track name), which is used for the weather radar? (e.g. if weather data is from Silverstone). I've tried different things, but couldn't get it working to show the location.
     
  16. Flipo

    Flipo Registered

    Joined:
    Dec 29, 2013
    Messages:
    42
    Likes Received:
    9
    I have the same problem:

    Unexpected Error: String was not recognized as a valid Date Time
     
  17. canastos

    canastos Registered

    Joined:
    Dec 23, 2011
    Messages:
    483
    Likes Received:
    2
    Could it be because of asking server every 10 seconds?
    I don't know much about this tool, but I'm guessing that weather server would also ask WU every 10 seconds, and after having used your 500 hits per day, which would happen very quickly, WU would be giving an error answer instead of Date Time Weather or whatever it gives ;)

    byyyyyyyye
     
  18. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,650
    Likes Received:
    1,045
    Hi canastos (hola caracola)
    The server is configured to hit every 180 sec , but i changed it to 10 sec for testing purposes.
    And no, i've not exceeded the 500 hits.
    Thanks.
     
    Last edited by a moderator: Mar 3, 2015
  19. Flipo

    Flipo Registered

    Joined:
    Dec 29, 2013
    Messages:
    42
    Likes Received:
    9
  20. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,650
    Likes Received:
    1,045
    Hi all.
    One question.
    Is it working for somebody?
    And, in this case, could you post your config? (WeatherServer.ini and WeatherControlPlugin.ini)
    Make sure you hide your key ;)

    Thanks.
     

Share This Page