| 
				 Merchant Bug and Fix 
 Merchants currently have a bug in 3.1.1 where they miss the last item in the list of items to be sold.
 zone/client_process.cpp:
 
 case OP_ShopRequest: {
 
 ...
 
 for(int x=1; x < database.GetMerchantListNumb(merchantid) && x < 30; x++)
 
 should be:
 
 for(int x=0; x < database.GetMerchantListNumb(merchantid) && x < 29; x++)
 
 ...
 
 uint16 item_nr = database.GetMerchantData(merchantid,x);
 
 should be:
 
 uint16 item_nr = database.GetMerchantData(merchantid,x+1);
 
 ...
 
 item->equipSlot = x-1;			// this needs to be incremented in loop.
 
 should be:
 
 item->equipSlot = x;			// this needs to be incremented in loop.
 |