App Update: AI Pit Stop App 3.2
Added 2024-10-03 15:39:28 +0000 UTCUpdate Info:
v3.2:
Reduced pit stop slider max value in weekend races to 50. (There is now a USER VAR if you want this larger or smaller)
Partially Fixed AI stuck on grid at Weekend races starts. Now, a session restart will make all the AI that were stuck, fixed.
Comments
Hi @ll. I have a Problem. I lost in Pit like 30 Seconds to the AI cars. Is there somewhere an option for an "minimal Stop Duration" for AI and for Player. This would make sense, so you can handle, everyone have to stay the same duration in pits. Like this is frustrating, coming in 2nd and after ai pitstops you're 20st and lost like 30 seconds.
Adrian Kernen
2024-11-09 11:57:29 +0000 UTCI am getting the issue of cars starting on the grid taking a turn and driving into the pit wall.
No specific name
2024-10-06 04:24:12 +0000 UTCthat worked thanks a lot
Alessio
2024-10-05 18:55:06 +0000 UTCyes, leave a space beetween 1 and, but the line above already has a space.
Flavio Cardoso
2024-10-05 18:23:49 +0000 UTCdriverLiveDistanceFromBox[i] < 60 and driverLiveTimeStationaryInPits[i] < 1 and (ac.getCar(i).lapCount + 1) > 1 thanks so that sgould be it now? do I need to leave a space between 1 and?
Alessio
2024-10-05 18:20:57 +0000 UTCyes that´s the line, but it´s still wrong. Take out the quotation marks ".
Flavio Cardoso
2024-10-05 18:19:27 +0000 UTCright ok so is this one isn't it? if driverLiveDistanceFromBox[i] < 60 and driverLiveTimeStationaryInPits[i] < 1 " and (ac.getCar(i).lapCount + 1) > 1"
Alessio
2024-10-05 18:16:23 +0000 UTCNo, that´s not line 539 of pit lua app, sorry. That´s line 544. Revert your change to the original file, otherwise will brake your app for good. As i said, some basic programing skills are needed.
Flavio Cardoso
2024-10-05 18:12:53 +0000 UTCso that's how i did it on line 539 is that correct please? physics.setAISplineAbsoluteOffset(i, -4, true) "and (ac.getCar(i).lapCount + 1) > 1" " and (ac.getCar(i).lapCount + 1) > 1"
Alessio
2024-10-05 18:04:37 +0000 UTCNo, i cant share any file. Just the info above to help deal with the issue!
Flavio Cardoso
2024-10-05 17:40:19 +0000 UTCWould you please be able to share the modified file with us?I have tried to add the condition to line 539 but for me none of the cars is moving at all from the grid,thanks
Alessio
2024-10-05 17:24:31 +0000 UTC@Aaron Purnell: you have to edit the line 539 of the .lua file in any text editor and add the condition in the end of the line, but you will need some (basic) programing skills to know where to put that correctly. Otherwise you may brake something else :)
Flavio Cardoso
2024-10-05 14:49:04 +0000 UTCYou're a genius, that works! Cheers
Adrian Kernen
2024-10-05 08:46:24 +0000 UTCFirst of all, thanks for your great effort! But, this one with restarting the session didn't work for me, but I have to say, that the pit stop never worked in weekend races in my case. I don't know why, the AI stuck almost every time. Sadly for me this app is useless because of that. I hope in some further version it will work, i tried every new version and I will do it also in future, because if it works, that app is great. I use csp2.4preview. Cheers ADrian EDIT: The workaround from @ Flavio Cardoso works. Really happy about this.
Adrian Kernen
2024-10-05 08:39:07 +0000 UTCHi, just ran a few tests and it worked OK. I'll do a few more over the next week and see if any issues popup :)
D.Nuzzo
2024-10-03 22:35:41 +0000 UTCI havent tried the new update yet but this was happening to me previously brother.. If you dont mind me asking where is this "line 539" ? I dont know too much about the innerworkings of AC. This is the one thing i need to work for my championships !!! lol Really appreciate any help my friend
Aaron Purnell
2024-10-03 22:05:55 +0000 UTCI know this is not relevant, but when I am in practice sessions or hotlap and I restart the session, the DRS stops working. Could you check the DRS application please?
Felipe Rojaz
2024-10-03 21:40:19 +0000 UTCAnother great update thanks so much
Alessio
2024-10-03 15:56:41 +0000 UTCEdit: Sorry to say but the "Ai Stuck" on weekend races is still there. I did a quick workaround on this, to not activate the function in lap one: (Line 539) put another condition: " and (ac.getCar(i).lapCount + 1) > 1" This is working ok to me until now. Thanks!
Flavio Cardoso
2024-10-03 15:41:17 +0000 UTC