Exemple #1
0
def attackAuto(skillid,on):
    attack_key = 0x44
    Key.Set(attack_key,1,skillid)
    Terminal.SetCheckBox("Skill Injection", False)
    Terminal.SetCheckBox("Melee No Delay",False)
    Terminal.SetCheckBox("Auto Attack", on)
    Terminal.SetComboBox("AttackKey",33)
    Terminal.SetSpinBox("autoattack_spin",100)
Exemple #2
0
      nJayJay = 9390114
      nHologram = 9390101
      nDevice = 9390102
      nHilla = 9390100
      nGuardian = 9390120

      # map id's
      mRefuge = 863100000
      mMaze = range(863000000, 863000016)

      if mapID(mRefuge):
         setAttack(False)
         time.sleep(2)

      if mapID(mMaze):  # if you're in the maze
         Terminal.SetComboBox("eva_cmb", 0)  # no reaction
         time.sleep(2)

      elif not mapID(mMaze):  # if you're not in the maze
         Terminal.SetComboBox("eva_cmb", 3)  # next map cc
         time.sleep(2)

      if doQuest(q0):
         if needQuest(q0):
            setAttack(False)
            startQuest(q0, nPepper)
         elif hasQuest(q0):
            if mapID(301000000) and Quest.GetQuestState(31260) == 2:
               goThru(1360, 323)
            elif mapID(301070000):  # path to the altar
               goThru(682, 323)
def RestoreEvasion():
    Terminal.SetComboBox("HackingOpt", SCLib.GetVar("defaultEva"))
def NobodyAllows():
    if Terminal.GetComboBox("HackingOpt") != 0:
        Terminal.SetComboBox("HackingOpt", 0)
Exemple #5
0
    def StoreMeso(self):
        storage_map_id = 550000000
        storage_npc_id = 9270054
        ###########store mesos
        def store_mesos():
            while True:
                if Field.GetID() == storage_map_id:
                    print("Current Mesos before store = {}".format(Character.GetMeso()))
                    Packet.BlockRecvHeader(PACKET_HEADERS.block_header)
                    Character.Teleport(2268,17)
                    time.sleep(1)
                    Character.TalkToNpc(storage_npc_id)
                    time.sleep(1)
                    oPacket = Packet.COutPacket(PACKET_HEADERS.store_header)
                    oPacket.EncodeBuffer("07 FFFFFFF903DC5401")
                    Packet.SendPacket(oPacket)
                    oPacket1 = Packet.COutPacket(PACKET_HEADERS.store_header)
                    oPacket1.Encode2(8)
                    Packet.SendPacket(oPacket1)
                    print("Completed meso storing")
                    time.sleep(1)
                    print("Current Mesos after store = {}".format(Character.GetMeso()))
                    Packet.UnBlockRecvHeader(PACKET_HEADERS.block_header)
                    break
                else:
                    Terminal.Rush(storage_map_id)
                    print("Still rushing to storage")
                    time.sleep(2)

        def withdraw_mesos():
            if Field.GetID() ==101000000: #wait till character gets to ellinia
                #1032006
                time.sleep(2)
                Packet.BlockRecvHeader(PACKET_HEADERS.block_header)
                print("Current Mesos before withdraw = {}".format(Character.GetMeso()))
                Character.TalkToNpc(1032006)
                time.sleep(3)
                oPacket = Packet.COutPacket(PACKET_HEADERS.store_header)
                oPacket.EncodeBuffer("07 00000006FC23ABFF")
                Packet.SendPacket(oPacket)
                oPacket1 = Packet.COutPacket(PACKET_HEADERS.store_header)
                oPacket1.Encode2(8)
                #oPacket2.EncodeBuffer("08")
                Packet.SendPacket(oPacket1)
                time.sleep(1)
                print("Current Mesos after withdraw = {}".format(Character.GetMeso()))
                time.sleep(1)
                Packet.UnBlockRecvHeader(PACKET_HEADERS.block_header)

            else:
                Terminal.Rush(101000000)
                time.sleep(3)

        if Character.GetMeso() == 29999999999 and Character.GetJob() == 4212:
            #if mesos =29999999999, which is max, store them in the storage
            HELPER.ToggleRushByLevel(False)
            #Terminal.LoadProfile(r"C:\Users\Jacopo\Desktop\TerminalManager\terminalProfiles\StoreMesos.xml")
            if self.accountData['storing_meso'] == False:
                store_mesos()
            #Next step is to change the AutoChar Number and then logon into the new created luminous and release control
            #Read AutoChar Number, +1 write to file.
            time.sleep(3)
            if Character.GetMeso() == 0:
                self.accountData['storing_meso'] = True
                self.writeJson()
                print("logging out")
                if GameState.IsInGame():
                    Terminal.Logout()
                time.sleep(3)
        #print(GameState.GetLoginStep())
        if self.accountData['storing_meso'] and GameState.GetLoginStep() == 2:
            autochar_kanna = 19
            autochar_lumi = 11
            Terminal.SetCheckBox("Auto Login",False)
            Terminal.SetLineEdit("LoginChar", str(accountData['storage_number'] + 1))
            Terminal.SetComboBox("settings/autochar_job",autochar_lumi)
            Terminal.SetCheckBox("Auto Login",True)
            Terminal.SetCheckBox("settings/autochar",True)
        

        if self.accountData['storing_meso'] and Character.GetJob() == 2700 and Character.GetMeso() == 0:
            print("withdrawing mesos")
            HELPER.ToggleRushByLevel(False)
            withdraw_mesos()
            time.sleep(2)
            SCLib.UpdateVar("withdraw_flag",True)
        elif self.accountData['storing_meso'] and Character.GetJob() == 2700 and Character.GetMeso() == 29999999999 and SCLib.GetVar("withdraw_flag"):
            #safe to say that storage is empty and can switch back to kanna
            self.accountData['storage_number'] = self.accountData['storage_number'] + 1
            self.accountData['storing_meso'] = False
            self.writeJson()
            if GameState.IsInGame():
                Terminal.Logout()
            Terminal.SetLineEdit("LoginChar", self.accountData['kanna_pos'])
            SCLib.UpdateVar("withdraw_flag",False)
            print("Logging out and changing to Kanna farmer")
            time.sleep(2)
        elif self.accountData['storing_meso'] and Character.GetJob() == 2700 and Character.GetMeso() != 0 and not SCLib.GetVar("withdraw_flag"):
            #need to update bank number but did not withdraw mesos
            self.accountData['storage_number'] = self.accountData['storage_number'] + 1
            self.writeJson()
            if GameState.IsInGame():
                Terminal.Logout()
            print("Logging out and changing to next bank")
            time.sleep(2)

        def ChooseLightPath():
            choosePacket = Packet.COutPacket(PACKET_HEADERS.dialogue_header)
            choosePacket.EncodeBuffer("1A 01 00000000")
            Packet.SendPacket(choosePacket)

        if Field.GetID() == 927020000:
            ChooseLightPath()
            time.sleep(1)
Exemple #6
0
                    ToggleKami(True)
            Terminal.SetCheckBox("Auto Attack",autoAttack)
            Terminal.SetCheckBox("bot/illium/radiant_javelin_delay",javelin)
            Terminal.SetCheckBox("Skill Injection",skillInject)
def setSIND(siSkill,delay,on):
    Terminal.SetRadioButton("SIRadioMelee",True)
    Terminal.SetLineEdit("SISkillID",siSkill)
    Terminal.SetCheckBox("Skill Injection",on)
    Terminal.SetCheckBox("Melee No Delay",on)
    Terminal.SetSpinBox("SkillInjection",delay)
attack_key = 0x44
pgup_key = 0x21
if GameState.IsInGame():
    job = Character.GetJob()
    if job == 1212 or job == 2312:
        Terminal.SetComboBox("Familiar0",1)
    else:
        Terminal.SetComboBox("Familiar0",5)
    if job == 3712: #Blaster
        print("Setting up settings for Blaster")
        attackSI(37110006,True,80)
        #attackSemiNDMagic(32120055,32120055,0.45,True)
        vulcan()
    elif job ==4212: #4th
        print("Setting up Settings for Kanna")
        #Terminal.SetSpinBox("charm_delay",100)
        #Terminal.SetCheckBox("Auto SP",True)
        #Terminal.SetCheckBox("charm_fma",True)
        #Terminal.SetCheckBox("Summon Kishin",False)
        #Terminal.SetCheckBox("MonkeySpiritsNDcheck",False)
        Terminal.SetCheckBox("Auto Attack",True)
Exemple #7
0
                        Quest.CompleteQuest(57402, 9130083)
                        time.sleep(0.2)
                        '''
                        fan = Inventory.FindItemByID(1552000)
                        time.sleep(1)
                        if fan.valid:
                            print("Equipping fan")
                            Inventory.SendChangeSlotPositionRequest(1, fan.pos, -11, -1)
                            time.sleep(1)
                        '''
                        Terminal.SetRushByLevel(True)

    if Character.GetLevel() < 15:
        Terminal.SetCheckBox('Kami Vac', True)
        Terminal.Rush(farmMap)
        Terminal.SetComboBox("HackingOpt", 0)
    else:
        Terminal.SetCheckBox('Kami Vac', False)
        Terminal.Rush(fameMap)
        Terminal.SetComboBox("HackingOpt", 1)

        if Field.GetID() == fameMap:
            Terminal.SetComboBox("HackingOpt", 1)
            if channel != GameState.GetChannel():
                Terminal.ChangeChannel(channel)
                while Terminal.IsRushing():
                    time.sleep(1)
            famePerson = Field.FindCharacter(fameCharacter)
            if famePerson.valid:
                print("Faming Character {}".format(fameCharacter))
                #Character.Teleport(famePerson.x, famePerson.y)
Exemple #8
0
        Terminal.SetCheckBox("Rush By Level", True)
        Terminal.SetCheckBox("Kami Vac", True)
        if job == 4200:  #kanna first job
            attackAuto(42001000, True)
        elif job in KannaJobs and field_id in curbrockhideout:
            attackAuto(42001000, True)
        elif job == 4210:  #kanna 2nd
            Terminal.SetCheckBox("Auto Attack", False)
            Terminal.SetSpinBox("charm_delay", 100)
            Terminal.SetCheckBox("charm_fma", True)
            Terminal.SetCheckBox("MonkeySpiritsNDcheck", False)
            Terminal.SetSpinBox("SkillInjection", 100)
            Terminal.SetLineEdit("SISkillID", "42001006")
            Terminal.SetCheckBox("Skill Injection", True)
            Terminal.SetComboBox("AttackKey", 33)
            Terminal.SetSpinBox("autoattack_spin", 100)
        elif job == 4211:  #kanna 3rd
            Terminal.SetSpinBox("charm_delay", 100)
            Terminal.SetCheckBox("charm_fma", True)
            Terminal.SetCheckBox("Summon Kishin", False)
            Terminal.SetCheckBox("MonkeySpiritsNDcheck", False)
            Terminal.SetCheckBox("Auto Attack", True)
            Terminal.SetSpinBox("autoattack_spin", 7500)
            Terminal.SetComboBox("AttackKey", 36)
            Terminal.SetCheckBox("Skill Injection", False)
            Key.Set(0x47, 1, 42111003)  #kishin
        elif job == 4212:  #kanna 4th
            if level >= 160 and Character.GetSkillLevel(
                    32121052) == 1 and useHyperExploit:
                Terminal.SetCheckBox("MonkeySpiritsNDcheck", False)