Before Release :
As we know, most people can't run Cashshop service correcty if you can't fix it.
So there's many problem without Cashshop works, like Inventory and Warehouse expansion etc..
I can't fix Cashshop too, so I decide to find out how these expansion function works.
P.S. If anyone can help me fix cashshop that's very thankful! Please PM me if anyone would.
CORE :
After 2 days' researching, I found there is a very important table to make it works. (Though I guess "IT'S THEM" at the very beginning)
It's:
"DNWorld.dbo.EffectItem"
WHY?
You know, WE CAN USING /MAKEITEM COMMAND TO CREATE ALMOST ALL ITEM ALSO INCLUDE CASHITEMS.
So I tested many ways to make it done.
But at the beginning, I just using /makeitem to create an inventory expansion item into my bag, but it doesn't work.(And also the item cannot be used)
Then I walk through the whole database but don't find anything about inventory and warehouse slots.
:mad:"Fxxxxk", how them works?!
:8:Finally I realized 1 thing I've forgot: "WHEN WE BUY AN EXPANSION ITEM, IT WON'T APPEARS IN OUR BAGS BUT EFFECTS INSTANTLY."
:w00t:Yes, IT EFFECTS INSTANTLY.
:?:But WHY THERE'S ITEMS?
:thumbup1:Yes, they're "EffectItem"!
That's why I said "DNWorld.dbo.EffectItem" is the keypoint to solve this problem.
SOLVE :
Using SQL:
KeyPoint For Table:
{0} CharacterID Is your Character's Numeric Id can be found in DNMembership or DNWorld -> Characters table
{1} Item ID, it MUST BE the item with full description (Including how much slots it expans eg.5, 10 or 30 -> for Inventory or Warehouse. 1, 3 for Glyph)
{2} EternityFlag, " 'True' " or " 'False' " With "'" it makes EffectItemExprieDate row enable or not.
{3} ExpireCompleteFlag, Like EternityFlag, true for Expire.
{4} ItemSerial, 18 bits Item Indentify Number, MAKE IT NOT SAME AS ANY ITEM BEFORE, Serial is unique, 1 item has 1 serial. e.g: 123456789012345678 or 098765432109876543, both correct.
THE LAST, THE SCREEN SHOTS:
InvAndWarh.jpg
Glyph.jpg
Best Wishes.
Yours,
FFFFF from China
@TouhouACTClub Technology
As we know, most people can't run Cashshop service correcty if you can't fix it.
So there's many problem without Cashshop works, like Inventory and Warehouse expansion etc..
I can't fix Cashshop too, so I decide to find out how these expansion function works.
P.S. If anyone can help me fix cashshop that's very thankful! Please PM me if anyone would.
CORE :
After 2 days' researching, I found there is a very important table to make it works. (Though I guess "IT'S THEM" at the very beginning)
It's:
"DNWorld.dbo.EffectItem"
WHY?
You know, WE CAN USING /MAKEITEM COMMAND TO CREATE ALMOST ALL ITEM ALSO INCLUDE CASHITEMS.
So I tested many ways to make it done.
But at the beginning, I just using /makeitem to create an inventory expansion item into my bag, but it doesn't work.(And also the item cannot be used)
Then I walk through the whole database but don't find anything about inventory and warehouse slots.
:mad:"Fxxxxk", how them works?!
:8:Finally I realized 1 thing I've forgot: "WHEN WE BUY AN EXPANSION ITEM, IT WON'T APPEARS IN OUR BAGS BUT EFFECTS INSTANTLY."
:w00t:Yes, IT EFFECTS INSTANTLY.
:?:But WHY THERE'S ITEMS?
:thumbup1:Yes, they're "EffectItem"!
That's why I said "DNWorld.dbo.EffectItem" is the keypoint to solve this problem.
SOLVE :
Using SQL:
Code:
INSERT INTO DNWorld.dbo.EffectItems (CharacterID,ItemID,EffectItemGetCode,EffectItemGetKey,Price,EternityFlag,EffectItemExpireDate,Property1,Property2,Property3,Property4,Property5,RegisterDate,ExpireCompleteFlag,ItemSerial) VALUES ({0},{1},1,1,1,{2}, '2024-01-01 00:00:00',0,0,0,0,0,GETDATE(),'{3},{4})
{0} CharacterID Is your Character's Numeric Id can be found in DNMembership or DNWorld -> Characters table
{1} Item ID, it MUST BE the item with full description (Including how much slots it expans eg.5, 10 or 30 -> for Inventory or Warehouse. 1, 3 for Glyph)
{2} EternityFlag, " 'True' " or " 'False' " With "'" it makes EffectItemExprieDate row enable or not.
{3} ExpireCompleteFlag, Like EternityFlag, true for Expire.
{4} ItemSerial, 18 bits Item Indentify Number, MAKE IT NOT SAME AS ANY ITEM BEFORE, Serial is unique, 1 item has 1 serial. e.g: 123456789012345678 or 098765432109876543, both correct.
THE LAST, THE SCREEN SHOTS:
InvAndWarh.jpg
Glyph.jpg
Best Wishes.
Yours,
FFFFF from China
@TouhouACTClub Technology