Hi Philip,
Thanks for the review
For the first point, I just tested it with Kunos SF70 and Kunos Lotus Exo 125 and everything is OK here, every tyres types appear. So I'd say it is linked to the car mod.
DumbAI reads up to 7 tyres types from the tyres.ini file in the car data and looks for 'FRONT',"FRONT_1","FRONT_2","FRONT_3","FRONT_4","FRONT_5", "FRONT_6" and "REAR","REAR_1","REAR_2","REAR_3","REAR_4","REAR_5", "REAR_6" fields and then, for each of them, it looks in the file at their "WEAR_CURVE" field to load the .lut file that eventually allows to compute the tyre wear and the need to get back to pit.
So in your case, likely there is something wrong there for the hard compound ?
If the mod is free , you can tell me where to download it and I'll have a look or if it is not free, you can still try to get the tyres.ini by: getting to Content in CM, select cars, then select your car, click on unpack data. Then navigate to your car folder in assettocorsa\content\cars , open the new data folder and tyres.ini should be in it.
For the second point, first I'd like to thank you for testing such detailed situation, it is the hardest to do for me as it takes a lot of time to experiment any situations, and there is a good amount of them with all these race strategies
For Mandatory Refuel, the bot logic is the following:
Was there an expected pitstop for fuel considering the race conditions sent by user (race length, fuel_mult, car max fuel content etc...) ?
If no, then create a new fuel strategy where I will divide my fuel amount into artificial stints so that I make at least one pitstop.
Then, a new choice, am I under an alternate strategy or not ? If not, just split my fuel amount in half and let's go . If I'm under an alternate strategy:
- if I chose a softer compound, then split my fuel amount in 3 and make a second pitstop. If everything is correct in the tyre strategy, I should now have the softer compound as default so this should result into 3 stints with softer compound only.
- if I chose a harder compound, let's keep it at one stop but increase the lenght of the first stint for about 75% if max fuel in tank allows it and then let me get back to the initial default tyres compound for the shorter second one, so this should result into 2 stints, one with harder compound and the other with initial default.
If there was an expected pitstop, then nothing happens for this strategy so it should not change its tyre compounds during race. (I made a mistake and forgot to add Mandatory Refuel strategy in this loop and so only Tyres&Refuel and Mandatory Mixed Compounds with Refuel do adjustement between fuel and tyres compounds currently so I'll correct it for the next update, so thanks again for the report )
So either you are in the case where bot had alternate strategy with harder compound with no expected pitstop at first glance, and so in race, should have made a pit stop later than default and changed its tyres compound from harder to default for this second stint, or something else is wrong in my code