TalkingOpen Source Trainer DLL Library

Posts 19 of 9 · Page 1 of 1
Open Source Trainer DLL Library
For the past several months I've been developing a DLL library file that can assist in making a trainer in C#.

Wiki Documentation -
github . com/erfg12 / memory.dll/wiki/Functions-List
Source Code -
github . com/erfg12 / memory.dll
Compiled Release DLL -
github . com/erfg12 / memory.dll/releases
Example Game Trainers -
github . com/erfg12/Game-Trainers
Complex Game Trainer Example -
github . com/erfg12/EQTrainer
FEATURES
- Read / Write module + memory + offsets or memory + offsets. Not just static memory addresses!
- Memory addresses load from external ini file(s) or internally.
- Inject separate dll files to trigger internal functions.
- Read / Write strings, integers, floats, doubles, byte(s) of any size.
- AoB scans in sections of addresses for fast address locating.

You can keep the same formatting as in Cheat Engine...
module + memory + offsets
EX1: game.exe+0x007F94E8,0x9c
EX2: someLib.dll+0x007F94E8,0x9c,0x8,0x67
EX3: 0x007F94E8,0x9c,0x8
EX4: 0x007F94E8

Here are some more examples:

You can program an address with offsets internally...
Code:
int current_hp = MemLib.readInt("0x007F94E8,0x9c");
Or, make a code ini file...
Code:
int current_hp = MemLib.readInt("godMode", "codeFile.ini");
and in your code ini file...
Code:
[codes]
godMode=0x007F94E8,0x9c
You can do an AoB scan...
Code:
IntPtr myScan = MemLib.AoBScan(0x00500000, 0x300000, "?? 00 ?? 00 00 00 ?? 00 50 00 4B 00 50 00 4B 00 5F 00 73 00 05");
int current_hp = MemLib.readInt(myScan.ToString("X8"));
Or, make a code ini file...
Code:
IntPtr myScan = MemLib.AoBScan(0x00500000, 0x300000, "godMode", "codeFile.ini");
int current_hp = MemLib.readInt(myScan.ToString("X8"));
and in your code ini file...
Code:
[codes]
godMode=?? 00 ?? 00 00 00 ?? 00 50 00 4B 00 50 00 4B 00 5F 00 73 00 05
You can write integers, strings, floats, bytes...
Code:
MemLib.writeMemory("0x007F94E8,0x9c", "int", "1");
Or, with ini format...
Code:
MemLib.writeMemory("godMode", "int", "1", "codeFile.ini");
You can inject your own DLL files...
Code:
InjectDLL("myDllFile.dll")
This will create a new module called "inject"
You can also use ThreadStartClient(object) to create a pipe to your injected game called EQTPipe.

If anyone has questions, let me know.
Hi, thanks for the awsome lib. Can you explain more about the AoB scanner and what it exactly does? Thanks
Quote Originally Posted by Not Officer View Post
Hi, thanks for the awsome lib. Can you explain more about the AoB scanner and what it exactly does? Thanks
Aob is in array of byte. scans for bytes in a process
Awesome lib! Thanks for release :3
Quote Originally Posted by twas brillig View Post
I'm just curious as to why there are no links? I'm able to post my latest project with a link pretty easily: https://github.com/jmemmons/wot-modpack-customizr
Because you need 10 or 15 posts to be able to post direct links.
niggaturtlemane
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?