Exemplo n.º 1
0
import mouseSeal as mouse
import keyboard
from time import sleep
import macro
import imgread as img

print(mouse.getUserId())
inventory = []

def buyPotion() :
    macro.buyPot()
    sleep(0.1)
    print("bank : " + str(macro.checkBank()))
    print("shop : " + str(macro.checkShop()))
    sleep(0.1)

while True:
    if keyboard.is_pressed('-') :
        print("Start Spam Hunt..")

        while True:
            macro.closeBSIfOpen()
            mouse.spamSkill()
            sleep(2.3)
            inventory = mouse.getItemValue()
            if inventory[32] < 150 or inventory[33] < 150:
                buyPotion()
                sleep(0.5)
                mouse.moveMouse(816, 228)
                sleep(0.5)
                macro.mouseClick()
Exemplo n.º 2
0
import mouseSeal as mouse
import keyboard
import pywinauto as p
from time import sleep
import macro
import imgread as img
from logger import Logger

print("cegelcmd.py")
user_id = mouse.getUserId()
inventory = []
k = p.keyboard
target = 0
force_stop = False

logger = Logger(user_id, "cegelcmd_")


def sellItem():
    logger.log("Selling Item")
    while not macro.checkShop():
        mouse.moveMouse(555, 227)
        sleep(0.5)
        macro.mouseClick()
        sleep(0.5)
        k.send_keys('{ENTER}')
        sleep(0.5)
        mouse.moveMouse(394, 296)
        macro.mouseClick()
        sleep(0.5)
    sleep(0.5)
Exemplo n.º 3
0
import mouseSeal as mouse
import keyboard
from time import sleep
import pyautogui
import pywinauto as p
import win32api
import macro
import imgread as img

k = p.keyboard
m = p.mouse

print("PID : " + str(mouse.getPid()) + "\n"
      "ID : " + str(mouse.getUserId()) + "\n")

start = True
inventory = []
# i = imagesearch


def puttingItem():
    print('Put to Bank..')
    macro.itemToBank()
    sleep(0.2)
    macro.closeBSIfOpen()
    print('Done putting item.')
    # macro.sellTrashItem()


def runHunt():
    print("Hunt Started..")