Register for your free account! | Forgot your password?

You last visited: Today at 17:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Silk Scroll Procedure

Discussion on [Release] Silk Scroll Procedure within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2014
Posts: 93
Received Thanks: 22
Thumbs up [Release] Silk Scroll Procedure

Here it is

Add this to LOG_DB. _AddLogChar

Quote:
DECLARE @CharName VARCHAR(56)
declare @USERID_1 varchar(64);
declare @USERID_2 varchar(64);
IF @Operation = '41' - scroll used
BEGIN
IF @ItemRefID = '48872' -- Silk (50)
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)
--1--
EXEC [SRO_VT_ACCOUNT].[CGI].[CGI_WebPurchaseSilk] @OrderID = NULL, @UserID = @USERID_1, @PkgID = NULL, @NumSilk = 50, @Price = 50
END
ELSE IF @ItemRefID = '48873' -- Silk (100)
BEGIN
SET @USERID_2 = (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)
--1--
EXEC [SRO_VT_ACCOUNT].[CGI].[CGI_WebPurchaseSilk] @OrderID = NULL, @UserID = @USERID_2, @PkgID = NULL, @NumSilk = 100, @Price = 100
END
END
Tyr* is offline  
Thanks
1 User
Old 11/22/2014, 13:02   #2
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,398
Received Thanks: 6,509
#Approved
PortalDark is offline  
Old 11/22/2014, 13:42   #3
 
elite*gold: 0
Join Date: Oct 2014
Posts: 93
Received Thanks: 22
Quote:
Originally Posted by PortalDark View Post
#Approved
finally,after 2 days of waiting xD , thank you anyway ^^
Tyr* is offline  
Old 11/24/2014, 18:18   #4
 
elite*gold: 0
Join Date: Aug 2014
Posts: 21
Received Thanks: 5
Thx
OfficialSro is offline  
Reply


Similar Threads Similar Threads
Silk Scroll - 1000
06/06/2022 - SRO PServer Guides & Releases - 68 Replies
Hi, I have decided to release this after seeing 3 members requesting it. Thread; Silk Scroll Whatever. Database; - RefObjCommon: 1 36790 ITEM_SILK_SCROLL_1000 ????? xxx SN_ITEM_S ILK_SCROLL_1000 SN_ITEM_SILK_SCROLL_1000_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\etc\si lk_scroll.ddj xxx xxx 26713
Release Lottery Silk Scroll
12/14/2017 - SRO PServer Guides & Releases - 1 Replies
am beginner SQL :D 1. 1 36790 ITEM_SILK_SCROLL_Lottery ????? xxx SN_ITEM _SILK_SCROLL_Lottery SN_ITEM_SILK_SCROLL_Lottery_T T_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 ite m\etc\silk_scroll.ddj xxx xxx 26713 26713 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 ?????? ...
Silk Scroll
06/15/2014 - SRO Private Server - 4 Replies
Anyone know how to make silk scroll or silk Potion? Please share it.



All times are GMT +1. The time now is 17:34.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.