bazzaro135 Posted July 17, 2020 Share Posted July 17, 2020 I followed this video https://www.youtube.com/watch?v=46gQ_frQF20&t=708s to make a server and have created all the files. Now When I try to start the server it is booting up factorio as a whole not a server? Is there a commandline I need to use to prevent that? Any help would be appreciated. Link to comment Share on other sites More sharing options...
jungleNZ Posted July 18, 2020 Share Posted July 18, 2020 Are you running just as one server or through tcadmin setup? but basically start line should be something like this: start /wait Factorio.exe --start-server YOUR_SAVE.zip Link to comment Share on other sites More sharing options...
bazzaro135 Posted July 19, 2020 Author Share Posted July 19, 2020 On 7/17/2020 at 7:49 PM, jungleNZ said: Are you running just as one server or through tcadmin setup? but basically start line should be something like this: start /wait Factorio.exe --start-server YOUR_SAVE.zip Thanks for the replay. I am indeed using Tcadmin 2.0 I have bought it so I can just run a home server instead of paying people all the time. I have used SteamCMD to add the game files to the root folder, then used the config wizard and pointed to said folder. Would I add that to the default command line settings? I am familiar with source games and vaguely Arma3 but not Factorio and also Eco Link to comment Share on other sites More sharing options...
jungleNZ Posted July 19, 2020 Share Posted July 19, 2020 Add only this part to commandline parameter: --start-server YOUR_SAVE.zip (your_save is normally Default.zip) If you are really stuck I have attached basic config (for windows) Factorio - Windows.xml Link to comment Share on other sites More sharing options...
bazzaro135 Posted July 19, 2020 Author Share Posted July 19, 2020 @jungleNZHmm I had no luck there. I just would not start the server it just sits on a Running PID 0 error. I deleted all the related files and folders and then tried it by importing the file you provided but I got the same results. Link to comment Share on other sites More sharing options...
jungleNZ Posted July 20, 2020 Share Posted July 20, 2020 I will look at config and sort Link to comment Share on other sites More sharing options...
bazzaro135 Posted July 20, 2020 Author Share Posted July 20, 2020 8 hours ago, jungleNZ said: I will look at config and sort I appreciate the help. Link to comment Share on other sites More sharing options...
jungleNZ Posted July 21, 2020 Share Posted July 21, 2020 Try this - tested and re tested. All works. (tried to send private message but you cannot receive at this stage) Remember to fill in username/password in the server settings file otherwise it will not show on masterlist in Factorio. Any issues let me know. If all working well let me know then I can post it up into config releases. Factorio - Windows.xml Link to comment Share on other sites More sharing options...
mainlinxenator Posted October 27, 2020 Share Posted October 27, 2020 I tried the XML file. It works temporarily, but the for some reason it shows the server sending a ^c and shuts the server down. Any suggestions or help fix it... 0.000 2020-10-26 20:33:21; Factorio 1.0.0 (build 54889, win64, alpha) 0.000 Operating system: Windows 10 (version 2004) 0.000 Program arguments: "bin\x64\Factorio.exe" "--start-server" "saves\default.zip" "--server-settings" "data\server-settings.json" "-c" "config\config.ini" 0.001 Read data path: C:/TCAFiles/Users/admin/3/data 0.001 Write data path: C:/TCAFiles/Users/admin/3 [869453/953016MB] 0.001 Binaries path: C:/TCAFiles/Users/admin/3/bin 0.011 System info: [CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 8 cores, RAM: 5938/8081 MB, page: 14918/17625 MB, virtual: 4226/134217727 MB, extended virtual: 0 MB] 0.011 Running in headless mode 0.072 Loading mod settings air-filtering-patched 0.18.0 (settings.lua) 0.072 Loading mod settings Aircraft 1.7.1 (settings.lua) 0.072 Loading mod settings DeepMine 0.5.5 (settings.lua) 0.073 Loading mod settings Fill4Me 0.9.4 (settings.lua) 0.073 Loading mod settings MyQuickStart 0.0.12 (settings.lua) 0.074 Loading mod settings nixie-tubes 0.18.5 (settings.lua) 0.074 Loading mod settings Warehousing 0.3.1 (settings.lua) 0.075 Loading mod settings AircraftRealism 1.1.1 (settings.lua) 0.075 Loading mod settings cargo-ships 0.0.55 (settings.lua) 0.078 Loading mod core 0.0.0 (data.lua) 0.137 Loading mod base 1.0.0 (data.lua) 0.458 Loading mod advanced-equipment 0.0.7 (data.lua) 0.619 Loading mod air-filtering-patched 0.18.0 (data.lua) 0.787 Loading mod Aircraft 1.7.1 (data.lua) 0.958 Loading mod DeepMine 0.5.5 (data.lua) 1.126 Loading mod Fill4Me 0.9.4 (data.lua) 1.291 Loading mod islands_world 0.18.0 (data.lua) 1.458 Loading mod nixie-tubes 0.18.5 (data.lua) 1.619 Loading mod Warehousing 0.3.1 (data.lua) 1.776 Loading mod AircraftRealism 1.1.1 (data.lua) 1.940 Loading mod cargo-ships 0.0.55 (data.lua) 2.122 Loading mod base 1.0.0 (data-updates.lua) 2.284 Loading mod Aircraft 1.7.1 (data-updates.lua) 2.449 Loading mod islands_world 0.18.0 (data-updates.lua) 2.607 Loading mod DeepMine 0.5.5 (data-final-fixes.lua) 2.773 Loading mod nixie-tubes 0.18.5 (data-final-fixes.lua) 2.927 Loading mod Warehousing 0.3.1 (data-final-fixes.lua) 3.086 Loading mod AircraftRealism 1.1.1 (data-final-fixes.lua) 3.250 Loading mod cargo-ships 0.0.55 (data-final-fixes.lua) 3.417 Checksum for core: 2630831588 3.417 Checksum of base: 3509992273 3.417 Checksum of advanced-equipment: 2401278435 3.417 Checksum of air-filtering-patched: 2365594205 3.417 Checksum of Aircraft: 2810105822 3.417 Checksum of DeepMine: 1133863568 3.417 Checksum of Fill4Me: 3389606635 3.417 Checksum of islands_world: 1173893749 3.417 Checksum of MyQuickStart: 1185200244 3.417 Checksum of nixie-tubes: 3359482167 3.417 Checksum of stdlib: 0 3.417 Checksum of Warehousing: 3150456068 3.417 Checksum of AircraftRealism: 91982588 3.417 Checksum of cargo-ships: 1109494795 3.614 Prototype list checksum: 3098717768 3.676 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1603762355 3.676 Info PlayerData.cpp:75: Cloud player-data.json unavailable 3.678 Info GlobalContext.cpp:1269: Resetting config. 3.680 Factorio initialised 3.681 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=4 4.045 Info AuthServerConnector.cpp:133: Got token from auth server for username(mainlinx). 4.053 Info ServerSynchronizer.cpp:30: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0). 4.053 Info ServerMultiplayerManager.cpp:772: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame) 4.053 Info ServerMultiplayerManager.cpp:772: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame) 4.054 Loading map saves\default.zip: 1911668 bytes. 4.139 Loading level.dat: 4488331 bytes. 4.143 Info Scenario.cpp:187: Map version 1.0.0-0 4.221 Loading script.dat: 16469 bytes. 4.225 Checksum for script C:/TCAFiles/Users/admin/3/temp/currently-playing/control.lua: 3931528263 4.226 Checksum for script __DeepMine__/control.lua: 4242063991 4.232 Checksum for script __Fill4Me__/control.lua: 1380686807 4.233 Checksum for script __islands_world__/control.lua: 1061376503 4.235 Checksum for script __MyQuickStart__/control.lua: 4106627212 4.236 Checksum for script __nixie-tubes__/control.lua: 3526550870 4.237 Checksum for script __Warehousing__/control.lua: 924775579 4.241 Checksum for script __AircraftRealism__/control.lua: 323791698 4.244 Checksum for script __cargo-ships__/control.lua: 3625792844 4.247 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:28620})) 4.248 Hosting game at IP ADDR:({0.0.0.0:28620}) 4.248 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=4 4.318 Info AuthServerConnector.cpp:67: Obtained serverPadlock for serverHash (NikwA3mXSvT52bFUd6XMndBfIjkM6RBM) from the auth server. 4.318 Info ServerMultiplayerManager.cpp:772: updateTick(83822) changing state from(CreatingGame) to(InGame) 4.319 Info ServerRouter.cpp:646: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address 4.319 Info CommandLineMultiplayer.cpp:281: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20 4.402 Info ServerRouter.cpp:525: Own address is IP ADDR:({66.112.61.245:28620}) (confirmed by pingpong1) 4.486 Info ServerRouter.cpp:525: Own address is IP ADDR:({66.112.61.245:28620}) (confirmed by pingpong2) 4.520 Info ServerRouter.cpp:525: Own address is IP ADDR:({66.112.61.245:28620}) (confirmed by pingpong4) 4.785 Info MatchingServer.cpp:114: Matching server game `8478470` has been created. 4.790 Info ServerMultiplayerManager.cpp:701: Matching server connection resumed 340.691 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({66.112.61.244:51845})) 340.691 Refusing connection for address (IP ADDR:({66.112.61.244:51845})), username (mainlinx). UserVerificationMissing 341.095 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({66.112.61.244:49452})) 341.096 Info ServerRouter.cpp:453: Replying to connectionRequest for address(IP ADDR:({66.112.61.244:49452})). 341.096 Info ServerSynchronizer.cpp:599: nextHeartbeatSequenceNumber(9982) adding peer(1) 341.119 Info ServerMultiplayerManager.cpp:772: updateTick(83822) changing state from(InGame) to(InGameSavingMap) 341.137 Info ServerMultiplayerManager.cpp:921: updateTick(83822) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap) 341.293 Info ServerMultiplayerManager.cpp:989: UpdateTick(83822) Serving map(temp\mp-save-0.zip) for peer(1) size(1911865) crc(3438960524) 341.293 Info ServerMultiplayerManager.cpp:772: updateTick(83822) changing state from(InGameSavingMap) to(InGame) 341.360 Info ServerMultiplayerManager.cpp:921: updateTick(83822) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap) 341.600 Info ServerMultiplayerManager.cpp:921: updateTick(83822) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap) 341.873 Info ServerMultiplayerManager.cpp:921: updateTick(83838) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp) 341.890 Info ServerMultiplayerManager.cpp:921: updateTick(83839) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures) 341.891 Info GameActionHandler.cpp:4729: UpdateTick (83839) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect) 341.993 Info ServerMultiplayerManager.cpp:921: updateTick(83845) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame) Link to comment Share on other sites More sharing options...
jungleNZ Posted October 27, 2020 Share Posted October 27, 2020 Open up the server config in tcadmin - goto text console and remove the ^C from the box. Save and update existing etc... See if that fixes it. Link to comment Share on other sites More sharing options...
mainlinxenator Posted October 27, 2020 Share Posted October 27, 2020 8 hours ago, jungleNZ said: Open up the server config in tcadmin - goto text console and remove the ^C from the box. Save and update existing etc... See if that fixes it. Thank you for the reply, I removed it and trying it. funny thing is that it only did it after a save. Unfortunately it is still stopping. This time it does not show ^C when it stops the game.. Link to comment Share on other sites More sharing options...
mainlinxenator Posted October 27, 2020 Share Posted October 27, 2020 Here is the log from the web console.. Factorio Log.txt Link to comment Share on other sites More sharing options...
jungleNZ Posted October 29, 2020 Share Posted October 29, 2020 I have tested your server-settings.json with my server and it runs no problem. No server crashing. Only thing I can think of is the way your files are not reading to the directory the server is in. I have attached my xml (windows). The configuration files are set to create files read and write to the directory of your server creation. Try this xml and see if things change. (Remember to change user and password in server-settings) Factorio - Windows.xml Link to comment Share on other sites More sharing options...
jungleNZ Posted October 29, 2020 Share Posted October 29, 2020 Also are you running Mods? Link to comment Share on other sites More sharing options...
mainlinxenator Posted October 29, 2020 Share Posted October 29, 2020 12 hours ago, jungleNZ said: Also are you running Mods? It does it with or without mods. fresh reinstall. The only problem is that I had to download it directly from factorio since the steamcmd did not work... Link to comment Share on other sites More sharing options...
jungleNZ Posted October 29, 2020 Share Posted October 29, 2020 Try copying the files from you client pc (they are the same for the server - i found non steam dl had issues) Link to comment Share on other sites More sharing options...
mainlinxenator Posted October 29, 2020 Share Posted October 29, 2020 1 minute ago, jungleNZ said: Try copying the files from you client pc (they are the same for the server - i found non steam dl had issues) I did that already Link to comment Share on other sites More sharing options...
jungleNZ Posted October 29, 2020 Share Posted October 29, 2020 Have you tried setting up a server using my xml I posted earlier? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.