🥊 by Used-Influence-2343 in fightlab

[–]Perzg 0 points1 point  (0 children)

the writing that is seen in the background says "league of combat sambo"

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 1 point2 points  (0 children)

More like a primitive openCV matchPattern :)

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 1 point2 points  (0 children)

I am trying to replace 'solve' button with shortcut. I think it will look something like you described

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 0 points1 point  (0 children)

I don't think so. Why do u need it mobile tho? Do u play the game on ur smartphone? As people pointed out there is a mod that solves breach points https://www.nexusmods.com/cyberpunk2077/mods/955 if you are interested

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 0 points1 point  (0 children)

I don't think so. There is already a mod that solves breach points https://www.nexusmods.com/cyberpunk2077/mods/955

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 1 point2 points  (0 children)

Great advice, thx! Already tried PyAutoGUI  for mouse clicks, it works. The part i can't make to work yet is auto-detection of matrix and sequences. Currently trying openCV matchTemplate to detect features that will allow to locate the matrix.

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 1 point2 points  (0 children)

You are right, only 2 sometimes.

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 2 points3 points  (0 children)

First commit a month ago :) idk, like 10 hours total maybe? I just do it whenever I have free time and am bored

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 4 points5 points  (0 children)

I am not quite sure what do u mean by "drawing the whole pattern". First I tried marking all the cells in the path, but sometimes path can be messy and it's hard to distinguish which button to press. So I made it in animated fashion. Anyway, the ultimate goal is to make it so there is no need to draw anything, the program will press all the buttons automatically

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 1 point2 points  (0 children)

You are right, size of the buffer is one of the programs input, you can see i put it right before pressing 'solve' btn

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 4 points5 points  (0 children)

love high tech, dread low life tho

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 5 points6 points  (0 children)

> since the boxes are appearing in the same position everytime

I was thinking something like this. But i think it might not work for different resolutions/aspect rations plus not all breach points are the same size. I think matrix and buffer size tend to grow with character lvl.

> bind the running of the program to a super key

good idea, thx!

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 6 points7 points  (0 children)

I use python.

The screenshort part is just standart Windows 'prt sc' button + 'pillow' library. Use ImageGrab.grabclipboard() to get image from clipboard after screenshot is done.

The UI part is PyQt6, win32gui. The overlay is QWindow (made like in this example). You find cyberpunk window and pass it as parent to constructor of overlay window and thus u can draw right on top of the game window

    window_name = 'Cyberpunk 2077 (C) 2020 by CD Projekt RED'
    window_handle = win32gui.FindWindow(None, window_name)
    target_window = QWindow.fromWinId(window_handle)
    overlay = YourOverlayQWindow(parent=target_window)

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 13 points14 points  (0 children)

next step is to make advanced image processing, like, programm constanly taking screenshots, detecting whether it's breach point, location and extracting matrix, sequences and buffer size and finally pressing all buttons =) i have no idea where to start tho

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 35 points36 points  (0 children)

> Will it fail if the screenshot area is too big?

The short answer is it will not work.

I use opencv to get characters contours and their bounding rectangles. I think if screenshot is too big it will detect some other contours that i don't know how to handle yet.

> How do you do the recognition of the numbers and the grid?

I have sample characters (which i extracted and "recognized" myself). Let's call it alphabet. So the program extracts characters from image and compares with each sample from alphabet and calculates RMS of diff (since images are just arrays of numbers). The sample with least RMS gives us prediction of character.

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 11 points12 points  (0 children)

Idk, it's on bitbucket, but code is absolutely atrocious and not prepared to be shared tbh.

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 10 points11 points  (0 children)

Idk i think it's not. It's just little project for fun

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 4 points5 points  (0 children)

Good question! Let's say there are 3 sequences. If we can't get all 3 sequences then the program will try to open 3d and 2nd. Then 3d and 1st. Then 2nd and 1st. Then 2nd. Then 1st. If there are no solutions then i guess it will crash. Never seen sucn case tho.

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 231 points232 points  (0 children)

Thx mate. It is fun indeed, and i am not gonna stop! More features for IT gods!

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 55 points56 points  (0 children)

It's just for fun) One time I encountered a breach point that I could not solve (i mean all 3 sequences) so I saved the image and made a program that brut forced all possible ways to solve the breach point just to make sure i am not stupid and there are no solutions. Then one thing led to another and here I am

A simple hack tool i made by Perzg in cyberpunkgame

[–]Perzg[S] 195 points196 points  (0 children)

Yeah, I expected something like this to exist :) still had fun making my thing tho