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:
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!
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!