Giter VIP home page Giter VIP logo

Comments (6)

ardamavi avatar ardamavi commented on August 22, 2024

I can't open link, can you share again with another method.

from game-bot.

ardittristan avatar ardittristan commented on August 22, 2024

PS D:\Downloads\Game-Bot-master> py -3 create_dataset.py Using TensorFlow backend. Using TensorFlow backend. Process Process-1: Traceback (most recent call last): File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\multiprocessing\process.py", line 249, in _bootstrap self.run() File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\multiprocessing\process.py", line 93, in run self._target(*self._args, **self._kwargs) File "D:\Downloads\Game-Bot-master\create_dataset.py", line 48, in listen_mouse with mouse_listener(on_move=on_move, on_click=on_click, on_scroll=on_scroll) as listener: NameError: name 'on_move' is not defined Traceback (most recent call last): File "create_dataset.py", line 76, in <module> main() File "create_dataset.py", line 72, in main listen_keyboard() File "create_dataset.py", line 63, in listen_keyboard listener.join() File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\_util\__init__.py", line 199, in join six.reraise(exc_type, exc_value, exc_traceback) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\six.py", line 692, in reraise raise value.with_traceback(tb) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\_util\__init__.py", line 154, in inner return f(self, *args, **kwargs) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\keyboard\_win32.py", line 237, in _process self.on_press(key) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\_util\__init__.py", line 75, in inner if f(*args) is False: File "create_dataset.py", line 57, in on_press save_event_keyboard(data_path, 1, key) File "create_dataset.py", line 25, in save_event_keyboard key = get_id(key) File "D:\Downloads\Game-Bot-master\game_control.py", line 13, in get_id return get_keys().index(key) ValueError: 'g' is not in list PS D:\Downloads\Game-Bot-master>

from game-bot.

ardamavi avatar ardamavi commented on August 22, 2024

'g' is included in the list.
Could it contain special characters?
You can write the get_id() inputs to text file and control it with vim editor?

from game-bot.

ardittristan avatar ardittristan commented on August 22, 2024

my game_control.py is the same as the one on github, I did not edit anything, and I can see it in the get_keys() list. I don't know how vim works.

from game-bot.

ardamavi avatar ardamavi commented on August 22, 2024

You can share text file with me.

from game-bot.

Remie9 avatar Remie9 commented on August 22, 2024

Hi Im getting same issue it cannot find the key...

from game-bot.

Related Issues (20)

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.