Sign in to follow this  
misterM

Cash Shop Control Panel

Recommended Posts

Hello rathena. A time ago beret posted the packets of a system in the forum of hercules, and the topic was hidden, I could see the content before it gets hidden and I found it interesting. 

 

This system allows you to add items in the cash shop with the day and time to insert and time that the item remains in the shop before it was removed.

 

2qduatc.png

 

Packets by Beret:

// packet = 0x9ac
struct PACKET_CZ_REQ_CASH_BARGAIN_SALE_ITEM_INFO {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ short PacketLength
  /* this+0x4 */ unsigned long AID
}
 
// packet = 0x9ad
struct PACKET_ZC_ACK_CASH_BARGAIN_SALE_ITEM_INFO {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ short Result
  /* this+0x4 */ unsigned short ItemID
  /* this+0x6 */ int Price
}
 
// packet = 0x9ae
struct PACKET_CZ_REQ_APPLY_BARGAIN_SALE_ITEM {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ unsigned long AID
  /* this+0x6 */ unsigned short ItemID
  /* this+0x8 */ int Count
  /* this+0xc */ int StartDate
  /* this+0x10 */ unsigned char SellingTime
}
 
// packet = 0x9af
struct PACKET_ZC_ACK_APPLY_BARGAIN_SALE_ITEM {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ short Result
}
 
// packet = 0x9b0
struct PACKET_CZ_REQ_REMOVE_BARGAIN_SALE_ITEM {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ unsigned long AID
  /* this+0x6 */ unsigned short ItemID
}
 
// packet = 0x9b1
struct PACKET_ZC_ACK_REMOVE_BARGAIN_SALE_ITEM {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ short Result
}
 
// packet = 0x9b2
struct PACKET_ZC_NOTIFY_BARGAIN_SALE_SELLING {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ unsigned short ItemID
  /* this+0x4 */ short TabCode
}
 
// packet = 0x9b3
struct PACKET_ZC_NOTIFY_BARGAIN_SALE_CLOSE {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ unsigned short ItemID
  /* this+0x4 */ short TabCode
}
 
// packet = 0x9b4
struct PACKET_CZ_OPEN_BARGAIN_SALE_TOOL {
  /* this+0x0 */ short PacketType
  /* this+0x2 */ unsigned long AID
}
 
// packet = 0x9b5
struct PACKET_ZC_OPEN_BARGAIN_SALE_TOOL {
  /* this+0x0 */ short PacketType
}

Edited by misterM

Share this post


Link to post
Share on other sites
Sign in to follow this