0.15.3 headless linux server - state InitializationFailed
Posted: Mon Apr 24, 2017 5:55 pm
[EDIT] This happened so far on 0.15.0, 0.15.1, 0.15.2. and 0.15.3
Hey there,
I just downloaded the headless version, however, it doesn't seem to want to run on my linux machine:
map-gen-settings.json:
map-settings.json is copied from map-settings.example.json, nothing modified
server-settings.json:
Hey there,
I just downloaded the headless version, however, it doesn't seem to want to run on my linux machine:
Code: Select all
myuser@myhost ~/factorio15 $ ./create.sh mp003
0.000 2017-04-24 19:04:12; Factorio 0.15.0 (build 29027, linux64, headless)
0.000 Operating system: Linux
0.000 Program arguments: "bin/x64/factorio" "--mod-directory" "mods" "--map-gen-settings" "data/map-gen-settings.json" "--create" "mp003"
0.000 Read data path: /home/myuser/factorio15/data
0.000 Write data path: /home/myuser/factorio15
0.000 Binaries path: /home/myuser/factorio15/bin
0.006 System info: [CPU: Common KVM processor, 6 cores, RAM: 5971MB]
0.006 Running in headless mode
0.010 Loading mod core 0.0.0 (data.lua)
0.015 Loading mod base 0.15.0 (data.lua)
0.091 Loading mod base 0.15.0 (data-updates.lua)
0.144 Checksum for core: 3378387764
0.144 Checksum of base: 2731413614
0.255 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493053384
0.255 Info PlayerData.cpp:62: Cloud player-data.json unavailable
0.256 Custom inputs active: 0
0.257 Factorio initialised
0.258 Info Main.cpp:684: Creating new map /home/myuser/factorio15/mp003
3.297 Error FileUtil.cpp:291: Can't remove /home/myuser/factorio15/temp/currently-playing: No such file or directory
3.323 Loading Level.dat: 958272 bytes.
3.323 Info Scenario.cpp:133: Map version 0.15.0-99
3.353 Checksum for script /home/myuser/factorio15/temp/currently-playing/control.lua: 1622069129
Done.
3.450 Goodbye
myuser@myhost ~/factorio15 $ ./start-server.sh mp003
0.000 2017-04-24 19:04:30; Factorio 0.15.0 (build 29027, linux64, headless)
0.000 Operating system: Linux
0.000 Program arguments: "bin/x64/factorio" "--mod-directory" "mods" "--server-settings" "data/server-settings.json" "--start-server" "mp003"
0.000 Read data path: /home/myuser/factorio15/data
0.000 Write data path: /home/myuser/factorio15
0.000 Binaries path: /home/myuser/factorio15/bin
0.006 System info: [CPU: Common KVM processor, 6 cores, RAM: 5971MB]
0.006 Running in headless mode
0.010 Loading mod core 0.0.0 (data.lua)
0.014 Loading mod base 0.15.0 (data.lua)
0.087 Loading mod base 0.15.0 (data-updates.lua)
0.139 Checksum for core: 3378387764
0.139 Checksum of base: 2731413614
0.242 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493053456
0.242 Info PlayerData.cpp:62: Cloud player-data.json unavailable
0.243 Custom inputs active: 0
0.244 Factorio initialised
0.244 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
0.244 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.244 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.244 Loading map /home/myuser/factorio15/mp003
0.244 Error ServerMultiplayerManager.cpp:93: MultiplayerManager failed: "Opening zip /home/myuser/factorio15/mp003 failed: Ok"
0.244 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
Code: Select all
{
"_comment": "Sizes can be specified as none, very-low, low, normal, high, very-high",
"terrain_segmentation": "normal",
"water": "normal",
"width": 0,
"height": 0,
"starting_area": "normal",
"peaceful_mode": false,
"autoplace_controls":
{
"coal": {"frequency": "normal", "size": "normal", "richness": "very-high"},
"copper-ore": {"frequency": "normal", "size": "normal", "richness": "very-high"},
"crude-oil": {"frequency": "normal", "size": "normal", "richness": "very-high"},
"enemy-base": {"frequency": "normal", "size": "normal", "richness": "normal"},
"iron-ore": {"frequency": "normal", "size": "normal", "richness": "very-high"},
"stone": {"frequency": "normal", "size": "normal", "richness": "very-high"}
},
"_comment_seed": "Use null for a random seed, number for a specific seed.",
"seed": null
}
server-settings.json:
Code: Select all
{
"name": "94m3k1n9's 0.15 game",
"description": "Private game",
"tags": ["private"],
"_comment_max_players": "Maximum number of players allowed, admins can join even a full server. 0 means unlimited.",
"max_players": 20,
"_comment_visibility": ["public: Game will be published on the official Factorio matching server",
"lan: Game will be broadcast on LAN"],
"visibility":
{
"public": true,
"lan": false
},
"_comment_credentials": "Your factorio.com login credentials. Required for games with visibility public",
"username": "94m3k1n9",
"password": "",
"_comment_token": "Authentication token. May be used instead of 'password' above.",
"token": "mytoken",
"game_password": "",
"_comment_require_user_verification": "When set to true, the server will only allow clients that have a valid Factorio.com account",
"require_user_verification": true,
"_comment_max_upload_in_kilobytes_per_second" : "optional, default value is 0. 0 means unlimited.",
"max_upload_in_kilobytes_per_second": 0,
"_comment_minimum_latency_in_ticks": "optional one tick is 16ms in default speed, default value is 0. 0 means no minimum.",
"minimum_latency_in_ticks": 0,
"_comment_ignore_player_limit_for_returning_players": "Players that played on this map already can join even when the max player limit was reached.",
"ignore_player_limit_for_returning_players": false,
"_comment_allow_commands": "possible values are, true, false and admins-only",
"allow_commands": "admins-only",
"_comment_autosave_interval": "Autosave interval in minutes",
"autosave_interval": 10,
"_comment_autosave_slots": "server autosave slots, it is cycled through when the server autosaves.",
"autosave_slots": 5,
"_comment_afk_autokick_interval": "How many minutes until someone is kicked when doing nothing, 0 for never.",
"afk_autokick_interval": 0,
"_comment_auto_pause": "Whether should the server be paused when no players are present.",
"auto_pause": true,
"only_admins_can_pause_the_game": true,
"_comment_autosave_only_on_server": "Whether autosaves should be saved only on server or also on all connected clients. Default is true.",
"autosave_only_on_server": true,
"_comment_admins": "List of case insensitive usernames, that will be promoted immediately",
"admins": ["94m3k1n9"]
}