Page 1 of 1

Dedicated server not wanting to work

Posted: Fri Mar 02, 2018 4:37 pm
by redhatboy
Hi, well I have all of the correct files that I need, but whenever I run the bat file I get this error: Error Util.cpp:62: Unexpected character at C:\Users\Public\server-settings.json:59 But I don't know where the "59" comes from as I called it server-settings.json. File proof: https://gyazo.com/dbb2ee3ab28c58adccf2de86eb5b7864 (I am running this on my friend's server, using Windows Remote Desktop Connection)

Re: Dedicated server not wanting to work

Posted: Fri Mar 02, 2018 4:47 pm
by Loewchen
Post the complete log after a session with the issue and the settings file, make sure to mask any passwords in the settings.

Re: Dedicated server not wanting to work

Posted: Sat Mar 03, 2018 12:30 pm
by redhatboy
Hi, yes. I changes a few things and it works fine now. Other than the fact that it keeps being assigned the wrong port. This is what I am getting: (I added in the stars in the ip)

Code: Select all

   3.863 Info BlueprintLibrary.cpp:49: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1520079328; records:
   3.865 Loading script.dat: 190 bytes.
   3.880 Checksum for script C:/Users/Jason/Desktop/Factorio_x64_0.15.40 Factorio Server Files/Factorio_0.15.40/temp/currently-playing/control.lua: 282129324
   3.904 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
   3.905 Hosting game at 0.0.0.0:34197
   3.906 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock-2
   4.418 Info HttpSharedState.cpp:111: Status code: 200
   4.419 Info AuthServerConnector.cpp:108: Obtained serverPadlock for serverHash (tUmiXZouYKXtA7cODoTovRiR0azg3ZvS) from the auth server.
   4.421 Info ServerMultiplayerManager.cpp:671: mapTick(4116371) changing state from(CreatingGame) to(InGame)
   4.426 Info ServerRouter.cpp:580: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   4.479 Info UDPSocket.cpp:39: Opening socket for broadcast
   4.533 Warning ServerRouter.cpp:470: Received own adddress message reply with conflicting address (got 8*.179.***.1*3:16083, expected 8*.179.***.1*3:63107)
   4.535 Warning ServerMultiplayerManager.cpp:564: Determining own address has failed. Best guess: 8*.179.***.1*3:63107
   5.074 Info ServerMultiplayerManager.cpp:600: Matching server connection resumed 
Edit: If you need more of what it is spitting out please let me know!

Re: Dedicated server not wanting to work

Posted: Sat Mar 03, 2018 12:55 pm
by Loewchen

Re: Dedicated server not wanting to work

Posted: Sat Mar 03, 2018 2:57 pm
by redhatboy
Right, I have it receiving its port now. But when I try to connect it says it couldn't establish a connection with the server. (Sorry if this already has a thread/post about this error)