Giter Site home page Giter Site logo

bot's Issues

Lineage 2 Classic NA

Good night my dear, this bot works in lineage 2 classic? I mean, does the interception library you used work there?

OSError: [WinError 193] %1 is not a valid Win32 application

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

Очень круто всё расписал и крутое видео

В целом ОЧЕНЬ интересно было тебя почитать и посмотреть на ютубе.

Решил попробовать, не нашел описания по шагам как запуститься :)
Из проблем:
0) После скачивания не понял что запускать, какой файл ))

  1. Надо было переименовать название окна (у меня в заголовке было не "Lineage" а "II").
    То есть это надо куда то в настройки вынести
  2. Не сразу понял как Interception драйвер установить, неплохо бы тебе ссылочку было кинуть, но да ладно
  3. Ну и самое главное:

При запуске игры эти жуки пишут:

[00:30:57] Примечание: Блокировки файлов можно игнорировать, если они не создают проблем с игрой.
[00:30:57] Пожалуйста закройте 'Interception' перед запуском игры.

То есть видимо уже следят за этим модулем

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.