I've now addressed this by adding a whole bunch of command line options to tune the output. It's now possible to disable part or all of the logging for the callbacks that produce the most output, thus eliminating clutter and allowing you to focus easily on the callbacks of interest. The code has also been optimized a bit and commented better. Additionally it's possible to check the WarmUp status upon every StatusChanged callback.
Here are the available options and their function:
As before, the script is included with the RPC utilities. Cheers.
Code: Select all
Usage: callbacks.php [-crpikftw] [-h] -c Disable SChallengeInfo details in Begin/EndChallenge -r Disable SChallengeInfo details in Begin/EndRace -p Disable SPlayerRanking details in EndChallenge/Race -k Skip PlayerCheckpoint callbacks completely -f Skip PlayerFinish callbacks completely -i Skip PlayerInfoChanged callbacks completely -t Replace chat text with '...' in PlayerChat -w Enable GetWarmUp calls after each StatusChanged (TMF) -h Show this help information and exit