diff --git a/app/classes/shared/main_controller.py b/app/classes/shared/main_controller.py index e14bf187..4344b18d 100644 --- a/app/classes/shared/main_controller.py +++ b/app/classes/shared/main_controller.py @@ -553,7 +553,7 @@ class Controller: elif data["monitoring_type"] == "steam_cmd": monitoring_port = data["steam_cmd_monitoring_data"]["port"] monitoring_host = data["steam_cmd_monitoring_data"]["host"] - monitoring_type = "raknet" + monitoring_type = "steam_cmd" elif data["monitoring_type"] == "none": # TODO: this needs to be NUKED.. # There shouldn't be anything set if there is nothing to monitor diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 8dce5123..45edbdfe 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -541,7 +541,7 @@ class ServerInstance: # STEAM SERVERS # *********************************************** # *********************************************** - elif HelperServers.get_server_type_by_id(self.server_id) == "raknet": + elif HelperServers.get_server_type_by_id(self.server_id) == "steam_cmd": my_env = os.environ env_mod = False with open( @@ -1522,6 +1522,7 @@ class ServerInstance: return False # lets download the files + if HelperServers.get_server_type_by_id(self.server_id) != "minecraft-bedrock": # boolean returns true for false for success downloaded = Helpers.download_file( @@ -1871,6 +1872,8 @@ class ServerInstance: int_mc_ping = ping_raknet(internal_ip, int(server_port)) else: int_mc_ping = ping(internal_ip, int(server_port)) + # TODO MAKE BETTER identify based on db server type + # dont hammer servers with unrelated requests to their type int_data = False ping_data = {}