ErlerPhilipp / dr2_logger

A logging and analysis tool for Dirt Rally 2.0
MIT License
21 stars 5 forks source link

IndexError on race start #13

Closed ErlerPhilipp closed 4 years ago

ErlerPhilipp commented 4 years ago

happens rarely for me:

Race starting: BMW M2 Competition on PL, Leczna, Borysik Cleared 4563 data points Race Logger |----------------| Time: 00:00, ETA: 29:12, Speed: 0.0 m/s, RPM: 0, Samples: 00000, racing Traceback (most recent call last): File "dr2_logger.py", line 138, in File "dr2_logger.py", line 129, in main File "source\logger_backend.py", line 271, in check_state_changes File "source\dirt_rally\game_dirt_rally.py", line 162, in get_race_duration IndexError: index -1 is out of bounds for axis 1 with size 0 [2476] Failed to execute script dr2_logger

looks like some clean-up conflicts with starting a new race

ErlerPhilipp commented 4 years ago

done in release_1.8.2