Quite new to this whole game cheat/reverse engineering thing so bare with me. I'm writing an external cheat for the South Park: TSOT.

Code if it will help:
[C#] using System; using System.Collections.Generic; using System.ComponentModel; - Pastebin.com

I'm using MemorySharp and have run into an error when I try to write to the memory of the health.


An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in MemorySharp.dll

Additional information: Couldn't change the protection of the memory at 0x2EFA of 1 byte(s) to ExecuteReadWrite.

As far as I can tell, the memory is protected and I cannot write to it. I've tried disabling DEP but to no avail, so I am assuming that that isn't the problem here. Is there a way for me to write to the memory in this situation? Or am I completely missing something else here?

Original Writen by destinythegod in C# Category, the date of 24-06-2015 07:49.