Pymem icon indicating copy to clipboard operation
Pymem copied to clipboard

No Module listed

Open Ab1gor opened this issue 3 years ago • 1 comments

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

Ab1gor avatar Oct 02 '22 18:10 Ab1gor

The code is correct. Have you checked with Cheat Engine if the DLLs are listed there? image

sokripon avatar Oct 13 '22 09:10 sokripon