From edc690da63e72f3449b67786903c661605771886 Mon Sep 17 00:00:00 2001 From: Mateus Elias Date: Tue, 5 Dec 2023 01:00:35 -0300 Subject: [PATCH 1/3] feat(src/map.h): increase map viewport to 16 9 --- src/map.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/map.h b/src/map.h index 781fb3c6eb..e26b65d20c 100644 --- a/src/map.h +++ b/src/map.h @@ -150,10 +150,10 @@ class QTreeLeafNode final : public QTreeNode class Map { public: - static constexpr int32_t maxViewportX = 11; // min value: maxClientViewportX + 1 - static constexpr int32_t maxViewportY = 11; // min value: maxClientViewportY + 1 - static constexpr int32_t maxClientViewportX = 8; - static constexpr int32_t maxClientViewportY = 6; + static constexpr int32_t maxViewportX = 17; //min value: maxClientViewportX + 1 + static constexpr int32_t maxViewportY = 10; //min value: maxClientViewportY + 1 + static constexpr int32_t maxClientViewportX = 16; + static constexpr int32_t maxClientViewportY = 9; uint32_t clean() const; From 228a3c2dcfaa919d096952f83252e1e7e2dcf043 Mon Sep 17 00:00:00 2001 From: Mateus Elias Date: Tue, 5 Dec 2023 03:23:25 -0300 Subject: [PATCH 2/3] feat(src/map.h): increase map viewport to 32 18 --- src/map.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/map.h b/src/map.h index e26b65d20c..19df274de5 100644 --- a/src/map.h +++ b/src/map.h @@ -150,10 +150,10 @@ class QTreeLeafNode final : public QTreeNode class Map { public: - static constexpr int32_t maxViewportX = 17; //min value: maxClientViewportX + 1 - static constexpr int32_t maxViewportY = 10; //min value: maxClientViewportY + 1 - static constexpr int32_t maxClientViewportX = 16; - static constexpr int32_t maxClientViewportY = 9; + static constexpr int32_t maxViewportX = 33; //min value: maxClientViewportX + 1 + static constexpr int32_t maxViewportY = 19; //min value: maxClientViewportY + 1 + static constexpr int32_t maxClientViewportX = 32; + static constexpr int32_t maxClientViewportY = 18; uint32_t clean() const; From d4f165ae214152299be55461d59335b5b624d348 Mon Sep 17 00:00:00 2001 From: Mateus Elias Date: Tue, 5 Dec 2023 03:23:48 -0300 Subject: [PATCH 3/3] feat(src/const.h): increase the 'NETWORKMESSAGE_MAXSIZE' --- src/const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.h b/src/const.h index 6dbc04df45..9152c47f88 100644 --- a/src/const.h +++ b/src/const.h @@ -4,7 +4,7 @@ #ifndef FS_CONST_H #define FS_CONST_H -static constexpr int32_t NETWORKMESSAGE_MAXSIZE = 24590; +static constexpr int32_t NETWORKMESSAGE_MAXSIZE = 40000; static constexpr int32_t MIN_MARKET_FEE = 20; static constexpr int32_t MAX_MARKET_FEE = 100000;