qb-0 / pymeow Goto Github PK
View Code? Open in Web Editor NEWPython Game Hacking Library
License: MIT License
Python Game Hacking Library
License: MIT License
Title says it all. How do I get the key number?
Unless using your hand to move the mouse,
executing 'mouse_move' after the second attempt will result in an error distance
self.Process = pyMeow.open_process('DNF.exe', debug=False)
nimpy.Exception: Unexpected error encountered: Module 'DNF.exe' not found
But I can get it through enum-processes
{'name': 'DNF.exe', 'pid': 64524, 'debug': False, 'base': 0, 'handle': 0}
Processes can also read and write, with sufficient permissions. What is the reason for this
When I run this script I just have a black screen and I had tried to clicking and pressing any buttons it doesn`t work for me idk. My friend said that its working for him. Can anyone help?
fatal.nim(54) sysFatal
Error: unhandled exception: value out of range: 4287627008 notin -2147483648 .. 2147483647 [RangeDefect]
I want to know what caused this error
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /home/xxx/.local/lib/python3.10/site-packages/pyMeow/pyMeow.so)
i have two 2560x1440 monitors and i run Nobara Linux 37.
But running get_display_resolution
returns:
(5120, 1440)
get_screen_height and get_screen_width also return incorrect data:
5119 # get_screen_width output
1439 # get_screen_height output
But get_monitor_count does detect having 2 displays.
A possible temporary solution could be dividing the width and or height by the monitor quantity, depending on the monitor orientation.
But in the longer run, it would be better to rewrite the get_display_resolution function.
test:
hello = pm.gui_text_box(posX=20, posY=30, width=50, height=30, text="hello", id=0)
print(len(hello))
expected: 5; returns: 205
temporary workaround:
hello = hello.rstrip('\x00')
Line 95 in 26f3ef1
I know nothing about nim, but it looks to be appending 200 null bytes to the given value - (some more info in discord when I first discovered bug)
class CS2Esp:
def __init__(self):
try:
self.proc = pm.open_process("cs2", True)
# self.mod = pm.get_module(self.proc, "client")["base"]
except Exception as e:
sys.exit(e)
if __name__ == "__main__":
esp = CS2Esp()
open_process(process: string|int, debug: bool = false): Process
But just need to pass a process PID or process name, I can open it normally with 32-bit programs, some x64 programs don't work, and I use CE to see if the process has permission to be accessed
Hello!
I'm replacing some pymem
code w/ pyMeow
, and I ran into checkRoot
which returned that i must be root to use a few functions.
In my case, i'm only using open_process
, get_module
, and all of the various read functions.
I've separately compiled the application myself without the checks and the above functions work fine for my case but thought it might be convenient to have the root check be configurable in some way.
If you agree and have any ideas, I'd be happy to submit a PR.
i update the package 1.43.25 at lastweek,and my users said to me,the program often crashed on windows 10
i use try catch,but it not worked
i use Windows Event Viewer to find the issues,it point to pyMeow.pyd
the pyMeow will crashed inside
it maybe about “nimraylib_now“ i think
“nimraylib_now“ The project will no longer be maintained,and i cannot download it for reCompiling pyMeow
at last i uninstall 1.43.25 version and use 1.27.15 instead!
it is a good idea for using raylib,but if the project is not stable,i will use raylib for python instead!
"pointer_chain_32" doesn't work or am I doing something wrong?
When I try to do this, I get the error
"TypeError: unable to convert python object to seq[int]" or "TypeError: unable to convert python object to int"
Not a super high priority, but there doesn't seem to be a way to free memory after using allocate_memory
For reference, competing library seems to have this feature:
https://pymem.readthedocs.io/en/latest/_modules/pymem.html#Pymem.free
When will the author get a fast_ Call and function address are used more, thank you
Hi, I have a problem with PyMeow, more specifically about overlay.
My problem is that after around 5-6 seconds of displaying the overlay it crashes. My code looks something like this
`
pm.overlay_init()
pm.set_window_position(0, 0)
pm.set_window_size(1919, 1079)
run = True
while run and pm.overlay_loop():
pm.begin_drawing()
# drawing here
pm.end_drawing()
pm.overlay_close()
`
Program ends after around 5 seconds with message "Python is not responding". My suspicion is that it has something to do about handling the events by overlay window, as I have faced similar issues in the past using C++ and that was the issue with similar behavior. The fix in C++ was providing PeekMessage() call. Any help would be appreciated
I use the latest release of PyMeow and Python 3.12
Hey, first of all, thanks a lot for this project. Ive been searching for something like this (that combines all the things i need).
While i worked myself in, i stumbled about 1 or 2 things, so i thought, I'd share my experience and report some "not really convenient things"
Data types und error message are basically one thing.
I was trying to feed the new_color function an instance of my color class. And i received the error:
Python types arent compatible (free out of my mind).
That made me wonder so i went ahead and checked if you provide own data types.
Long story short:
Problem was i used a float representation for the color
1.0, 1.0, 1.0, 1.0
So it would be nice if you could adjust either the error message or maybe own data types?
As for the pixels(this is just a kind request):
It would be awesome if you could extent the base array usage with an appropriate single Pixel detection method, that doesnt take a color but rather x, y
Thanks again
i'm scanning for this pattern "00 79 00 ?? 73 ?? ?? 7b 22 49 64 22 3a" for wich i have results in cheat engine but not in pymeow
process: dict = open_process('THEGAME.exe')
modules = enum_modules(process)
for mod in modules:
print(mod["name"])
try:
res = aob_scan_module(process, mod["name"], pattern)
except:
continue
print(len(res))
pleas help, what am i doing wrong?
aob scan
Bro, can you give me some examples of single-player non-gun games. I don't understand both gunplay games and code
when i use r_bytes the memory used in nim doesn't get freed, is it possible to fix that?
Core I5, GTX 1060, can barely run the Rendering Library at 10 frames.
This performance decrease only happens when running the Rendering library.
Example: Before using BoxESP example code: 120 FPS, after: 13 FPS.
Device name ...
Processor Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz 2.40 GHz
Installed RAM 8.00 GB (7.82 GB usable)
Device ID ...
Product ID ...
System type 64-bit operating system, x64-based processor
In some cases, i often need to long press the mouse left or right.
so the mouse_press & mouse_release is very important.
when i execute the esp in examples, nothing happens and idk why. yesterday it worked just fine
I'm getting this error when I try to fetch the client dll from csgo. (Pymem works)
Traceback (most recent call last):
File "d:\code\cmnoNow\Python\puy\app.py", line 4, in <module>
client = pm.get_module(csgo_proc, "client.dll")["base"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
nimpy.Exception: Unexpected error encountered: Module 'client.dll' not found
My code:
import pyMeow as pm
csgo_proc = pm.open_process("csgo.exe")
client = pm.get_module(csgo_proc, "client.dll")["base"]
Installed most recent release
class Offsets:
CS2Offsets = requests.get("https://raw.githubusercontent.com/a2x/cs2-dumper/main/generated/client.dll.json").json()
dwEntityList = None
dwViewMatrix = None
dwLocalPlayerController = None
m_iPawnHealth = int(CS2Offsets['CCSPlayerController']['data']['m_iPawnHealth']['value'])
m_hPlayerPawn = int(CS2Offsets['CCSPlayerController']['data']['m_hPlayerPawn']['value'])
m_iszPlayerName = int(CS2Offsets['CBasePlayerController']['data']['m_iszPlayerName']['value'])
m_iTeamNum = int(CS2Offsets['C_BaseEntity']['data']['m_iTeamNum']['value'])
m_vOldOrigin = int(CS2Offsets['C_BasePlayerPawn']['data']['m_vOldOrigin']['value'])
m_pGameSceneNode = int(CS2Offsets['C_BaseEntity']['data']['m_pGameSceneNode']['value'])
m_bPawnIsAlive = int(CS2Offsets['CCSPlayerController']['data']['m_bPawnIsAlive']['value'])
m_pBoneArray = 480
m_bPawnIsAlive
to check if their alive. @property
def isalive(self):
return pm.r_bool(self.proc, self.ptr + Offsets.m_bPawnIsAlive)
Can you write a GUI demo? I don't know how to call it. Thank you, the author
aob_scan Multiple addresses found can only return the first address
nimpy.AccessViolationDefect: Unexpected error encountered: Read failed [Address: 0x0000000001B04100] [Error: 299 - 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。]
Antiy-AVL
Trojan/Win32.Wacatac
Arcabit
Trojan.Ceram.Gen.1
Avast
Win64:MalwareX-gen [Trj]
AVG
Win64:MalwareX-gen [Trj]
BitDefender
Trojan.Ceram.Gen.1
DeepInstinct
MALICIOUS
Emsisoft
Trojan.Ceram.Gen.1 (B)
Fortinet
W32/PossibleThreat
GData
Trojan.Ceram.Gen.1
Google
Detected
Ikarus
Trojan.Crypter
Lionic
Trojan.ZIP.Ceram.4!c
Malwarebytes
Crypt.Trojan.MSIL.DDS
MAX
Malware (ai Score=81)
MaxSecure
Trojan.Malware.10975391.susgen
McAfee
Artemis!0C77F8D55214
Panda
Trj/Chgt.AD
Skyhigh (SWG)
Artemis
Symantec
Trojan.Gen.NPE
Trellix (FireEye)
Trojan.Ceram.Gen.1
Varist
W64/ABRisk.RQDF-4655
VIPRE
Trojan.Ceram.Gen.1
Acronis (Static ML)
Undetected
AhnLab-V3
Undetected
Alibaba
Undetected
ALYac
Undetected
Avast-Mobile
Undetected
Avira (no cloud)
Undetected
Baidu
Undetected
BitDefenderTheta
Undetected
Bkav Pro
Undetected
ClamAV
Undetected
CMC
Undetected
Cynet
Undetected
DrWeb
Undetected
Elastic
Undetected
eScan
Undetected
ESET-NOD32
Undetected
Gridinsoft (no cloud)
Undetected
Jiangmin
Undetected
K7AntiVirus
Undetected
K7GW
Undetected
Kaspersky
Undetected
Kingsoft
Undetected
Microsoft
Undetected
NANO-Antivirus
Undetected
QuickHeal
Undetected
Rising
Undetected
Sangfor Engine Zero
Undetected
Sophos
Undetected
SUPERAntiSpyware
Undetected
TACHYON
Undetected
Tencent
Undetected
TrendMicro
Undetected
TrendMicro-HouseCall
Undetected
Trustlook
Undetected
VBA32
Undetected
VirIT
Undetected
ViRobot
Undetected
WithSecure
Undetected
Xcitium
Undetected
Yandex
Undetected
Zillya
Undetected
ZoneAlarm by Check Point
Undetected
Is there any way to delete the pixels that have been drawn?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.