Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Module listed #90

Open
Ab1gor opened this issue Oct 2, 2022 · 1 comment
Open

No Module listed #90

Ab1gor opened this issue Oct 2, 2022 · 1 comment
Labels

Comments

@Ab1gor
Copy link

Ab1gor commented Oct 2, 2022

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

@sokripon
Copy link

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

@StarrFox StarrFox added the bug label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants