|
You last visited: Today at 12:50
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.
11/30/2015, 02:16
|
#46
|
elite*gold: 0
Join Date: Dec 2012
Posts: 92
Received Thanks: 3
|
itemdata"***".txt what's it ? I need edit the Media.pk2 to show the new MaxStack
|
|
|
12/01/2015, 12:20
|
#47
|
elite*gold: 1
Join Date: Sep 2015
Posts: 413
Received Thanks: 264
|
Quote:
Originally Posted by wilber1414
itemdata"***".txt what's it ? I need edit the Media.pk2 to show the new MaxStack
|
you dont need to edit it in media only from db
|
|
|
01/31/2016, 06:32
|
#48
|
elite*gold: 0
Join Date: Aug 2012
Posts: 43
Received Thanks: 1
|
i cant see image ??
|
|
|
07/22/2016, 11:40
|
#49
|
elite*gold: 60
Join Date: May 2012
Posts: 1,781
Received Thanks: 395
|
Quote:
Originally Posted by wilber1414
itemdata"xxx".txt what's it ? I need edit the Media.pk2 to show the new MaxStack
|
you've to search in all the itemdata and change the maxstack like what you did in database for avioding crashing.
Quote:
Originally Posted by Dev Microsoft
you dont need to edit it in media only from db
|
he should change the maxstack same as db side otherwise he gonna get crash as well.
Quote:
Originally Posted by Anonyxx
i cant see image ??
|
I dont have them anymore to re-upload but I think I wrote all what u want to change the maxstack also Certus wrote a quick query
here you go
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
|
|
|
01/16/2018, 14:59
|
#50
|
elite*gold: 0
Join Date: Sep 2017
Posts: 72
Received Thanks: 3
|
pls s.s
|
|
|
05/04/2020, 11:42
|
#51
|
elite*gold: 0
Join Date: Jan 2010
Posts: 142
Received Thanks: 22
|
7- Media Side - edit itemdata"***".txt in your media as the stack number
Some one can expline me how to do that im new
Nvm sorry done
|
|
|
11/10/2020, 07:52
|
#52
|
elite*gold: 0
Join Date: Oct 2020
Posts: 24
Received Thanks: 0
|
Quote:
Originally Posted by metma12
7- Media Side - edit itemdata"***".txt in your media as the stack number
Some one can expline me how to do that im new
Nvm sorry done
|
SAME QUESTION....
|
|
|
11/14/2020, 22:26
|
#53
|
elite*gold: 0
Join Date: Aug 2013
Posts: 1,490
Received Thanks: 798
|
Quote:
Originally Posted by hunter2051
SAME QUESTION....
|
From itemdata5000 to itemdata45000, edit depending on where your item is located at, that's all.
|
|
|
11/27/2020, 16:41
|
#54
|
elite*gold: 0
Join Date: Oct 2020
Posts: 24
Received Thanks: 0
|
i still stuck here. i edited DB and itemdataxxx.txt also, it still crash...
|
|
|
11/30/2020, 04:21
|
#55
|
elite*gold: 0
Join Date: Apr 2018
Posts: 68
Received Thanks: 253
|
Always use TypeId instead of codename for that. It will be return good results about performance than "codename like bla bla". Example working query.
PHP Code:
-- types --TypeID4: 1 -> Magic stones --TypeID4: 2 -> Attribute stones --TypeID4: 3 -> Tablets --TypeID4: 4 -> Material --TypeID4: 5 -> Elements declare @type tinyint = 1 declare @stack int = 20 update _RefObjItem set MaxStack = @stack from _RefObjCommon join _RefObjItem on _RefObjItem.ID = _RefObjCommon.Link where TypeID1 = 3 and TypeID2 = 3 and TypeID3 = 11 and TypeID4 = @type
|
|
|
12/06/2020, 21:26
|
#56
|
elite*gold: 0
Join Date: Mar 2019
Posts: 143
Received Thanks: 41
|
so good
|
|
|
12/18/2020, 20:35
|
#57
|
elite*gold: 0
Join Date: Apr 2013
Posts: 30
Received Thanks: 0
|
any news about this:
7- Media Side - edit itemdata"***".txt in your media as the stack number
how to do it? where is itemdata"***".txt and what "***" stands for?
|
|
|
12/19/2020, 10:14
|
#58
|
elite*gold: 56
Join Date: Apr 2009
Posts: 71
Received Thanks: 32
|
Quote:
Originally Posted by guast21
any news about this:
7- Media Side - edit itemdata"***".txt in your media as the stack number
how to do it? where is itemdata"***".txt and what "***" stands for?
|
At the media.pk2 you got the folder server_dep/silkroad/textdata/
And there you got the itemdata files
|
|
|
12/19/2020, 10:54
|
#59
|
elite*gold: 0
Join Date: Aug 2013
Posts: 1,490
Received Thanks: 798
|
Quote:
Originally Posted by guast21
any news about this:
7- Media Side - edit itemdata"***".txt in your media as the stack number
how to do it? where is itemdata"***".txt and what "***" stands for?
|
'***' stands for the itemdata.txt number.
For example, itemdata45000.txt or wherever your item is at.
I will make a tutorial later.
|
|
|
10/12/2022, 19:36
|
#60
|
elite*gold: 20
Join Date: Sep 2022
Posts: 34
Received Thanks: 6
|
[CENTER] 7- Media Side - edit itemdata"***".txt in your media as the stack number
8- Restart Server
what do i do for media side? im confused?
|
|
|
|
|
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:50.
|
|