[SOLVED] 14.8 Win/Server <unspecified file><4>: expected ':'

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

[SOLVED] 14.8 Win/Server <unspecified file><4>: expected ':'

Post by impetus maximus »

i'm trying to set up a headless server from the package version in win7, and play on the same machine.

i've...
  • unzipped the 0.14.8 package to c:/program files
  • created a server.bat file in bin/x64 with the following
    code
  • created \bin\x64\saves and copied my save "4.zip" to it.
  • copied \config\config.ini file and created 'server-config.ini'
  • changed write-data=__PATH__executable__\..\..\ to write-data=__PATH__executable__\..\..\server in 'server-config.ini'
  • created the \server folder, and copied player-data.json to it.
  • changed my port number in \config\config.ini to 34198
  • opened server-settings.example.json in notepad. entered my data including login & token, and saved as server-settings.json in bin\x64
opening a console with admin privliges i cd to 'C:\Program Files\Factorio_0.14.8\bin\x64' hit [enter].
type 'server.bat' [enter]

and i get this
headless.error.png
what does this error mean, and how can i fix it please.
thanks for reading.
Last edited by impetus maximus on Wed Sep 21, 2016 4:15 pm, edited 1 time in total.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Post by HanziQ »

My guess would be an error in the server-settings.json file

User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Post by impetus maximus »

thanks. can i PM you the file to check it out for me?

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Post by HanziQ »

Sure

User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Post by impetus maximus »

well i can't add an attachment to a PM so here is a snapshot (with my token changed)
server-settings.json.png

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Post by HanziQ »

Code: Select all

"tags": ["tag1", "tag2"],

User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Post by impetus maximus »

IT VERKS! MUH HAHAHAHA!
thank you!

Post Reply

Return to “Technical Help”