thepeacockproject / linux-steam-setup

Helper scripts and utilities for running Peacock on Linux, mainly targeting the Steam version of the game.
https://thepeacockproject.org/wiki/guides/linux-setup
17 stars 2 forks source link

Changing Server Address #2

Open EndEmpire opened 1 year ago

EndEmpire commented 1 year ago

My apologies if this is obvious, but I can not for the life of me figure out how to complete this instruction: "Edit Peacock Patcher Server address to 127.0.0.1:3000"

When I try to run start.sh a second time I see the following message: Failed to use the server on 0.0.0.0:3000! This gives me the impression that the already active instance of Peacock is running on 0.0.0.0:3000 instead of 127.0.0.1:3000 and I can not seem to figure out how to change this. Thank you and sorry for the trouble!

fi1on commented 1 year ago

Either a script or instruction is incorrect. I got the same issue and resolved it by manually launching server using start.sh script and manually launching the game using Peacock/run binary.

But it doesn't matter. It's not working - there's an error about game not being able to check server version so I guess Peacock needs an update.

CPioGH2002 commented 1 year ago

If you have started the server once, it won't be stopped by simply using Ctrl-C or something. So the next startup attempt will trigger this message.

If you check for running processes, there will be one with "node" in it. You have to end that one to be able to restart the server. You can do this via various methods but if you use something like "htop", it might be very easy to spot the process and end it properly.

As for the port change, I think that parameter is defined in the startup config file.