-
-
Notifications
You must be signed in to change notification settings - Fork 208
How To Get Started (VB.NET)
New Age Soldier edited this page Oct 10, 2020
·
8 revisions
-
Compile Memory.dll and add reference to it.
Project > Add Reference
. -
Add the NuGet package System.Security.Principal.Windows.
-
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.
Place Imports statement above Public Class.
Imports Memory
Create a namespace for Mem in your class.
Dim m As New Memory.Mem
Next, open the game's process with Openprocess() and locate the process ID with getProcIDFromName(). You can find the game name with Task Manager in the Details tab.
Example: World of Warcraft is WoW, just remove the .exe from the name.
m.OpenProcess("GAME_NAME")
You can now read and write to addresses with all the other functions!