Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Damage Tracker Framework 2.0.2

(6 reviews)

2 Screenshots

Note:

Unless you are using this mod for development, or using a mod that requires this, this mod does nothing by itself!

 

Open-Source 1.0 is here!

1.0 fixes all previous issues such as non-lethal weapons not being tracked with LSPDFR. All damage should now be tracked.

 

DamageTrackerFramework

DamageTrackerFramework is an RPH Plugin that acts as a framework by providing events to other plugins for when Peds and the Player take damage. Previously, the way you had to check whether a Ped was damaged was very inefficient and inaccurate and would often cause major performance loss.

 

DamageTrackerFramework attempts to remedy this by getting the data directly from the game's memory and passing it to other plugins, resulting in accurate, reliable, and performant damage tracking with a negligible loss of ~0-1fps, in comparison with other techniques which would often drop anywhere from 20fps to 60fps, while being less accurate or reliable.

 

Requirements

  • RagePluginHook

 

Installation

  1. Install DamageTrackerLib.dll to the GTA V directory.

  2. Install DamageTrackerFramework.dll to the plugins folder.

  3. DamageTrackerFramework MUST be started with RagePluginHook.

 

Issues

- Damage from Gas Grenades is not tracked.

 

The best way to contact me or report any issues is via this discord: Pyro's Fun

 

Development

Now supports vehicle damage tracking! Let me know if there is any data you'd like me to track specifically in vehicles.

 

Source Code

This plugin is now open source, documentation and source code can be found here: Variapolis/DamageTrackerFramework (github.com)

 

NuGet

The library is available as a package on NuGet: https://www.nuget.org/packages/DamageTrackerLib

 

Example Plugins

An example plugin has been provided and the source code for it can be found here: Variapolis/DamageTrackerExample (github.com)

 

Redistribution Rules & License

This modification is now under the Eclipse Public License v2.0

  1. You may redistribute the files with your mod as long as you include the license included with these files in your download.

  2. If you modify the source code, you must make those modifications open-source.

  3. I ask you to credit me and link to this mod page as a courtesy.

The Full License can be found within the files.

 

The Example Plugins are licensed under 0BDL, you are free to modify and redistribute them as you see fit.

 

Special Thanks
- @Rohit685

- @khorio

- @Echooo

- @SuperPyroManiac

- @Vincentsgm

- My Friend Wagner

- PNWParksFan

- LMS

- alexguirre

- Helpers in the LSPDFR Dev Discord
 

Mods Using DamageTrackerFramework

 

Edited by Vari

What's New in Version 2.0.2

Released

Changes with 2.0.2

    - More error handling for RagePluginHook MemoryAccessViolations

Changes with 2.0.1

    - Added a wrapper around Ped MemoryAccessViolation Exceptions thrown by RagePluginHook to avoid plugin crashes.

Changes with 2.0.0

    - Added Vehicle Damage Tracking (Special thanks to @ApparentlyRohan and @khorio for a lot of the work.)

 

Changes with 1.0.3

    - Updated version checker to use a more up-to-date and performant system (Special thanks to @khorio for most of the work.)

 

Changes with 1.0.2:
    - Fixed Log being spammed by unknown hashes. They are know logged once and cached.
    - Fixed Version not being logged correctly in the version check fails.

 

Changes with 1.0.1:
    - Fixed crash caused by Peds being deleted between ticks after 20-30 minutes of play. (Thanks @DooVan for reporting and testing.)

 

Changes with 1.0:
    - Major Damage Tracker Rework to fix issues with non-lethal/less-than-lethal weapons.

 

Changes with 0.9.9:
    - Added Unknown hash tracking.
    - Added support for Cayo Perico and other latest DLC weapons.


Short Description

A DamageTrackingFramework for developers providing damage events for Peds.

User Feedback

Recommended Comments

CodeThreeMiles

Members

something crashes my game

something crashes my game

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.