Make "enforce cap fight" much more responsive #1019
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a work-in-progress to demonstrate the usage of hll-geofence for the enforce cap fight seeding automod. It uses the rconv2 protocol and is therefore much more responsive in detecting players out of bounds. Usually a player is notified about being out of the play-able area within 1 second or much less.
This commit introduces a new component that is entirely written in golang but also requires access to the configuration data in the db. Therefore there is an added way of an internal API user, which can authenticate to the CRCon api and use any available api without nay explicit grants of permissions.
This is a WIP, as it will not take into account saving the seeding automod config, yet (e.g., by restarting the enforce_cap_fight program in supervisor). Hence, when changing the config right now, one would need to restart the program manually.
It does also not yet remove the "offensive-point-tracking" version of the enforce cap fight component in the python seeding automod.