Try mshook, some game check their method if it's tampered or not, if you lucky they will only apply this check on 1 or 2 hackable part or method like get method that return a value.well the game I want to modify has a protection in the lib, not when it is dumped in it, in itself the protection of the game in the lib causes that when you modify and replace it, when entering the game it gives an error message, the game what I say is the block strike, do you know this type of protection?
But ofcourse, there is also some games that detect injection of library which is the main way of mshook and memory patching.