PDA

View Full Version : rF2 refueling a negative amount (bug)



MrRandom287
15-09-2020, 00:10
Hey, over the weekend I did a multiplayer race at Okayama. I was a 136 Lap or 3 hours (depending on which came first) and as I came in for my first pitstop the crew chief decided to not add any fuel. I found this quite odd so I had a look at the Log post-race to see what happened. I'm not sure why this happened but line 489 of my abridged version (too big for the full log) drew to my attention.

"05:50:51.391 : Use per lap = 1.9 laps to go = -1 current fuel = 3.6 additional fuel needed = -3.2"

This was a little over an hour into the race on lap 44.

345

Seven Smiles
15-09-2020, 09:26
Ah, "Finish Criteria: Laps and Time" - CC's fuel calculation is expecting one or the other. That's going to need a bit of re-design.

Thanks for reporting it and I'm so glad it didn't screw up your race!

Seven Smiles
16-09-2020, 16:08
Fixed in V 4.13.1.0

mhavlena
11-02-2022, 22:17
Testing the auto-refuel function in CC with rF2 and everytime I get into the pits, CC resets my "fuel to add" to "zero" and I get no fuel added, of course even though Jim states that either " I have plenty of fuel" or "we'll fill you up until the end". Using V4.16.0.1 of CC and certainly I have the auto refuel option selected within properties.

Not sure whether this problem is related to problem highlighted in this thread, but seems quite similar.
Appreciate any insight.
Thanks and best regards,
MH

Seven Smiles
12-02-2022, 17:42
Please save the console window (right click in the window) after this has happened and post it here.

mhavlena
12-02-2022, 23:05
Auto-Refuel feature worked this time around with the console window app enabled. Did the app need to be enabled for this feature to work? Simply amazing. Any chance that this feature could be available in future for other sims such as ACC, R3E, etc..?
Thanks for the support, it is very much appreciated.
MH

Seven Smiles
13-02-2022, 12:38
I didn't explain properly - the console window is the middle window in Crew Chief where all the text scrolls. Nevermind, the logs are stored in c:\Users\you\Documents\CrewChiefV4\debugLogs and if you look at the timestamp in the file names (e.g. console_2022_02_12-18-41-26.txt) you may still have a log from when you had a problem, if so post that here and I may be able to find why it happened and fix it.

mhavlena
13-02-2022, 16:39
459

See attached, hoping this will help...
Thanks very much...
MH

Seven Smiles
14-02-2022, 11:03
Thanks, that shows some odd stuff


13:46:51.001 : Cmnt: Entered pit lane
13:46:51.004 : Fuel: Use per lap = 3.6 laps to go = 2 current fuel = 4.7 additional fuel needed = 3.5
13:46:51.004 : Fuel: Laps of extra fuel: 0.3
13:46:51.004 : Fuel: Fuel calculations based on max fuel consumption: False
13:46:51.004 : Fuel: Pit: auto refuel to the end of the race, need to add 4 litres of fuel
13:46:51.394 : Playing sounds, events: mandatory_pit_stops/engage_limiter
13:46:51.394 : (mandatory_pit_stops/engage_limiter)
13:46:52.281 : Playing sounds, events: acknowledge/fuel_to_end
13:46:52.281 : (acknowledge/fuel_to_end)
13:46:53.045 : Cmnt: Set fuel level: current 0, required 0 litres
13:46:53.045 : Cmnt: Fuel level set: 0 litres

13:47:02.548 : Fuel: Fuel use per lap: windowed calc=3.408, max per lap=0.000 fuel(liters) left=4.679


16:48:51.077 : Fuel: Fuel use per lap (basic calc) = 0.259 fuel(liters) left = 5.089

16:49:44.863 : Fuel: Fuel use per minute (basic calc) = 1.686 fuel(liters) left = 3.659

16:50:58.476 : Fuel: Use per lap = 0.3 laps to go = 5 current fuel = 1.8 additional fuel needed = -0.2
16:50:58.476 : Fuel: Laps of extra fuel: 0.3
16:50:58.476 : Fuel: Fuel calculations based on max fuel consumption: False
16:50:58.476 : Fuel: Pit: no fuel needed
16:50:58.970 : Cmnt: Set fuel level: current 15, required 0 litres


I'll dig deeper and let you know.

mhavlena
14-02-2022, 11:25
:)

Seven Smiles
16-02-2022, 14:48
Not sure what is happening (something to do with driving slowly under yellow flags maybe?) but I think you can fix your problems by setting Base fuel calculations on max fuel consumption to True, that should mean that CC will ignore the very low fuel usage numbers.