Register for your free account! | Forgot your password?

You last visited: Today at 12:59

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

Advertisement



need help with gift silk

Discussion on need help with gift silk within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1

 
Bocc1337's Avatar
 
elite*gold: 737
Join Date: Oct 2007
Posts: 730
Received Thanks: 133
need help with gift silk

Hello im trying to use gift silk for currency for some items.. when i add the item into npc for gift silk any one can buy the item with out any gift silk in there account.. can any one give me a direction on where i can fix this problem?
I know silk point would work but i don't know the code.
Example:
Real silk = [CGI_WebPurchaseSilk]
Gift silk = [CGI_WebPurchaseSilk199]
silk point = ?

HELP
Bocc1337 is offline  
Old 01/22/2015, 15:54   #2

 
elite*gold: 27
Join Date: Jan 2015
Posts: 1,343
Received Thanks: 892
create this procedure.
Quote:
USE [SRO_VT_ACCOUNT]
GO
/****** Object: StoredProcedure [dbo].[_AddSilkCharID] Script Date: 1/22/2015 6:50:16 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

CREATE PROCEDURE [dbo].[_AddSilkByCharID]
@charid int,
@silk_point int
AS
-------------------------------
declare @Userid int = (SELECT UserJID FROM SRO_VT_SHARD.dbo._User WHERE (CharID = @Charid))
-------------------------------
begin
DECLARE @Silk int
set @Silk = 0

SELECT JID FROM SK_Silk WHERE (JID = @userid)
if (@@error <> 0 or @@rowcount = 0 or @Silk is null)
begin
INSERT INTO SK_Silk (JID, silk_own, silk_gift, silk_point) VALUES (@Userid,0,0,@silk_point)
end
else
begin
UPDATE SRO_VT_ACCOUNT.dbo.SK_Silk SET silk_point += @silk_point WHERE (JID = @userid)
end
end
and to execute it you must have the charid (so easy to get and i'm sure you know how to get it) and specify the silk amount . example;
Quote:
Exec _AddSilkByCharID CharID,Silk point amount
Aaron* is offline  
Old 01/22/2015, 18:33   #3
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 524
@JOCS
you didnt get what he mean ..
if im right i think he using the Gift silk payment iD ' 16 ' in Payments he replace gold '1' or whatever payment method !!

@topic
i ddint tested it before but simply Check RefPrice from both sides Media & Server
Eslam Galull is offline  
Old 01/22/2015, 23:57   #4

 
Bocc1337's Avatar
 
elite*gold: 737
Join Date: Oct 2007
Posts: 730
Received Thanks: 133
yeah im using gift silk for rewards for job but items in the npc for gift silk you get for free.. i did test silk point and it will work for npc but cant find the change for silk point for the job system. to add silk point instead of gift silk

Quote:
Originally Posted by its.soul View Post
@JOCS
you didnt get what he mean ..
if im right i think he using the Gift silk payment iD ' 16 ' in Payments he replace gold '1' or whatever payment method !!

@topic
i ddint tested it before but simply Check RefPrice from both sides Media & Server
Yeah i checked both db and media .. both are set on 16
Bocc1337 is offline  
Old 01/23/2015, 13:03   #5

 
elite*gold: 27
Join Date: Jan 2015
Posts: 1,343
Received Thanks: 892
I can't understand you. add me on skype and explain your problem.
skype : auroraofficial
Aaron* is offline  
Reply


Similar Threads Similar Threads
AvengersSro.Online ll Cap 110 ll PvE Server ll Silk Per Hour ll First 50ppl Take Gift
08/03/2013 - SRO PServer Advertising - 2 Replies
Welcome To Avengers.Sro-Online!! Site Of FB:https://www.facebook.com/BestDg11Server Site Of Game :AvengerS-Sro Offical WepSite | Home Page Register:AvengerS-Sro Offical WepSite | Home Page Download:AvengerS-Sro Offical WepSite | Download
Xperia ONLİNE - 110 CAP 14.06.2013 18:00 /Fortess War 3.000 Silk Gift
06/13/2013 - SRO PServer Advertising - 16 Replies
http://k1306.hizliresim.com/1b/f/p3mk9.jpg http://o1306.hizliresim.com/1b/9/ny0dx.png Offical Page = Xperia Online Private Server http://o1306.hizliresim.com/1b/9/ny0dx.png Downloand = Xperia Online Client http://o1306.hizliresim.com/1b/9/ny0dx.png Register = Xperia Online Register http://o1306.hizliresim.com/1b/9/ny0dx.png Facebook =Xperia Online http://o1306.hizliresim.com/1b/8/nxypy.png
SroGean 130Cap New Devil spirits.200 silk Gift
06/26/2012 - SRO PServer Advertising - 2 Replies
-----> The first 3 130 Lvl persons 10 000 silk:) -----> 200 silk gift to all those people who create new char:) -----> Added "S grade devil and Angel Spirit devil. -----> Server Website: -----> Facebook Link: -----> Full Client: http://31.210.102.120:8090/Srogean.rar -----> Mediafire 8 part: Free Cloud Storage - MediaFire -----Start İtems-----
Make item bought by Silk Gift can not be traded ?
06/02/2012 - SRO Private Server - 3 Replies
I want to make item mall bought by silk gift can not be trade. How to do that ? Thanks !
Frage zu Gift Silk
08/08/2006 - Silkroad Online - 2 Replies
Hi, wenn man bei der item mall guckt gibt es auch Gift Silk... auf gut deutsch silk verschenken Ich habe bei einem meiner char's das limit erreicht und will jetzt von einem anderem char die silk auf den char draufladen... die frage nun: geht das so wie ich es mein oder versteh ich da was falsch ? EDIT: Bei Paypal ist es so... er sagt mir das ich erst wieder ab 0:00 Korenische Zeit silk laden kann..



All times are GMT +1. The time now is 13:00.


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.