View Single Post
spumer
Senior Member
Join Date: Aug 2011
Old 06-16-2019 , 01:42   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #10

Quote:
Originally Posted by epzminion View Post
My guess is that you need to fix this bug in this extension's copy of CDetour. It is causing mprotect to only be called on the first page of 'CTerrorPlayer:reThink', and the offset is probably shifting it past that boundary into the next page.

Or you could also just change the gamedata to use a byte signature directly at the patch location instead of using a symbol+offset.
You can try recompile with https://github.com/spumer/Left4Fix/b...rhelpers.h#L61
My ProtectMemory version take into account multiple memory pages.
__________________
spumer is offline