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

Version 3258 weaponDamageEvent hitComponent Bug #2848

Open
zeuug opened this issue Oct 8, 2024 · 2 comments
Open

Version 3258 weaponDamageEvent hitComponent Bug #2848

zeuug opened this issue Oct 8, 2024 · 2 comments
Labels
bug status:needs info Requires more info before this issue/PR can move on triage Needs a preliminary assessment to determine the urgency and required action

Comments

@zeuug
Copy link

zeuug commented Oct 8, 2024

What happened?

Using weaponDamageEvent to log damage data. In older game versions for example '2944' hitComponent works and returns its true values which is then converted to the bone name in the log.

On version 3258 hitComponent only returns 0 no matter what part of the body is damaged.

Expected result

Should be returning the correct hitComponent value like older versions.

Reproduction steps

Server side lua

AddEventHandler('weaponDamageEvent', function(source, data)
if not data or not data.hitGlobalId then return end

print(data.hitComponent)

end)

Shoot another player, shoot different body parts and check server console for printed value.

Importancy

Slight inconvenience

Area(s)

FiveM

Specific version(s)

FiveM Game Build 3258

Additional information

No response

@zeuug zeuug added bug triage Needs a preliminary assessment to determine the urgency and required action labels Oct 8, 2024
@FabianTerhorst
Copy link
Contributor

Please specify your server artifact that you have tested.

@FabianTerhorst FabianTerhorst added the status:needs info Requires more info before this issue/PR can move on label Oct 8, 2024
@zeuug
Copy link
Author

zeuug commented Oct 9, 2024

Please specify your server artifact that you have tested.

Server Artifact 9538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:needs info Requires more info before this issue/PR can move on triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

2 participants