* Fixed wrong context being reported (spamming murmur with wrong values)
when game version changes - now we rely on a pointer (confirmed to be
working)
* Restored a copyright line that I shouldn't have removed - sorry thorvald
:)
* Removed identity support since it's too much drama
* Added arrays of bytes to find when a new build of the game comes out
* Fixed plugin not unlinking in some cases
* Fixed plugin not linking in game menus
* Moved some static addresses outside functions for clarity Removed top vectors retrieval which can be problematic and aren't used at all in this game
* Fixed context support
- made the code simplier, less nested in fetch().
- strings are now ensured to be zero-terminated
- replaced calcout() call from trylock() with fetch call that can actually
fail.
- Disabled identity support since it still needs some work.
- Ensure zero termination of string from target process.
- Minimal style issues
- Re-added removed copyright line (IANAL but I don't think these are easily removed. Even with most of the source changed. So better be safe then sorry).
added avatar top vector support
added helpful arrays of bytes in case someone wants to update this plugin faster than me - if necessary, I can record a video-tutorial for this
changed the way trylock function is executed since we don't need all these checks (and important ones are checked in refreshPointers() function anyway)
fixed memory addresses
changed global variables to static
changed how context is handled
removed all calls to engine.dll module - we can get everything from client.dll nicely
Wrapped context in JSON. Context passing is disabled when running localhost (loopback:0) server and when not in game (fixed - now only in state=0)
Supports ingame detection (based on a pointer being NULL or not), reports camera and avatar independent position, front and top vectors.
No support for identities and context yet (might look for them some other time)