Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddonChecker: added base checking #1425

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

TimGoll
Copy link
Member

@TimGoll TimGoll commented Feb 18, 2024

This is still a draft as I have to test how useful this actually is. But this is what I envisioned: Print a warning in the addon checker if an addon uses the wrong base. Sadly I think there is no way to detect the addon where this file came from.

@Histalek
Copy link
Member

Given that e.g. TFA weapons ( see #1432 ) do not use weapon_tttbase as a base, this would have the potential of spamming the addonchecker for no good reason. The TFA devs made these weapons explicitly compatible with ttt.

Maybe we could gate this weaponbase scanning behind a flag and not run it by default? Or split this out into another function which can be triggered by a different concommand?

If this is split and not run by default i would be fine with merging this. Giving serverowners a tool to discover these kinds of possibly problematic weapons definitely has value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants