예제 #1
0
    def is_server_running():
        data = ArkSourceQuery.query_info(Config.rcon_host,Config.query_port, quiet=True)
        if data:
            return True
        return False

        """
예제 #2
0
 def is_server_running():
     data = ArkSourceQuery.query_info(Config.rcon_host,
                                      Config.query_port,
                                      quiet=True)
     if data:
         return True
     return False
     """
예제 #3
0
파일: rcon.py 프로젝트: LDMBatman/pyarc
 def query_server():
     Storage.query_data = ArkSourceQuery.query_info(Config.rcon_host,Config.query_port)
     return Storage.query_data
예제 #4
0
 def query_server():
     Storage.query_data = ArkSourceQuery.query_info(Config.rcon_host,
                                                    Config.query_port)
     return Storage.query_data