Starting a dedicated server: No such node (visibility)
-
- Burner Inserter
- Posts: 6
- Joined: Wed Mar 22, 2017 3:05 am
- Contact:
Starting a dedicated server: No such node (visibility)
I get an error message: "No such node (visibility)" when i run the batch file I made for my server.
I've reinstalled the game several times and done a file integrity check.
Does anyone know what this error message means and how to fix it?
Thanks a lot!
I've reinstalled the game several times and done a file integrity check.
Does anyone know what this error message means and how to fix it?
Thanks a lot!
Re: Starting a dedicated server: No such node (visibility)
Post the log, post the batch file.
-
- Burner Inserter
- Posts: 6
- Joined: Wed Mar 22, 2017 3:05 am
- Contact:
Re: Starting a dedicated server: No such node (visibility)
The uploader doesn't allow .bat files so here are its contents:
bin\x64\factorio.exe --start-server saves/acerimmer.zip --server-settings saves\server-settings.json
See the attached log file as well.
Thanks!
bin\x64\factorio.exe --start-server saves/acerimmer.zip --server-settings saves\server-settings.json
See the attached log file as well.
Thanks!
- Attachments
-
- factorio-current.log
- (1.01 KiB) Downloaded 40 times
Re: Starting a dedicated server: No such node (visibility)
I think it's an issue in your server-settings.json, make sure visibility is set like this:
Only change between true and false in the above example, don't add any extra fields.
If that still doesn't work then post your server-settings.json.
Code: Select all
"visibility":
{
"public": true,
"lan": true
},
If that still doesn't work then post your server-settings.json.
-
- Burner Inserter
- Posts: 6
- Joined: Wed Mar 22, 2017 3:05 am
- Contact:
Re: Starting a dedicated server: No such node (visibility)
Ok that helped. I had written "hidden" where "visibility" was because I misunderstood the instructions. However, now I've got a new error. That log is attached.
- Attachments
-
- factorio-current.log
- (1.07 KiB) Downloaded 34 times
Re: Starting a dedicated server: No such node (visibility)
GetSchwifty wrote:now I've got a new error:
Its time to post the complete server-settings file.Error Util.cpp:57: Error while reading file saves\server-settings.json: <unspecified file>(7): expected value
-
- Burner Inserter
- Posts: 6
- Joined: Wed Mar 22, 2017 3:05 am
- Contact:
Re: Starting a dedicated server: No such node (visibility)
This is in Factorio -> saves, along with acerimmer.zip (my save file). The launch batch is in the factorio main folder. Just FYI.
- Attachments
-
- server-settings.json
- (2.28 KiB) Downloaded 38 times
Re: Starting a dedicated server: No such node (visibility)
On line 7 you are missing a number after max_players, set e.g. 0 for unlimited players.Error Util.cpp:57: Error while reading file saves\server-settings.json: <unspecified file>(7): expected value
Code: Select all
"max_players": 0,
-
- Burner Inserter
- Posts: 6
- Joined: Wed Mar 22, 2017 3:05 am
- Contact:
Re: Starting a dedicated server: No such node (visibility)
Ok that finally worked. It looks like the server is up and running.
I'd test it but I can't connect on the same computer that's running the server. Guess I'll need to have my laptop run it :/
Do you guys know how to connect on the same computer that's hosting?
I'd test it but I can't connect on the same computer that's running the server. Guess I'll need to have my laptop run it :/
Do you guys know how to connect on the same computer that's hosting?
Re: Starting a dedicated server: No such node (visibility)
You can run both client and server on the same computer if they are different installations or use different config/log files. The easiest way to do this is to download the zip-version from the website, extract it somewhere and use it as server. You can then use your steam version as client.
See also this topic: viewtopic.php?f=49&t=41338
You also need to have different ports for the two instances, see this topic on how to change the port of one of the instances (default is 34197): viewtopic.php?f=49&t=37461&p=226172#p226172
See also this topic: viewtopic.php?f=49&t=41338
You also need to have different ports for the two instances, see this topic on how to change the port of one of the instances (default is 34197): viewtopic.php?f=49&t=37461&p=226172#p226172
-
- Burner Inserter
- Posts: 6
- Joined: Wed Mar 22, 2017 3:05 am
- Contact:
Re: Starting a dedicated server: No such node (visibility)
Thanks a lot for the help