About:
https://habrahabr.ru/post/346258/
@TODO
- Recognize NPC's and other players
- Get self HP
- Use self buffs
- Support 2nd window
- Support buffers
Lineage 2 bot PROTOTYPE. Based on Interception and CV2
Home Page: https://habrahabr.ru/post/346258/
License: MIT License
About:
https://habrahabr.ru/post/346258/
@TODO
В целом ОЧЕНЬ интересно было тебя почитать и посмотреть на ютубе.
Решил попробовать, не нашел описания по шагам как запуститься :)
Из проблем:
0) После скачивания не понял что запускать, какой файл ))
При запуске игры эти жуки пишут:
[00:30:57] Примечание: Блокировки файлов можно игнорировать, если они не создают проблем с игрой.
[00:30:57] Пожалуйста закройте 'Interception' перед запуском игры.
То есть видимо уже следят за этим модулем
Good night my dear, this bot works in lineage 2 classic? I mean, does the interception library you used work there?
I got this when running in window mode:
PS C:\Users\est-a\Desktop\bot-master> python spoiler.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\est-a\Desktop\bot-master\launcher.py", line 66, in start_auto_py
auto.start()
File "C:\Users\est-a\Desktop\bot-master\lib\AutoHotPy.py", line 546, in start
self.interception = InterceptionWrapper()
File "C:\Users\est-a\Desktop\bot-master\lib\InterceptionWrapper.py", line 171, in __init__
self.interceptionDll = ctypes.WinDLL ("./lib/interception.dll")
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
no target yet
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\est-a\Desktop\bot-master\launcher.py", line 59, in start_bot
bot.loop(stop_event)
File "C:\Users\est-a\Desktop\bot-master\character_classes\spoiler.py", line 47, in loop
if self.set_target():
File "C:\Users\est-a\Desktop\bot-master\bot.py", line 107, in set_target
cnts = get_target_centers(img)
File "C:\Users\est-a\Desktop\bot-master\functions.py", line 125, in get_target_centers
(_, centers, hierarchy) = cv2.findContours(closed, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)
similar in full screen:
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\est-a\Desktop\bot-master\launcher.py", line 66, in start_auto_py
auto.start()
File "C:\Users\est-a\Desktop\bot-master\lib\AutoHotPy.py", line 546, in start
self.interception = InterceptionWrapper()
File "C:\Users\est-a\Desktop\bot-master\lib\InterceptionWrapper.py", line 171, in __init__
self.interceptionDll = ctypes.WinDLL ("./lib/interception.dll")
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\est-a\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\est-a\Desktop\bot-master\launcher.py", line 59, in start_bot
bot.loop(stop_event)
File "C:\Users\est-a\Desktop\bot-master\character_classes\spoiler.py", line 19, in loop
targeted_hp = self.get_targeted_hp()
File "C:\Users\est-a\Desktop\bot-master\bot.py", line 65, in get_targeted_hp
img_gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:181: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
I'm using python 3.7.2 32 bit
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.