aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-01-31 19:28:14 +0000
committerGitHub <noreply@github.com>2019-01-31 19:28:14 +0000
commitd521e61ba7c6e661db17def880ef600aa6e81149 (patch)
tree733e8406f26a3db002fd8be6e26e0deaf7687026
parent572ba83b3084e3d3abd294acb914746d29822a98 (diff)
downloadminetest-d521e61ba7c6e661db17def880ef600aa6e81149.tar.gz
minetest-d521e61ba7c6e661db17def880ef600aa6e81149.tar.bz2
minetest-d521e61ba7c6e661db17def880ef600aa6e81149.zip
Settings: Slightly increase block generate, block send, object send distances (#8147)
-rw-r--r--builtin/settingtypes.txt6
-rw-r--r--src/defaultsettings.cpp6
2 files changed, 6 insertions, 6 deletions
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");