AIs spend too much time in the pits to refuel

Discussion in 'Bug Reports' started by Herve_Versabeau, Sep 4, 2023.

  1. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    A la maison les IA fonctionnent très bien mais ils passent toujours plus de temps que moi dans les stands lors des ravitaillements.

    exemple
    IA en difficulté 106
    29 IA
    une seule classe gte sur grand prix de spa sur une course de 1H00
    multiplicateur de carburant = x1

    étant donné le réservoir d'essence assez petit de la gte, un arrêt au stand pour changer les 4 pneus et faire le plein est obligatoire

    L'IA prend toujours environ 30 secondes de plus que moi pour cet arrêt au stand

    edit : ajouter quelques informations
     

    Attached Files:

    • 1.jpg
      File size:
      828.2 KB
      Views:
      51
    • 2.jpg
      File size:
      811.2 KB
      Views:
      52
    • 3.jpg
      File size:
      809.6 KB
      Views:
      55
    • 4.jpg
      File size:
      12.6 KB
      Views:
      56
    • 5.jpg
      File size:
      135.2 KB
      Views:
      57
    Last edited: Sep 5, 2023
  2. Team Dano

    Team Dano Registered

    Joined:
    Dec 27, 2010
    Messages:
    67
    Likes Received:
    24
    My experience also, the ai always take a few seconds longer in the pit stall.
     
  3. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    AI always takes about 30 seconds longer than me for this pit stop
     
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    Do the AI use the exact same Setup that you use?
     
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,389
    Likes Received:
    6,602
    Are you refuelling and changing tyres?
     
  6. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,485
    Likes Received:
    4,399
    for the Flm09 formula (an open cockpit spec series that preceded LM3) I changed the fuel use for the cars in the SCC mod to zero fuel consumption. I did that because the FLM09 did not allow refueling. So the refueling crew would just touch the fuel hose to the car and then step back. Shortest pitstops ever for GTR2. The drawback to this hack was no shifting of weight from the emptying of the fuel tank.
    (annnnd, I just noticed, 10 years later, that I drove over my lolipop guy....that will hurt!

    <iframe width="560" height="315" src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
     
    Last edited: Sep 5, 2023
  7. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    Yes
    Refuelling and change 4 tyres

    it seems to me that on previous versions (but I don't remember which ones) the AI only took a few seconds longer than me for the pits
     
  8. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    I don't know. How can I find out?
     
  9. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    Do you use the default Setup WITHOUT any Modifications?
    If you use an own Setup, with specific Pit Stop Refueling Settings for Example and don't assign it to the AI too, you can get such Effects.
     
    Herve_Versabeau likes this.
  10. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    thanks @redapg
    I will test

    Added some infos on post #1
     
  11. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    @redpag
    I have my setup and it is assigned
     

    Attached Files:

    • 5.jpg
      File size:
      135.2 KB
      Views:
      52
  12. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    Is it assigned to the AI too?
    You could read my Tutorial and do the necessary Steps, to ensure that the AI uses it too.
     
    Herve_Versabeau and atomed like this.
  13. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    @redapg
    It's on False
    I put True and I test this afternoon
    Thanks
     
  14. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    @redapg
    no improvement with

    "Fixed AI Setups":true,
    "Fixed AI Setups#":"whether AI use the fixed setups, only applicable if \"Fixed Setups\" is also enabled (and can be used in single player to have the AIs use your favorite setup)",
    "Fixed Setups":false,
    "Fixed Setups#":"use fixed setups specified in UserData\\<plr>\\FavoriteAndFixedSetups.gal (based on track and vehicle class)",
    "Fixed Upgrades":false,
    "Fixed Upgrades#":"whether multiplayer vehicles use the closest standard upgrade class package",
     

    Attached Files:

    • player.zip
      File size:
      15.6 KB
      Views:
      46
    • 1.jpg
      File size:
      833.3 KB
      Views:
      53
  15. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    But.....
    ....\SteamLibrary\steamapps\common\rFactor 2\UserData\player
    in "FavoriteAndFixedSetups.gal"
    AutoLoadEntry
    {
    Track="SpaFrancorchamps"
    Classes="GTE GTE_BMW_M8"
    Session=10 // not currently used
    File="D:\SteamLibrary\steamapps\common\rFactor 2\UserData\player\Settings\Spafrancorchamps\my_ bmw_m8_gte.svm"
    }
     

    Attached Files:

    • 2.jpg
      File size:
      549.7 KB
      Views:
      51
    • 3.jpg
      File size:
      96.4 KB
      Views:
      44
  16. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    Did you read my Tutorial?
    If yes, you should have seen:

    First and important Step:
    Open your player.JSON File, that can be found in the Folder: ..\Userdata\player and edit the
    following Values, that they both are set to “true”. It should look like this:
    "Fixed AI Setups":true,
    "Fixed Setups":true,


    And you have still set
    "Fixed Setups":false,

    EDIT The Entry Session=.... in the FavoriteAndFixedSetups.gal can be ignored.
    As it is written as the Comment, it is currently not in use.
     
    Last edited: Sep 5, 2023
    Herve_Versabeau likes this.
  17. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    once again, I read too fast
     
    redapg likes this.
  18. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    My test today with "Fixed AI Setups":true and "Fixed Setups":true,

    SPA grand prix 1H race with 29 IA only on GTE and I am on BMW M8 GTE
    for this race, you need about 102 L of fuel for 1H00

    pit times for me and the AIs come from leaderboad secondmonitor

    1er test wiht my setup assigned to IA
    AIs take about 24 seconds longer than me to pit stop

    2ns test wiht default setup without any modification (the default setup indicates that the amount of fuel in the tank is 50L)
    AIs take about 14 seconds longer than me to pit stop

    Interesting facts :

    at least 5 AIs return to the pits after 45 minutes of racing, and they also take about 14 seconds longer than I do for this stop.
    I'm surprised that these AIs managed to run for 45 minutes on 50L of fuel. I think they had more fuel at the start of the race.

    At least 3 AIs came back to the pits after 50 min of racing and they also took about 14 seconds longer than me for this stop.
    I think it's impossible to do a 50-minute race with only 50L of fuel.
    I think they had more fuel at the start of the race...maybe about 90L of fuel on a full tank.

    --->it all looks like bugs

    has anyone done 1h00 races? what's the conclusion?
    how much time do ia's spend in the pits

    do the devs have any additional information?
    @Devin @Coutie
    Thanks
     
  19. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,485
    Likes Received:
    4,399
    are you letting the AI run practice & Q? Also don't change weather prior to race start. Keep the same weather for the start of the race as what your last practice or Q or Warmup session was. The practice is important because it allows the AI to learn their fuel mileage better.
     
  20. Herve_Versabeau

    Herve_Versabeau Registered

    Joined:
    May 27, 2015
    Messages:
    118
    Likes Received:
    30
    No practice and no qualification
    I don't change weather..... I use weather default
     

Share This Page