Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Coinflip bug #17

Open
jul081 opened this issue Jan 6, 2021 · 2 comments
Open

Coinflip bug #17

jul081 opened this issue Jan 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jul081
Copy link

jul081 commented Jan 6, 2021

When starting a coinflip game
Bot stop from working and show this eror

File "pandas_libs\hashtable_class_helper.pxi", line 998, in pandas._libs.hashtable.Int64HashTable.get_item

KeyError: 0

image

i thought at first it does this because of the level and it need a lot of tile but after reaching lvl 8 it still show the same eror
i tried redownload it but it shows the same thing again

@jul081 jul081 added the bug Something isn't working label Jan 6, 2021
@SteidleR
Copy link
Collaborator

SteidleR commented Jan 9, 2021

Could you please post the complete error message? So I get a better view of whats happening...

But I think this occures because no coins are found...
Which screen resolution do you have?

@smarco1971
Copy link

Traceback (most recent call last):
File "bot.py", line 231, in
main()
File "bot.py", line 225, in main
bot().play()
File "bot.py", line 161, in play
self.check_coins()
File "bot.py", line 197, in check_coins
coin2 = (matches["TemplateName"][1], matches["BBox"][1])
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\core\series.py", line 1071, in getitem
result = self.index.get_value(self, key)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\core\indexes\base.py", line 4730, in get_value
return self._engine.get_value(s, k, tz=getattr(series.dtype, "tz", None))
File "pandas/_libs/index.pyx", line 80, in pandas._libs.index.IndexEngine.get_value
File "pandas/_libs/index.pyx", line 88, in pandas._libs.index.IndexEngine.get_value
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 992, in pandas._libs.hashtable.Int64HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 998, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: 1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants