View Single Post
  #3  
Old 02-03-2003, 04:52 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Heres where we send the number of items

int cpisize = sizeof(MerchantItem_Struct) + (29 * sizeof(MerchantItemD_S
truct));^M
MerchantItem_Struct* cpi = (MerchantItem_Struct*) new uchar[cpisize];^M
memset(cpi, 0, cpisize);^M

const Item_Struct *item;
for (unsigned int i=0;i<database.GetMerchantListNumb(merchant_id) && i <
29; i++)

Im not much of a packet mangler, so
Im not sure if we can just up this number, but we can always check..

I'll see if I can up it to 36 tonight and see if it works.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote