Page 1 of 1

Adding npcs to my server

Posted: Sat Jun 21, 2014 5:35 am
by Diana
Server Rev: 6564
Datapack Rev: 10359

Okay so at the bottom I have attached the files that I`m using to add a PvP-Pk Count npc, gatekeeper, warehouse manager, server manager, and a GM shop. I have followed all the steps provided in the READ ME notepad which are as follows:
1) Install sql file
2)Copy and paste all files into their folders ( you should just follow the folders)
3)Resrart Your Server
4)Spawn Npc's The id's are

36600 Augument Manager
36601 PvP-Pk Manager
36602 Pk Protector
36603 Gm Shop
36604 Gatekeeper
36605 WareHouse Manager
36606 Npc Server Informer

- For the SQL file, I had to add the npcs manually into the npc table in l2jgs because the tables weren't matching.
And for the PvP-Pk Manager there was an included python script which I put in the custom scripts and added the path to it in scripts.cfg. (PvP-Pk Manager is the only working npc)

- For the rest of the npcs, I just added the files included in the .rar file to the html in data. they can be spawned in game, they can be targeted and their name tells what they should do. However, when I click on them (The GM shop for example), it just says that the npc doesn't have any quests for you, and it doesn't display the options that it should display.

So am I doing something wrong here? is there any extra step that needs to be done to make them work?
Assistance will be much appreciated!

Re: Adding npcs to my server

Posted: Sat Jun 21, 2014 9:18 am
by Gries
- About SQL they have been moved to datapack if you are using BETA. But as you wrote seems you have installed it properly, just check if you wrote the correct npcID.

- If the NPC says that doesn't have any quest for you there can be multiple reason for that:
• maybe you forgot to change the npctype, for example L2Merchant for your GMSHop
• maybe there's some error in the files (check console if you have any)
• maybe you forgot to add your script path into scripts.cfg file so it is not loading
• maybe you have installed files in the wrong location


* IF it is not a live server you can always try to use //reload <html,npc,multisell> and //script_load

Re: Adding npcs to my server

Posted: Sat Jun 21, 2014 10:02 am
by UnAfraid
Regarding npcs check this file here we ported other custom npcs http://trac.l2jdp.com/browser/branches/ ... custom.xml
Edit: Try to use this tool http://l2j.admincp.eu/

Re: Adding npcs to my server

Posted: Sun Jun 22, 2014 12:56 am
by Diana
Gries wrote:- About SQL they have been moved to datapack if you are using BETA. But as you wrote seems you have installed it properly, just check if you wrote the correct npcID.

- If the NPC says that doesn't have any quest for you there can be multiple reason for that:
• maybe you forgot to change the npctype, for example L2Merchant for your GMSHop
• maybe there's some error in the files (check console if you have any)
• maybe you forgot to add your script path into scripts.cfg file so it is not loading
• maybe you have installed files in the wrong location


* IF it is not a live server you can always try to use //reload <html,npc,multisell> and //script_load
This worked perfectly for all the npcs, thanks very much!