Ok, I've made more tests, here are the results :
View attachment 1524906
Ref cases are numbers 15 and 16, with cars staying in pits when teleported in pits after a crash.
A different result compard to these cases means something has changed.
A cross in a cell means the parameter/result is activated/observed.
Just a remark, I've previously said that sometimes cars were exiting pits at low speed, it was a result of the blue flags defined in DumbAI, no issue here.
I add
@Tetri here, that could interest him also as it appears AIW seems to alter something too.
Note : If you want to make the same tests as mine with Adelaide 92, use a ai_hints file.ini with :the following lines to enforce crashes at the hairpin :
[BRAKEHINT_0]
START=0.670
END=0.750
VALUE=1.1
I have no doubt aiwhisp can be involved. If you're using a beta version like 0.82+, it's even worse because i NEEDED that stupid pit state to stay quiet and overrode the whole system for the gas/brake/offset inputs to be shut down before/in pits.
So far i have a pit state debug active in the debug of aiwhisp (thru luadebug). But i also have a teleport automation for cars that are crashed or moving at less than 50 km/h for more than 10 secs... I might have gotten rid of it on v0.83, but it's pretty easy to spot.
So, for ancient_3 to follow on my approach : pitlane and pitstop are automatically an aiwhisperer shutdown(all logics).
If a "aiisgoingtopits" command is triggered, either thru dumbaAI or vanilla AC, aiwhisp is shut down passing 80% of track progress.
If a session is restarted, switched (ie quals to race), or if any session flag is triggered, ac.state is restarted and untouched for 10 seconds.
Yet, in very particular and obviously superastonishingly annoying occurences, the pit state is not reset, and stays set for either a whole race or until next pit stop (isinpitlane triggered true even if running middle track, go figure).
So, although i have no clue why some AIs go stupid while everyone else seems fine, i wonder if aiwhisp (or DumbAI) wouldn't, sometimes, mix up the pitstate/pitstop/goingtopits states and conflict with AC's first call.
And i'm also pretty sure CSP new ai behavior is also to blame, since it gives very various results depending on csp version, especially from 2.11 to 3+.
Latest build was super stable for me.
Last tip : in experimental in CSP, there's a checkbox to "force csp physics to all cars". And i don't like some AI behaviors when this is checked.
To push things forward for
@Thockard, the ferrari 643 AI on Adelaide is going 1.10 with latest csp version. I still don't understand why we don't get the same results, but i get 3 different lap times with the latest 3 CSP versions, so i'm inclined to think CSP is responsible for most of latest AI bugs.
I am saddly in the middle of a work crunch atm and can't experiment as much as i wish with AC, so i'll let you giys figure it out until i'm back at it