[REL] rFactor2 Weather Tool

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

  1. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,186
    Likes Received:
    797
    I'm glad to know it, André.
    Woodee, i 'know that it's possible to config in an unique server, but i don't know how to do it.
     
  2. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    2,876
    Likes Received:
    236
    You don't know how to make extra profiles?
     
  3. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,186
    Likes Received:
    797
    Yes, but i don't know hot to config the Weather Server i different profiles

    Enviado desde mi E2003 mediante Tapatalk
     
  4. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    2,876
    Likes Received:
    236
    Each profile, will have a weather config file, WeatherControlPlugin.ini which basically just has a port number in eg. 12345).

    Just have a weather config file in each user profile with different ports in each file. The app will pick them all up.
     
  5. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,186
    Likes Received:
    797
    Ok, thanks. Is the same than with different instalations.

    Enviado desde mi E2003 mediante Tapatalk
     
  6. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    2,876
    Likes Received:
    236
    I think even if you had different installs, the weather app would be listening for ports anyhow and pick them up.
     
  7. rigodon

    rigodon Registered

    Joined:
    Dec 26, 2012
    Messages:
    183
    Likes Received:
    4
    Hi, I'd like to notify a strange behaviour in the Static App. Please have a look at attached image. I retrieved the weather forecast 5 minutes before the Brazilian GP (13:55 at Sao Paulo). However, the weather tool is not retrieving the weather at 14:00, it just retrieves up to 11:00, and that's the displayed weather. Same output (and weather) repeats for the 3 sessions. Is it a bug? A problem in weather.com side?

    View attachment 18571
     
  8. DocJones

    DocJones Registered

    Joined:
    Jan 26, 2011
    Messages:
    403
    Likes Received:
    5
    This was in response to the issue of quick and harsh changes of lighting conditions and/or cloud coverage regardless of smoothing value used in weather server, the reason for that suspected in changes in Internals Plugin v7 over v6. Did you get a feedback on that from an ISI dev, Gerald? With build 1008 the issue is still present. Haven't had the time to test with 1028 yet though.
     
  9. shiet

    shiet Registered

    Joined:
    Nov 3, 2014
    Messages:
    351
    Likes Received:
    123
    Corrected Mosport.
    Added Road America.
    Added Road Atlanta (Atlantic Road).

    edit: something is wrong, when I start rFactor2worldweather.exe I get this error message: View attachment 18656

    in English this is something like this:
    invalid attribute character
    row 40, position 17
     
    Last edited by a moderator: Nov 24, 2015
  10. yusupov

    yusupov Registered

    Joined:
    May 22, 2014
    Messages:
    679
    Likes Received:
    16
    bump, i get the same, anyone know what the issue is? line seems to be the middle one here:

    <Location name="Adelaide" inProfiles="1”>
    <Providers>
    <Provider id="1">

    '>', hexadecimal value 0x3C, is an invalid attribute character.

    removing adelaide solves the issue but i dont see what the error is.
     
  11. SRosswick

    SRosswick Registered

    Joined:
    Apr 10, 2014
    Messages:
    78
    Likes Received:
    0
    I have had the same issue as well. Thanks for the workaround yusupov.
     
  12. BoothJoe

    BoothJoe Registered

    Joined:
    Oct 12, 2015
    Messages:
    202
    Likes Received:
    8
    I have those exact same lines in my config and get no errors. However, I did see this a while back when I was setting up the weather for a 1966 RaceEvent. I retyped the lines and it worked just fine. Maybe there's a hidden character in there that you don't see. If you use something like WinVI, you can look at the text in hex mode, and that might show you if there's something in there that shouldn't be (especially if you cut and pasted the entry from somewhere else). Here's my Adelaide entry:

    <!-- ******************** Australia/Adelaide 11/3 *********************** -->
    <Location name="Adelaide" inProfiles="1">
    <Providers>
    <Provider id="1">
    <Parameters>
    <Parameter name="Location" value="ASXX0001"/>
    </Parameters>
    </Provider>
    <Provider id="2">
    <Parameters>
    <Parameter name="Longitude" value="138.599959"/>
    <Parameter name="Latitude" value="-34.928621"/>
    </Parameters>
    </Provider>
    </Providers>
    <Directories>
    <Directory path="Adelaide"/>
    </Directories>
    </Location>
     
  13. SRosswick

    SRosswick Registered

    Joined:
    Apr 10, 2014
    Messages:
    78
    Likes Received:
    0
    Some more entries that I haven't seen added. Please let me know if I'm doing this wrong.

     
    Last edited by a moderator: Dec 7, 2015
  14. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    6,867
    Likes Received:
    2,659
    The closing-quotes for inProfiles don't look normal. ( inProfiles="1> )

    This means it isn't recognised as being the end of the inProfiles parameter, so then the > is part of the parameter - which is invalid. Replacing that character with normal quotes should fix it.
     
  15. BoothJoe

    BoothJoe Registered

    Joined:
    Oct 12, 2015
    Messages:
    202
    Likes Received:
    8
    I cut and pasted it into winvi and sure enough, that close quote is actually a 94 hex rather than a 22 hex. That's why retyping some of the stuff when I had issues solved the problem. And it perpetuates itself because people cut and paste the stanza and it looks correct to the naked eye.
     
  16. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    2,876
    Likes Received:
    236
    Is this a problem with the track? Or can I fix it on the weather UI?

    [​IMG]
     
  17. shiet

    shiet Registered

    Joined:
    Nov 3, 2014
    Messages:
    351
    Likes Received:
    123
    Somebody erased the whole content of the weatherconfig.xml (it's empty when I download it) so pls fix it.
     
  18. BoothJoe

    BoothJoe Registered

    Joined:
    Oct 12, 2015
    Messages:
    202
    Likes Received:
    8
    Something happened tonight (12/14/2015). Weather Tools fails with this error:

    Collect weather data for 12/1/2015 12:00:00 AM
    http://uk.weather.com/weather/almanacHourly-ASXX0075:1:SP?day=13
    ERROR: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: startIndex
    at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
    at System.String.IndexOf(String value, Int32 startIndex)
    at rFactor2WorldWeather.Providers.TheWeatherChanelProvider.Collect(DateTime start, Int64 durationMinute, Int32 startPercentage, Int32 sizePercentage, Boolean hideWeatherData)
     
  19. ucfquattroguy

    ucfquattroguy Registered

    Joined:
    Dec 23, 2011
    Messages:
    133
    Likes Received:
    25
    Same here. Since it's polling from a 3rd party (i.e. Weather.com), could something have changed on their end??
     
  20. BoothJoe

    BoothJoe Registered

    Joined:
    Oct 12, 2015
    Messages:
    202
    Likes Received:
    8
    I think you're correct. I think something changed on the weather.com site. I used to be able to find historic weather there by going to the site in a browser and just clicking on some buttons. But now I can't. It may be that they changed that or else I just forgot how I did it. I pared my weather xml file down to the one track just for testing and it did not work with Road America, which had worked Sunday night.
     

Share This Page