You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When ever i want to read anything using the process_handle i get this error
Your Environment
python version 3.11 64 bits
os version 64 bits
pymem version 1.13.1
Expected behavior
get list of modules
Traceback
File "C:\Users\Paragati\PycharmProjects\TestMem\main.py", line 17, in <module>
unity_player_addr: int = pymem.process.module_from_name(pm.process_handle, "UnityPlayer.dll").lpBaseOfDll
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Paragati\PycharmProjects\TestMem\.venv\Lib\site-packages\pymem\process.py", line 366, in module_from_name
for module in modules:
File "C:\Users\Paragati\PycharmProjects\TestMem\.venv\Lib\site-packages\pymem\process.py", line 415, in enum_process_module
process_module_success = pymem.ressources.psapi.EnumProcessModulesEx(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ctypes.ArgumentError: argument 1: OverflowError: int too long to convert
Additional context
This is my simple code:
pm = pymem.Pymem("THEGAME.exe")
unity_player_addr: int = pymem.process.module_from_name(pm.process_handle, "UnityPlayer.dll").lpBaseOfDll
print(unity_player_addr)
The text was updated successfully, but these errors were encountered:
Describe the bug
When ever i want to read anything using the process_handle i get this error
Your Environment
Expected behavior
get list of modules
Traceback
Additional context
This is my simple code:
The text was updated successfully, but these errors were encountered: