NPC PROBLEMS
Posted: Sat Nov 06, 2010 9:44 am
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 4422:
L2JDP Revision 7669:
Helli i will explane everything step by step!
I created custom NPC with ID 1000004 choosed L2Merchant type all other stats copied from original NPC(id32365)
Them created data/htlm/merchant/1000004.htm file for him
After that created data/multisell/6666.xml file
Here is my XML file:
------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Majestic Recipies -->
<list>
<item id="1">
<ingredient id="10639" count="100" />
<production id="5338" count="1" />
</item>
<!-- Next -->
<item id="2">
<ingredient id="10639" count="100" />
<production id="5352" count="1" />
</item>
<!-- Next -->
<item id="3">
<ingredient id="10639" count="100" />
<production id="5382" count="1" />
</item>
<!-- Next -->
<item id="4">
<ingredient id="10639" count="100" />
<production id="5406" count="1" />
</item>
<!-- Next -->
<item id="5">
<ingredient id="10639" count="100" />
<production id="5422" count="1" />
</item>
<!-- Next -->
<item id="6">
<ingredient id="10639" count="100" />
<production id="5432" count="1" />
</item>
</list>
-------------------------------------------------------------------------------------------------------------------
Here is my HTML file:
------------------------------------------------------------------------------------------------
<html><body>Black Market:<br>
Get black market goods<br>
<a action="bypass -h npc_%objectId%_multisell 6666">Coin Shop</a>
</body></html>
-----------------------------------------------------------------------------------------------
Saved all data rebooted server,then entered the game spawned NPC,and i could see my HTML text and link Coin Shop in NPC dialogue box,but it was inactive,when i clicked on it nothing happened!
Then what i did reloaded HTML Multisell NPC and Instance Manager data from Admin panel and some how it started working!
So i created few more xml files to add 6666-1.xml 6666-2.xml 6666-3.xml 6666-4.xml!
Pasted them in HTML/merchant/1000004.htm file!
<a action="bypass -h npc_%objectId%_multisell 6666-1">Majestic</a> and so on!
BUT:i get the same problem and i can not do anything,all links on NPC dialogue box seems to be inactive!
Can somebody tell me what am i doing wrong?
ยป Find Revision
L2J Revision 4422:
L2JDP Revision 7669:
Helli i will explane everything step by step!
I created custom NPC with ID 1000004 choosed L2Merchant type all other stats copied from original NPC(id32365)
Them created data/htlm/merchant/1000004.htm file for him
After that created data/multisell/6666.xml file
Here is my XML file:
------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Majestic Recipies -->
<list>
<item id="1">
<ingredient id="10639" count="100" />
<production id="5338" count="1" />
</item>
<!-- Next -->
<item id="2">
<ingredient id="10639" count="100" />
<production id="5352" count="1" />
</item>
<!-- Next -->
<item id="3">
<ingredient id="10639" count="100" />
<production id="5382" count="1" />
</item>
<!-- Next -->
<item id="4">
<ingredient id="10639" count="100" />
<production id="5406" count="1" />
</item>
<!-- Next -->
<item id="5">
<ingredient id="10639" count="100" />
<production id="5422" count="1" />
</item>
<!-- Next -->
<item id="6">
<ingredient id="10639" count="100" />
<production id="5432" count="1" />
</item>
</list>
-------------------------------------------------------------------------------------------------------------------
Here is my HTML file:
------------------------------------------------------------------------------------------------
<html><body>Black Market:<br>
Get black market goods<br>
<a action="bypass -h npc_%objectId%_multisell 6666">Coin Shop</a>
</body></html>
-----------------------------------------------------------------------------------------------
Saved all data rebooted server,then entered the game spawned NPC,and i could see my HTML text and link Coin Shop in NPC dialogue box,but it was inactive,when i clicked on it nothing happened!
Then what i did reloaded HTML Multisell NPC and Instance Manager data from Admin panel and some how it started working!
So i created few more xml files to add 6666-1.xml 6666-2.xml 6666-3.xml 6666-4.xml!
Pasted them in HTML/merchant/1000004.htm file!
<a action="bypass -h npc_%objectId%_multisell 6666-1">Majestic</a> and so on!
BUT:i get the same problem and i can not do anything,all links on NPC dialogue box seems to be inactive!
Can somebody tell me what am i doing wrong?