def deploymix_func(options): from func import deployMix newserver = deployMix.deploy(game, language, options.servername, options.mainserver, options.restart, title=options.title, gameurl=options.gameurl, asturl=options.asturl, skipcheck=options.skipcheck, starttime=options.starttime) newserver.run()
def deploymix_func(options): from func import deployMix newserver = deployMix.deploy(game, language, options.servername, options.mainserver, options.restart, title=options.title, gameurl=options.gameurl, asturl=options.asturl, skipcheck=options.skipcheck) newserver.run()
state.action = action state.options = options if __name__ == "__main__" : arg_init() if options.action == "deploy": from func import deploy newserver = deploy.deploy(game,language,options.servername,options.ip,options.cleartime,title=options.title,gameurl=options.gameurl,asturl=options.asturl,skipcheck=options.skipcheck) newserver.run() elif options.action == "recover": #from func import recover from func import recover3 recoverserver = recover3.recover(game,language,options.servername,options.ip,options.recoverType) recoverserver.run() elif options.action == "deploymix": from func import deployMix newserver = deployMix.deploy(game,language,options.servername,options.mainserver,options.restart,title=options.title,gameurl=options.gameurl,asturl=options.asturl,skipcheck=options.skipcheck) newserver.run() elif options.action == "serverlist": printServerlist() elif options.action == "mobileWwwTestUpdate": from func import mobile_www_test_update mobile_www_test_update.init(game,language,options.version,options.updateType,options.hd) elif options.action == "mobileWwwUpdate": from func import mobile_www_update mobile_www_update.update(game,language,options.version,options.updateType,options.hd) elif options.action == "template": from func import template newserverTemplate = template.template(game,language,options.servername,options.ip,options.port) if options.templatetype: type = options.templatetype.split(",") for i in type:
asturl=options.asturl, skipcheck=options.skipcheck) newserver.run() elif options.action == "recover": #from func import recover from func import recover3 recoverserver = recover3.recover(game, language, options.servername, options.ip, options.recoverType) recoverserver.run() elif options.action == "deploymix": from func import deployMix newserver = deployMix.deploy(game, language, options.servername, options.mainserver, options.restart, title=options.title, gameurl=options.gameurl, asturl=options.asturl, skipcheck=options.skipcheck) newserver.run() elif options.action == "serverlist": printServerlist() elif options.action == "mobileWwwTestUpdate": from func import mobile_www_test_update mobile_www_test_update.init(game, language, options.version, options.updateType, options.hd) elif options.action == "mobileWwwUpdate": from func import mobile_www_update mobile_www_update.update(game, language, options.version, options.updateType, options.hd)