Code Monkey home page Code Monkey logo

pymeow's Introduction

GitHub stats Top Langs

pymeow's People

Contributors

12345678aabbc avatar eein avatar g0ldyy avatar hrt avatar hypnootika avatar iagobeuller avatar imintheicu avatar qb-0 avatar z1r343l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pymeow's Issues

mouse_move bugs

Unless using your hand to move the mouse,
executing 'mouse_move' after the second attempt will result in an error distance

nimpy.Exception: Unexpected error encountered: Module 'DNF.exe' not found

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

Overlay BlackScreen in cs2 example code

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?

call error

fatal.nim(54) sysFatal
Error: unhandled exception: value out of range: 4287627008 notin -2147483648 .. 2147483647 [RangeDefect]

I want to know what caused this error

(Linux) version `GLIBC_2.38' not found

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)

get_display_resolution returns incorrect data on linux on a multi monitor setup

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.

gui_text_box() returns 200 null bytes after expected value

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')

text: text & newString(200),

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)

(Linux) SIGSEGV: Illegal storage access.

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()

Opt out of `checkRoot` (linux)

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.

1.43.25 is very unstable,it often crashed inside!

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

"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"

fast_ Call

When will the author get a fast_ Call and function address are used more, thank you

PyMeow crashes with overlay

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

Data types, pixels and error message

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

aob scan module give me no result compared to cheat engine

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?

I have some advice.

Bro, can you give me some examples of single-player non-gun games. I don't understand both gunplay games and code

Built-In Rendering Library (perfomance)

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

pyMeow unable to find the client dll

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

Enhancement's (Examples CS2 Cheat)

  1. Load offsets automatically, here's an example I quickly made.
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 
  1. Instead of checking health use the new offset m_bPawnIsAlive to check if their alive.
   @property
   def isalive(self):
       return pm.r_bool(self.proc, self.ptr + Offsets.m_bPawnIsAlive)
  1. Add a render distance to prevent heavy load ( i had major problems with running this on an RTX3060 barely reaching 60 FPS at some points )
  2. Add a health bar on the side of the ESP-box ( not possible with how pyMeow currently works, from my testing )

GUI demo

Can you write a GUI demo? I don't know how to call it. Thank you, the author

aob_scan

aob_scan Multiple addresses found can only return the first address

title

nimpy.AccessViolationDefect: Unexpected error encountered: Read failed [Address: 0x0000000001B04100] [Error: 299 - 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。]

trojan

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

some questions

Is there any way to delete the pixels that have been drawn?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.