fixed numerous bugs
This commit is contained in:
@@ -2,7 +2,7 @@ from time import time
|
||||
import sys
|
||||
import cv2 as cv
|
||||
import keyboard
|
||||
from utils import get_click_point, dig_point, check_for_ok_button, check_for_craft_button
|
||||
from utils import get_click_point, dig_point, check_for_craft_ok_button, check_for_craft_button
|
||||
import pydirectinput
|
||||
from craft_overlay import CraftOverlay
|
||||
from config_file import UserConfigs
|
||||
@@ -307,7 +307,8 @@ def run():
|
||||
# initialize the StunVision class
|
||||
vision_stun = Vision()
|
||||
# odig_overlay = DiggingOverlay(config)
|
||||
check_for_craft_button(capture_window2, vision_stun, capture_config)
|
||||
check_for_craft_button(capture_window2, vision_stun)
|
||||
check_for_craft_ok_button(capture_window2, vision_stun)
|
||||
run_counter = run_counter + 1
|
||||
overlay.update_status_label(mode, run_target - run_counter)
|
||||
#check_for_ok_button(capture_window, vision_stun, capture_config)
|
||||
|
||||
Reference in New Issue
Block a user