if dailySS:
        if SCLib.GetVar("CurStep") == "InitSS":
            initSS()
        elif SCLib.GetVar("CurStep") == "StartingSS":
            startSS()
        elif SCLib.GetVar("CurStep") == "RunSS":
            runSS()
        elif SCLib.GetVar("CurStep") == "FinishingSS":
            finishSS()
    else:
        SCLib.UpdateVar("CurDaily", "Return")
        SCLib.UpdateVar("RetryCount", 0)


if not Terminal.IsRushing():
    if SCLib.CheckVersion(22):
        initVars()
        curDaily = SCLib.GetVar("CurDaily")
        if GameState.IsInGame():
            if curDaily == "VJ":
                doVJ()
            elif curDaily == "ChuChu":
                doChuChu()
            elif curDaily == "DD":
                doDD()
            elif curDaily == "SS":
                doSS()
            elif curDaily == "Return":
                SCLib.UpdateVar("CurDaily", None)
                SCLib.UpdateVar("CurStep", "StartingVJ")
                print("Done! Back to botting...")
Exemplo n.º 2
0
        time.sleep(1)
        print("Done! Sleeping for a few seconds to check for another run...")
        time.sleep(5)
        
    else:
        SunCat.StopTP()
        SunCat.UnhookChuChu()
        print("You either disconnected or crashed, PQ didn't complete properly")        
        
if ChuChu_Daily and not SCLib.GetVar("ChuchuDone"):
    print("Starting ChuChu daily")
    
while ChuChu_Daily and not SCLib.GetVar("ChuchuDone"):
    if Terminal.GetCheckBox("Grenade Kami"):
        Terminal.SetCheckBox("Grenade Kami",False)
    if SCLib.CheckVersion(20):
        if GameState.IsInGame():
            InitAll()
            if usingParty:
                time.sleep(10)
        else:
            print('Not in game!')
    
    Terminal.SetCheckBox("bot/si_no_wait", False)
    RestoreSetting()
    time.sleep(3)
    
if ChuChu_Daily and SCLib.GetVar("ChuchuDone"):
    print("Completed ChuChu daily")

##########################