Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Adding items to the agent shop and generating ItemSerials

Initiate Mage
Joined
Apr 20, 2017
Messages
3
Reaction score
0
I had the idea that I want to add items to the agent shop to allow users to buy them there instead putting them into the cash shop.

To insert into the cabal_agentshop_sale_table we need to fill the following fields:
  • [UserNum] - user ID
  • [SlotIdx] - slot ID
  • [CharacterName] - duh
  • [ItemUnit] - this is the binary data of the item
  • [ItemCount] - how many of them
  • [Price] - price you sell for
  • [ExInfo] - ??? usually NULL
  • [SoldItemCount] - initial value of 0
  • [ItemSerials] - this is probably the unique ID of the item (fe: 0x02000004)
  • [Expiration] - when the sale expires
  • [Registration] - when the sale was registered
  • [C1] - the item type (fe: greatsword)
  • [C2] - the material of the item (fe: shadowsteel)
  • [C3] - the grade of the item (fe: +1)
  • [C4] - ??? epic of the item maybe

So I have problems with the red fields unfortunately.

Question 1:
- Does anyone know how to generate unique item serials?

I saw that there is a cabal_itemserial_table and it is probably saved there, but sadly I cannot figure out the math part.

Question 2:
- Does anyone have the possible values for C1-C4? (well, worst case I will experiment with them and extract them later)

Please let me know if I missed something! Thank you!
 
Back
Top