L2JMobius

Classic Interlude ADD BUFFER

Morfeusii · 3 · 225

Offline Morfeusii

  • Vassal
  • *
    • Posts: 4
Hi everyone,

I'm new and I don't know much about the commands,

Could someone make a video for how to add a simple buffer and gm shop to my server?

I ask for a video because that way I understand better!

Thank you!! ;D ;D


Online dramaa

  • Elder
  • ****
    • Posts: 127
Hi everyone,

I'm new and I don't know much about the commands,

Could someone make a video for how to add a simple buffer and gm shop to my server?

I ask for a video because that way I understand better!

Thank you!! ;D ;D

https://l2jmobius.org/forum/index.php?topic=11535.0

there is buffer, scroll a bit in comments and will see for classic too, and for shop, take any simple in game shop, find its responding html and multisell and you will understand how it's working


Online the_coca_

  • Knight
  • ***
    • Posts: 65
Hi everyone,

I'm new and I don't know much about the commands,

Could someone make a video for how to add a simple buffer and gm shop to my server?

I ask for a video because that way I understand better!

Thank you!! ;D ;D

game\data\stats\npcs\custom SchemeBuffer

that is the buffer you just have to give it to //spawn (id of the npc)

and for the shop the easiest way is to enable the community board and in the npc custom file create a npc as an example:
 
   <npc id="900000" displayId="id of a npc for the skin" type="Folk" name="put name here" usingServerSideName="true" title="Merchant" usingServerSideTitle="true">

and you do the dialogue in html/default with the same number as your npc id in this case 900000

<html><body>%npcname%:<br>
Welcome adventurer! Do you have something for me? <br>
I have everything you need for your adventure, take a look.<br>
<button value="Merchant" action="bypass _bbstop;merchant/main.html" width=200 height=30 back="L2UI_CT1.OlympiadWnd_DF_BuyEquip_Down" fore="L2UI_CT1.OlympiadWnd_DF_BuyEquip">
</body></html>