Error after adding item to game

08/04/2020 13:04 babalicule#1
Hello.

I am making my own private server.
I am trying to add 12dg items to the DB.
I added one item to try it out, 12dg Chinese sword.
The item is enabled (service = 1) in RefObjCommon in the SQL Database.
However, when I try to launch the game I get the Error found while running silkroad error.


Here is what my refpackageitem, scrapofpackageitem, and refpricepolicyofitem look like (only including the last lines so the post isn't too long):

refpackageitem:

Code:
1	15	1998	PACKAGE_ITEM_EU_W_CLOTHES_11_FA_A_RARE	0	EXPAND_TERM_ALL	SN_ITEM_EU_CLOTHES_11_FA_A_RARE	SN_ITEM_EU_CLOTHES_11_FA_A_RARE_TT_DESC	item\europe\woman_item\clothes_11_fa.ddj	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	1999	PACKAGE_ITEM_CH_SWORD_12_C_RARE	0	EXPAND_TERM_ALL	SN_ITEM_CH_SWORD_12_C_RARE	SN_ITEM_CH_SWORD_12_C_RARE_TT_DESC	item\china\weapon\sword_12.ddj	-1	xxx	-1	xxx	-1	xxx	-1	xxx
NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
refscrapofpackageitem:
Code:
1	15	PACKAGE_ITEM_EU_W_CLOTHES_11_FA_A_RARE	ITEM_EU_W_CLOTHES_11_FA_A_RARE	3	0	66	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	1957
1	15	PACKAGE_ITEM_CH_SWORD_12_C_RARE	ITEM_CH_SWORD_12_C_RARE	3	0	135	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	1958
NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
refpricepolicyofitem:
Code:
1	15	PACKAGE_ITEM_CH_SWORD_12_C_RARE	1	0	1000	-1	xxx	-1	xxx	-1	xxx	-1	xxx	3149
NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
When I add these 3 to my media pk, I get the error (picture included in post). However, when I remove the new lines (specifically the one including the sword) from refscrapofpackageitem I can launch the game again.
Why does this happen ? What can I do ?
08/04/2020 17:49 Muse*#2
Are you even able to use the item? (Before adding it to a NPC)
Try /makeitem to see if you added _RefObjCommon/_RefObjItem records and itemdata50000.txt correctly.
08/04/2020 20:00 blackrider1234#3
got the same now xD using a pandorabox
08/04/2020 20:20 Emerald Garden SRO#4
Quote:
Originally Posted by babalicule View Post
Hello.

I am making my own private server.
I am trying to add 12dg items to the DB.
I added one item to try it out, 12dg Chinese sword.
The item is enabled (service = 1) in RefObjCommon in the SQL Database.
However, when I try to launch the game I get the Error found while running silkroad error.


Here is what my refpackageitem, scrapofpackageitem, and refpricepolicyofitem look like (only including the last lines so the post isn't too long):

refpackageitem:

Code:
1	15	1998	PACKAGE_ITEM_EU_W_CLOTHES_11_FA_A_RARE	0	EXPAND_TERM_ALL	SN_ITEM_EU_CLOTHES_11_FA_A_RARE	SN_ITEM_EU_CLOTHES_11_FA_A_RARE_TT_DESC	item\europe\woman_item\clothes_11_fa.ddj	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	1999	PACKAGE_ITEM_CH_SWORD_12_C_RARE	0	EXPAND_TERM_ALL	SN_ITEM_CH_SWORD_12_C_RARE	SN_ITEM_CH_SWORD_12_C_RARE_TT_DESC	item\china\weapon\sword_12.ddj	-1	xxx	-1	xxx	-1	xxx	-1	xxx
NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
refscrapofpackageitem:
Code:
1	15	PACKAGE_ITEM_EU_W_CLOTHES_11_FA_A_RARE	ITEM_EU_W_CLOTHES_11_FA_A_RARE	3	0	66	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	1957
1	15	PACKAGE_ITEM_CH_SWORD_12_C_RARE	ITEM_CH_SWORD_12_C_RARE	3	0	135	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	1958
NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
refpricepolicyofitem:
Code:
1	15	PACKAGE_ITEM_CH_SWORD_12_C_RARE	1	0	1000	-1	xxx	-1	xxx	-1	xxx	-1	xxx	3149
NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
When I add these 3 to my media pk, I get the error (picture included in post). However, when I remove the new lines (specifically the one including the sword) from refscrapofpackageitem I can launch the game again.
Why does this happen ? What can I do ?

Kind of offtopic, but why do you not use a 12 degree database/client that's out there?