[QUESTION] Silk Scroll

07/09/2019 05:07 suntrockdinokna#1
Hello everyone , i have a question about silk scroll.
I used this tutorial to add silk scrolls to my server , everything works fine except the fact that scroll does not give me any silk.Can anyone tell me
what is wrong in this tutorial.

[Only registered and activated users can see links. Click Here To Register...]

Thank you very much!
07/09/2019 11:54 Piskota#2
@[Only registered and activated users can see links. Click Here To Register...]


Code:
--- ObjCommon & ObjItem:

1	300015	ITEM_1_SILK_SCROLL	?????	xxx	SN_ITEM_1_SILK_SCROLL	SN_ITEM_1_SILK_SCROLL_TT_DESC	1	0	3	3	3	1	180000	3	0	1	1	1	255	0	1	0	0	1	0	100	0	0	0	0	0	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_mall_scroll.bsr	item\custom\silkscroll.ddj	xxx	xxx	1	2	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	1000	????	1	??????                                                                                                                           	-1	RESURRECT	1000	COOLTIME:0x00000000	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	0	0


--- LOG DB > ADDLOGITEM:

declare @ USERID_1 varchar(64)

IF (@ Operation = 41 AND @ ItemRefID = 300015)
BEGIN
SET @ USERID_1 = (Select StrUserID from SRO_VT_ACCOUNT.dbo.TB_User inner join SRO_VT_SHARD.dbo._User
On SRO_VT_SHARD.dbo._User.UserJID = SRO_VT_ACCOUNT.dbo.TB_User.JID where SRO_VT_SHARD.dbo._User.CharID = @ Charid)
EXEC [SRO_VT_ACCOUNT].[CGI].[CGI_WebPurchaseSilk]    [MENTION=4225629]orderi[/MENTION]D = NULL,    [MENTION=831308]userid[/MENTION] = @ USERID_1, @ PkgID = NULL, @ NumSilk = 1, @ Price = 1
END
Operation = 41 is for scrolls like return scroll & my silk scroll as well. It may be your scroll works with a different one. If still doesnt work try to exchange ur gameserver.
GL

ps: its 1 silk scroll but you can edit is easily