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

Validating Weapon Cause Hashes on deathEvent in server logger #1033

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Gravxd
Copy link
Contributor

@Gravxd Gravxd commented Feb 17, 2025

Currently, clients can trigger the death event log and the server log will add that to the web panel without validation so clients can use custom input (will leave that to your imagination)

This simple change will validate the weaponHash against the already localised table of death causes and then log it as opposed to a blind log from the event trigger

It's worth mentioning that i also took the liberty of updating the missing/latest and correcting the death hashes for FiveM in #1024 which can be merged with this change if needed for convenience.

@Gravxd Gravxd requested a review from tabarra as a code owner February 17, 2025 18:51
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.

1 participant