Skip to content

Implement hooking to fix gas grenades issue.#21

Open
Variapolis wants to merge 50 commits into
masterfrom
feat-hooking
Open

Implement hooking to fix gas grenades issue.#21
Variapolis wants to merge 50 commits into
masterfrom
feat-hooking

Conversation

@Variapolis
Copy link
Copy Markdown
Owner

Implemented a hooking detour system to get around the issue with gas grenades not being properly tracked and moved Tear Gas to Gas weapon group.

Also cached unknown hashes to prevent log spam.

Left todo:

  • Make sure hooking dependencies are included in the repository or alongside the release if possible.

Variapolis and others added 18 commits May 16, 2023 10:00
…ts as damage booleans

The Damage Tracker used to use health changes to determine whether damage was received. However, with the way Rockstar designed the damage system, the "damageArray", which I'm not sure the real purpose of, is often 0 after the damage history is cleared, allowing for us to check if damage was received by checking that value instead.
Switched to EPL v2.0 from GPL v3.0
Add Requirements.
…king system

Combined the old tracking system with the new hooking system to get around the Gas grenades bug. The hooking will override damage when possible to be more accurate with what damaged a Ped.
@Variapolis Variapolis force-pushed the master branch 3 times, most recently from 816017e to 0a17d3d Compare April 22, 2024 19:53
@Variapolis Variapolis force-pushed the master branch 2 times, most recently from 72094a1 to f0429e6 Compare June 13, 2024 20:16
@Variapolis Variapolis self-assigned this Aug 26, 2024
@Variapolis Variapolis added the enhancement New feature or request label Aug 26, 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

Successfully merging this pull request may close these issues.

1 participant