[REL] rFactor2 Weather Tool

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

  1. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    Its working now
     
  2. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    Feature request: The ability to have the API key hidden unless you press a key to reveal it.
     
  3. Karei

    Karei Registered

    Joined:
    Jun 10, 2016
    Messages:
    93
    Likes Received:
    73
    I have exactly the same issue :( can't open it
     
  4. F3n3k

    F3n3k Registered

    Joined:
    Feb 18, 2012
    Messages:
    87
    Likes Received:
    6
    Same for me, this mod not working anymore....
     
  5. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    Any of you have checked what character is in the line and position of the xml?

    Enviado desde mi ONE A2001 mediante Tapatalk
     
  6. F3n3k

    F3n3k Registered

    Joined:
    Feb 18, 2012
    Messages:
    87
    Likes Received:
    6
    this lines are the problem:
    <Provider id="3" class="WeatherUnderground">
    <Parameters>
    <Parameter name="ApiKey" value="<Your API KEY here>"/>
    </Parameters>
    </Provider>
     
  7. F3n3k

    F3n3k Registered

    Joined:
    Feb 18, 2012
    Messages:
    87
    Likes Received:
    6
    Ok i found the problem:

    remove these caracter ( < and > ) in this line:
    <Parameter name="ApiKey" value="<Your API KEY here>"/>
    like this:
    <Parameter name="ApiKey" value="Your API KEY here"/>
     
  8. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    I can see that default xml file provokes an error which I would consider a small bug considering the confusion it provokes.

    What you have done may avoid the error but you will not get the static weather working if you have selected WU as provider.
    I am not sure if the other providers are stil available at the moment since I get a different (and not so explicit) error when I change the provider id setting at line 46 to 0 or 1. The plugin's last update was more then one year ago so things might have changed.

    To use WU you need to request an API code in WU website and substitute <Your API KEY here> by the code you will receive from WU.

    There are some instructions which are some lines up in the xml of how to request the API key.
     
  9. F3n3k

    F3n3k Registered

    Joined:
    Feb 18, 2012
    Messages:
    87
    Likes Received:
    6
    Sorry i understand nothing...

    Actually it's work fine, with 7Timer server,
    and a Api request with wheather underground server

    If you talk about that, can you give me the api key please

    Cya
     
  10. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Each user has his own key, provided by Weather Underground.
    Are you sure that it's working without the key?

    Enviado desde mi HUAWEI GRA-L09 mediante Tapatalk
     
  11. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    If 7timer still works with the static weather tool then you are fine.

    Enviado desde mi ONE A2001 mediante Tapatalk
     
  12. F3n3k

    F3n3k Registered

    Joined:
    Feb 18, 2012
    Messages:
    87
    Likes Received:
    6
    Yep 7timer work fine

    thanks and cya
     
  13. Karei

    Karei Registered

    Joined:
    Jun 10, 2016
    Messages:
    93
    Likes Received:
    73
    Could be that it's because I've got rF2 from Steam. Anyway I solved the parsing error, but I still can't enter the program.

    If I do this:

    <Game dataPath="C:\Program Files (x86)\Steam\steamapps\common\rFactor2"/>

    WorldWeather says:

    The dataPath in the WeatherConfig.xml file does not reference a rFactor2 data directory.
    Cannot find: C:\Program Files (x86)\Steam\steamapps\common\rFactor2/Userdata/config.ini

    I tried to swith from \ to /
    I tried every possible directory.
    Nothing. It just doesn't work.
     
  14. TheLeadWolf

    TheLeadWolf Registered

    Joined:
    Apr 13, 2016
    Messages:
    100
    Likes Received:
    6
    Hi,
    If I understand correctly, I can run Weather Server locally and Plugin in RF2 will communicate with it, right?

    I do not see weather applied in the game. I can see that weather server queries Underground Weather for my track, and gets weather stats, but I do not see them applied. There are two things suspicious:
    In Console, I have error in red:
    Unexpected Error: Value cannot be null
    Parameter Name: address

    Second, State column for plugin port always says STOPPED. It could be because I am alt tabbed out of game, but still suspicious.

    Thanks in advance!

    UPDATE: Got it working - not sure what that was allowing all possible exceptions in Firewall for both .exe's or running server elevated once, but error is gone and it rains in Hockenheim :DDD, wow, rf2 gets better and better. Thanks a lot for this mod.
     
    Last edited by a moderator: Aug 11, 2016
  15. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    In the weather realtime plugin UI, the stop button is something to do with web access to the plugin. If you are running locally then it only needs to use port 12345 (default) and 666.
     
  16. TheLeadWolf

    TheLeadWolf Registered

    Joined:
    Apr 13, 2016
    Messages:
    100
    Likes Received:
    6
    Thank you for the hint - are you saying that running locally I don't need to even start webserver in the UI?
     
  17. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    Exactly. Even when running online you don't have to unless you make use of that feature (I never did)

    Sent from my Nexus 7 using Tapatalk
     
  18. Karei

    Karei Registered

    Joined:
    Jun 10, 2016
    Messages:
    93
    Likes Received:
    73
    Is there a step-by-step tutorial? I can't make any of this work :(
     
  19. TheLeadWolf

    TheLeadWolf Registered

    Joined:
    Apr 13, 2016
    Messages:
    100
    Likes Received:
    6
    I can try to help. Do you have Weather Underground API key already?
     
  20. Karei

    Karei Registered

    Joined:
    Jun 10, 2016
    Messages:
    93
    Likes Received:
    73
    I do!
    I'm on Windows 10 64bit, Steam version of rF2.
     

Share This Page