Beispiel #1
0
def start():
    print("Posicione o mouse onde APARECERÁ PLAYER NO BATTLE...")
    time.sleep(1)

    battlePos = util.waitGetMouseStopped()
    print("POSICAO E COR DO BATTLE VAZIO: " + str(battlePos))
    time.sleep(0.5)

    print("Posicione o mouse onde DEVE COMER FOOD...")
    time.sleep(1)

    foodPos = util.waitGetMouseStopped()
    print("POSICAO DE ONDE COMER FOOD: " + str(foodPos))
    time.sleep(0.5)

    print("Posicione o mouse onde TEM MANA PRA FAZER A RUNA...")
    time.sleep(1)

    manaPos = util.waitGetMouseStopped()
    print("POSICAO E COR DE ONDE TEM MANA PRA FAZER A RUNA: " + str(manaPos))
    time.sleep(0.5)

    configObject = util.Config(battlePos=battlePos,
                               foodPos=foodPos,
                               manaPos=manaPos,
                               windowPos=None)
    util.writeConfigJson(configObject, util.MAKE_RUNE_CONFIG_PATH)
    savedConfig = util.loadConfigFromJson(util.MAKE_RUNE_CONFIG_PATH)

    print("saved config: " + str(savedConfig))
def start(clientName, clientConfigPath):
    print(clientName + " Posicione o mouse onde seleciono a Janela...")
    time.sleep(1)

    windowPos = util.waitGetMouseStopped()
    print(clientName + " POSICAO SELECIONAR JANELA: " + str(windowPos))
    time.sleep(0.5)

    print(clientName + " Posicione o mouse onde DEVE COMER FOOD...")
    time.sleep(1)

    foodPos = util.waitGetMouseStopped()
    print(clientName + " POSICAO DE ONDE COMER FOOD: " + str(foodPos))
    time.sleep(0.5)

    print(clientName + " Posicione o mouse onde TEM MANA PRA FAZER A RUNA...")
    time.sleep(1)

    manaPos = util.waitGetMouseStopped()
    print(clientName + " POSICAO E COR DE ONDE TEM MANA PRA FAZER A RUNA: " +
          str(manaPos))
    time.sleep(0.5)

    configObject = util.Config(battlePos=None,
                               foodPos=foodPos,
                               manaPos=manaPos,
                               windowPos=windowPos)
    util.writeConfigJson(configObject, clientConfigPath)
    savedConfig = util.loadConfigFromJson(clientConfigPath)

    print("saved config: " + str(savedConfig))
Beispiel #3
0
def start():
    print("Posicione o mouse onde está sua vara de pescar...")
    time.sleep(1)
    fishingRodPos = util.waitGetMouseStopped()
    time.sleep(0.5)

    print(
        "Posicione o mouse no limite TOPO ESQUERDO da água de onde deve pescar.."
    )
    time.sleep(1)
    fishingPos1 = util.waitGetMouseStoppedInWater()
    time.sleep(0.5)

    print(
        "Posicione o mouse no limite BAIXO DIREITO da água de onde deve pescar.."
    )
    time.sleep(1)
    fishingPos2 = util.waitGetMouseStoppedInWater()
    time.sleep(0.5)

    print("Posicione o mouse onde está sua comida, para comer...")
    time.sleep(1)
    eatFoodPos = util.waitGetMouseStopped()
    time.sleep(0.5)

    configObject = util.ConfigFishing(fishingRodPos=fishingRodPos,
                                      fishingPos1=fishingPos1,
                                      fishingPos2=fishingPos2,
                                      eatFoodPos=eatFoodPos)
    util.writeFishingConfigJson(configObject)
    savedConfig = util.loadConfigFromJson()

    print("saved config: " + str(savedConfig))
Beispiel #4
0
def start():
    print("Posicione o mouse onde APARECERÁ o player na battle...")
    time.sleep(1)
    battlePos = util.waitGetMouseStopped()
    time.sleep(0.5)

    print("Posicione o mouse no slot de comer food...")
    time.sleep(1)
    foodPos = util.waitGetMouseStopped()
    time.sleep(0.5)

    print("Posicione o mouse onde tem mana (AZUL) para fazer a runa...")
    time.sleep(1)
    manaPos = util.waitGetMouseStopped()
    time.sleep(0.5)

    print("Posicione o mouse no slot de ring do inventário...")
    time.sleep(1)
    inventoryRingSlot = util.waitGetMouseStopped()
    time.sleep(0.5)

    print("Posicione o mouse no primeiro slot de life ring da sua bp...")
    time.sleep(1)
    backpackRingSlot = util.waitGetMouseStopped()
    time.sleep(0.5)

    configObject = util.Config(battlePos=battlePos,
                               foodPos=foodPos,
                               manaPos=manaPos,
                               inventoryRingSlot=inventoryRingSlot,
                               backpackRingSlot=backpackRingSlot)
    util.writeConfigJson(configObject)
    savedConfig = util.loadConfigFromJson()

    print("saved config: " + str(savedConfig))
Beispiel #5
0
import pyautogui
import time
from util import log, AnomObject, rgbToHex, loadConfigFromJson

pyautogui.PAUSE = 0.3
pyautogui.FAILSAFE = False

CONFIG = loadConfigFromJson()

#### START EXTRA CONFIG
extraConfig = AnomObject(
    logoutWhenNotAlone = True, 
    runeMagicSpell = 'adori gran flam',
    mlTrainingSpell = 'exura',
    faceDirectionKey = 'a', #a,s,w,d
    loopsToHarlemShake = 5000,
    _currentLoopsWithoutHarlemShake = 0,
    loopsToEatFood = 300,
    _currentLoopsWithoutEatFood = 0,
    loopsToPullRing = 500,
    _currentLoopsWithoutPullRing = 0,
    maxRunes = 60,
    _currentRuneCount = 0,
    makeFood = False,
    runesToExevoPan = 9999999,
    _currentRuneToExevoPanCount = 0,
    numberOfRunesToMakeInEachLoop = 1
)
#### END EXTRA CONFIG

def isAlone():
Beispiel #6
0
import pyautogui
import time
from util import log, AnomObject, CompleteConfig, rgbToHex, loadConfigFromJson, MULTI_CLIENT_1_CONFIG_PATH, MULTI_CLIENT_2_CONFIG_PATH

pyautogui.PAUSE = 0.1
pyautogui.FAILSAFE = False

CONFIG1 = loadConfigFromJson(MULTI_CLIENT_1_CONFIG_PATH)
CONFIG2 = loadConfigFromJson(MULTI_CLIENT_2_CONFIG_PATH)

#### START EXTRA CONFIG
extraConfig1 = AnomObject(
    runeMagicSpell = 'adori gran',
    mlTrainingSpell = 'exura vita',
    faceDirectionKey = 's', #a,s,w,d
    loopsToHarlemShake = 15,
    _currentLoopsWithoutHarlemShake = 0,
    loopsToEatFood = 5,
    _currentLoopsWithoutEatFood = 0,
    maxRunes = 320,
    _currentRuneCount = 0
)

extraConfig2 = AnomObject(
    runeMagicSpell = 'adura vita',
    mlTrainingSpell = 'exura vita',
    faceDirectionKey = 's', #a,s,w,d
    loopsToHarlemShake = 15,
    _currentLoopsWithoutHarlemShake = 0,
    loopsToEatFood = 5,
    _currentLoopsWithoutEatFood = 0,