L2JMobius

LCoinShopProduct — L Coin Store

fruit · 4 · 912

Online fruit

  • Distinguished King
  • *****
    • Posts: 853
05.01.24
How to edit L Coin Store:

SERVER side — game\data\LimitShop.xml
CLIENT side — LCoinShopProduct_ClassicAden-eu.dat [ClassicAden for Essence]
                           https://github.com/MobiusDevelopment/L2ClientDat

EXAMPLE:
Code: [Select]
product_begin product_id=5084 category=5 mark_type=event buy_items={{98983;1;[Package: Hunter's Accessories (Time-limited)];{1;999}}} product_type=2 buy_limit={2;always;200} product_desc=[] product_htm=[] product_end
<product_id> — ID. Come up with a new one

<category> — Item tab
   0 — Equipment
   1 — Enhancements and Consumables
   2 — Misc
   3 — Ancient Adena Store
   4 — Adena Store
   5 — Events

<mark_type> — "Ribbon" on the item icon.
   none
   event — EVENT
   sale — SALE
   best — BEST
   limited — LIMIT
   new — NEW
   relay — ?
   max — ?

<buy_items> — {{item ID;quantity;[name];{from level; to level available}}}
Specify min/max level on the server side if need.
Example where to indicate:
Code: [Select]
<product id="XXX" category="XXX" minLevel="80">
<ingredient id="XXX" count="XXX" />
<production id="XXX" />
</product>

<product_type> — Display this on the main page? Where exactly.
   0 — no
   1 — yes, top (2 positions)
   2 — yes, bottom (4 positions)

<buy_limit> — {Character-based item limit (Purchase Limit); Time-based item limit (Sale Period); Quantity of item available for purchase}
Specify limits on the server side if need.
Example where to indicate:
Code: [Select]
<product id="XXX" category="XXX">
<ingredient id="XXX" count="XXX" />
<production id="XXX" accountDailyLimit="20" />
</product>

   Character-based item limit:
      0 — no limit (infinity symbol)
      1 — item for each individual character
      2 — item for the account (all characters)

   Time-based item limit:
      always — always available (infinity symbol) — accountBuyLimit
      one_day — for one day — accountDailyLimit
      one_week — for one week — accountWeeklyLimit
      one_month — for one month — accountMonthlyLimit


Offline Navobnay

  • Vassal
  • *
    • Posts: 6
some kind of New Year's salad. The data here, for example, are different. I did not understand the price of the item at all from where to take it. Is there no program to parse the data?


Online fruit

  • Distinguished King
  • *****
    • Posts: 853
some kind of New Year's salad. The data here, for example, are different. I did not understand the price of the item at all from where to take it. Is there no program to parse the data?
I edited topic a little bit, hope now more clear. Also added link to program.
You must specify the price yourself in server side.


Offline Navobnay

  • Vassal
  • *
    • Posts: 6
product_type=2   buy_limit={2;always;200}   => <production id="XXX" accountDailyLimit="20" />   ? (always == accountBuyLimit)