Register for your free account! | Forgot your password?

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

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

Advertisement



Elixir / Stones / Tablets Stack Problem

Discussion on Elixir / Stones / Tablets Stack Problem within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 50
Received Thanks: 3
Elixir / Stones / Tablets Stack Problem

Guys i edited Media Pk Refobjitem and smc all to 250 maxstack
ingame i can see it too but when i use it, it change back to 1
and yes i used from refobjcommon the link not ID ( used both ) bot dont work

FIXED used this Query
Quote:
USE SRO_VT_SHARD
Declare @NEWMaxStack varchar(10)
Declare @ItemID int
Declare @oldStack varchar(10)
Declare @SpawnCodeID varchar(50)

/*################################################# #############################*/

SET @NEWMaxStack = 75 /* e.g. stackable up to 75 */
SET @SpawnCodeID = 'ITEM_ETC_HP_POTION_01' /* Has to be unique */

/*################################################# #############################*/

SET @ItemID = (Select ID from _RefObjCommon WHERE CodeName128 like @SpawnCodeID)
SET @oldStack = (SELECT MaxStack FROM _RefObjItem WHERE ID like (SELECT Link FROM _RefObjCommon WHERE ID like @ItemID))
UPDATE dbo._RefObjItem SET MaxStack = @NEWMaxStack WHERE ID = (SELECT Link FROM _RefObjCommon WHERE ID like @ItemID)

/* Which Itemdata.txt is affected in the Media.pk2*/
Declare @newItemID varchar(5)
IF (@ItemID < 5000) SET @newItemID = 5000
else if (@ItemID < 10000) SET @newItemID = 10000
else if (@ItemID < 15000) SET @newItemID = 15000
else if (@ItemID < 20000) SET @newItemID = 20000
else if (@ItemID < 25000) SET @newItemID = 25000
else if (@ItemID < 30000) SET @newItemID = 30000
else if (@ItemID < 35000) SET @newItemID = 35000
else if (@ItemID < 40000) SET @newItemID = 40000
else if (@ItemID >= 40000) SET @newItemID = 45000
/*END which Itemdata.txr*/

Declare @CodeName varchar(74)
Declare @DDJ varchar(74)
SET @CodeName = (SELECT CodeName128 FROM _RefObjCommon WHERE ID like @ItemID)
SET @DDJ = (SELECT AssocFileIcon128 FROM _RefObjCommon WHERE ID like @ItemID)

/* Paths */
print ''
print '@ Media\server_dep\silkroad\textdata\itemdata_'+@new ItemID+'.txt'
print ''
print 'Change the line within the Itemdata.txt file like stated below:'
print ''
print 'Press CTRL+F and paste '+'"'+@CodeName+'"'+' into the box and search for the line at the file.'
print 'Scroll to the right till you reach '+'"'+@DDJ+'"'+' and change the value behind the 2x "xxx" from '+'"'+@oldStack+'"'+' to '+'"'+@NEWMaxStack+'"'+'.'

Thanks to IceAmStiel
elsarif94 is offline  
Reply


Similar Threads Similar Threads
WTS Stones - €1,50 per stack (99).
02/03/2010 - Archlord Trading - 7 Replies
Welcome potential buyers, For those of you, who still prefer Archlord and Webzen, I'm selling my last stones for €1,50 per stack. PM me! Kind regards, Dennis For further information, feel free to contact me. For GC go to the following URL:
WTS Stones 5 Euro per Stack.
01/10/2010 - Archlord Trading - 8 Replies
Welcome potential buyers, :handsdown: For those of you, who still prefer Archlord and Webzen, I'm selling my last stones for '?' € per stack. PM me! (I was thinking of € 3,- per stack) I'm new to e*pvp, I hope that I will get a chance to earn some positive trading scores, so my sales will grow. Kind regards, Dennis
WTS Stones 5 Euro per Stack.
12/15/2009 - Trading - 1 Replies
Welcome potential buyers, :handsdown: For those of you who still prefer Archlord and Webzen, I sell my last stones for 5 Euro per stack. PM me! Kind regards, Dennis Attached details: 5x Life Prayer Stone lvl 3
WTB 99x stack Attack prayer stones!
07/19/2009 - Archlord Trading - 3 Replies
WTB 99x stack of attack prayers also need lvl 5 Tornado stones 99x pm me price for each or both
[Brum] WTS 99 Stack Stones And..
07/08/2009 - Archlord Trading - 6 Replies
Stones are $5 per stack, 1 Stack reverse orbs = $5 making 8/8 lv3 attack wep = $10 All sales go threw paypal. Quick service. PM me and lets make a deal



All times are GMT +1. The time now is 03:35.


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.