Here are my 2 cents ( well , more like a 10 dollar bill tbh this is long ) about the rogue AI stuck hitting pit lane walls .
All my testikgs were done on spa and imola tracks ( default ) . With rss hybrid 2022 S car . I also was not in the race , i gave control of my czr to an AI using the ctrl C shortcut and kept watching the ai behaviour for the whole afternoon lol .
the mod runs perfectly in single race , but for a weekend with practice / qualify / race , i troubleshooted for about 4 hours and what i noticed is :
1. if i run a practice that is less than 4 minutes , after it the AI will keep spinning in place and hitting the pit walls in qualifying , not all of them , but some of them do and never be able to leave the pit lane to qualify .
2. if i set a practice session of 4 or 5 minutes , play some of it and then skip without finishing it , the same happens .
3.if i play a practice session of 4 or 5 or more minutes and finish it , ai will behave normally in qualify and i can play qualify normal.
4. if i SKIP the practice session from the content manager so you dont start it at all ( you launch with just qualify and race ) , qualification will also works fine , AI will leave the pit lane and they will qualify fine .
**********************************************
Conclusion , either not play any practice or play 4+ minutes and FINISH them to be able to play the qualifying without bugs
**********************************************
After qualification , in race start i have to press AI tab before race begins on the settings app to fill their fuel tanks , then i fill mine and select the RULES tab so they don't have full tank forever and their settings dont keep changing every one second . after this there are two cases :
__Case 1 : if i skipped the qualification before it ends ( play some then press esc , skip session , most of the time the race works fine , but the grid is somewhat randomized since some if not most of the AI didnt play the qualifications .
__Case2 : if i finished the qualifications , most of the time some of the AI will hug the pit lane wall right at the race start .
I think that the mod is working fine for the first session , then the second session can be hit or miss , and i think that it can be affected a little bit by changing how long you stay in the first session . For exmaple using the tricks i talked about earlier i managed to have a good qualification every single time by either not doing a practice session at all or playing an at least 4 minutes long practice and finishing it . That way AI never goes rogue in qualify . But i couldnt find a way to make the ai always behave well in the race start too . Sometimes one or two or sometimes even 10 cars will just dive hezd first into the pit wall ad soon as the race starts
I hope this helps you recreate the problem .
Oh and btw i m on the latest csp version . The .115 preview or something idk . Dont ahve many mods too just the car , and csp , pure and sol , f1 leaderboard and skins for the car . I freshly installed the game a week ago .
And whzn race starts the cars that dont hezd for the oit lane wall and actually race , those cars race just fine. Tyre wear pits work and they pit , change tyres , dont refuel and go back to track . So that function works fine . Only issue is the rogue ai kissing the pit walls .