Question about NPC's and locations...

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Gracie
Posts: 11
Joined: Wed Dec 02, 2009 11:28 pm

Question about NPC's and locations...

Post by Gracie »

I think this is the correct forum, I am trying to figure out the relationship between XML, HTML, and scripts in regards to the actual location of NPC's.

I have searched but "npc" is too short a term to use on this site. Where is the actual location of a say in-town npc determined. Is it a script, the table for npc's in the DB doesn't have any location data, and I am not sure where else to look...

What I am wondering is how does one actually place an existing or custom NPC in the world grid?

Can someone give me some clues please?

Thanks in advance.
gracie
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Question about NPC's and locations...

Post by Probe »

"regular" npc+monsters spawns are defined by spawnlist.sql

npcs spawned by scripts are handled inside the scripts

htmls are shown according to the npc's class (if you look at html folder, you'll see default(L2Npc class), merchant (L2Merchant), teleporter (L2Teleporter) etc...) and named after the npc's Id

and quest-related htmls are located inside the quest folder, again named after the npcId showing it.
Gracie
Posts: 11
Joined: Wed Dec 02, 2009 11:28 pm

Re: Question about NPC's and locations...

Post by Gracie »

Thanks very much for the info.

gracie
Post Reply