Jump to content

Broken Slave Server


Recommended Posts

The thing that's strange is this:

 

[00:00:10]: [Warning] SteamGameServer_Init Failed
[00:00:10]: Your server will still start, but some Steam functionality may be missing.
[00:00:10]: Steam ports can be configured through command line by adding:
[00:00:10]: -steam_authentication_port 12345 -steam_master_server_port 12346
[00:00:10]: or through settings.ini, under the [network] heading
[00:00:10]: steam_authentication_port = 12345
[00:00:10]: steam_master_server_port  = 12346
[00:00:10]: Auth port: 12345 Master server port: 12346

 

Each time you provided me a log, the ports used (last line) were the ones we specified.

 

BUT, the steam authentification (first line) fails every single time! (even if they are different)

There is something happening here...

Link to comment
Share on other sites

The thing that's strange is this:

 

Each time you provided me a log, the ports used (last line) were the ones we specified.

 

BUT, the steam authentification (first line) fails every single time! (even if they are different)

There is something happening here...

I can agree that it is weird and that's whats pissing me off because it keeps doing that. Without a reason or explanation.

Link to comment
Share on other sites

At least you can try and see if you can change the ports in the command line with this last line... ;)

 

Edit: #26 If think it's against Klei's TOS.

Maybe idk but I am very confused and since I'm using a batch file, it should have no problem reaching the internet as i port forwarded BOTH the master and the slave server

Link to comment
Share on other sites

Ok.

I know this will be redondant, but can you send me please both the Master and Slave logs of these settings?

 

Master.ini:

 

[MISC]
CONSOLE_ENABLED = true
autocompiler_enabled = true


[network]
default_server_name = Julian The Lokey's World (Broke Caves)
default_server_description = WIP SERVER, CAVES DON'T WORK, PLEASE CONTACT ME IF YOU CAN HELP FIX.
server_port = 10998
steam_authentication_port = 12345
steam_master_server_port = 12346
max_players = 6
pvp = false
game_mode = endless
enable_autosaver = true
tick_rate = 15
connection_timeout = 8000


[shard]
shard_enable = true
is_master = true
master_port = 20050
cluster_key = Lokey'sdog

 

 

Slave.ini:

 

[MISC]
CONSOLE_ENABLED = true
autocompiler_enabled = true


[network]
default_server_name = Julian The Lokey's World (Broke Caves)
default_server_description = WIP SERVER, CAVES DON'T WORK, PLEASE CONTACT ME IF YOU CAN HELP FIX.
server_port = 10990
steam_authentication_port = 12347
steam_master_server_port = 12348
max_players = 6
pvp = false
game_mode = endless
enable_autosaver = true
tick_rate = 15
connection_timeout = 8000


[shard]
shard_enable = true
is_master = false
shard_name = caves
cluster_key = Lokey'sdog
master_ip = 127.0.0.1
master_port = 20050

 

Link to comment
Share on other sites

You forgot to cleanup the command line arguments of the Slave:

 

[00:00:00]: Command Line Arguments: -steam_authentication_port 12345 -steam_master_server_port 12346 -conf_dir Caves_DST

...

[00:00:14]: Auth port: 12345 Master server port: 12346

 

So to answer your previous question:

Yes, command line arguments for steam ports is working! ;)

 

I need some new logs. ;)

Link to comment
Share on other sites

Are you playing and hosting on the same machine? (2 servers + 1 client?)

 

Also,

I don't know if this is a bug or what, or you forgot to replace Slave's settings.ini, but in Slave's log:

 

[00:00:12]: Auth port: 8766 Master server port: 27016

 

which are the default ports of steam (already used by your master server).

Link to comment
Share on other sites

Thank you. ;)

 

Edit:

Ok, so I don't see any error beside steam failing (again) to authenticate...

 

What I suggest you, (if your are hosting and playing on the same machine), is first  to separate you Master server directory from your game directory:

 

Just copy the folder Klei/DoNotStarveTogether to Klei/DST for example.

 

That will not hurt anyone. ;)

 

 

Then edit your command lines to the following:

 

Master:

 

dontstarve_dedicated_server_nullrenderer -conf_dir DST

 

Slave:

 

dontstarve_dedicated_server_nullrenderer -conf_dir Caves_DST

 

Then make sure you are using the same server_token.txt in both Klei/DST and Klei/Caves_DST.

 

Then (and last) use the settings I provided you in this post.

 

Tell me if that changes anything. ;)

Link to comment
Share on other sites

That's strange...

It looks like a firewall problem but I'm not sure since you were able to launch it in it's default location...

 

Can you try this batch (for both Master + Slave, AllInOne):

 

cd "C:\Program Files\Steam\SteamApps\common\Don't Starve Together Dedicated Server\bin"
/start dontstarve_dedicated_server_nullrenderer.exe -conf_dir DST

/start dontstarve_dedicated_server_nullrenderer.exe -conf_dir Caves_DST

?

Link to comment
Share on other sites

That's strange...

It looks like a firewall problem but I'm not sure since you were able to launch it in it's default location...

 

Can you try this batch (for both Master + Slave, AllInOne):

?

Doesn't work, it shuts the servers down almost as soon as they start. and when i include the /start command, it tells me that it's missing files.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...