Skip to content

How To Get Started (C#)

New Age Soldier edited this page Oct 10, 2020 · 15 revisions

Add Memory.dll

  1. Compile Memory.dll and add reference to it. Project > Add Reference.

  2. Add the NuGet package System.Security.Principal.Windows.

  3. Raise application privileges to administrative level..

  4. Make sure your project trainer matches your game's platform. If you need x64, uncheck prefer 32bit when using Any CPU.

    Example: x86 game = x86 trainer, x64 game = x64 trainer.

Building Our Trainer

Open the application's code view and add this to the very top of the code.

using Memory;

Inside your namespace > class brackets add the following:

public Mem MemLib = new Mem();

Now open the process for read/write using the following code in whichever function you want.

Use Task Manager > Details (tab) to find the specific GAME_NAME. Example: World of Warcraft is WoW.

MemLib.OpenProcess("GAME_NAME");

Now you can read or write to a specific memory pointer/offset using the external memory library.

https://erfg12.github.io/memory.dll/processes.png

https://erfg12.github.io/memory.dll/implementation.png