gelly-gmod / gelly

Library to integrate fluids into a game engine
GNU General Public License v3.0
19 stars 3 forks source link

[TICKET]: Reduce flakiness of memory offsets across GMod versions #58

Open Derpius opened 4 months ago

Derpius commented 4 months ago

Context

Scope

⬆️ This will still break if the function scanned is ever changed, but that is less likely

Acceptance Criteria

Gelly does not break when I manually roll-back GMod to a depot with a different memory offset

Other

The scope above is based on minimal research on my part.

It's worth double checking that source never exposes the device directly, or a function to get the raw device (on the latest SDK, not the 2007 leak). If that doesn't exist, see what programs like ReShade do to solve this