Replace XXXXX with the port number you found in stonehearth.log.
e.g. --multiplayer.remote_server.port=54229
After the 2nd game launched, it will try to connect to the 1st game.
Hi all, I am the author of Traditional Chinese mod.
Just as the title said: is it possible to add dummy players in multiplayer mode?
The reason why I need it is to better test and modify the translations in multiplayer mode while I’m not able to play along with others due to some reasons.
As usual, thanks for the reply, @Wiese2007.
Yes, I am able to play with others if I have time, but most of the time I just open Stonehearth to check if my translations are right. So I’m asking is there a way to do multiplayer things while you are alone. (Sounds a little bit sad though)
like i know nope its not possible ^^ and for translation - the only thing where i had problems was the new ui start_menu and citizens.less - so that i needed a multiplayer game to try
and if you host a game just let someone join - and then he can leave ^^ the ui stays on multiplayer also if you load the saved game ^^ but if you needed i can help you as joined player until you tweaked the ui ^^
Hmm, you should be able to but let me look into what settings you need to enable for the dummy player
EDIT: try running the second game with these command line args: --multiplayer.remote_server.enabled=true --multiplayer.server.port=57094 --logging.custom_name=stonehearth_p2 --browser.debug_port=1339 --ip=0.0.0.0
You can do this by running the .exe from the command line. Steam doesn’t let you launch two games from within the steam client
If it’s all good, now I have 2 stonehearth.exe running, one is from Steam, one is directly executed using the shortcut.
I launch a multiplayer game using the Steam one, but how can I join the game using the other stonhearth.exe? or vice versa?
You first run the normal from Steam, and start a game and place a banner.
Then run the one with the command line options, and it should automatically try to connect to the othe one.
Try each arg with two dashes in front of it like the ones in front of —ip=0.0.0.0. I’m not sure how to prevent discourse from converting it to one long dash
Thank you @Relyss and @linda.
I tried but still not working.
I first ran the normal one from Steam, and started a multiplayer game, and placed a banner.
Then I ran another one with command line after step 1 is done, but it didn’t try to connect to the other one, it just stayed at the title screen. Here is the command: D:\Program Files (x86)\Steam\steamapps\common\Stonehearth>Stonehearth.exe --multiplayer.remote_server.enabled=true --multiplayer.server.port=57094 --logging.custom_name=stonehearth_p2 --browser.debug_port=1339 --ip=0.0.0.0
Try adding an extra parameter at the end: --multiplayer.remote_server.port=12345
Instead of 12345 here, open the stonehearth.log while the game is running and look at the top. There should be a line saying something like
app | Running Stonehearth server on port 54229
Use the port you find on that line instead of 12345
This plus all your other parameters worked for me. (@ayazar/@linda is this correct? It did work for me for Steam + console, but the port can change every time).