From 2e70fa6538c08bc3a23847552c4693f94daec96b Mon Sep 17 00:00:00 2001 From: Crypto137 Date: Tue, 10 Jan 2023 08:41:07 +0300 Subject: [PATCH] Increase default stash size --- .../BGS-Server/AccountsSystem/GameAccountManager.cs | 6 +++--- .../D3-GameServer/GSSystem/PlayerSystem/Inventory.cs | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/DiIiS-NA/BGS-Server/AccountsSystem/GameAccountManager.cs b/src/DiIiS-NA/BGS-Server/AccountsSystem/GameAccountManager.cs index 8afc7b9..7a4a30d 100644 --- a/src/DiIiS-NA/BGS-Server/AccountsSystem/GameAccountManager.cs +++ b/src/DiIiS-NA/BGS-Server/AccountsSystem/GameAccountManager.cs @@ -76,9 +76,9 @@ namespace DiIiS_NA.LoginServer.AccountsSystem ParagonLevelHardcore = 0, Experience = 7200000, ExperienceHardcore = 7200000, - StashSize = 70, - HardcoreStashSize = 70, - SeasonStashSize = 70, + StashSize = 700, // Default stash sizes should be 70 with purchasable upgrades + HardcoreStashSize = 700, + SeasonStashSize = 700, BloodShards = 0, HardcoreBloodShards = 0, BossProgress = new byte[] { 0xff, 0xff, 0xff, 0xff, 0xff }, diff --git a/src/DiIiS-NA/D3-GameServer/GSSystem/PlayerSystem/Inventory.cs b/src/DiIiS-NA/D3-GameServer/GSSystem/PlayerSystem/Inventory.cs index 7ac3128..c6a67f1 100644 --- a/src/DiIiS-NA/D3-GameServer/GSSystem/PlayerSystem/Inventory.cs +++ b/src/DiIiS-NA/D3-GameServer/GSSystem/PlayerSystem/Inventory.cs @@ -2418,8 +2418,7 @@ namespace DiIiS_NA.GameServer.GSSystem.PlayerSystem _owner.World.Game.GameDBSession.SessionGet(_owner.Toon.GameAccount.PersistentID).StashSize; if (slots > 0) { - //_owner.Attributes[GameAttribute.Shared_Stash_Slots] = slots; - _owner.Attributes[GameAttribute.Shared_Stash_Slots] = 700; // HACK: Give player 10 stash tabs. Remove this when tab purchasing gets fixed. + _owner.Attributes[GameAttribute.Shared_Stash_Slots] = slots; _owner.Attributes.BroadcastChangedIfRevealed(); // To be applied before loading items, to have all the space needed _stashGrid.ResizeGrid(_owner.Attributes[GameAttribute.Shared_Stash_Slots] / 7, 7);