A little problem with dedicated server

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Fluqsi
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Nov 15, 2016 1:19 pm
Contact:

A little problem with dedicated server

Post 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! :D
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: A little problem with dedicated server

Post 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
Fluqsi
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Nov 15, 2016 1:19 pm
Contact:

Re: A little problem with dedicated server

Post by Fluqsi »

https://gyazo.com/c4928de6f346c3f94a50752c9f63e3cd

Same error just a different number inside the parenthesis
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: A little problem with dedicated server

Post by impetus maximus »

add your images as an attachment. i can't view them from that site.
Fluqsi
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Nov 15, 2016 1:19 pm
Contact:

Re: A little problem with dedicated server

Post by Fluqsi »

There you go :D
Attachments
c4928de6f346c3f94a50752c9f63e3cd.png
c4928de6f346c3f94a50752c9f63e3cd.png (67.51 KiB) Viewed 3163 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: A little problem with dedicated server

Post by posila »

There is a syntax error in your server-settings.json on line 59
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: A little problem with dedicated server

Post by HanziQ »

It found the file, there is an error in the file, probably line 59
Fluqsi
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Nov 15, 2016 1:19 pm
Contact:

Re: A little problem with dedicated server

Post by Fluqsi »

Can anyone spot the error here? cause it is completely after the default server-settings.example.json file
Attachments
3d017b904f9639feacc30cc9e684e628.png
3d017b904f9639feacc30cc9e684e628.png (32.41 KiB) Viewed 3160 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: A little problem with dedicated server

Post 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.
Fluqsi
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Nov 15, 2016 1:19 pm
Contact:

Re: A little problem with dedicated server

Post by Fluqsi »

Just removed passwords, but here it is.

EDIT by posila: removed attachment
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: A little problem with dedicated server

Post by posila »

Ah, the admins line needs to be like this

Code: Select all

  "admins": ["Fluqsi"]
I removed your attachment as it still contained passwords.
Fluqsi
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Nov 15, 2016 1:19 pm
Contact:

Re: A little problem with dedicated server

Post by Fluqsi »

Thanks, and my fault about the passwords, forgot to save before uploading XD
Post Reply

Return to “Technical Help”