philipp-kurz / Metin2-Bot

Python bot that automatically detects and defeats snowmen in the Metin2 Online RPG using OpenCV, HSV filtering, state machines, multi-threaded architecture, Tesseract OCR and the Telegram API.
31 stars 15 forks source link

There are servers that prevent this #4

Open Reloisback opened 2 years ago

Reloisback commented 2 years ago

Hello, to be honest this system is awesome. But it's a little outdated. Metin2 servers now put screen capture protection. Because of this, the system cannot capture the game window and select the metin. It can be used as an OBS program tool for screen capture. Does anyone have any information on this subject?

Also, unfortunately, clicks are not detected in the game because the servers block the pyautogui and pydirectinput libraries. Does anyone have any alternative suggestions for pyautogui and pydirectinput? Does anyone have any solutions for these issues or continue to improve it? There are some people who fix this open source code and they sell it for $30-50 per month. This is complete nonsense. It can be much better if there are knowledgeable friends who can help with this and if they can help.

Tigerly1 commented 1 year ago

Screen capture protection doesn't really work, if you can still record video of metin2 gameplay then you can do screen capture as well. I came up with a solution, you can use py-interceptor with interceptor to click and use keyboard instead of osk.

WelsyCZ commented 2 months ago

Why was OSK used in the first place?