|
You last visited: Today at 12:57
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.
12/25/2013, 13:07
|
#1
|
elite*gold: 60
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
USE SRO_VT_SHARD
DECLARE @CodeName VARCHAR(30)
DECLARE @MaxStack INT
SET @CodeName='%ARCHEMY%MAGICSTONE%'
SET @MaxStack=1000
UPDATE _RefObjItem SET MaxStack=@MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE @CodeName AND Service=1)
ATTRSTONE
USE SRO_VT_SHARD
DECLARE @CodeName VARCHAR(30)
DECLARE @MaxStack INT
SET @CodeName='%ARCHEMY%ATTRSTONE%'
SET @MaxStack=1000
UPDATE _RefObjItem SET MaxStack=@MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE @CodeName AND Service=1)
MAGICTABLET
USE SRO_VT_SHARD
DECLARE @CodeName VARCHAR(30)
DECLARE @MaxStack INT
SET @CodeName='%ARCHEMY%MAGICTABLET%'
SET @MaxStack=1000
UPDATE _RefObjItem SET MaxStack=@MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE @CodeName AND Service=1)
ATTRTABLET
USE SRO_VT_SHARD
DECLARE @CodeName VARCHAR(30)
DECLARE @MaxStack INT
SET @CodeName='%ARCHEMY%ATTRTABLET%'
SET @MaxStack=1000
UPDATE _RefObjItem SET MaxStack=@MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE @CodeName AND Service=1)
ELEMENT
USE SRO_VT_SHARD
DECLARE @CodeName VARCHAR(30)
DECLARE @MaxStack INT
SET @CodeName='%ARCHEMY%ELEMENT%'
SET @MaxStack=1000
UPDATE _RefObjItem SET MaxStack=@MaxStack WHERE ID IN (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE @CodeName AND Service=1)
Elixirs
UPDATE dbo._RefObjItem
SET MaxStack = 250
WHERE ID BETWEEN 2025 AND 2032
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!
|
|
|
12/25/2013, 17:39
|
#2
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,310
Received Thanks: 6,470
|
#Approved
|
|
|
12/25/2013, 18:15
|
#3
|
elite*gold: 0
Join Date: Apr 2009
Posts: 1,272
Received Thanks: 991
|
Good comment!
|
|
|
12/25/2013, 18:30
|
#4
|
elite*gold: 0
Join Date: Aug 2012
Posts: 1,426
Received Thanks: 1,127
|
Thanks very helpful
|
|
|
12/25/2013, 18:31
|
#5
|
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
|
|
|
12/25/2013, 18:33
|
#6
|
elite*gold: 60
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
|
no it's working fine tested in sql 2008 r2 , you are welcome
|
|
|
12/25/2013, 18:33
|
#7
|
elite*gold: 0
Join Date: Jan 2010
Posts: 696
Received Thanks: 148
|
HelpFull thanks
|
|
|
12/25/2013, 18:34
|
#8
|
elite*gold: 60
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
|
you're welcome
|
|
|
12/25/2013, 18:55
|
#9
|
elite*gold: 0
Join Date: Dec 2013
Posts: 34
Received Thanks: 3
|
Help Full Thank You
|
|
|
12/25/2013, 18:57
|
#10
|
elite*gold: 60
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
|
you're welcome
|
|
|
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
|
|
|
12/25/2013, 19:47
|
#12
|
elite*gold: 0
Join Date: Dec 2012
Posts: 507
Received Thanks: 96
|
good job fifa..
very helpful
thanks mate<3
|
|
|
12/25/2013, 20:27
|
#13
|
elite*gold: 60
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
|
Quote:
Originally Posted by Certus
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
good job fifa..
very helpful
thanks mate<3
|
thank you you're welcome
|
|
|
12/25/2013, 20:46
|
#14
|
elite*gold: 60
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
|
thank you!
|
|
|
12/25/2013, 20:52
|
#15
|
elite*gold: 0
Join Date: Apr 2012
Posts: 106
Received Thanks: 86
|
Helpful ty
|
|
|
|
|
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.
|
|