IUrreta / DatabaseEditor

Database Editor for F1 Manager 2024 and 2023
GNU General Public License v3.0
87 stars 30 forks source link

pit crew attributes don't show in game but the performance changes[BUG] #316

Closed EricThCartman closed 3 months ago

EricThCartman commented 3 months ago

Describe the bug The pit crew attributes can be changed using the database editor but their stats still show the same in the pit crew training window. I tried changing it before as well as during a race weekend. The effect is the same.

This is what I did: Steps to reproduce the behavior:

  1. changed all the attributes of the sporting director to 100 in the database editor
  2. saved
  3. changed all the attributes of the pit crew to 100% (except fatigue) in the database editor
  4. saved
  5. copied modified save file to savegame folder
  6. loaded the save
  7. went to race
  8. got fastest pit stop (1.799s)
  9. checked "training summary" in game (under Sporting Director -> Pit Crew)

Expected behavior The pit crew stats should be shown in game.

Save file and [log.txt] save2.zip

2024-08-02 15:37:14,120 INFO: Command received: {'command': 'connect'}
2024-08-02 15:37:16,225 INFO: Command received: {'command': 'saveSelected', 'save': 'save2.sav'}
2024-08-02 15:37:17,949 INFO: Command received: {'command': 'configUpdate', 'save': 'save2', 'alphatauri': 'visarb', 'alpine': 'alpine', 'alfa': 'stake', 'state': 'ask'}
2024-08-02 15:37:47,233 INFO: Command received: {'command': 'editStats', 'driverID': '299', 'driver': 'Beat ZEHNDER', 'statsArray': '100 100 100 100', 'typeStaff': '4', 'retirement': '72', 'age': 0, 'isRetired': 0, 'driverNum': 'undefined', 'wants1': 1, 'mentality': '0 0 0 ', 'superLicense': 0, 'marketability': '', 'newName': '-1', 'newCode': 'undefined'}
2024-08-02 15:37:57,533 INFO: Command received: {'command': 'teamRequest', 'teamID': '9'}
2024-08-02 15:39:06,435 INFO: Command received: {'command': 'editTeam', 'teamID': '9', 'facilities': [['31', 0.96], ['22', 0.96], ['51', 0.95], ['61', 0.96], ['71', 0.96], ['81', 0.96], ['150', 1], ['130', 1], ['11', 0.94], ['100', 1], ['110', 1], ['120', 1], ['91', 0.97], ['141', 1], ['43', 0.98]], 'seasonObj': '8', 'longTermObj': '1', 'longTermYear': '2028', 'teamBudget': '23886963', 'costCapEdit': 0, 'confidence': '46', 'pitCrew': {'32': '100', '34': '100', '35': '100', '36': '100', '38': 10, '39': '100', '40': '100', '41': '100', '42': '100'}, 'engine': '1', 'teamName': 'Alfa Romeo'}

Additional context dhl-top-fastest-pit-stop

sauber-pit-crew-stats

EricThCartman commented 3 months ago

Update: at the end of the pit crew training schedule all the stats are shown in game. Sorry I didn't test this earlier.