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
blacksmith of mammon
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: blacksmith of mammon
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 12
- Joined: Thu Jan 23, 2014 3:17 am
Re: blacksmith of mammon
Have a Guide for make Custom NPC ?
cuz am try make more time but Cant
Thank you
cuz am try make more time but Cant
Thank you
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: blacksmith of mammon
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 12
- Joined: Thu Jan 23, 2014 3:17 am
Re: blacksmith of mammon
if That simple So dont work in SQL Right? just work on stats,HTMLs,multisells/buylists + maybe an AI script?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: blacksmith of mammon
There is nothing in SQLs anymore that you would need to care about.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.