by L. Spiro » Sun Jul 22, 2007 10:19 pm
#1: If the value does not change at all, the memory is protected and writing operations are failing. Use VirtualProtectEx() to change the memory protections.
#2: If the value changes but then goes back to the original, it is being written by the game every frame (or more, or less) and you need to constantly change it, not just once.
L. Spiro