Home Creators Posts Import Register Favorites Logout

Content

Update 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.

Files

(No title)

Comments

Flavio Cardoso

Edit: 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!

Alessio

Another great update thanks so much

Felipe Rojaz

I 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?

Aaron Purnell

I 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

Nuzzi

Hi, 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 :)

Adrian Kernen

First 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

You're a genius, that works! Cheers

Flavio Cardoso

@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 :)

Alessio

Would 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

Flavio Cardoso

No, i cant share any file. Just the info above to help deal with the issue!

Alessio

so 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"

Flavio Cardoso

No, 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.

Alessio

right ok so is this one isn't it? if driverLiveDistanceFromBox[i] < 60 and driverLiveTimeStationaryInPits[i] < 1 " and (ac.getCar(i).lapCount + 1) > 1"

Flavio Cardoso

yes that´s the line, but it´s still wrong. Take out the quotation marks ".

Alessio

driverLiveDistanceFromBox[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?

Flavio Cardoso

yes, leave a space beetween 1 and, but the line above already has a space.

Alessio

that worked thanks a lot

No specific name

I am getting the issue of cars starting on the grid taking a turn and driving into the pit wall.

Adrian Kernen

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.