If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
how i can remove that annoying think "Only a Lord of Dusk can use this"
Blacksmith of Mammon and Merchant of mammon
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 114
- Joined: Sun Jan 10, 2010 2:25 pm
- Corinna
- Posts: 54
- Joined: Mon Jan 07, 2008 8:42 pm
Re: Blacksmith of Mammon and Merchant of mammon
Create a custom NPC (Copy Merchant of Mammon from npc table, put it into custom_npc with an other ID), copy the multisell (change ID from it), make a custom html (change the id of the bypass), put it into html/merchant, spawn him, done
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Blacksmith of Mammon and Merchant of mammon
you only need to make a custom npc and copy+rename htms (to the id of your custom npcs, of course), keep the links, there's no need for 2 files that are exactly the same
Edit: you must also change npc type to L2Npc instead of L2SignsPriest
Edit: you must also change npc type to L2Npc instead of L2SignsPriest
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.
- Corinna
- Posts: 54
- Joined: Mon Jan 07, 2008 8:42 pm
Re: Blacksmith of Mammon and Merchant of mammon
L2NPC only if he put the HTML to default folder in my description he had to change the type into L2Merchant (forgot to post it, sry )
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Blacksmith of Mammon and Merchant of mammon
well it doesn't matter L2Npc or L2Merchant, just NOT L2SignsPriest
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.
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: Blacksmith of Mammon and Merchant of mammon
there is config for that.
And changing type will not help - ids are hardcoded,
And changing type will not help - ids are hardcoded,
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Blacksmith of Mammon and Merchant of mammon
template ids?
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: 6
- Joined: Sun May 13, 2012 4:17 pm
Re: Blacksmith of Mammon and Merchant of mammon
can someone plz summarize what is needed exactly to spawn blacksmith of mammon and merchant of mammon without any problems with h5.
if i 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
thanks in advance
edit: in the htm there is the command action="bypass -h npc_%objectId%_exc_multisell 311262512" ------> action="bypass -h npc_%objectId%_exc_multisell 10000042512" should i copy and change the multisell names or keeping the same whould work ??
if i 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
thanks in advance
edit: in the htm there is the command action="bypass -h npc_%objectId%_exc_multisell 311262512" ------> action="bypass -h npc_%objectId%_exc_multisell 10000042512" should i copy and change the multisell names or keeping the same whould work ??