Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

Bot wont start in 1920x1080 #3

Description

@eaxxor

Statistics:
Time running: 0:00:00.499085
Played Games: 0

Traceback (most recent call last):
File "bot.py", line 461, in
main()
File "bot.py", line 450, in main
if bot().can_start():
File "bot.py", line 211, in can_start
return check_image(self.start_img_path)
File "bot.py", line 99, in check_image
b, _ = find_image(img, screen_grab())
File "bot.py", line 84, in find_image
searchBox=None)
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python37\lib\site-packages\MTM_init_.py", line 244, in matchTemplates
return NMS(tableHit, score_threshold, sortAscending, N_object, maxOverlap)
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python37\lib\site-packages\MTM\NMS.py", line 77, in NMS
indexes = [ index[0] for index in indexes[:N_object] ]
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python37\lib\site-packages\MTM\NMS.py", line 77, in
indexes = [ index[0] for index in indexes[:N_object] ]
IndexError: invalid index to scalar variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions