Giter Site home page Giter Site logo

Comments (2)

UncleInf avatar UncleInf commented on July 2, 2024

You are loading wrong type interception.dll - your system, interception .dll and python bit type needs to match - meaning if you have x64 bit windows you need x64 bit interception library dlls and python x64

from bot.

rpetersson avatar rpetersson commented on July 2, 2024

So what do you do if you run Windows 10 64bit? Basicly impossible to install opencv-python for 64bit... Might have gotten a step further but now it throws:

Traceback (most recent call last):
File "_ctypes/callbacks.c", line 315, in 'calling callback function'
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 161, in __interception_is_keyboard
return self.interceptionDll.interception_is_keyboard(device)
ValueError: Procedure probably called with too many arguments (4 bytes in excess)
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 315, in 'calling callback function'
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 161, in __interception_is_keyboard
return self.interceptionDll.interception_is_keyboard(device)
ValueError: Procedure probably called with too many arguments (4 bytes in excess)
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 315, in 'calling callback function'
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 161, in __interception_is_keyboard
return self.interceptionDll.interception_is_keyboard(device)
ValueError: Procedure probably called with too many arguments (4 bytes in excess)
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 315, in 'calling callback function'
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 161, in __interception_is_keyboard
return self.interceptionDll.interception_is_keyboard(device)
ValueError: Procedure probably called with too many arguments (4 bytes in excess)
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 315, in 'calling callback function'
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 161, in __interception_is_keyboard
return self.interceptionDll.interception_is_keyboard(device)
ValueError: Procedure probably called with too many arguments (4 bytes in excess)
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 315, in 'calling callback function'
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 161, in __interception_is_keyboard
return self.interceptionDll.interception_is_keyboard(device)
ValueError: Procedure probably called with too many arguments (4 bytes in excess)
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27.16\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27.16\Lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\python projects local\bot-master\launcher.py", line 66, in start_auto_py
auto.start()
File "C:\python projects local\bot-master\lib\AutoHotPy.py", line 554, in start
self.interception.interception_set_filter(self.context, self.interception.interception_is_keyboard, InterceptionFilterKeyState.INTERCEPTION_FILTER_KEY_ALL);
File "C:\python projects local\bot-master\lib\InterceptionWrapper.py", line 210, in interception_set_filter
return self.interceptionDll.interception_set_filter(context, predicate, filter1)
WindowsError: exception: access violation writing 0x00000007

no target yet
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Python27.16\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27.16\Lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\python projects local\bot-master\launcher.py", line 59, in start_bot
bot.loop(stop_event)
File "C:\python projects local\bot-master\character_classes\spoiler.py", line 47, in loop
if self.set_target():
File "C:\python projects local\bot-master\bot.py", line 107, in set_target
cnts = get_target_centers(img)
File "C:\python projects local\bot-master\functions.py", line 125, in get_target_centers
(_, centers, hierarchy) = cv2.findContours(closed, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
ValueError: need more than 2 values to unpack

from bot.

Related Issues (3)

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.