Page 1 of 1

NPC Spawn - Shiela

Posted: Tue Apr 07, 2015 7:24 am
by Bazcor
Hi guys,

I am trying to spanw a NPC (Shiela - Buffer) but I cannot. I read a lot forum messages and some people said "enable custom npc table"... It seems that custom_npc table is not supported on my version (I downloaded the latest one and custom_npc table does not exist)... so, what should I do?

Thanks in advance.

Bazcor

Re: NPC Spawn - Shiela

Posted: Tue Apr 07, 2015 2:26 pm
by Amrod
I downloaded the latest one and custom_npc table does not exist
If this table doesn't exist, you Need to install it. There are .SQL files that Show you how you have to Name the columns.

Re: NPC Spawn - Shiela

Posted: Tue Apr 07, 2015 6:34 pm
by volix
This NPC Shiela?
Look at General.properties

Re: NPC Spawn - Shiela

Posted: Wed Apr 08, 2015 4:01 am
by Bazcor
Hi guys,

New Datapack is not using SQL tables to store custom NPCs, even on SQL updates it is removing the tables.

e.g.

[root@games updates]# pwd
/games/l2j/sql/game/updates
[root@games updates]# cat 20140211update.sql
DROP TABLE IF EXISTS `droplist`;
DROP TABLE IF EXISTS `npc`;
DROP TABLE IF EXISTS `npc_elementals`;
DROP TABLE IF EXISTS `npcaidata`;
DROP TABLE IF EXISTS `npcskills`;
DROP TABLE IF EXISTS `custom_droplist`;
DROP TABLE IF EXISTS `custom_npc`;
DROP TABLE IF EXISTS `custom_npc_elementals`;
DROP TABLE IF EXISTS `custom_npcaidata`;
DROP TABLE IF EXISTS `custom_npcskills`;

[root@games updates]#

I checked my DB and those tables does not exist.

So, my question is... what is the new procedure to add custom NPCs?

Thanks in advance,

Bazcor

Re: NPC Spawn - Shiela

Posted: Sun Apr 12, 2015 4:40 pm
by feris
Same problem here, i cant Create new custom NPC for YANBuffer, cause there are no "custom_npc" table in Navicat.

Re: NPC Spawn - Shiela

Posted: Sun Apr 12, 2015 7:51 pm
by Amrod
So I misunderstood.

All NPC's are now withing XML files. --> data/stats/npcs

There is a custom Folder in which you can place her, like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/npcs.xsd">
<npc id="1000003" displayId="32226" name="Shiela" usingServerSideName="true" title="L2J NPC Buffer" usingServerSideTitle="true"^type="L2NpcBuffer">
		<collision>
			<radius normal="11" />
			<height normal="22.25" />
		</collision>
	</npc>
</list>