This was developed for ACRL but uploaded here for other leagues to use. The python app includes the option for many rules used in current and recent F1 to be checked. The main aim is the 1s DRS activation rule. It is set up to give chat messages to a server when rules are broken. However the app cant prevent the DRS being used at the incorrect time so it sends chat messages when rules are broken.
Example video from earlier in development.
Here at the detection point I am within 1s of the car in front but it is lap 1 so the app shows red. If it was within 1s and on lap 3 or later the app shows green when DRS can be used and an optional beep is then played when the DRS start line is crossed. The penalty flag is shown as I used DRS leaving the grid.
Here on lap 4 you can see the valid DRS icon, if I had used DRS further at incorrect times a number would be shown next the penalty flag. Outside of DRS zones the background colour disappears and only the DRS text and penalties (if any) are displayed.
The app has a user preferences.ini file where they can set the size and various options like a beep for valid DRS. Also a rules.ini file where a league admin can select what rules to use. The app on start up sends a chat message to the server with the check sum of the rules file and the app itself so you can check for tampering.
Rules that the app can give notifications on:
A summary of un-served penalties is given at the race end. The app is designed for lap races and HAS NOT been tested or developed for timed races.
To stop spam and annoying beeps the app only posts messages to servers which name contains one of the strings defined in the preferences and app only starts up if car is one of the cars in the preferences list.
Sadly can't stop DRS being used so this is pretty much only of use to leagues and not useful for single player vs AI.
Feel free to modify the app to suit your specific leagues needs. The intended use of this app is that you get your racers to download this app which is installed by extracting the folders into the assettocorsa folder. You then modify the /apps/python/ACRL_DRS/rules.ini to suit your needs and get your members to replace the rules.ini file with the one you made.
Example video from earlier in development.
Here at the detection point I am within 1s of the car in front but it is lap 1 so the app shows red. If it was within 1s and on lap 3 or later the app shows green when DRS can be used and an optional beep is then played when the DRS start line is crossed. The penalty flag is shown as I used DRS leaving the grid.
Here on lap 4 you can see the valid DRS icon, if I had used DRS further at incorrect times a number would be shown next the penalty flag. Outside of DRS zones the background colour disappears and only the DRS text and penalties (if any) are displayed.
The app has a user preferences.ini file where they can set the size and various options like a beep for valid DRS. Also a rules.ini file where a league admin can select what rules to use. The app on start up sends a chat message to the server with the check sum of the rules file and the app itself so you can check for tampering.
Rules that the app can give notifications on:
- DRS use with car within x seconds at activation point after lap y
- Top x cars use same compound tyre they did best qualifying lap on. App reports which tyre they did their best lap on in qualifying, and shows blank in practice.
- Minimum number of tyre compounds to use in race
- Ban on refueling
A summary of un-served penalties is given at the race end. The app is designed for lap races and HAS NOT been tested or developed for timed races.
To stop spam and annoying beeps the app only posts messages to servers which name contains one of the strings defined in the preferences and app only starts up if car is one of the cars in the preferences list.
Sadly can't stop DRS being used so this is pretty much only of use to leagues and not useful for single player vs AI.
Feel free to modify the app to suit your specific leagues needs. The intended use of this app is that you get your racers to download this app which is installed by extracting the folders into the assettocorsa folder. You then modify the /apps/python/ACRL_DRS/rules.ini to suit your needs and get your members to replace the rules.ini file with the one you made.