Jump to content

Cash Shop Control Panel


misterM

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  01/05/14
  • Last Seen:  

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
Link to comment
Share on other sites

  • 4 months later...

  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

Implemented in Git Hash: aaa4ea9.

Link to comment
Share on other sites

×
×
  • Create New...