added setupfiles and used pydirectinput for compatibility

This commit is contained in:
APEX FIGHT 2025-04-08 21:24:45 -04:00
parent ba4d78c3d2
commit 8798d7b2a7
3 changed files with 12 additions and 6 deletions

View File

@ -1,9 +1,11 @@
import sys
import pydirectinput
import pyautogui
x = int(sys.argv[1])
y = int(sys.argv[2])
print("\n" + str(x) + str(y) + "\n")
pyautogui.click(x,y)
pyautogui.moveTo(x,y, .3)
pydirectinput.moveTo(x,y, .3)
pyautogui.click(clicks=2, interval=.35)

View File

@ -1,10 +1,10 @@
{
"photoInterval": 2,
"targetColor": {
"r": 194,
"g": 176,
"b": 122,
"r": 85,
"g": 73,
"b": 49,
"a": 255
},
"tolerance": 3
"tolerance": 2
}

4
setup.bat Normal file
View File

@ -0,0 +1,4 @@
python -m ensurepip
pip install pyautogui
pip install PyDirectInput
npm i