[Fix] Update trader add/remove packets to limits for RoF2 (#4595)

* Update trader add/remove to limit for RoF2

Update trader add/remove to limit for RoF2

* Update for feedback

---------

Co-authored-by: Mitch Freeman <neckkola@gmail.com>
This commit is contained in:
Mitch Freeman
2025-01-19 18:37:09 -04:00
committed by GitHub
parent 035c51944f
commit d47bf687d0
3 changed files with 32 additions and 16 deletions
+2
View File
@@ -3225,6 +3225,8 @@ void Client::SendBulkBazaarTraders()
EQ::constants::StaticLookup(ClientVersion())->BazaarTraderLimit
);
SetTraderCount(results.count);
auto p_size = 4 + 12 * results.count + results.name_length;
auto buffer = std::make_unique<char[]>(p_size);
memset(buffer.get(), 0, p_size);