1
This commit is contained in:
@@ -73,10 +73,50 @@ def launchCatBench():
|
|||||||
Popen('python ' + CatBench, shell=True)
|
Popen('python ' + CatBench, shell=True)
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
def launchautoPageRestarter():
|
||||||
|
autoPageRestarterDir = offprojects + "/autoPageRestarter/"
|
||||||
|
autoPageRestarterUrl = "https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/OfficialProjects/CoolAutoPressers/autoPageRestarter.py"
|
||||||
|
|
||||||
|
if not os.path.exists(autoPageRestarterDir):
|
||||||
|
os.mkdir(autoPageRestarterDir)
|
||||||
|
|
||||||
|
autoPageRestarter = autoPageRestarterDir + "autoPageRestarter.py"
|
||||||
|
urllib.request.urlretrieve(autoPageRestarterUrl, autoPageRestarter)
|
||||||
|
|
||||||
|
Popen('python ' + autoPageRestarter, shell=True)
|
||||||
|
exit()
|
||||||
|
|
||||||
|
def launchFilesConnector():
|
||||||
|
FilesConnectorDir = offprojects + "/FilesConnector/"
|
||||||
|
FilesConnectorUrl = "https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/OfficialProjects/FilesConnector/FilesConnector.py"
|
||||||
|
|
||||||
|
if not os.path.exists(FilesConnectorDir):
|
||||||
|
os.mkdir(FilesConnectorDir)
|
||||||
|
|
||||||
|
FilesConnector = FilesConnectorDir + "FilesConnector.py"
|
||||||
|
urllib.request.urlretrieve(FilesConnectorUrl, FilesConnector)
|
||||||
|
|
||||||
|
Popen('python ' + FilesConnector, shell=True)
|
||||||
|
exit()
|
||||||
|
|
||||||
|
def launchFilesConnector():
|
||||||
|
FilesConnectorDir = offprojects + "/FilesConnector/"
|
||||||
|
FilesConnectorUrl = "https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/OfficialProjects/FilesConnector/FilesConnector.py"
|
||||||
|
|
||||||
|
if not os.path.exists(FilesConnectorDir):
|
||||||
|
os.mkdir(FilesConnectorDir)
|
||||||
|
|
||||||
|
FilesConnector = FilesConnectorDir + "FilesConnector.py"
|
||||||
|
urllib.request.urlretrieve(FilesConnectorUrl, FilesConnector)
|
||||||
|
|
||||||
|
Popen('python ' + FilesConnector, shell=True)
|
||||||
|
exit()
|
||||||
|
|
||||||
################### Checking buttons #####################
|
################### Checking buttons #####################
|
||||||
ui.pushButton_1.clicked.connect(launchAutoShipper)
|
ui.pushButton_1.clicked.connect(launchAutoShipper)
|
||||||
ui.pushButton_2.clicked.connect(launchAutoBridger)
|
ui.pushButton_2.clicked.connect(launchAutoBridger)
|
||||||
ui.pushButton_3.clicked.connect(launchCatBench)
|
ui.pushButton_3.clicked.connect(launchCatBench)
|
||||||
|
ui.pushButton_3.clicked.connect(launchautoPageRestarter)
|
||||||
|
|
||||||
################### Exiting #####################
|
################### Exiting #####################
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
BIN
OfficialProjects/BarsAutoBridger/Auto Bridge — ярлык.lnk
Normal file
BIN
OfficialProjects/BarsAutoBridger/Auto Bridge — ярлык.lnk
Normal file
Binary file not shown.
34
OfficialProjects/BarsAutoBridger/AutoBridge.py
Normal file
34
OfficialProjects/BarsAutoBridger/AutoBridge.py
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
hotkeyToBridge = "="
|
||||||
|
|
||||||
|
from pyautogui import *
|
||||||
|
import keyboard
|
||||||
|
import time
|
||||||
|
danger = False
|
||||||
|
|
||||||
|
print("AutoBridge started!")
|
||||||
|
print("To enter SafeMode press Ctrl + 1")
|
||||||
|
|
||||||
|
while True:
|
||||||
|
if keyboard.is_pressed("ctrl") and keyboard.is_pressed("1") and not danger:
|
||||||
|
time.sleep(0.1)
|
||||||
|
if keyboard.is_pressed("ctrl") and keyboard.is_pressed("1") and not danger:
|
||||||
|
danger = True
|
||||||
|
print("Okay, hokey is turned OFF (safe mode)")
|
||||||
|
if keyboard.is_pressed("ctrl") and keyboard.is_pressed("1") and danger:
|
||||||
|
time.sleep(0.1)
|
||||||
|
if keyboard.is_pressed("ctrl") and keyboard.is_pressed("1") and danger:
|
||||||
|
danger = False
|
||||||
|
print("Okay, hokey is turned ON (work mode)")
|
||||||
|
while keyboard.is_pressed(hotkeyToBridge) and not danger:
|
||||||
|
rightClick()
|
||||||
|
time.sleep(0.003)
|
||||||
|
keyboard.release("shift")
|
||||||
|
time.sleep(0.1)
|
||||||
|
keyboard.press("s")
|
||||||
|
keyboard.press("d")
|
||||||
|
keyboard.press("shift")
|
||||||
|
time.sleep(0.17)
|
||||||
|
if not keyboard.is_pressed(hotkeyToBridge):
|
||||||
|
keyboard.release("shift")
|
||||||
|
keyboard.release("s")
|
||||||
|
keyboard.release("d")
|
||||||
BIN
OfficialProjects/BarsAutoBridger/ICO/speedbridge.ico
Normal file
BIN
OfficialProjects/BarsAutoBridger/ICO/speedbridge.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
19
OfficialProjects/BarsAutoBridger/speedLMB.py
Normal file
19
OfficialProjects/BarsAutoBridger/speedLMB.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
from pyautogui import *
|
||||||
|
from keyboard import *
|
||||||
|
import time
|
||||||
|
switch = 0
|
||||||
|
start = 0
|
||||||
|
|
||||||
|
while True:
|
||||||
|
if is_pressed("r") and start == 0:
|
||||||
|
time.sleep(0.02)
|
||||||
|
if is_pressed("r") and start == 0:
|
||||||
|
start = 1
|
||||||
|
switch = 1
|
||||||
|
if is_pressed("r") and start == 1:
|
||||||
|
time.sleep(0.02)
|
||||||
|
if is_pressed("r") and start == 1:
|
||||||
|
start = 0
|
||||||
|
switch = 0
|
||||||
|
if switch == 1:
|
||||||
|
click()
|
||||||
Reference in New Issue
Block a user