I'm a big Factorio fan and already spent several hundreds of hours on playing the game. I recently started looking into multiplayer and found a huge vanilla factory on an online server. Problem: I can't do anything but look and walk over the map on this server, because it has permissions denied for practically every action (well - duh).
So I thought - "I'm a genius" - just went and saved the game locally so i can start it offline.
(actual) Problem: Still can't do anything, because .. no permissions.
I did a little research finding that this is just the way factorio works (as stated by Rseding91 here).
He had the solution:
Since I don't run Linux (yet ^_^), I went for headless. By mostly doing the things described here and here, I set up headless on Windows by using two installations of factorio, running the headless server as .bat:If you want to override the permissions in the game you need to load it on a headless instance or use RCON [...]
Code: Select all
start /wait Factorio.exe --start-server WTF.zip --server-settings D:\server-settings.json
Code: Select all
{
"name": "Name of the game as it will appear in the game listing",
"description": "TEST",
"tags": ["game", "tags"],
"_comment_max_players": "Maximum number of players allowed, admins can join even a full server. 0 means unlimited.",
"max_players": 0,
"_comment_visibility": ["public: Game will be published on the official Factorio matching server",
"lan: Game will be broadcast on LAN"],
"visibility":
{
"public": false,
"lan": true
},
"_comment_credentials": "Your factorio.com login credentials. Required for games with visibility public",
"username": "",
"password": "",
"_comment_token": "Authentication token. May be used instead of 'password' above.",
"token": "",
"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": false,
"_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": "true",
"_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_non_blocking_saving": "Highly experimental feature, enable only at your own risk of losing your saves. On UNIX systems, server will fork itself to create an autosave. Autosaving on connected Windows clients will be disabled regardless of autosave_only_on_server option.",
"non_blocking_saving": false,
"_comment_admins": "List of case insensitive usernames, that will be promoted immediately",
"admins": ["GluAp"]
}
The Setup for itself runs perfectly. The second factorio instance connects to the server. But still - no permissions.
Generally I'm somewhat proud that I made it that far, but now I'm out of knowledge / options and somewhat pissed, mostly because I can't unterstand why this mechanic was implemented that way (I can't imagine a good reason).
I hope, I described my problem properly. Now it's up to you. Please
