chrsschb |
10-12-2015 04:47 PM |
Alternate Currency merchant limits
I'm wondering if they retain the same 80(?) item limit as regular merchants or do they have a different limitation (hopefully higher) due to their different window and sorting features.
I found this but haven't had a chance to test yet (currently populating slowly):
Quote:
Originally Posted by NatedogEZ
(Post 231182)
I think this is limited because the client can only see a certain number of items on a merchant.. but not 100% sure on that.. if you want to mess with it.. you can though :p
client_process.cpp
Code:
void Client::BulkSendMerchantInventory(int merchant_id, int npcid) {
const Item_Struct* handyitem = nullptr;
uint32 numItemSlots=80; //The max number of items passed in the transaction.
const Item_Struct *item;
std::list<MerchantList> merlist = zone->merchanttable[merchant_id];
It seems other merchants like alternate currency ones can list up to 255 items.. (i think)
|
I'm on the UF client, so if that 255 item limit applies that'd be super nice.
Thanks!
|