Page 1 of 1
A little problem with dedicated server
Posted: Tue Nov 15, 2016 1:23 pm
by Fluqsi
So I ran into a smaller problem I haven't been able to fix
I simply cannot get the server to find the server-settings.json file no matter how I try these are the following ways I've tried
./data/server-settings.json
././data/server-settings.json
/data/server-settings.json
data/server-settings.json
E:\factorio_server\Factorio_0.14.20\data\server-settings.json
In this picture you can see the error, the start.bat file and the location of the server-settings.json file
https://gyazo.com/ab02913842ec4b56d594307867a65654
I am running windows server 2012 r2 and factorio 0.14.20
So if you got any idea how to fix this please tell me!

Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 1:51 pm
by impetus maximus
put your server-settings.json file inside the factroio.exe folder, and add this to your server.bat file.
Code: Select all
--server-settings server-settings.json
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:02 pm
by Fluqsi
https://gyazo.com/c4928de6f346c3f94a50752c9f63e3cd
Same error just a different number inside the parenthesis
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:07 pm
by impetus maximus
add your images as an attachment. i can't view them from that site.
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:10 pm
by Fluqsi
There you go

Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:14 pm
by posila
There is a syntax error in your server-settings.json on line 59
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:15 pm
by HanziQ
It found the file, there is an error in the file, probably line 59
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:19 pm
by Fluqsi
Can anyone spot the error here? cause it is completely after the default server-settings.example.json file
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:27 pm
by posila
PM me your server-settings.json (if you don't want to paste it here) and I'll tell you how to fix it.
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:29 pm
by Fluqsi
Just removed passwords, but here it is.
EDIT by posila: removed attachment
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:33 pm
by posila
Ah, the admins line needs to be like this
I removed your attachment as it still contained passwords.
Re: A little problem with dedicated server
Posted: Tue Nov 15, 2016 2:36 pm
by Fluqsi
Thanks, and my fault about the passwords, forgot to save before uploading XD