From: Paramat Date: Thu, 31 Jan 2019 19:28:14 +0000 (+0000) Subject: Settings: Slightly increase block generate, block send, object send distances (#8147) X-Git-Tag: 5.0.0~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d521e61ba7c6e661db17def880ef600aa6e81149;p=oweals%2Fminetest.git Settings: Slightly increase block generate, block send, object send distances (#8147) --- diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index aea1d8a5e..1586e1dd6 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -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 # to maintain active objects up to this distance in the direction the # 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 # 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 # 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. 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 # 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). # Only mapchunks completely within the mapgen limit are generated. diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 64231c74c..95e03b1a9 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -340,11 +340,11 @@ void set_default_settings(Settings *settings) settings->setDefault("ask_reconnect_on_crash", "false"); 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("max_simultaneous_block_sends_per_client", "1"); // 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("server_side_occlusion_culling", "true"); settings->setDefault("csm_restriction_flags", "62"); @@ -401,7 +401,7 @@ void set_default_settings(Settings *settings) settings->setDefault("chunksize", "5"); settings->setDefault("mg_flags", "dungeons"); 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("enable_mapgen_debug_info", "false");