View Single Post
  #1  
Old 10-12-2015, 04:47 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 905
Default 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 View Post
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!
__________________
Clumsy's World: Resurgence
Clumsy's World [2006-2012]
Reply With Quote