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

    • Use our premium virtual numbers for fast and convenient account verification on popular services worldwide. Suitable both for mass verification and for one-time registration — reliable, convenient, and without unnecessary complications. Active links: Virtual numbers service: Go to Other services and products: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Special offer until 31 December, each server only 100 euros.
    • 🔥 L2NeverPain – Opening this Friday! 🔥 The gates open 12 December 2025 – 20:00 (GMT+2). Prepare your squads, set your macros, and get ready for true StuckSub PvP.   Main +2 Sub. Balanced fights. Fresh start. Be there from the first minute.   🛡️Clan Leaders: You can register your clan on discord clan-register channel   🌐https://l2neverpain.com/ 🌐https://discord.gg/kNP3UXgkmN
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

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