joshjaysalazar / iRacingSafetyCarGenerator

Software to generate custom safety cars during an iRacing race
GNU General Public License v3.0
1 stars 1 forks source link

6 wave arounds should be automatic #11

Closed joshjaysalazar closed 4 months ago

joshjaysalazar commented 4 months ago

Description

A setting has been added to the GUI to turn on or off Immediate Wave Arounds. When on, all lapped cars are sent a !waveby command right after the safety car is thrown. This also accounts for different classes, so cars will only be waved by if they are lapped within their own class. When the setting is off, wave arounds are handled only by iRacing's built in wave around logic.

Fixes #6

Type of change

Testing

I ran about a dozen AI races, testing various states of being lapped and seeing how the program logic responded to it. As far as I have found, the wave arounds are given at the correct times.