So, i've tried to do this on my own, but as i'm new to this, the furthest i got, was to be able to see the item icons in the shop, followed by a crit error quicly after that. I'll list the steps i've done, please correct me where i went wrong.
NPC PART:
I was attempting to make an NPC which sells CUSTOM items for 1 adena. The items are already implemented in the server, they just aren't sold at any NPC(craftable/droppable by RB's).
1. I added an NPC in the "data/xml/npc/npcs.xml" file(Copied the stats of an old one) with an unique ID, changed its type to "L2Mercant(idk if that matters ?)
2. I added the NPC in npcgrp.dat, npcname-e.dat.
3. Logged in game, spawned the NPC, the NPC was visible, it's name and tittle as well(no html yet). 4. Added the HTML file in "data\html\merchant\NPCID.html". The html contains some text and 2 anchors(example: "<a action="bypass -h npc_%objectId%_multisell 364543">". The multisell ID's are unique. 5. I created the multisell xml files, in which i added the custom weapons / armors, changed the adena price to "1".
6. Logged in, checked the shop, when clicking on the Weapon or Armor button, the shop opens up. I can see the weapon icons, but shortly after that follows a crit. error :
After that, even my client-side files got messed up, every item (even in my inventory, including retail items) was shown as "NoNameItem", which i solved by reapplying the patch.
Copying a weapon/armor part: I want to make an expirable weapon/armor. Got no clue what exactly to do here besides editing the items.xml file, copying the weapon/armor and changing it's ID to an unique one, changing it's stats for it to be expirable(I guess the stat used to set this is "<set name="duration" val="600" />" ?)
Is there also an edit needed in the client?
Hope there's someone out here who can help me out please :)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Question
janezt
I'm using l2j aCis.
So, i've tried to do this on my own, but as i'm new to this, the furthest i got, was to be able to see the item icons in the shop, followed by a crit error quicly after that. I'll list the steps i've done, please correct me where i went wrong.
NPC PART:
I was attempting to make an NPC which sells CUSTOM items for 1 adena. The items are already implemented in the server, they just aren't sold at any NPC(craftable/droppable by RB's).
1. I added an NPC in the "data/xml/npc/npcs.xml" file(Copied the stats of an old one) with an unique ID, changed its type to "L2Mercant(idk if that matters ?)
2. I added the NPC in npcgrp.dat, npcname-e.dat.
3. Logged in game, spawned the NPC, the NPC was visible, it's name and tittle as well(no html yet).
4. Added the HTML file in "data\html\merchant\NPCID.html". The html contains some text and 2 anchors(example: "<a action="bypass -h npc_%objectId%_multisell 364543">". The multisell ID's are unique.
5. I created the multisell xml files, in which i added the custom weapons / armors, changed the adena price to "1".
6. Logged in, checked the shop, when clicking on the Weapon or Armor button, the shop opens up. I can see the weapon icons, but shortly after that follows a crit. error :
After that, even my client-side files got messed up, every item (even in my inventory, including retail items) was shown as "NoNameItem", which i solved by reapplying the patch.
Copying a weapon/armor part:
I want to make an expirable weapon/armor.
Got no clue what exactly to do here besides editing the items.xml file, copying the weapon/armor and changing it's ID to an unique one, changing it's stats for it to be expirable(I guess the stat used to set this is "<set name="duration" val="600" />" ?)
Is there also an edit needed in the client?
Hope there's someone out here who can help me out please :)
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.