Jump to content
  • 0

Mystery Box or smth like that


Question

Posted

Hello i need a code (just the code no need configs) to select an item and when you open it, it will give you some items with chances to obtain something more.

 

An example is this,, even without the xml part you can edit it through java

 

<list>
	<item id="10000" name="Lucky Box"> #the box
        <category> 
          <item id="57" count="1000"  chance="1000000"/> #chance to get this item 1000000 = 100%
          <item id="1344" count="4"  chance="1000000"/>
          <item id="5327" count="10"  chance="1000000"/>
          <item id="4943" count="1"  chance="1000000"/>
        </category>
        <category>
          <item id="444" count="1"  chance="500000"/>
          <item id="1524" count="1"  chance="500000"/>
        </category>
        <category>
          <item id="57" count="5"  chance="100"/>
          <item id="4344" count="1"  chance="100"/>
        </category>
      </item>
      </list>

I am using Interlude acis can someone help with this? Or anything already shared??

10 answers to this question

Recommended Posts

  • 0
Posted

i dont have the same files as you ( and i am not very familiar with interlude item and skill structure ) but i think you are looking for something like this
Screenshot_4.png


i have created what you are trying to do on h5 but giving you h5 solution will not really help you , just check what Capsule items do.

  • Upvote 2
  • 0
Posted

Something like this, but i need it with chance. They will get a box containing(this,this,this and this with a very very small chance)

Is your code simple? 

 

  • 0
Posted (edited)

I was talking to other dude trying to help mate.

I know your code works but i don't know where to import him and make it work. 

 

Edited by killer666
  • 0
Posted (edited)

This works with double click on box.

Item Box 6517.

Skill ID 2207 lvl 2.


    <skill id="2207" levels="3" name="Item - Black Treasure Box">
        <set name="reuseDelay" val="500"/>
        <table name="#extractableItems">
            57,1000,20.312
            8752,1,17.896;6622,1,17.664;8762,1,15.312
            57,1000,20.664
        </table>
        <set name="capsuled_items_skill" val="#extractableItems" />
        <set name="target" val="TARGET_SELF" />
        <set name="skillType" val="EXTRACTABLE_FISH" />
        <set name="operateType" val="OP_ACTIVE" />
        <cond msgId="129">
            <and>
                <player invSize="10" />
                <player weight="80" />
            </and>
        </cond>
    </skill>

 

            8752,1,17.896;6622,1,17.664;8762,1,15.312 >>> ID,Count,Chance. The other 57,1000,20.312 and 57,1000,20.664 it's for lvl 1,3, no need to change something in there.

Replace this skill in your data/xml/skills/2200-2299. Also I add a reuseDelay, if you don't want reuse, just delete the line -> <set name="reuseDelay" val="500"/>

Restart your server, create in your inv the item with ID 6517 and double click.

Edited by 'Baggos'
  • Thanks 1
Guest
This topic is now closed to further replies.


  • Posts

    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
    • Download Here: https://sitehunterus.blogspot.com/2025/12/fashionnova-checker-multi-threaded-high.html VirusTotal https://www.virustotal.com/gui/file/c69e889b53354aecb2bf8ca50b59c9e410bb5a42da4711e80fe04af5f2b3e945?nocache=1 Visit my Blogger list to download 100% free software https://www.freetoolss.com/ https://blackhat8.blogspot.com/ https://hack-crack9.blogspot.com/ https://hackernoons.blogspot.com/ https://sharetools99.blogspot.com/
    • I am very satisfied, wonderful work and trustworthy, thank you for my logo.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock