Esempio n. 1
0
def ChaseMember(partyMembers):
    #members is a list of party char ids from lowest to highest
    for member in partyMembers:
        clientid = FindClientID(member)
        if Party.IsPartyMember(member):
            while Terminal.GetLocalUser(clientid).mapid != startingMap:
                Terminal.SetFollowID(FindClientID(member))
                time.sleep(1)
Esempio n. 2
0
                print("Completed")
                Terminal.Rush(450001000)
                RushAndComplete(450001000, 34129, 3003104)
                SCLib.UpdateVar("VJDone" + CharName, True)
                RestoreEvasion()

if VJ_Daily \
and Quest.GetQuestState(34129)==2 and not SCLib.GetVar("Completed"+CharName):
    RestoreEvasion()

    # Help party member quests
    if usingParty and leader and len(Party.GetPartyMembers()) > 1:
        print("Start helping party members first")
        ChaseMember(partyMembers)
        print("Done with helping")
        Terminal.SetFollowID(0)

    print("Completed VJ daily")

##########################
# Chuchu daily
##########################


class Ingredient:
    name = ""
    mobID = 0
    itemID = 0

    def __init__(self, nm, mid, iid):
        self.name = nm
Esempio n. 3
0
             Terminal.SetCheckBox("Summon Kishin", False)
             Terminal.SetCheckBox("MonkeySpiritsNDcheck", True)
             Terminal.SetCheckBox("Skill Injection", False)
         Terminal.SetCheckBox("Auto Attack", True)
         Terminal.SetSpinBox("autoattack_spin", 7500)
         Terminal.SetComboBox("AttackKey", 36)
         Key.Set(0x47, 1, 42111003)  #kishin
 else:
     Terminal.SetCheckBox("Kami Vac", False)
     Terminal.SetCheckBox("Rush By Level", False)
     Terminal.SetCheckBox("MonkeySpiritsNDcheck", False)
     #Terminal.SetCheckBox("Mob Falldown",False)
     Terminal.SetCheckBox("Auto Attack", False)
     Terminal.SetCheckBox("Auto Rune", False)
     if Inventory.GetItemCount(5040004) != 0:
         for user in Terminal.GetLocalUsers():
             user = Terminal.GetLocalUser(user.clientid)  # dynamic update
             if CheckIdFilter(user) and CheckMapFilter(
                     user) and user.channel > 0:
                 location = (user.mapid, user.channel)
                 startTime = time.time()
                 if location not in visited:
                     visited.append(location)
                     print("Kishin for {0} at {1} Ch{2}".format(
                         user.charname, user.mapid, user.channel),
                           flush=True)
                     Terminal.SetFollowID(user.clientid)
                     WaitForFollow(user, startTime)
                     Kishin(kishinPump)
                     while time.time() - startTime < timeout and wait:
                         time.sleep(1)