[TESTERS WANTED] AI Pit Control Lite – Fixes AI Fuel, Pit Stops & Stint Logic in Assetto Corsa

  • Thread starter Thread starter Gavin2
  • 2 comments
  • 132 views
Messages
12
New Zealand
Invercargill
AI Pit Control banner.webp


AI Pit Control – Fuel Estimator + Pit Tracker (Assetto Corsa Offline Racing)
by Gavin2

Hi all — I’ve been working on a new tool that fixes one of the biggest problems with offline Assetto Corsa:

AI pit stops, AI fuel usage, and AI stint logic.

As many of you know, AC’s AI pit logic is unpredictable:
• They pit on random laps
• They underfuel
• They all pit together
• They retire in the pit box
• They run out of fuel
• Endurance races become chaos

This app solves all of that.

AI Pit Control brings proper race logic to offline AC, with full fuel estimation, pit tracking, and AI refuel control.

I’m now looking for a small group of testers to help validate the Lite Edition before public release.

🔧 Features
• Accurate start fuel calculation for AI
• Sync-to-player fuel mode (Lite default)
• Per-AI fuel variation (prevents pit trains)
• Correct pit-stop timing
• Smart refuelling after pit exit
• Final stop = double start fuel (no more underfueling)
• No instant pit-box retirements
• Live pit tracker window:
- Current fuel
- Estimated remaining laps
- Stop count
- Entry/exit fuel
- Retirement status
• Fuel Estimator window (setup screen)
• Track length override
• Tank size override
• Compatible with single-class & multiclass

🎥 Screenshots
AI Pit Control Lite.webp


Fuel Estimator.webp
AI Pit Tracker.webp




AI Pit Tracker mid race.webp

🧪 Seeking Testers
If you want to test the Lite edition, reply with:

1) Type of racing you do
2) Typical race length
3) Your CSP version

I’ll select a mixed group based on variety.

📋 Requirements for Testing
• Car must be unpacked (CM → Car → Unpack Data)
• Car must have fuel_cons.ini
• Track length must be readable (CSP physics or manual override)
• Fuel consumption ON

If any of this sounds complicated, I’ll help you set it up.

📊 What I Need From You
• Screenshot of AI Start Fuel Table at race start
• Screenshot of Pit Tracker mid-race
• Your lua.log file
• Notes on any strange pit or fuel behaviour

A short 10–20 lap race is enough.

📥 How You Receive the Build

Testers will be sent a DM with the Lite ZIP.

🙌 Thanks!
Offline racing in AC can be incredible — but only when the AI behave like real racers.
This tool fixes the worst AI issues and brings true endurance logic to AC.

Thanks to everyone willing to help test it.

— Gavin2
 

Attachments

View attachment 1494282

AI Pit Control – Fuel Estimator + Pit Tracker (Assetto Corsa Offline Racing)
by Gavin2

Hi all — I’ve been working on a new tool that fixes one of the biggest problems with offline Assetto Corsa:

AI pit stops, AI fuel usage, and AI stint logic.

As many of you know, AC’s AI pit logic is unpredictable:
• They pit on random laps
• They underfuel
• They all pit together
• They retire in the pit box
• They run out of fuel
• Endurance races become chaos

This app solves all of that.

AI Pit Control brings proper race logic to offline AC, with full fuel estimation, pit tracking, and AI refuel control.

I’m now looking for a small group of testers to help validate the Lite Edition before public release.

🔧 Features
• Accurate start fuel calculation for AI
• Sync-to-player fuel mode (Lite default)
• Per-AI fuel variation (prevents pit trains)
• Correct pit-stop timing
• Smart refuelling after pit exit
• Final stop = double start fuel (no more underfueling)
• No instant pit-box retirements
• Live pit tracker window:
- Current fuel
- Estimated remaining laps
- Stop count
- Entry/exit fuel
- Retirement status
• Fuel Estimator window (setup screen)
• Track length override
• Tank size override
• Compatible with single-class & multiclass

🎥 Screenshots
View attachment 1494277

View attachment 1494279View attachment 1494280



View attachment 1494281

🧪 Seeking Testers
If you want to test the Lite edition, reply with:

1) Type of racing you do
2) Typical race length
3) Your CSP version

I’ll select a mixed group based on variety.

📋 Requirements for Testing
• Car must be unpacked (CM → Car → Unpack Data)
• Car must have fuel_cons.ini
• Track length must be readable (CSP physics or manual override)
• Fuel consumption ON

If any of this sounds complicated, I’ll help you set it up.

📊 What I Need From You
• Screenshot of AI Start Fuel Table at race start
• Screenshot of Pit Tracker mid-race
• Your lua.log file
• Notes on any strange pit or fuel behaviour

A short 10–20 lap race is enough.

📥 How You Receive the Build

Testers will be sent a DM with the Lite ZIP.

🙌 Thanks!
Offline racing in AC can be incredible — but only when the AI behave like real racers.
This tool fixes the worst AI issues and brings true endurance logic to AC.

Thanks to everyone willing to help test it.

— Gavin2

📌 AI Pit Control Lite — Tester Instructions & Download Info


Thanks for your interest in testing AI Pit Control Lite!
Please read this post before installing or reporting issues.




📥 Download (Tester Build v1.0)


The download link will be sent via DM after you reply to the main post with:


1️⃣ What type of racing you do
2️⃣ Your typical race length
3️⃣ Your CSP version


This keeps the testing group manageable and ensures variety.




🖥 Installation Guide

1. Unzip​


AI_Pit_Control_Lite_v1.0.zip

2.Drag the folder into:

...\steamapps\common\assettocorsa\apps\lua\

Your final structure should be:


apps/lua/AI_Pit_Control_Lite/
main.lua
manifest.ini
icon.png
readme.pdf
LICENSE.txt


3.Open Content Manager
Settings
Assetto Corsa
App Windows
✔ Enable AI Pit Control Lite
4.Launch any session and open the app from the in-game sidebar.



🟦 FIRST-TIME SETUP (IMPORTANT)


✔ Unpack the car​


Content Manager → Car → Unpack Data
(Required so the app can read fuel_cons.ini.)

✔ Ensure fuel_cons.ini exists​

content/cars/<car>/data/fuel_cons.ini

✔ Track length must be readable​


Enable CSP Track Physics
or
use the Track Length Override in the app.

✔ Fuel consumption must be ON​

If you're not sure how to do any of this, just ask.




🧪​


A short 10–20 lap run is enough.


Please provide:


  • 📸 Screenshot of the AI Start Fuel Table at race start
  • 📸 Screenshot of the Pit Tracker mid-race
  • 📄 Your lua.log:
Documents/Assetto Corsa/logs/lua.log

  • ✍️ Notes on any unusual AI behaviour:
    • odd pit timing
    • fuel mismatches
    • retirements
    • pit stacking
    • anything unexpected



🟥 Known Limitations in Lite

These are intentional:

  • Only 1–2 stop strategies
  • Sync-to-Player fueling only
  • Final stop = double start fuel
  • Fixed ±10% AI fuel variation
  • Strategy-based fueling disabled
  • Pro features shown in the PDF are disabled





🟩 Changelog

v1.0 (Tester Build)


  • New Fuel Estimator
  • New Pit Tracker
  • Fixed pit-lane retirements
  • Improved fuel sync behavior
  • Final-stop logic updated
  • First-time setup PDF included
  • Lite code obfuscated
  • Packaging complete




🙌​


Your feedback helps refine Lite and prepare the Pro edition.
Reply in the main thread when you’re ready — I’ll DM your download link.


Gavin2
 
Last edited:
Back