From a656ad5cd29b59d466b281925fa13aa8184d8425 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 18 May 2021 20:45:56 +0200 Subject: [PATCH] potential fix for rcon timing issue --- FactorioClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FactorioClient.py b/FactorioClient.py index 51261c13..1b24fb02 100644 --- a/FactorioClient.py +++ b/FactorioClient.py @@ -165,7 +165,7 @@ async def factorio_server_watcher(ctx: FactorioContext): while not factorio_queue.empty(): msg = factorio_queue.get() factorio_server_logger.info(msg) - if not ctx.rcon_client and "Hosting game at IP ADDR:" in msg: + if not ctx.rcon_client and "Starting RCON interface at IP ADDR:" in msg: ctx.rcon_client = factorio_rcon.RCONClient("localhost", rcon_port, rcon_password) # trigger lua interface confirmation ctx.rcon_client.send_command("/sc game.print('Starting Archipelago Bridge')")