[REL] rFactor2 Weather Tool

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

  1. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,827
    Likes Received:
    611
    Yes you need to configure for each different port with different keys for each if you are using free key to avoid "too request by 24h limitation".
     
  2. Euskotracks

    Euskotracks Registered

    Joined:
    Nov 29, 2013
    Messages:
    1,092
    Likes Received:
    191
    You need one API key for each server unless you want to share the maximum number of calls.

    We have independent installs and each of those is configured in the same way. What is exactly your problem?

    Enviado desde mi SM-G130HN mediante Tapatalk
     
  3. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    Just change to port for each needed server. I take it that each server has their own user profile where the weather ini resides?
     
  4. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    I own 3 api's different but maybe set up wrong in WeatherServer file. please, look my archive is correctly config. how to configure o weatherserver for sending data from three servers.
    View attachment 18350
     
  5. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    WeatherControlPlugin.ini in C:\Users\<user name>\Documents\rFactor2\UserData\player

    Change 12345 to something else in each profile you have for each server.
     
  6. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    i am changed its doors on weathercontrol plugin file in user data, but is only opening a server. Please if possible one step by step.
     
    Last edited by a moderator: Oct 23, 2015
  7. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Could you post your WeatherServer.ini and WeatherControlPlugin.ini?
     
  8. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    Hi lagg,

    this in the above image.

    server.jpg archive server.ini and three archives weather control plugin.
     
  9. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Would be interesting to read the whole text of the WeatherServer.ini and the three WeatherControlPlugin.ini
     
  10. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    My folder userdata and realtime_server.
     
    Last edited by a moderator: Oct 23, 2015
  11. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Change the content of your WeatherServer.ini for this one

    // Weather Server ini file
    [RFACTOR2]
    // The directory containing the "core" directory
    CorePath=C:\Program Files (x86)\rFactor2
    // The directory where GDB/AIW will be extracted
    GDBExtractPath=C:\Program Files (x86)\rFactor2\Bin32\Plugins\TrackMap\Tracks

    [SERVER]
    Port=666
    DefaultWeatherUndergroundAPIKey=a41e6908809292d0
    HttpPort=8081
    HttpPath=./web
    AutoStartHttp=1

    [Plugins]
    count=3
    pluginSection.1=12345
    pluginSection.2=34200
    pluginSection.3=35200

    [12345]
    temperatureCelciusOffset=0
    rainIntensityCap=100
    smoothingDelay=0
    Radar.width=200
    Radar.height=200
    Radar.timeLabelOffsetX=50
    Radar.timeLabelOffsetY=185
    Radar.haveRadarInfo=0
    Radar.haveSatelliteInfo=0
    Radar.radiusKm=40
    Radar.collectRadarImage=0
    weatherMode=Realtime
    overrideGDB=1
    askWeatherEveryInSecond=180
    Radar.displayTimeLabel=0
    ownLatitude=50.44
    ownLongitude=5.97
    useOwnLocation=0
    extractAIW=1
    Radar.WeatherUndergroundAPIKey=
    [34200]
    temperatureCelciusOffset=0
    rainIntensityCap=100
    smoothingDelay=0
    Radar.width=200
    Radar.height=200
    Radar.timeLabelOffsetX=50
    Radar.timeLabelOffsetY=185
    Radar.haveRadarInfo=0
    Radar.haveSatelliteInfo=0
    Radar.radiusKm=40
    Radar.collectRadarImage=0
    weatherMode=Realtime
    overrideGDB=1
    askWeatherEveryInSecond=180
    Radar.displayTimeLabel=0
    ownLatitude=50.44
    ownLongitude=5.97
    useOwnLocation=0
    extractAIW=1
    Radar.WeatherUndergroundAPIKey=
    [35200]
    temperatureCelciusOffset=0
    rainIntensityCap=100
    smoothingDelay=0
    Radar.width=200
    Radar.height=200
    Radar.timeLabelOffsetX=50
    Radar.timeLabelOffsetY=185
    Radar.haveRadarInfo=0
    Radar.haveSatelliteInfo=0
    Radar.radiusKm=40
    Radar.collectRadarImage=0
    weatherMode=Realtime
    overrideGDB=1
    askWeatherEveryInSecond=180
    Radar.displayTimeLabel=0
    ownLatitude=50.44
    ownLongitude=5.97
    useOwnLocation=0
    extractAIW=1
    Radar.WeatherUndergroundAPIKey=
     
  12. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    lagg, thanks, thanks, thanks. it's work but one problem. server initiated more the weather information not.

    The doors are released into the firewall
     
    Last edited by a moderator: Oct 23, 2015
  13. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    I'll take a look.
    And hide your keys.

    Enviado desde mi E2003 mediante Tapatalk
     
  14. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    I think that if your player is not named "player" the config is different, but i don't know how to do this.
    Sorry.
     
  15. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    No problem. thanks
     
  16. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    André, your Wunderground keys are visible in the attached img.
    We have several servers working with the Weather Server.
    We have three different installations of rF2 in three different folders. We don't install the servers in the "Program Files" directory. It's easier to config in this way because the profile and the program are in the same place.
    If you do this, the Weather Server should work.
     
  17. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    ok, I will try to install rf2 outside the Program Files folder and see the result.
     
  18. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    And One installation per dedicated.
    In this way all your player profiles are "player"

    Enviado desde mi E2003 mediante Tapatalk
     
  19. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    To run multi dedi's you don't need multiple installs, just multiple profiles. Each profile has a different weather port (different config file to in the user directory).

    We do this at WRRacing.net and it works fine, although poking the dedi's through the Windows firewall is a pain but the weather works for each profile fine.
     
  20. André Martins

    André Martins Registered

    Joined:
    Jul 16, 2015
    Messages:
    18
    Likes Received:
    0
    lagg thank you for your patience. it's working with the three servers. the error is mine I forgot to enter the .dll files in the bin32 and bin64 folder. thanks again.
     

Share This Page