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

Logging spawner load errors (+ number of vehicle classes in categories) #187

Open
dijksterhuis opened this issue Oct 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dijksterhuis
Copy link
Contributor

dijksterhuis commented Oct 12, 2024

simple solution for mitigating some pain points with vehicle spawners

  • too many classes (not enough tag filtering) makes spawner non functional
  • only way to see how many classes over the limit is to load in and walk up to a spawner as a player

working this stuff out would be easier with some server side logging lines emitted when loading the vehicle spawner configurations

  • number of vehicle class names per category
  • a specific error log when it exceeds the maximum possible classes per category [0]

should make it a bit easier to detect when a vehicle spawner is borked, hopefully.

could also skip the last Nx entries from a tag generated array of class names (force the limit to 8 classes). but that starts hiding breakage which i'm not really a fan of.

[0]: 8 options i believe because of default earplugs and scout options in wheel menu?

@dijksterhuis dijksterhuis added the enhancement New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant