Open Ab1gor opened 1 year ago
I was trying to access the modules of a game. This is my code:
from pymem import Pymem import pymem import subprocess import re pm = pymem.Pymem('Game.exe') print(f"pm -> {pm}") modules = pm.list_modules() print(f"All modules -> {modules}") module_list = [] for module in modules: module_list.append(module.name) print(f"Module list -> {module_list}")
Output:
pm -> <pymem.Pymem object at 0x00000256AFB47370> All modules -> <generator object enum_process_module at 0x00000256B1A51540> Module list -> []
The Module list seems to be empty. This is my output. I ran python as an administrator. Python - 64 bit Application - 64 bit
Discord Conversation Link
The code is correct. Have you checked with Cheat Engine if the DLLs are listed there?
I was trying to access the modules of a game. This is my code:
Output:
The Module list seems to be empty. This is my output. I ran python as an administrator. Python - 64 bit Application - 64 bit
Discord Conversation Link