Extractables (2 questions)

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Extractables (2 questions)

Post by jurchiks »

1) what is the difference between ExtractableItems and ExtractableSkills?
As I understand it, it's that you can add conditions for ExtractableSkills, but is it true...?
2) How can I make it so an ExtractableItem extracts multiple items at once with 100% chance each?
This is necassary for Magic Accessory Box, an item currently given on official server for adventurers (adventurers accessory)

Code: Select all

 Index: data/extractable_items.csv===================================================================--- data/extractable_items.csv	(revision 7100)+++ data/extractable_items.csv	(working copy)@@ -340,3 +340,6 @@ 20751;20746,1,100 # Shiny Planet X235 Alien Mask 7 day Pack 20752;20747,1,100++# Adventurer's Magic Accessory Set+10473;10122,2,100;10124,2,100;10123,1,100\ No newline at end of fileIndex: data/multisell/305986002.xml===================================================================--- data/multisell/305986002.xml	(revision 7100)+++ data/multisell/305986002.xml	(working copy)@@ -3,8 +3,6 @@ <list> 	<item id="1"> 		<ingredient id="7833" count="1" />-		<production id="10122" count="2" />-		<production id="10123" count="1" />-		<production id="10124" count="2" />+		<production id="10473" count="1" /> 	</item> </list>\ No newline at end of file### Eclipse Workspace Patch 1.0#P datapack_developmentIndex: sql/etcitem.sql===================================================================--- sql/etcitem.sql	(revision 7131)+++ sql/etcitem.sql	(working copy)@@ -7566,7 +7566,7 @@ (10431,'Tully\'s Copper Medal','','false','none',2,'stackable','wood','none',-1,-1,0,0,'true','true','true','true','true','none','0-0;'), (10432,'Kertin\'s Herb of Life','','false','herb',0,'normal','wood','none',-1,-1,0,0,'true','true','true','true','true','ItemSkills','2485-1;'), (10433,'Kertin\'s Herb of Mana','','false','herb',0,'normal','wood','none',-1,-1,0,0,'true','true','true','true','true','ItemSkills','2486-1;'),-(10473,'Magic Accessory Set','','false','none',20,'stackable','wood','none',-1,-1,0,0,'false','false','true','false','false','none','0-0;'),+(10473,'Magic Accessory Set','','false','none',20,'stackable','wood','none',-1,-1,0,0,'false','false','true','false','false','ExtractableItems','0-0;'), (10480,'Red Soul Crystal - Stage 15','','false','scroll',20,'normal','wood','none',-1,-1,0,0,'true','true','true','true','true','SoulCrystals','0-0;'), (10481,'Blue Soul Crystal - Stage 15','','false','scroll',20,'normal','wood','none',-1,-1,0,0,'true','true','true','true','true','SoulCrystals','0-0;'), (10482,'Green Soul Crystal - Stage 15','','false','scroll',20,'normal','wood','none',-1,-1,0,0,'true','true','true','true','true','SoulCrystals','0-0;'),
This is how it "should" be, but it gives me an error in console with text similar to: "multiple items with 100% chance in extractable item ..."
But the item actually extracts 5 items at once.

Basically it's a part of the GE newbie guide i'm making currently (and for a long time now, had dropped it for a while).
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
antons007
Posts: 149
Joined: Sat Sep 12, 2009 4:18 pm

Re: Extractables (2 questions)

Post by antons007 »

#itemId;Production1,Quantity1,Chance1[;Production2,Quantity2,Chance2... ;ProductionN,QuantityN,ChanceN]
#itemId;[Production1,Quantity1,Production2,Quantity2,....],Chance1 - for 2 or more rewards (use witout [ ] )
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Extractables (2 questions)

Post by jurchiks »

Dude, read before posting, IT DOES NOT WORK IF MULTIPLE ITEMS HAVE 100% RATE, I've tried that already!
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Extractables (2 questions)

Post by janiii »

So join them to one like anton said. I do not see any problem there.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Extractables (2 questions)

Post by JIV »

Code: Select all

10473;10122,2,10124,2,10123,1,100
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Extractables (2 questions)

Post by jurchiks »

JIV wrote:

Code: Select all

10473;10122,2,10124,2,10123,1,100
so that's what he meant... I didn't know you could do THAT! i'll try that, thanks

But anyway, anyone willing to answer my first question?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
antons007
Posts: 149
Joined: Sat Sep 12, 2009 4:18 pm

Re: Extractables (2 questions)

Post by antons007 »

jurchiks wrote:
JIV wrote:

Code: Select all

10473;10122,2,10124,2,10123,1,100
so that's what he meant... I didn't know you could do THAT! i'll try that, thanks

But anyway, anyone willing to answer my first question?
exctractable skills have multiple levels and also it have conditions in xml file
Post Reply