Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 12:58

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

Advertisement



How to change the trade reward

Discussion on How to change the trade reward within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2015
Posts: 21
Received Thanks: 2
How to change the trade reward

i want to change the trade reward to give job point beside the gold when i going to sell my good at the NPC . Any idea out there ?
Kindly , your help would be appreciated
deathcode2 is offline  
Old 11/27/2015, 23:21   #2
 
Chiliad's Avatar
 
elite*gold: 260
Join Date: Nov 2015
Posts: 31
Received Thanks: 9
Not possible. NPC's are only hardcoded to buy items for gold.
Chiliad is offline  
Old 11/28/2015, 23:59   #3
 
Vxo's Avatar
 
elite*gold: 37
Join Date: May 2015
Posts: 345
Received Thanks: 308
Quote:
Originally Posted by Chiliad View Post
Not possible. NPC's are only hardcoded to buy items for gold.
Its true but you can give job points by trading
Vxo is offline  
Old 11/29/2015, 06:03   #4
 
Chiliad's Avatar
 
elite*gold: 260
Join Date: Nov 2015
Posts: 31
Received Thanks: 9
Quote:
Originally Posted by Vxo View Post
Its true but you can give job points by trading
You could, But i dont recommend any procedure based system...
Chiliad is offline  
Old 11/30/2015, 18:21   #5
 
elite*gold: 0
Join Date: Nov 2015
Posts: 69
Received Thanks: 17
is hard to add new money
phrenesisSRO is offline  
Old 12/10/2015, 12:41   #6
 
elite*gold: 0
Join Date: May 2015
Posts: 21
Received Thanks: 2
Quote:
Originally Posted by Vxo View Post
Its true but you can give job points by trading
Yes that's what i need to do . so is there any expert who can post the procedure code regarding this ?
deathcode2 is offline  
Old 12/12/2015, 13:55   #7
 
elite*gold: 0
Join Date: Jul 2015
Posts: 33
Received Thanks: 15
you can check at youtube will get more info about change rate
Pavo xD is offline  
Old 12/13/2015, 13:02   #8
 
elite*gold: 20
Join Date: Dec 2015
Posts: 182
Received Thanks: 82
You can change it, but is hard.

You need to create new money, to edit all buy/send money.
You need to use query for add reward automatic (with tp).
You need to add many more item etC.. for full work :/
BadSorrow is offline  
Old 12/13/2015, 16:51   #9
 
gmroske's Avatar
 
elite*gold: 0
Join Date: Oct 2015
Posts: 204
Received Thanks: 67
Can You help me i Need Trade Give Gold at my Server + Expen
gmroske is offline  
Old 12/14/2015, 02:28   #10
 
spinal2's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 242
Received Thanks: 16
Thumbs up

Quote:
Originally Posted by BadSorrow View Post
You can change it, but is hard.

You need to create new money, to edit all buy/send money.
You need to use query for add reward automatic (with tp).
You need to add many more item etC.. for full work :/
You need to create new money, to edit all buy/send money.

Possible? to use it coded in _refpriceofpolice like same 'GOLD = 1 - Silks = 2 Coins = 1024 , 512 .......

Actually only see used changing existings money type ..

Quote:
Originally Posted by deathcode2 View Post
Yes that's what i need to do . so is there any expert who can post the procedure code regarding this ?
Follow :

ADD IN LOG DB.

_AddLogChar

Code:
  if (@EventID = 6) -- Auto Coin Granting and Contribution resetting logout

		Begin

			Exec SRO_VT_LOG.dbo._RoyalAutoCoinGranting @CharID

		end
Execute Query .

Code:
USE [SRO_VT_LOG]
GO
/****** Object:  StoredProcedure [dbo].[_RoyalAutoCoinGranting]    Script Date: 12/13/2015 11:29:35 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


CREATE procedure [dbo].[_RoyalAutoCoinGranting]  

@CharID INT 

as 



    Declare @JobType tinyint =  

    (Select JobType from SRO_VT_SHARD.dbo._Chartrijob where CharID = @CharID) 

    , @amount int

	, @amount2 int

	, @EventID        tinyint

    , @RemainGold int

	, @elixiramount int 

    , @dividerhunter bigint = 17000000

	, @dividertrader bigint = 9000000

	, @Dividercontrthiefs bigint = 5000

	, @dividerthiefs bigint = 100000

	, @dividerhunterex bigint = 3000000

	, @dividertraderex bigint = 3000000

	, @dividerthiefsex tinyint = 3000000

	, @Charname varchar(30) = (select CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID) 

    , @contribution int = (select Contribution from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID) 

    , @contribution15 int = (select Contribution from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID)
	
	, @contribution2 int

	, @contribution3 int

	, @contribution4 int

	, @charname16 varchar(16)

	, @kills int; 





If (@JobType = 1 ) 

 begin  

        set @contribution = 

            (select Contribution from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID) 

        set @Charname = 

            (select CharName16 from SRO_VT_SHARD.dbo._CharNameList where CharID = @CharID) 

        set @charname16 = (SELECT CharName16 FROM [SRO_VT_SHARD].[dbo].[_Char] where CharID = @CharID)

	    Set @Amount = 

            (select ROUND(@contribution/@Dividertrader,0)) 

		    Set @amount2 = 

            (select ROUND(@contribution/@Dividertrader/20,0)) 



             

    if @amount >= 1 

     begin 

	    Exec [SRO_VT_SHARD].[dbo].[_ADD_ITEM_EXTERN] @Charname,'ITEM_ETC_ARENA_COIN', @amount,0
		

        Insert Into SRO_VT_LOG.dbo.RoyalCoinLogHunters (CharID,Amount,EventTime) 

        Values (@CharID,@amount,GETDATE()) 

		 
		



        UPDATE SRO_VT_SHARD.dbo._CharTriJob SET Contribution = 0 WHERE CharID = @CharID 
	END
     End  

 end 

-- Hunter 

If (@JobType = 3 ) 

 begin  

        set @contribution = 

            (select Contribution from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID) 

        set @contribution4 = @contribution*1.5

		set @Charname = 

            (select CharName16 from SRO_VT_SHARD.dbo._CharNameList where CharID = @CharID) 

        set @charname16 = (SELECT CharName16 FROM [SRO_VT_SHARD].[dbo].[_Char] where CharID = @CharID)

		Set @Amount = 

            (select ROUND(@contribution/@Dividerhunter,0)) 

		Set @amount2 = 

            (select ROUND(@contribution/@Dividerhunter/20,0)) 


             

    if @amount >= 1 

     begin 

        Exec [SRO_VT_SHARD].[dbo].[_ADD_ITEM_EXTERN] @Charname,'ITEM_ETC_ARENA_COIN', @amount,0 
		


		Insert Into SRO_VT_LOG.dbo.RoyalCoinLogHunters (CharID,Amount,EventTime) 

        Values (@CharID,@amount,GETDATE()) 
		
        UPDATE SRO_VT_SHARD.dbo._Char SET RemainGold = RemainGold+@contribution4 WHERE CharID = @CharID 


		UPDATE SRO_VT_SHARD.dbo._CharTriJob SET Contribution = 0 WHERE CharID = @CharID 

     End  
	 END
 end 


 --Now for thiefs 



If (@JobType = 2 ) 

 begin  

        set @RemainGold = 

            (select RemainGold from SRO_VT_SHARD.dbo._Char where CharID = @CharID) 

		set @contribution = 

            (select Contribution from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID) 

        set @contribution2 = @contribution15*800
		
			set @charname16 = (SELECT CharName16 FROM [SRO_VT_SHARD].[dbo].[_Char] where CharID = @CharID)

		set @Charname = 

            (select CharName16 from SRO_VT_SHARD.dbo._CharNameList where CharID = @CharID)
					
        Set @Amount = (select ROUND(@contribution/@Dividerthiefs,0)) 

		Set @amount2 = (select ROUND(@contribution/@Dividerthiefs/15,0)) 



     if @amount >= 1

     begin 

	    exec [SRO_VT_SHARD].[dbo].[_ADD_ITEM_EXTERN] @Charname,'ITEM_ETC_ARENA_COIN', @amount, 0;
		

		Insert Into SRO_VT_LOG.dbo.RoyalCoinLogHunters (CharID,Amount,EventTime) 

        Values (@CharID,@amount,GETDATE()) 

	

        UPDATE SRO_VT_SHARD.dbo._Char SET RemainGold = RemainGold+@contribution2 WHERE CharID = @CharID 
	
	
		UPDATE SRO_VT_SHARD.dbo._CharTriJob SET Contribution = 0 WHERE CharID = @CharID 

     End  
	 END

 end
EXPLANATION

* If (@JobType = 1 ) - TRADERs

* If (@JobType = 2 ) - THIEFs

* If (@JobType = 3 ) - HUNTERs



exec [SRO_VT_SHARD].[dbo].[_ADD_ITEM_EXTERN] @Charname,'ITEM_ETC_ARENA_COIN', @amount, 0;


* COMAND TO REWARD PLAYER

* ITEM REWARD - CAN BE TRADED as You LIKE

Created Tablet

Code:
USE [SRO_VT_LOG]
GO

/****** Object:  Table [dbo].[RoyalCoinLogHunters]    Script Date: 12/13/2015 11:36:34 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[RoyalCoinLogHunters](
	[CharID] [int] NULL,
	[Amount] [int] NULL,
	[EventTime] [smalldatetime] NULL
) ON [PRIMARY]

GO
FINISH.
spinal2 is offline  
Old 12/16/2015, 19:28   #11
 
elite*gold: 0
Join Date: Mar 2013
Posts: 18
Received Thanks: 0
very simple

Quote:
Originally Posted by deathcode2 View Post
i want to change the trade reward to give job point beside the gold when i going to sell my good at the NPC . Any idea out there ?
Kindly , your help would be appreciated
first.
First you make sure you buy costs 5 stars goods.
For example, 280 million
If the transport grid =140
so The price of each of the goods is
280000000/140/40=50000
so in _Refpricepolicyofitem cost =50000
The second step
see _Refobjcommon price and sellprice
price=cost
sellprice =Thieves robbed of money after selling the goods
You can decide to sell the goods in accordance with the thieves rob prices
third step
_ItemQuotation -BaseQuot, Quot_LB, Quot_UB exchange rate
tx2013 is offline  
Old 12/17/2015, 13:33   #12


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
@spinal Well, since you keep copying stuff from that leaked old db or I don't know if that was released or w/e! Akasch stopped using that query if I remember xD It's lame, really lame, slow, buggy, and you know total **** xD He wrote it again for reasons ofc, it's messy and hard to config.
​Exo is offline  
Old 09/24/2016, 21:32   #13

 
Dev.L0RdReVaN's Avatar
 
elite*gold: 355
Join Date: Mar 2009
Posts: 264
Received Thanks: 52
Quote:
Originally Posted by tx2013 View Post
first.
First you make sure you buy costs 5 stars goods.
For example, 280 million
If the transport grid =140
so The price of each of the goods is
280000000/140/40=50000
so in _Refpricepolicyofitem cost =50000
The second step
see _Refobjcommon price and sellprice
price=cost
sellprice =Thieves robbed of money after selling the goods
You can decide to sell the goods in accordance with the thieves rob prices
third step
_ItemQuotation -BaseQuot, Quot_LB, Quot_UB exchange rate
what did u mean i have to change price
can u explain please
Dev.L0RdReVaN is offline  
Reply


Similar Threads Similar Threads
[Request] How to change job reward.
08/14/2015 - SRO Private Server - 1 Replies
i need to know how to change job reward like taking a trade from town to town thief stole trade reward hunter deliver trade reward need to add coins to them all
Change Trade Reward
04/15/2015 - SRO Private Server - 9 Replies
i want add coin with gold in trade Thanks
[Exploit]S4 Job Change Mission Reward
02/04/2014 - Grand Chase Hacks, Bots, Cheats & Exploits - 77 Replies
sorry about the title to prevent early detection and patch the title supposed to be JOB Change Mission BUG Wanna have Free GC NECKLACE for 1 day and free limited Character Specific JOB AVATAR ARMOR SETS like, alchemist, PK, DA etc.. and a +10 BAG for free how?
change the Lv. Reward caps.
06/03/2013 - S4 League - 1 Replies
so we have the Id's 4031071 Lv.1 Reward Capsule 4031072 Lv.4 Reward Capsule 4031073 Lv.5 Reward Capsule 4031074 Lv.7 Reward Capsule 4031075 Lv.8 Reward Capsule 4031076 Lv.10 Reward Capsule 4031077 Lv.11 Reward Capsule 4031078 Lv.12 Reward Capsule
[TUT] Change Job reward rates,
10/28/2011 - SRO PServer Guides & Releases - 12 Replies
_RefShardContentConfig table in SRO_VT_SHARD, nothing more nothing less.. there's korean characters translate them in google you'll understand what is what :)



All times are GMT +1. The time now is 12:59.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.