Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 12:57

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

Advertisement



Query To Set New MaxStack Of Stones / Tablets / Elements / Elixirs

Discussion on Query To Set New MaxStack Of Stones / Tablets / Elements / Elixirs within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1

 
MÓE's Avatar
 
elite*gold: 60
The Black Market: 150/0/0
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
Query To Set New MaxStack Of Stones / Tablets / Elements / Elixirs

actually i don't know if it's released before or not but it's helpful

MAGICSTONE


ATTRSTONE



MAGICTABLET


ATTRTABLET


ELEMENT



Elixirs



follow these steps

1- Open your sql


2- Press New query


3- Paste Query There


4- Change @MaxStack=(NewMaxStack)



5- Press Execute


6- Query executed successfully


7- Media Side - edit itemdata"xxx".txt in your media as the stack number


8- Restart Server






Congratulations!
MÓE is offline  
Thanks
35 Users
Old 12/25/2013, 17:39   #2
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,310
Received Thanks: 6,470
#Approved
PortalDark is offline  
Thanks
3 Users
Old 12/25/2013, 18:15   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1,272
Received Thanks: 991
Good comment!
radde94 is offline  
Thanks
1 User
Old 12/25/2013, 18:30   #4
 
elite*gold: 0
Join Date: Aug 2012
Posts: 1,426
Received Thanks: 1,127
Thanks very helpful
TrixArts is offline  
Thanks
2 Users
Old 12/25/2013, 18:31   #5

 
eXoTe30's Avatar
 
elite*gold: 2
Join Date: Sep 2010
Posts: 690
Received Thanks: 135
are the attribute stones and magicstones not bugged after this because of 0% 10% 20% and 30% stones are stacked at the same slot?

nice work thank you
eXoTe30 is offline  
Thanks
1 User
Old 12/25/2013, 18:33   #6

 
MÓE's Avatar
 
elite*gold: 60
The Black Market: 150/0/0
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
no it's working fine tested in sql 2008 r2 , you are welcome
MÓE is offline  
Thanks
2 Users
Old 12/25/2013, 18:33   #7
 
bxxb's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 696
Received Thanks: 148
HelpFull thanks
bxxb is offline  
Thanks
1 User
Old 12/25/2013, 18:34   #8

 
MÓE's Avatar
 
elite*gold: 60
The Black Market: 150/0/0
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
you're welcome
MÓE is offline  
Thanks
1 User
Old 12/25/2013, 18:55   #9
 
elite*gold: 0
Join Date: Dec 2013
Posts: 34
Received Thanks: 3
Help Full Thank You
Empire-Sro is offline  
Thanks
1 User
Old 12/25/2013, 18:57   #10

 
MÓE's Avatar
 
elite*gold: 60
The Black Market: 150/0/0
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
you're welcome
MÓE is offline  
Thanks
1 User
Old 12/25/2013, 19:35   #11
 
elite*gold: 0
Join Date: Dec 2011
Posts: 498
Received Thanks: 190
good job, but here is a clearer version of this query

Type 1 = Stones
Type 2 = Tablets
Type 3 = Elements
Type 4 = Elixirs

PHP Code:
USE SRO_VT_SHARD
/******By Certus ******/
DECLARE @Type INT 1
DECLARE @MaxStack INT 250 

-- *******************************************************************************
-- 
CHANGE STACK OF STONES
-- *******************************************************************************
IF @
Type 1
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_%STONE%' AND Service=1)
DECLARE @
PrintMessageStones VARCHAR (50) = 'Stack of stones is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageStones
END

-- *******************************************************************************
-- 
CHANGE STACK OF TABLETS
-- *******************************************************************************
IF @
Type 2
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_%TABLET%' AND Service=1)
DECLARE @
PrintMessageTablets VARCHAR (50) = 'Stack of tablets is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageTablets
END

-- *******************************************************************************
-- 
CHANGE STACK OF ELEMENTS
-- *******************************************************************************
IF @
Type 3
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_%ELEMENT%' AND Service=1)
DECLARE @
PrintMessageElements VARCHAR (50) = 'Stack of elements is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageElements
END

-- *******************************************************************************
-- 
CHANGE STACK OF ELIXIRS
-- *******************************************************************************
IF @
Type 4
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE '%ITEM_ETC_ARCHEMY_REINFORCE_RECIPE_%_B%' AND Service=1)
DECLARE @
PrintMessageElexirs VARCHAR (50) = 'Stack of elixirs is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageElexirs
END

IF @Type NOT BETWEEN 1 AND 4
BEGIN
PRINT 'Please set Type to 1 for stones'
PRINT 'Please set Type to 2 for tablets'
PRINT 'Please set Type to 3 for elements'
PRINT 'Please set Type to 4 for elixirs'
END 
Certus is offline  
Thanks
3 Users
Old 12/25/2013, 19:47   #12
 
awful1337's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 507
Received Thanks: 96
good job fifa..

very helpful
thanks mate<3
awful1337 is offline  
Thanks
1 User
Old 12/25/2013, 20:27   #13

 
MÓE's Avatar
 
elite*gold: 60
The Black Market: 150/0/0
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
Quote:
Originally Posted by Certus View Post
good job, but here is a clearer version of this query

Type 1 = Stones
Type 2 = Tablets
Type 3 = Elements
Type 4 = Elixirs

PHP Code:
USE SRO_VT_SHARD
/******By Certus ******/
DECLARE @Type INT 1
DECLARE @MaxStack INT 250 

-- *******************************************************************************
-- 
CHANGE STACK OF STONES
-- *******************************************************************************
IF @
Type 1
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_%STONE%' AND Service=1)
DECLARE @
PrintMessageStones VARCHAR (50) = 'Stack of stones is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageStones
END

-- *******************************************************************************
-- 
CHANGE STACK OF TABLETS
-- *******************************************************************************
IF @
Type 2
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_%TABLET%' AND Service=1)
DECLARE @
PrintMessageTablets VARCHAR (50) = 'Stack of tablets is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageTablets
END

-- *******************************************************************************
-- 
CHANGE STACK OF ELEMENTS
-- *******************************************************************************
IF @
Type 3
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'ITEM_ETC_ARCHEMY_%ELEMENT%' AND Service=1)
DECLARE @
PrintMessageElements VARCHAR (50) = 'Stack of elements is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageElements
END

-- *******************************************************************************
-- 
CHANGE STACK OF ELIXIRS
-- *******************************************************************************
IF @
Type 4
BEGIN
UPDATE _RefObjItem SET MaxStack 
= @MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE '%ITEM_ETC_ARCHEMY_REINFORCE_RECIPE_%_B%' AND Service=1)
DECLARE @
PrintMessageElexirs VARCHAR (50) = 'Stack of elixirs is successfully changed to '
    
RTRIM(CAST(@MaxStack AS nvarchar(30)))
PRINT @
PrintMessageElexirs
END

IF @Type NOT BETWEEN 1 AND 4
BEGIN
PRINT 'Please set Type to 1 for stones'
PRINT 'Please set Type to 2 for tablets'
PRINT 'Please set Type to 3 for elements'
PRINT 'Please set Type to 4 for elixirs'
END 
well mine working aswell so you can create a new topic thanks anyway

Quote:
Originally Posted by awful1337 View Post
good job fifa..

very helpful
thanks mate<3
thank you you're welcome
MÓE is offline  
Thanks
2 Users
Old 12/25/2013, 20:46   #14

 
MÓE's Avatar
 
elite*gold: 60
The Black Market: 150/0/0
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
thank you!
MÓE is offline  
Thanks
2 Users
Old 12/25/2013, 20:52   #15
 
burundukas's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 106
Received Thanks: 86
Helpful ty
burundukas is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Query]Disable Drop Tablets, And Add Drop Stones
10/27/2016 - SRO PServer Guides & Releases - 10 Replies
This query disable all tablet from mobs: Update _RefDropItemAssign set service = 0 where RefItemID between 6295 and 6678 and add stones to drop:
D13 Stones, Elements, and Tablets
07/19/2013 - SRO Private Server - 0 Replies
Hi, I have looked in my _RefObjCommon file and have not found any D13 Stones, Elements, or Tablets and was just wondering do I just insert it in myself, will that suffice, or is there more to be done, please help me out. Thank you, Recapture
[Selling] [URZARK] WTS Combined Prayer Stones & elixirs
05/02/2013 - Archlord Trading - 0 Replies
Magical Power lv5 (7% cast/coold) - 2€ (paypal normal) or 1,5€ (paypal gift) Fierce Attack lv5 (5 dmg, +50str) - 0,5€ 99 elixir +500 heroic attack - 5€ 99 elixir +200 elemental attack - 5€ 99 elixir +200dmg/50%crit/50%critchance - 5€ 99 elixir +80% res/crit res -3€ I prefer paypal, but accept also gold or scrolls.
Elixir / Stones / Tablets Stack Problem
03/29/2013 - SRO Private Server - 0 Replies
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 Thanks to IceAmStiel
What´s the use of elements, when there are no tablets anymore???
08/30/2012 - Silkroad Online - 5 Replies
Heyho, i´ve been collecting all those alchemy material drops as an old habit. But isn´t making elements of them a dead end? They were only good for combining them with tablets, right? Is it still usefull to save all those millions of elements from D1 on? Will there be tabs again in the high levels? WHAT ARE ELEMENTS STILL GOOD FOR? Please, someone enlighten me! Thanks, Al.



All times are GMT +2. The time now is 12:57.


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