Page 1 of 1

blacksmith of mammon

Posted: Wed Feb 19, 2014 2:42 am
by jokeuk
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 6383:
L2JDP Revision 10169:

Hi How to make NPC shop like blacksmith of mammon

am doing make a custom npc (in custom npc table) with the samme stats as blacksmith of mammon and change the id from 31126 to lets say 1000004 and then take the html from the file game\data\html\seven_signs
the following htmls that are connected with blacksmith of mammon and change them to copy+paste them in which folder ?? is the rename correct ???
mammblack_1.htm ------>1000004_1.htm
mammblack_1a.htm ------>1000004_1a.htm
mammblack_1b.htm ------>1000004_1b.htm
mammblack_1c.htm ------>1000004_1c.htm
mammblack_2a.htm ------>1000004_2a.htm
mammblack_2b.htm ------>1000004_2b.htm
and then what should i do about the multisell ??? i found in multisell folder from 311262501.xml to 311262519.xml
should i change them accordingly like 10000042501.xml to 10000042519.xml ???
and change the npc type to l2npc is that all correct should i do something with a different way

but got error run server XML
thanks in advance

Re: blacksmith of mammon

Posted: Wed Feb 19, 2014 9:09 am
by jurchiks
That HTML rename will not work, and the multisells also need more than just renaming - there is a list of NPCs allowed to use that specific multisell inside the file, you'll need to change that too.

Re: blacksmith of mammon

Posted: Wed Feb 19, 2014 9:32 am
by jokeuk
Have a Guide for make Custom NPC ?
cuz am try make more time but Cant

Thank you

Re: blacksmith of mammon

Posted: Wed Feb 19, 2014 2:14 pm
by jurchiks
A simple custom NPC would require just the NPC stats + HTMLs + multisells/buylists + maybe an AI script, but if you want it to have the same behavior as the Blacksmith of Mammon, then it won't be so simple.

Re: blacksmith of mammon

Posted: Thu Feb 20, 2014 2:08 am
by jokeuk
if That simple So dont work in SQL Right? just work on stats,HTMLs,multisells/buylists + maybe an AI script?

Re: blacksmith of mammon

Posted: Thu Feb 20, 2014 9:10 am
by jurchiks
There is nothing in SQLs anymore that you would need to care about.