Hi guys,
Heres an update to Lapper v5844 to allow an admin to assign, save and load handicaps in-race. We use this in our league races to apply racer penalties on the fly, save them into the StoredValues DB, then reload them for next race. Admins see the buttons to add/remove weight or intake restrictions, whereas normal racers only see the settings, they cannot change them
NOTE: When you download these files, I had to add a .txt extension as the wont upload otherwise. Take the .txt off the end
To apply the patch, you will need to:
Add this to the LFSLapper.lpr file where you see the other command definitions (like !help or !top):
Let me know of any bugs you find.
Heres an update to Lapper v5844 to allow an admin to assign, save and load handicaps in-race. We use this in our league races to apply racer penalties on the fly, save them into the StoredValues DB, then reload them for next race. Admins see the buttons to add/remove weight or intake restrictions, whereas normal racers only see the settings, they cannot change them
NOTE: When you download these files, I had to add a .txt extension as the wont upload otherwise. Take the .txt off the end
To apply the patch, you will need to:
- Make sure that "pitboard.lpr" is in your include list in the LFSLapper.lpr file, as this add on uses the global $user_array var
- Make the changes in the attached patch file to the parseEvents.cs file and rebuild the Lapper exe
- Copy the attached handicapper.lpr file into your includes directory
- In the LFSLapper.lpr file, add the code below:
include( "./includes/handicapper.lpr");
Add this to the LFSLapper.lpr file where you see the other command definitions (like !help or !top):
CASE "!hc":
DoHandicapper();
BREAK;
Let me know of any bugs you find.