Jump to content
  • 0

Only 1 X Item In Inventory At Time!


Question

Posted

Chronicle: Freya
l2jdp - revision="7968"
l2j - revision="4601"

The thing is i have an special item on the server, but i want when players try to buy this item, if they already have one then can't buy another till the one they already have get consumed.

7 answers to this question

Recommended Posts

  • 0
Posted

Chronicle: Freya

l2jdp - revision="7968"

l2j - revision="4601"

 

The thing is i have an special item on the server, but i want when players try to buy this item, if they already have one then can't buy another till the one they already have get consumed.

 

<item id="22101" type="EtcItem" name="Spiritshot Pack - B grade">
<set name="icon" val="br_cashtex.item.br_cash_pack_of_spiritshot_b_i00" />
<set name="default_action" val="capsule" />
<set name="immediate_effect" val="1" />
<set name="crystal_type" val="b" />
<set name="material" val="paper" />
<set name="weight" val="500" />
<set name="is_stackable" val="true" />
<set name="is_premium" val="true" />
<set name="handler" val="ItemSkills" />
<set name="item_skill" val="26069-3" />
</item>
 
change that:
 
<set name="is_stackable" val="true" />
  • 0
Posted

 

<item id="22101" type="EtcItem" name="Spiritshot Pack - B grade">
<set name="icon" val="br_cashtex.item.br_cash_pack_of_spiritshot_b_i00" />
<set name="default_action" val="capsule" />
<set name="immediate_effect" val="1" />
<set name="crystal_type" val="b" />
<set name="material" val="paper" />
<set name="weight" val="500" />
<set name="is_stackable" val="true" />
<set name="is_premium" val="true" />
<set name="handler" val="ItemSkills" />
<set name="item_skill" val="26069-3" />
</item>
 
change that:
 
<set name="is_stackable" val="true" />

 

Thx for try to help me, but that isn't good cause players can still having more than 1 item at time in the inventory, the only diference on is_stackable= false, is the item will ocupe diferent slots in the inventory.

  • 0
Posted

i cant understund.. you want for example if someone have already 1 enternal core sword cannot buy other? that you mean?

Yeah exactly but some already help me and got what i nee. Thx anyways.

Guest
This topic is now closed to further replies.


  • Posts

    • wts  or trade for Classic 1.5 - Classic 3.0 ,assasin 418 interface -+ assasin source pack discord bebe693
    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
    • THEY DON’T COME BACK FOR NO REASON. HERE’S WHY Our clients come from different countries and with very different tasks. But the strongest indicator of quality is simple — when a client comes back **for a second time**. This case is exactly that. The client returned with a request for a **German ID**. The requirement was clear: a document **in a male hand**, with a natural live scene and correct geographic context. What we did: ▪ accepted source files and data without unnecessary bureaucracy ▪ selected a **real street**, not a generic background ▪ built a print-ready mockup with correct scene logic ▪ sent it for approval ▪ after confirmation, delivered the **final file for printing** No templates. No “good enough”. Only solutions tailored to a specific task. Result: ▪ mockup approved on the first try ▪ client fully satisfied ▪ stays in touch We work **worldwide** — and that’s exactly why clients return. Contact us › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #redraw #verification #documents #case #ID
  • 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..