Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 80

Thread: OpenWeather [Testing]: A proposal to fix weather issues

  1. #31
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,487
    Platform
    PC
    Ah, i think it's the

    <weather number="721" value="haze" icon="50d"></weather>

    element
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE

  2. #32
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,487
    Platform
    PC
    ok, i think i have this working now. The generated weather now needs some attention (and testing, obviously), so there's still a lot to do. I'll focus on driving it with some external inputs next, and see if I can make the transitions happen faster than real time so we can have random 'slots' like the game UI provides (but without all the silly extremes).

    I'll change the random weather generator to have 3 overall weather types - good, changeable and bad. At them moment the generator is always creating changeable weather, which is nice but it means there's usually rain at some point, which isn't right.

    Won't be long till this little experiment is ready to be tested - I'll package it up at some point. It'll require a JRE installation.
    Last edited by mr_belowski; 10-10-2018 at 12:46.
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE
    The following user likes this Post: Asturbo


  3. #33
    Superkart Pilot Zeratall's Avatar
    Join Date
    Oct 2017
    Posts
    291
    Platform
    PC
    Quote Originally Posted by mr_belowski View Post
    ok, i think i have this working now. The generated weather now needs some attention (and testing, obviously), so there's still a lot to do. I'll focus on driving it with some external inputs next, and see if I can make the transitions happen faster than real time so we can have random 'slots' like the game UI provides (but without all the silly extremes).

    I'll change the random weather generator to have 3 overall weather types - good, changeable and bad. At them moment the generator is always creating changeable weather, which is nice but it means there's usually rain at some point, which isn't right.

    Won't be long till this little experiment is ready to be tested - I'll package it up at some point. It'll require a JRE installation.
    nooooooooooo java =P , all jokes aside, great work bud!! Love this man in the middle re route tactic!
    RacingSimTools.com : Owner
    PC2Tuner, Car Tuning Software - https://www.racingsimtools.com/product-page/pc2tuner
    Tuning Discord :https://discord.gg/w2MeTey

  4. #34
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,487
    Platform
    PC
    Here's the repo, with a readme and a pre-built jar file if anyone wants a look:

    https://github.com/mrbelowski/PCars2OpenweatherServer

    this is still work in progress, but should work
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE
    The following 9 users likes this Post: Asturbo, ermo, E_Luckow, jan.ringas, MrTulip, OddTimer, rocho, satco1066, Zenzic


  5. #35
    WMD Member Asturbo's Avatar
    Join Date
    Jun 2012
    Location
    Asturias / Spain
    Posts
    805
    Platform
    PC
    Tested the initial beta yesterday and it works perfectly. The real weather using my own key, get real weather data and applies correctly in-game. Tested with several locations and always got real weather.

    Tested also the random weather and looks working too.

    Great job, Belowski
    Last edited by Asturbo; 11-10-2018 at 08:29.
    CPU: Intel i7-8700K | GPU: nVidia GTX 1080 | RAM: Gskill 2x8GB DDR4 3200 | MB: Asus ROG Strix Z370 | SSD: Samsung 951 PCI 250GB | Monitor: Asus VG248 144Hz | Wheel: Fanatec CSL | SO: Windows 10 Pro 64bits
    WMD1 & WMD2 Gold Member /// Steam Profile /// Unofficial Issue List /// Button Box Label Template /// DS Flags Calculator/// Open Weather App

  6. #36
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,487
    Platform
    PC
    thanks dude. If anyone wants to contribute, now would be a good time.

    Stuff to do...

    Testing
    Maybe some kind of GUI
    Better auto generation of weather
    Make the random weather generation location-specific (i.e. use the latitude and longitude to create more realistic conditions for the location)
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE
    The following user likes this Post: Sean_S36


  7. #37
    WMD Member Asturbo's Avatar
    Join Date
    Jun 2012
    Location
    Asturias / Spain
    Posts
    805
    Platform
    PC
    More stuff to do:

    - Change the title of the thread. [Done]
    - Add a contributors link for the programmer [Your work ]

    I was sure that my original idea should work, but you make it real. Many thanks, Belowski

    Let's continue testing...
    Last edited by Asturbo; 11-10-2018 at 08:22.
    CPU: Intel i7-8700K | GPU: nVidia GTX 1080 | RAM: Gskill 2x8GB DDR4 3200 | MB: Asus ROG Strix Z370 | SSD: Samsung 951 PCI 250GB | Monitor: Asus VG248 144Hz | Wheel: Fanatec CSL | SO: Windows 10 Pro 64bits
    WMD1 & WMD2 Gold Member /// Steam Profile /// Unofficial Issue List /// Button Box Label Template /// DS Flags Calculator/// Open Weather App
    The following user likes this Post: OddTimer


  8. #38
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,487
    Platform
    PC
    To keep everything in one place, it's probably best to raise bugs in the GitHub repo so I can keep track of them all
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE
    The following user likes this Post: OddTimer


  9. #39
    GT5 Pilot mr_belowski's Avatar
    Join Date
    May 2015
    Posts
    1,487
    Platform
    PC
    looks like this isn't going to work as well as we'd hoped. The game will ask for the weather data at the start of a session but doesn't request any more data for at least an hour (not tested it beyond 1 hour). As far as I can see it doesn't allow for changing conditions as we'd hoped. I'll keep experimenting
    Crew Chief details here http://forum.projectcarsgame.com/sho...r-for-PC-users
    Website, download link and forum: http://thecrewchief.org
    Or make a donation, if you think the chief needs to drink more beer:
    https://www.paypal.com/cgi-bin/websc...=LW33XFXP4DPZE

  10. #40
    WMD Member Asturbo's Avatar
    Join Date
    Jun 2012
    Location
    Asturias / Spain
    Posts
    805
    Platform
    PC
    I think that the game uses actual data and forcast to generate the weather slots.
    So probably if you change the "actual weather" in your app, has no effect. I'll make some test too, but if the game works in this way, obviously you can't do anything.
    Anyway with your app we recover the real weather as was designed.
    CPU: Intel i7-8700K | GPU: nVidia GTX 1080 | RAM: Gskill 2x8GB DDR4 3200 | MB: Asus ROG Strix Z370 | SSD: Samsung 951 PCI 250GB | Monitor: Asus VG248 144Hz | Wheel: Fanatec CSL | SO: Windows 10 Pro 64bits
    WMD1 & WMD2 Gold Member /// Steam Profile /// Unofficial Issue List /// Button Box Label Template /// DS Flags Calculator/// Open Weather App

Similar Threads

  1. Change request on weather system when you use random slots
    By Scott1904 in forum General Discussion
    Replies: 1
    Last Post: 28-12-2017, 17:21
  2. Request: Random seasonal weather
    By ZulfoDK in forum General Discussion
    Replies: 4
    Last Post: 27-09-2017, 12:35
  3. Request: Weather API
    By palm3r in forum Third-Party Apps & API Discussion
    Replies: 1
    Last Post: 23-09-2017, 23:30
  4. Replies: 32
    Last Post: 19-07-2017, 14:38
  5. Weather Settings change request
    By Scott1904 in forum Multiplayer
    Replies: 0
    Last Post: 16-12-2015, 11:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •