How to make a C# Trainer With Memory.dll Tutorial

Subscribers:
178,000
Published on ● Video Link: https://www.youtube.com/watch?v=STPrGJ8eI8Y



Memory
Game:
Memory (2020)
Category:
Tutorial
Duration: 38:58
41,952 views
0


Learn how to make a C# trainer using the popular memory library known as memory.dll from the developer: New Age Soldier

Timestamp:
0:00 Introduction
0:49 Configuring manifest file
1:25 Adding memory.dll
8:37 UI Design
13:48 Implementing cheats
37:20 Describing the C# memory lib

Memory.dll has been removed from nuget:
Download memory.dll: https://github.com/erfg12/memory.dll/releases
add it as a reference per the documentation

New Age Soldier's Youtube: https://www.youtube.com/channel/UCRKp4_4j5bCreC66tjoFjhQ
New Age Soldier's github: https://github.com/erfg12/memory.dll
New Age Soldier's Twitter: https://twitter.com/erfg12

This tutorial will teach you how to make a C# trainer with memory.dll in a Windows Forms app. Trainers are programs that modify the memory of a game to gain some kind of advantage like infinite health or ammo, these program are commonly made in C# Forms because it makes it very simple to make a user interface for the trainer. This memory library called memory.dll makes it easy for C# applications to access functions from the Win32 API like the OpenProcess which opens a handle to a process so we can read and write the memory of the game.

We first add an application manifest file because we can then set an option that forces the user to execute the program with administrator permissions. We then proceed to add memory.dll to visual studio by downloading it as a Nugget packet, however if we wanted, it would have been also possible to compile the dll from the source code that is available on the memory library's github page. After that we create a background worker which will check if the target process is running by calling OpenProcess in an infinite loop.

Because we already have the addresses, offsets and scripts for many hacks on cheat engine we will not wast time with reverse engineering the game so we can just focus on implement them to our C# trainer in Visual Studio. We begin by adding a feature that writes to the variable that has the amount of coins with the value desired by the user. Then we make a checkbox that when checked makes our character always fire fireballs. Also, we create another checkbox that when checked constantly resets the level timer to zero so we do not lose. We also add god mode and infinite jump doing the same process. You can find other C# tutorials on our guidedhacking forum.

If you want to learn how to write similar functions yourself, as a beginner you can watch this video:
https://guidedhacking.com/threads/how-to-make-c-hacks-tutorial-external-trainer.13979/

Memory.dll has functions which:
-read integers
-read floats
-read doubles
-read strings
-write integers
-write floats
-write strings
-inject DLLs
-pattern scanning
-and much more

Discussion : https://guidedhacking.com/threads/how-to-make-c-trainer-guis-with-memory-dll.15247/

Donate on our Forum : http://bit.ly/2HkOco9
Support us on Patreon : http://bit.ly/38mnveC

Follow us on Facebook : http://bit.ly/2vvHfhk
Follow us on Twitter : http://bit.ly/3bC7J1i
Follow us on Twitch : http://bit.ly/39ywOZ2
Follow us on Reddit : http://bit.ly/3bvOB57
Follow us on GitHub : http://bit.ly/2HoNXIS
Follow us on Instagram : http://bit.ly/2SoDOlu







Tags:
guidedhacking
memory.dll
new age soldier
newagesoldier
memory.dll tutorial
C# memory library
memory library
C# trainer tutorial
C# tutorial
C# memory lib
memory lib
C# memory
how to make C# trainer
C# trainer
reverse engineering
how to



Other Statistics

Memory Statistics For Guided Hacking

At this time, Guided Hacking has 41,952 views for Memory spread across 1 video. Less than an hour worth of Memory videos were uploaded to his channel, less than 0.56% of the total video content that Guided Hacking has uploaded to YouTube.