rdbo / libmem

Advanced Game Hacking Library for C, Modern C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)
GNU Affero General Public License v3.0
830 stars 101 forks source link

LM_FindModule BUG? #251

Closed haxjp closed 3 months ago

haxjp commented 3 months ago

environment: OS Windows11 23H2 Compiler MSVC Using library libmem-5.0.1-x86_64-windows-msvc-static-md

When I copied the C/C++ example ( process name has been changed.) and ran it, I got the problem that game_mod.base was not initialized. Instead, wecan use LM_LoadModule to get the base address.

rdbo commented 3 months ago

The example in the README is just a showcase, it won't work You have to use it according to the process you are targetting