Coder Social home page Coder Social logo

jstrisbot's People

Contributors

jackweatherford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jstrisbot's Issues

Not working

Well, well, well...

I have installed the requirements and no sign. The script is stuck at:

stucl

I've done what you said, everything. I am running it on powershell, on microsoft edge ( Yes it is my favorite browser and I do not know why microsoft edge is not popular it is the best browser in the entire universe. Anyways,... ) I've troubleshooted every possible ways.

The "GO" message appears and still, no activity. Help.

Thanks for fixing this issue and try using the latest python version. Please.

PS: Bet you can't create a TETR.IO bot working and running on windows playing ZEN mode.

Not working.

In short. The bot does not work and gives the following error:

C:\Users\Home\webibot\JstrisBot>jstrisBot Please enter a Jstris Sprint game Waiting for "GO!" message to appear Unhandled exception in listener callback Traceback (most recent call last): File "C:\Users\Home\AppData\Roaming\Python\Python311\site-packages\pynput\_util\__init__.py", line 228, in inner return f(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Home\AppData\Roaming\Python\Python311\site-packages\pynput\keyboard\_win32.py", line 287, in _process self.on_press(key) File "C:\Users\Home\AppData\Roaming\Python\Python311\site-packages\pynput\_util\__init__.py", line 144, in inner if f(*args) is False: ^^^^^^^^ File "C:\Users\Home\webibot\JstrisBot\jstrisBot.py", line 842, in on_press pixel_color = screenshot( ^^^^^^^^^^^ File "C:\Users\Home\AppData\Roaming\Python\Python311\site-packages\pyscreeze\__init__.py", line 515, in _screenshot_win32 region = [int(x) for x in region] ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Home\AppData\Roaming\Python\Python311\site-packages\pyscreeze\__init__.py", line 515, in <listcomp> region = [int(x) for x in region] ^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' Ctrl + C Input - Terminating

How to fix?

Slow

why is the bot so slow, im getting like a 1.64 pps

bug

The script does not work when detecting the "go" message.

Bot stuck randomly

Well, we have another issue...

The bot is running perfectly, except... It makes himself stuck. When I start the game of sprint for 40L, the bot plays and clears some lines but when he gets a piece that cannot be placed anywhere... The bot just freezes.

For example, when he got an O without any places to drop it, it freezes.

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.