Multiplayer without Steam?


#1

In last week’s desktop Tuesday it was explained that hosting and connecting to a server could be achieved without Steam by editing the user_settings.json file.

Is this possible in the current super unstable branch? I would assume the functionality is there based on the DT video but I can’t find any instruction on what properties to add to the settings file and/or what parameters to use when launching the game. When I bought the game on Humble I was excited for the multiplayer but I could see if the Steam only unstable branch doesn’t have the settings configured yet.


Multiplayer without steam on json file?
Multiplayer help
Beta for Humble Bundle
#2

shouldnt be possible at the moment because on humblebundle is only v23 (without multiplayer) - later when the update to stable 24 was uploaded there should be an option


Editing user_settings file
#3

So Wiese is correct, but if you have the latest build from steam, you can use some user settings to connect to another player with the same build.

I’ll make a proper write up later since we’re focused on the steam version right now, but here are the settings in the mean time:

"multiplayer" : {
    "server" : { // These are the host settings
        "port" : 57093,
        "ip" : "0.0.0.0" // Leave this like this
    },
    "remote_server" : { // These are the client settings
        "enabled" : false, // set to true to enable connecting to a remote server
        "port" : 57093,
        "ip" : "192.168.1.1"
    }
},

Is it possible to play multiplayer from command line?
Few questions about current Multiplayer build
#4

This is great ayazar , thank you!


#5

Hi,
I tried but I only got Error at connecting.

I will stick to steam Join for now !

Also, I had to get rid of the //comments to get the game running… some error about whitespace

Thanks


#6

@nxor if you’re hosting replace the ip in the client config (the connecting computer) with the network IP address of your (host) computer and additionally set up port forwarding on the port in your router. It won’t work simply copy and pasted.

Worked great for me.


#7

I set everything up. How can the client connect to me? Does he have to select multiplayer or load game?

Thanks for the help!


#8

Honestly, I tried this, no matter what I enter, I always just get a message that “something went wrong” and that it was disconnected.

Made sure both users had the same mods, etc - even tried strictly vanilla, made sure ports were open, no dice.


#9

I am currently trying vanilla, completely steamless. I copied the game out of the steam folder and am trying to connect two computers inside the same network.


#10

Hello there, i have tried you code, but i am pretty sure i have no ideia what i am doing. The game wont start now =/ gave me some error with the user_setting.

I dont know if i should copy this code and just paste in the file… or paste over another code line…

i would love if you could give me some help on how to play multiplayer without steam. Thank you so much!


#11

Btw, i am just trying to connect two computers in the same network ;3


#12

Okay I’ll give it a go! Here are some settings that are a little more copy-paste friendly but you still have to replace the IP Address for the client player.

Settings for the host:

"multiplayer" : {
    "server" : {
        "port" : 57093,
        "ip" : "0.0.0.0"
    },
    "remote_server" : {
        "enabled" : false
    }
},

Settings for the client:

"multiplayer" : {
    "remote_server" : {
        "enabled" : true,
        "port" : 57093,
        "ip" : "host ip goes here"
    }
},

Multiplayer Without Steam
Dedicated Servers
Black screen on Client Multiplayer Startup (hear music, can see cursor)
Stonehearth on Steam issues
#13

Thank you for trying, still unnable to connect


Local Area Network(LAN)
Steam not nice for MP
#14

The host game is running and the banner is placed? And the client machine can ping the host machine?


#15

yes, it is. I tryed both with local ip and with the internet ip… but no sucess


#16

If you can ping the host from the client then it should work :thinking: - can you share the stonehearth.log files for the host and the client?


#17

Did you set up port forwarding (for port 57093) on your router?

If you don’t configure that the client won’t be able to connect through your router’s firewall. It’s a process but pretty easy once you know what you’re doing and important for hosting any game. Unfortunately there’s a million and one different routers so you’ll have to find the instructions for the one you own to learn how to do it.


#18

RivingtonDown is correct if you are connecting to a computer outside of your local area network. But if you’re just on the same network use the local ip address.


#19

can you show me the steps for the multiplayer?


#20

I opened DMZ on my router and my friend connected to my server. @ayazar settings for multiplayer Lan are working.


Would it be possible to have all players share the same playerid?