-
-
Notifications
You must be signed in to change notification settings - Fork 208
Process Modules
erfg12 edited this page Aug 11, 2017
·
4 revisions
If you want to list all the modules available in the game, here is some example code.
The modules are stored in the modules
dictionary.
StringBuilder sb = new StringBuilder();
foreach (var item in MemLib.modules)
{
sb.AppendFormat("{0} - {1}{2}", item.Key, item.Value, Environment.NewLine);
}
string result = sb.ToString().TrimEnd();
//MessageBox.Show(result); //if you want to
Debug.Write(result);
You can use any process module address by calling it by it's module name in read/write functions. You don't have to use the "game.exe" module if you don't want to, you can use "base" instead.
Example 1: writeMemory("something.dll+0x12345678,0x85,0xb3","int","1");
Example 2: writeMemory("base+0x12345678,0x50,0xc2","int","1");