Settings: Slightly increase block generate, block send, object send distances (#8147)

This commit is contained in:
Paramat 2019-01-31 19:28:14 +00:00 committed by GitHub
parent 572ba83b30
commit d521e61ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

@ -1073,7 +1073,7 @@ ask_reconnect_on_crash (Ask to reconnect after crash) bool false
# Setting this larger than active_block_range will also cause the server # Setting this larger than active_block_range will also cause the server
# to maintain active objects up to this distance in the direction the # to maintain active objects up to this distance in the direction the
# player is looking. (This can avoid mobs suddenly disappearing from view) # player is looking. (This can avoid mobs suddenly disappearing from view)
active_object_send_range_blocks (Active object send range) int 3 active_object_send_range_blocks (Active object send range) int 4
# The radius of the volume of blocks around every player that is subject to the # The radius of the volume of blocks around every player that is subject to the
# active block stuff, stated in mapblocks (16 nodes). # active block stuff, stated in mapblocks (16 nodes).
@ -1083,7 +1083,7 @@ active_object_send_range_blocks (Active object send range) int 3
active_block_range (Active block range) int 3 active_block_range (Active block range) int 3
# From how far blocks are sent to clients, stated in mapblocks (16 nodes). # From how far blocks are sent to clients, stated in mapblocks (16 nodes).
max_block_send_distance (Max block send distance) int 9 max_block_send_distance (Max block send distance) int 10
# Maximum number of forceloaded mapblocks. # Maximum number of forceloaded mapblocks.
max_forceloaded_blocks (Maximum forceloaded blocks) int 16 max_forceloaded_blocks (Maximum forceloaded blocks) int 16
@ -1337,7 +1337,7 @@ mg_name (Mapgen name) enum v7 v5,v6,v7,valleys,carpathian,fractal,flat,singlenod
water_level (Water level) int 1 water_level (Water level) int 1
# From how far blocks are generated for clients, stated in mapblocks (16 nodes). # From how far blocks are generated for clients, stated in mapblocks (16 nodes).
max_block_generate_distance (Max block generate distance) int 6 max_block_generate_distance (Max block generate distance) int 8
# Limit of map generation, in nodes, in all 6 directions from (0, 0, 0). # Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).
# Only mapchunks completely within the mapgen limit are generated. # Only mapchunks completely within the mapgen limit are generated.

@ -340,11 +340,11 @@ void set_default_settings(Settings *settings)
settings->setDefault("ask_reconnect_on_crash", "false"); settings->setDefault("ask_reconnect_on_crash", "false");
settings->setDefault("profiler_print_interval", "0"); settings->setDefault("profiler_print_interval", "0");
settings->setDefault("active_object_send_range_blocks", "3"); settings->setDefault("active_object_send_range_blocks", "4");
settings->setDefault("active_block_range", "3"); settings->setDefault("active_block_range", "3");
//settings->setDefault("max_simultaneous_block_sends_per_client", "1"); //settings->setDefault("max_simultaneous_block_sends_per_client", "1");
// This causes frametime jitter on client side, or does it? // This causes frametime jitter on client side, or does it?
settings->setDefault("max_block_send_distance", "9"); settings->setDefault("max_block_send_distance", "10");
settings->setDefault("block_send_optimize_distance", "4"); settings->setDefault("block_send_optimize_distance", "4");
settings->setDefault("server_side_occlusion_culling", "true"); settings->setDefault("server_side_occlusion_culling", "true");
settings->setDefault("csm_restriction_flags", "62"); settings->setDefault("csm_restriction_flags", "62");
@ -401,7 +401,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("chunksize", "5"); settings->setDefault("chunksize", "5");
settings->setDefault("mg_flags", "dungeons"); settings->setDefault("mg_flags", "dungeons");
settings->setDefault("fixed_map_seed", ""); settings->setDefault("fixed_map_seed", "");
settings->setDefault("max_block_generate_distance", "7"); settings->setDefault("max_block_generate_distance", "8");
settings->setDefault("projecting_dungeons", "true"); settings->setDefault("projecting_dungeons", "true");
settings->setDefault("enable_mapgen_debug_info", "false"); settings->setDefault("enable_mapgen_debug_info", "false");