-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: FactorioClient does not respect --connect flag #3602
Comments
I believe this is what this PR addresses: |
FactorioClient.py does not seem to go through the Launcher Component, so unlikely 3568 fixes this issue |
I just tried, it does indeed not fix the issue. |
My bad |
I am also having this issue trying to run ArchipelagoFactorioClient on a headless linux server with systemd and connect to a multiworld. I am trying to create a workaround where I can wait some time and input the /connect string via TTY but struggling. |
#!/bin/bash
PIPE="/opt/Archipelago/pipe"
if [[ ! -p $PIPE ]]; then
mkfifo $PIPE
fi
/opt/Archipelago/ArchipelagoFactorioClient --rcon-port xxxxx --rcon-password xxxxx --server-settings /opt/Archipelago/factorio/data/server-settings.json < $PIPE &
DAEMON_PID=$!
echo $DAEMON_PID
echo \r > $PIPE
sleep 10
echo "/connect archipelago.gg:xxxxx" > $PIPE
wait $DAEMON_PID
rm -f $PIPE @itepastra rather than running the client directly, i have created this bash script |
What happened?
I start
FactorioClient.py
with the--connect
flag and it does not connect to the archipelago server.It seems to connect and instantly disconnects again from the MultiServer.
the logs: FactorioClient_2024_07_01_23_16_47.txt
What were the expected results?
The client connects to the archipelago server at the specified host when it's ready.
Software
While playing
The text was updated successfully, but these errors were encountered: