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.
jajja idiots.... trojan in .cpp and .h jajajajaja yes yes yes yes yes
Goood luck
PD:
it would be good for you to demonstrate the idiocy you are saying.
or is it just that you don't want people to open their servers for free?
YOU HAVE ONLY ONE POST IN THE FORUM, YOU REGISTERED THE SAME DAY YOU POSTED THIS...
DO YOU PEOPLE REALIZE THAT ALL THESE COMMENTS ARE MADE BECAUSE THEY DON'T WANT YOU TO SET UP YOUR SERVERS FOR FREE?
IT'S CLEAR ISN'T IT?
Hello everyone,
Im Looking for a database wich was used on a live server.
If anyone has one Laying around, it would be nice if you could share it with me.
Ofcourse you can delete the User Mail Adresses. Its just for Private purpose, im making a webinterface just for fun and wanted to have a database wich is "filled" with Real data. If anyone is intrested, i could share the webinterface later for free when i Finished the Project.
Thanks
Interlude, At the moment I'm already able to compile and decompile, now I just need to make the files connect, that's all I need, inside my Skill.usk I couldn't see anything that's inside my LineageEffect.u, that's all I need, can you help me?
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.