Jump to content
  • 0

Question

Posted

hello guys i need help with extractable items

how can i set in extractable items 5 different items with 100% chance?

e.g i tryed this but the chance must be all together 100% so it doesn't work 

Spoiler

# new extractable item
19800;57,1,100,58,1,100,59,1,100

 

also i tryed this and i didnt get error but when i right click on item it says "nothing happend"

Spoiler

# new extractable item
19800;57,1,58,1,59,1,100

 

thanks

15 answers to this question

Recommended Posts

  • 0
Posted
12 hours ago, expll0 said:

try - 23,1,2386,1,43,1,68,1,1835,3000,1539,10,100

whats the difference with that i post? 

and where is exctracable item id ? 

# new extractable item
19800;57,1,58,1,59,1,100
  • 0
Posted (edited)

<set name="item_skill" val="2308-7" />

 

skills

 

<skill id="2308" levels="36" name="Event Item">
        <!-- Confirmed CT2.5 -->
        <table name="#extractableItems">
            8980,1,17,1000,100
            8989,1,1341,1000,100
            8997,1,1342,1000,100
            9008,1,1343,1000,100
            9016,1,1344,1000,100
            9027,1,1344,1000,100
            23,1,2386,1,43,1,68,1,1835,3000,1539,10,100
            9040,1,9041,1,9042,1,9043,1,9044,1,9053,1,100
            9054,1,9055,1,9056,1,9057,1,9128,1,100
            9067,1,9068,1,9069,1,9070,1,9071,1,9072,1,100
            9081,1,9082,1,9083,1,9084,1,9085,1,9086,1,100
            9094,1,9095,1,9096,1,9097,1,9129,1,100
            9032,1,9033,1,9037,1,9038,1,9039,1,100
            9045,1,9046,1,9047,1,9048,1,9053,1,100
            9058,1,9059,1,9060,1,9061,1,9066,1,100
            9073,1,9074,1,9075,1,9076,1,9069,1,100
            9087,1,9088,1,9089,1,9090,1,9083,1,100
            9098,1,9099,1,9100,1,9095,1,100
            1101,1,1104,1,44,1,177,1,3947,3000,1539,10,100
            9049,1,9050,1,9051,1,9052,1,9053,1,9044,1,100
            9062,1,9063,1,9064,1,9065,1,9066,1,9056,1,100
            9077,1,9078,1,9079,1,9080,1,9069,1,9070,1,100
            9091,1,9092,1,9093,1,9084,1,9083,1,100
            9101,1,9102,1,9103,1,9095,1,9129,1,100
            1835,1000,8622,10,100
            1463,1000,8623,10,100
            1464,1000,8624,10,100
            1465,500,8625,7,100
            1466,300,8626,7,100
            1466,300,8627,5,100
            2509,1000,8622,10,100
            2510,1000,8623,10,100
            2511,1000,8624,10,100
            2512,500,8625,7,100
            2513,300,8626,7,100
            2513,300,8627,5,100
        </table>
        <set name="capsuled_items_skill" val="#extractableItems" />
        <set name="itemConsumeCount" val="1" />
        <set name="operateType" val="OP_ACTIVE" />
        <set name="skillType" val="EXTRACTABLE" />
        <set name="target" val="TARGET_SELF" />
        <cond msgId="129">
            <and>
                <player invSize="10" />
                <player weight="80" />
            </and>
        </cond>
    </skill>

Edited by expll0
  • 0
Posted

can you be more specific or maybe you can send me the code? 

for example i want to make 1 sack with all grades of soulshots inside with 100% chance 

is this possible ? thanks guys for your time :)

  • 0
Posted (edited)

if you want only 1 box and nothing more, handle it in useItem.java by checking the id and give the items you want. if you want more than one boxes then change the whole structure .. check parseExtractableSkill method on L2Skill.java 

Edited by melron
  • Upvote 1
  • 0
Posted
44 minutes ago, melron said:

if you want only 1 box and nothing more, handle it in useItem.java by checking the id and give the items you want. if you want more than one boxes then change the whole structure .. check parseExtractableSkill method on L2Skill.java 

hahaah yes he will do it in 5 minutes... didn't you see above? :)

 

1 hour ago, GhostOfSoul said:

can you be more specific or maybe you can send me the code? 

for example i want to make 1 sack with all grades of soulshots inside with 100% chance 

is this possible ? thanks guys for your time :)

6

 

 

  • Haha 2
  • 0
Posted
10 minutes ago, SillverShadow said:

hahaah yes he will do it in 5 minutes... didn't you see above? :)

 

 

 

atleast he can try ... if he cant theres another option too... 

  • 0
Posted
3 hours ago, SillverShadow said:

hahaah yes he will do it in 5 minutes... didn't you see above? :)

 

 

 

whats funny? there are more people than you think who have got no idea about java! 

im asking if someone can help me or give me the starting of code. as i told i want to make sack of different grade soulshots with 100% chance... thanks :)
 

@melronif i edit eclipse like you telling me i will destroy everthing :D 

  • 0
Posted
5 minutes ago, GhostOfSoul said:

whats funny? there are more people than you think who have got no idea about java! 

im asking if someone can help me or give me the starting of code. as i told i want to make sack of different grade soulshots with 100% chance... thanks :)
 

@melronif i edit eclipse like you telling me i will destroy everthing :D 

You can try or search over the files how Rnd works...read and understand then give a try to create a new itemhandler...

  • 0
Posted
9 hours ago, GhostOfSoul said:

@'Baggos' this box are default? i didnt found anything like that, i can make the box with 5 items inside but it will be with 20%chance each item, i want to make 100%chance for all items inside the box

Then, create a item on itemhandler like noble on double click, and give items.. Why you bother yourself with extractable if you want just 1 box for 5 items with 100% chance?

  • 0
Posted

Tested & working.

I'm just using a ready code from class master rewards.

 

https://pastebin.com/HVhtQ7kj

 

Don't forget to add the handler to your item.

 

- Config explaination:

boxId;[];[itemId1(itemCount1)],[itemId2(itemCount2)],[itemId3(itemCount3)];

9308;[];[57(100)],[57(1000)],[57(10000)];

 

And you can add as many items as you want.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello ! I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in. Any idea what it could be?  ALso with H5 CLient !  Thank you !
    • From Salvation onwards I think you need a patched nwindow.dll that allows such modifications, try to see if you get what you need here: https://drive.google.com/drive/u/1/folders/1LLbQFGf8KlR-O0Iv5umfF-pwZgrDh9bd
    • hello everyone! I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results. I need help! Thank you!
    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
  • Topics

×
×
  • Create New...