Dedicated server uses same map every time.

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
supperslash
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Mar 05, 2017 7:14 pm
Contact:

Dedicated server uses same map every time.

Post by supperslash »

I love factorio so much I have a small group of friends playing with me so I rented a [dedicated] server for everyone to play on so lag issues would not be a problem.

However, as I do not have direct access to the server here is the issue we are haveing.
Every time I restart the server by the online "server portal" the server restarts with the same map EVERY TIME.

There is an option to upload your own maps to the server, however, all uploads are looked over by someone before they are available for use.
I understand that I can spend a day and generate maps on my PC, name every one of them separately, upload them to the server, then every time I restart the server load one of those maps.
But I am hoping there is an easier way to make random maps with what I DO have access to, or maybe a server command, or a mod that I can use.

  • config.ini
    map-gen-settings.json
    server-settings.json

Thease files are editable to me.

So I am wondering if there is a way to add a "seed" or map key to these files to easily make a new map.
As for now here is the code in each file.
config.ini

Code: Select all

[path]
read-data=__PATH__executable__\data
write-data=$$ConfigPath$$
[general]
locale=en
[other]
tooltip_delay=0.0399999991
max_threads=2
show_tips_and_tricks=false
autosort_inventory=true
research_finished_stops_game=true
use_item_groups=true
use_item_subgroups=true
output_console_delay=1200
autosave_interval=$$autosave$$
autosave_slots=1
enable_latency_hiding=true
enable_new_mods=true
port=$$port$$
check_updates=true
enable_experimental_updates=false
proxy=
verbose-logging=false
[debug]
show_fps=basic
show_detailed_info=basic
show_time_used_percent=basic
show_multiplayer_waiting_icon=basic
show_multiplayer_waiting_statistics=basic
show_tile_grid=full
show_collision_rectangles=detailed
show_selection_rectangles=detailed
show_paths=full
show_next_waypoint_bb=full
show_target=full
show_unit_group_info=full
show_unit_stuck_info=full
show_last_path_detail=full
show_path_cache=full
show_path_cache_paths=full
show_rail_paths=full
show_rolling_stock_count=full
show_rail_connections=detailed
show_rail_segments=detailed
show_rail_joints=detailed
show_train_stop_point=detailed
show_train_braking_distance=full
show_train_signals=full
show_network_connected_entities=detailed
show_circuit_network_numbers=detailed
show_energy_sources_networks=detailed
show_active_state=detailed
show_pollution_values=full
show_active_entities_on_chunk_counts=full
show_active_chunks=full
show_enemy_expansion_candidate_chunks=full
show_tile_variations=full
show_raw_tile_transitions=never
show_tile_correction_previews=never
show_fluid_box_fluid_info=basic
show_environment_sound_info=basic
show_logistic_robot_targets=full
[graphics]
multisampling=0
lights-render-quality=0.200000003
fullscreen=false
system-ui-scale=true
custom-ui-scale=1
preferred-screen-index=0
show-smoke=true
show-clouds=true
show-inserter-shadows=true
show-minimap=true
show-pollution-on-minimap=true
show-grid-when-paused=true
show-inserter-arrows-when-detailed-info-is-on=false
show-mining-drill-arrows-when-detailed-info-is-on=true
light-entity-info-background=false
graphics-quality=normal
v-sync=true
screenshots_queue_size=10
screenshots_threads_count=1
video-memory-usage=all
[sound]
master_volume=1
ambient_volume=0.349999994
game_effects_volume=0.699999988
gui_effects_volume=0.699999988
walking_volume=0.300000012
environment_volume=0.699999988
alert_volume=0.699999988
audible_distance=40
environment_audible_distance=15
maximum_environment_sounds=15
active_gui_volume_modifier=1.29999995
active_gui_environment_volume_modifier=0.600000024
map-gen-settings.json

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": "high"},
    "copper-ore": {"frequency": "normal", "size": "normal", "richness": "high"},
    "crude-oil": {"frequency": "normal", "size": "normal", "richness": "high"},
    "enemy-base": {"frequency": "normal", "size": "normal", "richness": "high"},
    "iron-ore": {"frequency": "normal", "size": "normal", "richness": "high"},
    "stone": {"frequency": "normal", "size": "normal", "richness": "high"}
  }
}
server-settings.json

Code: Select all

{
  "name": "Multiplay :: USA public MD gaming.",
  "description": "Just some good base building a few small mods.",
  "tags": ["USA mod", "tags"],

  "_comment_max_players": "Maximum number of players allowed, admins can join even a full server. 0 means unlimited.",
  "max_players": 50,

  "_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": "XXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "password": "XXXXXXXXXXXXXXXXXXXXXXXXXXX",

  "_comment_token": "Authentication token. May be used instead of 'password' above.",
  "token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",

  "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": 30,

  "_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": []
}
So any help on this would be appreciated. There must be a simple way of changing the maps.

supperslash
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Mar 05, 2017 7:14 pm
Contact:

Re: Dedicated server uses same map every time.

Post by supperslash »

Welp by the reply count on this post I am thinking I will just need to upload like hundred saved maps to i can just select them.

:cry: :cry: :roll: :roll: :?: :?:

User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 869
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Dedicated server uses same map every time.

Post by mexmer »

sounds like issue with your service provider most likely they use preconfigured seed.
there might have option for that in your service control panel.

since you didn't even mention service you using for your game hosting, how do you expect anyone will give you relevant info?

noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: Dedicated server uses same map every time.

Post by noliVe »

well, dont buy a server if you can have them little for free? and if you like this service go and pay it?

in our service portal we have a "RESET" button to generate a new random map with the "old" settings
maybe that could give you some help?

Random SEED control is what we both wanted to have. and somewhat like a small preview of the starting zone!!! DEAR developer!







of course it sounds like i am advertising my projekt!? YES IT IS!!!
WE are working like crazy to give away a good service to you people ;) and with your problems we create new features. so please use our service as much you like and report bugs and spam our ticket system.

Post Reply

Return to “Technical Help”