def doJobAdv(self): level = Character.GetLevel() job = Character.GetJob() first_job = (job == JOB_CONSTANTS.KannaJobs[0] and level < 13) second_job = (job == JOB_CONSTANTS.KannaJobs[0] and level >= 30) third_job = False #Automatic fourth_job = False #Automatic return first_job or second_job or third_job or fourth_job
def doCubing(self): necklace = "necklace" eye = 'eye' face = 'face' earring = 'earring' ring = 'ring' can_cube = not self.accountData['cubing_done'] and Character.GetLevel() >=145 can_cube = can_cube and HELPER.FarmedEnoughAccessories() have_cubes = Inventory.FindItemByID(MISC.red_cube_id).valid or Character.GetMeso() > 800000000 return can_cube and have_cubes
def dungeonSelector(): charLvl = Character.GetLevel() if charLvl in range(115, 125): return (leopard_portal, mossy_tree_forest) elif charLvl in range(125, 135): return (leopard_portal, secret_pirate) elif charLvl in range(135, 144): return (leopard_portal, other_world) elif charLvl in range(145, 155): return (leopard_portal, forbidden_time) elif charLvl in range(155, 160): return (leopard_portal, clandestine_ruins) elif charLvl in range(160, 250): return (tiger_portal, ruined_city)
def __GetPercentage(self): return round( ((Character.GetExp() / self.LevelToExp[Character.GetLevel()]) * 100), 2)
def doHorntail(self): return Character.GetLevel() > 140 and not self.characterId in self.accountData['horntail_daily_done'] and do_horntail_daily and not HELPER.FarmedEnoughAccessories()
def doZakum(self): return Character.GetLevel() > 120 and not self.characterId in self.accountData['zakum_daily_done'] and do_zakum_daily and not HELPER.FarmedEnoughAccessories()
def doSpider(self): has_spider = Character.IsOwnFamiliar(9960295) return not has_spider and Character.GetLevel() >= 83
dwOrderNo = iPacket.ReadLong(4) dwProductNo = iPacket.ReadLong(4) bRefundable = iPacket.ReadLong(1) nSourceFlag = iPacket.ReadLong(1) nStorageBank = iPacket.ReadLong(1) # CashItemOption Decode liCashItemSN = iPacket.ReadLong(8) ftExpireDate = iPacket.ReadLong(8) # FileTime(4, 4) nGrade = iPacket.ReadLong(4) iPacket.ReadLong(4) # aOption[0] iPacket.ReadLong(4) # aOption[1] iPacket.ReadLong(4) # aOption[2] job = Character.GetJob() level = Character.GetLevel() if GameState.IsInGame() and job in [4211, 4212]: if Inventory.GetItemCount(5040004) == 0 and Inventory.GetEmptySlotCount( 5) > 0 and Character.GetMeso() >= 5200000: print("Need to buy hyper teleport rock") #ToggleRushByLevel(False) Terminal.SetCheckBox("Auto Attack", False) Terminal.SetCheckBox("Skill Injection", False) Terminal.SetCheckBox("MonkeySpiritsNDcheck", False) time.sleep(5) if Inventory.GetItemCount( 5040004) == 0 and Inventory.GetEmptySlotCount( 5) > 0 and Character.GetMeso() >= 5200000: nEmptySlotPOS = 0 for i in range(1, Inventory.GetItemSlotCount(5)): pItem = Inventory.GetItem(5, i)
import Character import Field import GameState import Npc import Quest import Terminal import time Terminal.SetRushByLevel(False) while True: time.sleep(1) level = Character.GetLevel() if not GameState.IsInGame(): continue if Terminal.IsRushing(): continue if level < 140: continue fieldID = Field.GetID() # Gets statuses on quests required for solo voyages quest1 = Quest.GetQuestState(17600) quest2 = Quest.GetQuestState(17601) quest3 = Quest.GetQuestState(17602) quest4 = Quest.GetQuestState(17603) quest5 = Quest.GetQuestState(17608)
def Job4(): if Character.GetJob() == 331 and Character.GetLevel() >= 100: startQuest(35932, 0) startQuest(35936, 9010000)
def Job3(): if Character.GetJob() == 330 and Character.GetLevel() >= 60: startQuest(35931, 0) startQuest(35935, 9010000)
def Job2(): if Character.GetJob() == 301 and Character.GetLevel() >= 30: startQuest(35939, 0) startQuest(35934, 9010000)
Terminal.Rush(807040100) time.sleep(0.3) else: 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)
import Character, GameState, Context, DataType, Field, Inventory, Key, Npc, Packet, Quest, Terminal, time, random #Script is written by Retard (https://www.gamekiller.net/members/retard.942916/) def toPortal(portal): # Credit to Rain for this function tPortal = Field.FindPortal(portal) if tPortal.valid: while tPortal.x != Character.GetPos().x: Character.Teleport(tPortal.x, tPortal.y) time.sleep(1) if tPortal.x == Character.GetPos().x: break Character.EnterPortal() time.sleep(2) if GameState.IsInGame() and Character.GetLevel() >= 140: if Field.GetID() != 271041000 and not Character.HasBuff(2, 2311003): oPacket = Packet.COutPacket(0x02C2) oPacket.Encode4(0x0000000F) oPacket.Encode4(0x00000000) oPacket.Encode4(0x1027C1E8) Packet.SendPacket(oPacket) time.sleep(3) elif Field.GetID() == 271041000 and Character.HasBuff(2, 2311003): toPortal("out00") else: print("Not level 140 or above")
# 8/18/2018 # Set it True or False if you like to have equip boxes open automatically OpenBox = True # Set True or False for ToT quest of the level to be done Lv20 = True Lv30 = True Lv40 = True Lv50 = True Lv60 = True ############################################# if GameState.IsInGame(): print("Running") if Lv20 and Quest.GetQuestState(61586) != 2 and Character.GetLevel() >= 20: Terminal.SetCheckBox("bot/puffram", False) Npc.ClearSelection() Npc.RegisterSelection("Cash Shop") Npc.RegisterSelection("Beauty Salon") Npc.RegisterSelection("Receive") Quest.StartQuest(61586, 9201253) time.sleep(10) elif OpenBox and Quest.GetQuestState(61586) == 2: if Inventory.FindItemByID(2430445).valid: Inventory.UseItem(2430445) if Lv30 and Quest.GetQuestState(61587) != 2 and Character.GetLevel() >= 30: Terminal.SetCheckBox("bot/puffram", True) time.sleep(10) elif OpenBox and Quest.GetQuestState(61587) == 2:
def __Items(self): IGN = Character.GetName() Channel = GameState.GetChannel() World = GameState.GetWorldID() Level = Character.GetLevel() CharID = Character.GetID() PercentageExp = self.__GetPercentage() VJSymbol = Inventory.GetItemCount(1712001) ChuSymbol = Inventory.GetItemCount(1712002) LachSymbol = Inventory.GetItemCount(1712003) ArcanaSymbol = Inventory.GetItemCount(1712004) MorrasSymbol = Inventory.GetItemCount(1712005) EsferaSymbol = Inventory.GetItemCount(1712006) StigmaAmount = Inventory.GetItemCount(4001868) CoreAmount = Inventory.GetItemCount(4001842) TradNodes = Inventory.GetItemCount(2435719) UntradNodes = Inventory.GetItemCount(2436324) MesoCount = Character.GetMeso() DropletCount = Inventory.GetItemCount(4001878) EsferaDropletCount = Inventory.GetItemCount(4001879) ProtAmount = Inventory.GetItemCount(2531000) + Inventory.GetItemCount(2531001) + \ Inventory.GetItemCount(2531004) + Inventory.GetItemCount(2531005) CssAmount = Inventory.GetItemCount(2049004) + Inventory.GetItemCount(2049009) + Inventory.GetItemCount(2049011) + \ Inventory.GetItemCount(2049018) + Inventory.GetItemCount(2049022) PotentialScrolls = Inventory.GetItemCount(2049401) items = { 'IGN': IGN, 'World': World, 'CharID': CharID, 'Channel': Channel, 'Level': Level, 'EXP': PercentageExp, 'VJSymbols': VJSymbol, 'ChuChuSymbols': ChuSymbol, 'LacheleinSymbols': LachSymbol, 'ArcanaSymbols': ArcanaSymbol, 'MorrasSymbol': MorrasSymbol, 'EsferaSymbols': EsferaSymbol, 'StigmaCores': StigmaAmount, 'ACores': CoreAmount, 'TradableNodes': TradNodes, 'UntradableNodes': UntradNodes, 'Meso': MesoCount, 'Droplets': DropletCount, 'EsferaDroplets': EsferaDropletCount, 'mapID': Field.GetID(), 'ProtectionScrolls': ProtAmount, 'CleanSlate': CssAmount, 'PotentialScrolls': PotentialScrolls } try: self.__toFile('TMRemote/temp/logs', 'ab', items) return True except: try: with open('TMRemote/temp/logs', 'wb+') as temp: pass self.__toFile('TMRemote/temp/logs', 'ab', items) return True except: return False
right = 0x27 Key.Down(right) time.sleep(0.1) Key.Up(right) def leftmash(): for _ in range(0, 40): left = 0x25 Key.Down(left) time.sleep(0.1) Key.Up(left) Terminal.SetRushByLevel(False) if Character.GetLevel() >= 235: if Quest.GetQuestState(34562) == 0: Quest.CompleteQuest(34562, 3003541) if Quest.GetQuestState(34562) == 2: if Quest.GetQuestState(34563) == 0: Quest.StartQuest(34563, 3003541) if Quest.GetQuestState(34563) == 1: if Quest.CheckCompleteDemand(34563, 3003542) != 0: Terminal.Rush(450007010) kami() if Quest.CheckCompleteDemand(34563, 3003542) == 0: kamioff() Character.Teleport(-89, -205) Quest.CompleteQuest(34563, 3003542) if Quest.GetQuestState(34563) == 2: if Quest.GetQuestState(34564) == 0:
def Job1(): def to_portal(pname, enter=True): map = Field.GetID() portal = Field.FindPortal(pname) if portal.valid: if not ((portal.x-10 < Character.GetPos().x < portal.x+10)\ and (portal.y-10 < Character.GetPos().y < portal.y+15)): Character.Teleport(portal.x, portal.y-20) time.sleep(1) attempt = 0 while enter and Field.GetID() == map and attempt < 3: attempt += 1 Character.EnterPortal() time.sleep(1) def startQuest(quest, npc): print("Starting quest {0} from npc {1}".format(quest, npc)) Quest.StartQuest(quest, npc) time.sleep(1) def completeQuest(quest, npc): print("Completing quest {0} from npc {1}".format(quest, npc)) Quest.StartQuest(quest, npc) time.sleep(1) def questDone(quest, npc): return Quest.CheckCompleteDemand(quest, npc) == 0 def needQuest(id): # quest hasn't been accepted return Quest.GetQuestState(id) == 0 def hasQuest(id): # quest is active return Quest.GetQuestState(id) == 1 def doQuest(id): # quest isn't complete/turned in return Quest.GetQuestState(id) != 2 def doneQuest(id): # quest isn't complete/turned in return Quest.GetQuestState(id) == 2 map = Field.GetID() if Character.GetJob() != 301 and Character.GetLevel() <= 29: if map == 910090301: Terminal.SetCheckBox("RushByLevel", False) Terminal.SetCheckBox("Auto Pet", True) Inventory.UseItem(2434265) to_portal("east00") elif doQuest(35900): if needQuest(35900): time.sleep(1) startQuest(35900, 0) time.sleep(1) elif hasQuest(35900): time.sleep(1) completeQuest(35900, 1013305) time.sleep(1) elif doneQuest(35900) and doQuest(35901): if needQuest(35901): time.sleep(1) startQuest(35901, 1013305) time.sleep(1) elif hasQuest(35901): time.sleep(5) completeQuest(35901, 1013305) time.sleep(5) elif doneQuest(35901) and doQuest(35902): if needQuest(35902): time.sleep(1) startQuest(35902, 1013305) time.sleep(1) if hasQuest(35902): if not questDone(35902, 1013305): if map == 910090302: to_portal("east00") if map == 910090303: Terminal.SetCheckBox("Legit Vac", False) Terminal.SetCheckBox("Mob Falldown", True) Terminal.SetCheckBox("Auto Aggro", False) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetCheckBox("Skill Inection", False) Terminal.SetCheckBox("General FMA", False) Terminal.SetCheckBox("Auto Attack", True) Terminal.SetPushButton("Item Filter", False) if questDone(35902, 1013305): Terminal.SetCheckBox("Auto Aggro", False) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetCheckBox("Auto Attack", False) if map == 910090303: to_portal("west00") if map == 910090302: Npc.ClearSelection() Npc.RegisterSelection("Fire") completeQuest(35902, 1013305) elif doneQuest(35902) and not doneQuest(35903): if needQuest(35903): time.sleep(1) startQuest(35903, 9010000) else: if map == 910090305 and Character.GetLevel() <= 15: Terminal.SetCheckBox("RushByLevel", True) to_portal("out00")
Terminal.SetCheckBox("Kami Vac", False) Terminal.SetCheckBox("Auto Attack", False) Character.Teleport(68, 150) Character.EnterPortal() if Field.GetID() == 4000011: Character.Teleport(1106 ,545) time.sleep(3) Character.EnterPortal() if Field.GetID() == 4000012: Npc.ClearSelection() Npc.RegisterSelection("I don't need you, Mai! (Skip tutorial and teleport straight to town.)") Character.TalkToNpc(10301) time.sleep(5) if Character.GetLevel() == 2: if Field.GetID() == 4000020: Character.Teleport(1614 ,154) time.sleep(5) Character.TalkToNpc(10304) time.sleep(3) Character.TalkToNpc(10304) if Character.GetLevel() == 3: if Field.GetID() == 4000020: Character.Teleport(2197, 274) Character.EnterPortal() if Field.GetID() == 4000021: Character.Teleport(683, 215) time.sleep(3) Character.EnterPortal() if Field.GetID() == 4000026:
def update(self): if GameState.IsInGame(): self.name = Character.GetName() self.job = Character.GetJob() self.level = Character.GetLevel()