npc trader/clas tutorial page
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 16
- Joined: Mon Jan 17, 2011 9:16 pm
npc trader/clas tutorial page
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4488
L2JDP Revision Number:7761
hello XD i hope to have been posted in right place, i need to ask you two bit things, XD
first how i can edit the tutorial page opened to make a class exchange wiouth quest? not the html but the item need to class, default is nothings but i want to add some item to class XD
Second i don't know how to create a npc trader (not the seller i know how to make a custom npc that sell item for only adena), anyone can tell me how create a custom npc that trade item for item? not only adena but item XD
sry for my bad english XD
» Find Revision
L2J Revision Number:4488
L2JDP Revision Number:7761
hello XD i hope to have been posted in right place, i need to ask you two bit things, XD
first how i can edit the tutorial page opened to make a class exchange wiouth quest? not the html but the item need to class, default is nothings but i want to add some item to class XD
Second i don't know how to create a npc trader (not the seller i know how to make a custom npc that sell item for only adena), anyone can tell me how create a custom npc that trade item for item? not only adena but item XD
sry for my bad english XD
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: npc trader/clas tutorial page
XD
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- dark911_ro
- Posts: 80
- Joined: Wed Sep 08, 2010 11:48 am
- Location: Romania
Re: npc trader/clas tutorial page
Code: Select all
<item id="2"> <!-- Adena --> <ingredient count="5400" id="57" /> <-- change ingredient id and count with what u want --> <!-- Wooden Breastplate --> <production count="1" id="23" /> </item>
- shinomidefuego
- Posts: 122
- Joined: Thu Jun 28, 2007 5:37 pm
- Location: Venezuela
- Contact:
-
- Posts: 16
- Joined: Mon Jan 17, 2011 9:16 pm
Re: npc trader/clas tutorial page
sry dont't understand
- Flashy
- Posts: 310
- Joined: Mon Sep 29, 2008 11:49 am
- Location: Germany
Re: npc trader/clas tutorial page
Trader
http://trac.l2jserver.com/wiki/multisell
NPC:
npc Table ---> active in config. custom Tables
copy from npc table the npc, what u want edit to custom_npc.
Edit the id to a new id. then edit the stats etc.
htm: same like the npc id.. if u use npc with id 99999 ur htm in /data/htm should called 99999.htm.
same for mulltisell the id is part of the mulisell xml name.
so it was a very short explaination, but try it, look to other npc's and multisells how it realized and try to make ur own one....
http://trac.l2jserver.com/wiki/multisell
NPC:
npc Table ---> active in config. custom Tables
copy from npc table the npc, what u want edit to custom_npc.
Edit the id to a new id. then edit the stats etc.
htm: same like the npc id.. if u use npc with id 99999 ur htm in /data/htm should called 99999.htm.
same for mulltisell the id is part of the mulisell xml name.
so it was a very short explaination, but try it, look to other npc's and multisells how it realized and try to make ur own one....
-
- Posts: 154
- Joined: Sat Dec 25, 2010 10:09 pm
- Location: Portugal
Re: npc trader/clas tutorial page
yeah in the HTML set the link to a Multisell list. For example:
So this is for a button where the value="weapons" is what appears to the player and the 50001 is the nr of the multisell file you have created.
The same thing in normal link.
Now Press Board Index(at the top in the forum) and use search with the right keywords.
Cya
P.S.: how to do a XML list?? see the files allready there, compare, and dark911_ro allready shown.
Code: Select all
<button action="bypass -h npc_%objectId%_multisell 50001" value="weapons" width=200 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
Code: Select all
<a action="bypass -h npc_%objectId%_multisell 50001">Weapons</a>
Now Press Board Index(at the top in the forum) and use search with the right keywords.
Cya
P.S.: how to do a XML list?? see the files allready there, compare, and dark911_ro allready shown.
My teachers XD: jurchiks
-
- Posts: 21
- Joined: Sun Jan 30, 2011 11:55 pm
Re: npc trader/clas tutorial page
I got a problem with multisell also.
I am using correct links etc but the multisell won't connect to the merchant.
Any ideas ?
I am using correct links etc but the multisell won't connect to the merchant.
Any ideas ?
-
- Posts: 154
- Joined: Sat Dec 25, 2010 10:09 pm
- Location: Portugal
-
- Posts: 21
- Joined: Sun Jan 30, 2011 11:55 pm
Re: npc trader/clas tutorial page
Well what i did do is make almost a clean copy of Lector ( Weapons Dealer in Talking Island Village) and yes it is a L2Merchant type. When i SHIFT+Click on him he has Shop between the buttons. But when i click him everything loads up (htm) but when i click the button where targets are set as multisell nothing comes up :/
EDIT: I have tryed to connect to other multisell s and they are working fine ... I will try to do something with the multisells
EDIT 2: This is what i am using conflict-npc. Vesper shop is working fine for me but i can't get GM Shop to work properly :/. It comes without SQL so maybe i made a mistake there or ?
Bani
EDIT: I have tryed to connect to other multisell s and they are working fine ... I will try to do something with the multisells

EDIT 2: This is what i am using conflict-npc. Vesper shop is working fine for me but i can't get GM Shop to work properly :/. It comes without SQL so maybe i made a mistake there or ?
Bani
-
- Posts: 154
- Joined: Sat Dec 25, 2010 10:09 pm
- Location: Portugal
Re: npc trader/clas tutorial page
I think your Multisell file ( .xml) is not well writen. Check when loading the multisell if gives any error at server.
My teachers XD: jurchiks