mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-04 00:02:24 +00:00
Modified quantity in Merchant_Sell_Struct to be uint32 in accordance with Merchant_Purchase_Struct. This will allow you to buy stacks of items beyond 255. (Tested with a stack of 1,000 Arrows.)
This commit is contained in:
parent
6db350790e
commit
28c5b32624
@ -1934,8 +1934,7 @@ struct Merchant_Sell_Struct {
|
|||||||
/*004*/ uint32 playerid; // Player's entity id
|
/*004*/ uint32 playerid; // Player's entity id
|
||||||
/*008*/ uint32 itemslot;
|
/*008*/ uint32 itemslot;
|
||||||
uint32 unknown12;
|
uint32 unknown12;
|
||||||
/*016*/ uint8 quantity; // Already sold
|
/*016*/ uint32 quantity;
|
||||||
/*017*/ uint8 Unknown016[3];
|
|
||||||
/*020*/ uint32 price;
|
/*020*/ uint32 price;
|
||||||
};
|
};
|
||||||
struct Merchant_Purchase_Struct {
|
struct Merchant_Purchase_Struct {
|
||||||
|
|||||||
@ -1880,8 +1880,7 @@ struct Merchant_Sell_Struct {
|
|||||||
/*004*/ uint32 playerid; // Player's entity id
|
/*004*/ uint32 playerid; // Player's entity id
|
||||||
/*008*/ uint32 itemslot;
|
/*008*/ uint32 itemslot;
|
||||||
/*012*/ uint32 unknown12;
|
/*012*/ uint32 unknown12;
|
||||||
/*016*/ uint8 quantity; // Already sold
|
/*016*/ uint32 quantity;
|
||||||
/*017*/ uint8 Unknown017[3];
|
|
||||||
/*020*/ uint32 Unknown020;
|
/*020*/ uint32 Unknown020;
|
||||||
/*024*/ uint32 price;
|
/*024*/ uint32 price;
|
||||||
/*028*/ uint32 pricehighorderbits; // It appears the price is 64 bits in SoD+
|
/*028*/ uint32 pricehighorderbits; // It appears the price is 64 bits in SoD+
|
||||||
|
|||||||
@ -1859,8 +1859,7 @@ struct Merchant_Sell_Struct {
|
|||||||
/*004*/ uint32 playerid; // Player's entity id
|
/*004*/ uint32 playerid; // Player's entity id
|
||||||
/*008*/ uint32 itemslot;
|
/*008*/ uint32 itemslot;
|
||||||
uint32 unknown12;
|
uint32 unknown12;
|
||||||
/*016*/ uint8 quantity; // Already sold
|
/*016*/ uint32 quantity;
|
||||||
/*017*/ uint8 Unknown016[3];
|
|
||||||
/*020*/ uint32 price;
|
/*020*/ uint32 price;
|
||||||
};
|
};
|
||||||
struct Merchant_Purchase_Struct {
|
struct Merchant_Purchase_Struct {
|
||||||
|
|||||||
@ -1657,8 +1657,7 @@ struct Merchant_Sell_Struct {
|
|||||||
/*004*/ uint32 playerid; // Player's entity id
|
/*004*/ uint32 playerid; // Player's entity id
|
||||||
/*008*/ uint32 itemslot;
|
/*008*/ uint32 itemslot;
|
||||||
uint32 unknown12;
|
uint32 unknown12;
|
||||||
/*016*/ uint8 quantity; // Already sold
|
/*016*/ uint32 quantity;
|
||||||
/*017*/ uint8 Unknown016[3];
|
|
||||||
/*020*/ uint32 price;
|
/*020*/ uint32 price;
|
||||||
};
|
};
|
||||||
struct Merchant_Purchase_Struct {
|
struct Merchant_Purchase_Struct {
|
||||||
|
|||||||
@ -1921,8 +1921,7 @@ struct Merchant_Sell_Struct {
|
|||||||
/*004*/ uint32 playerid; // Player's entity id
|
/*004*/ uint32 playerid; // Player's entity id
|
||||||
/*008*/ uint32 itemslot;
|
/*008*/ uint32 itemslot;
|
||||||
/*012*/ uint32 unknown12;
|
/*012*/ uint32 unknown12;
|
||||||
/*016*/ uint8 quantity; // Already sold
|
/*016*/ uint32 quantity;
|
||||||
/*017*/ uint8 Unknown017[3];
|
|
||||||
/*020*/ uint32 Unknown020;
|
/*020*/ uint32 Unknown020;
|
||||||
/*024*/ uint32 price;
|
/*024*/ uint32 price;
|
||||||
/*028*/ uint32 pricehighorderbits; // It appears the price is 64 bits in Underfoot+
|
/*028*/ uint32 pricehighorderbits; // It appears the price is 64 bits in Underfoot+
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user