Creating new NPC

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
tanker3
Posts: 20
Joined: Sun Mar 11, 2007 8:16 am

Creating new NPC

Post by tanker3 »

I have created new NPC and having trouble getting the name to show and spawning the correct NPC char.

The name comes up blank and spawns the Mac. Golm.
I have told it to spawn the Human High Pirest NPC and Set the name but still dosnt work.

Code: Select all

UPDATE`npc`SET`name`='GM Shop'WHERE CONCAT(`id`)=30038;
replace INTO npc VALUES (30038,30038,'GM Shop',0,'One Stop',0,'NPC.a_mageguild_master_FHuman',8,22.5,70,'male','L2Merchant',40,2000,1500,2.37,1.53,40,43,30,21,20,25,0,0,88,119,40,112,282,0,333,0,0,0,30,120,'',0,0,0);
Any ideas?
User avatar
DrHouse
L2j Inner Circle
L2j Inner Circle
Posts: 912
Joined: Mon Jan 22, 2007 12:14 am
Location: Spain

Re: Creating new NPC

Post by DrHouse »

tanker3 wrote:I have created new NPC and having trouble getting the name to show and spawning the correct NPC char.

The name comes up blank and spawns the Mac. Golm.
I have told it to spawn the Human High Pirest NPC and Set the name but still dosnt work.

Code: Select all

UPDATE`npc`SET`name`='GM Shop'WHERE CONCAT(`id`)=30038;
replace INTO npc VALUES (30038,30038,'GM Shop',0,'One Stop',0,'NPC.a_mageguild_master_FHuman',8,22.5,70,'male','L2Merchant',40,2000,1500,2.37,1.53,40,43,30,21,20,25,0,0,88,119,40,112,282,0,333,0,0,0,30,120,'',0,0,0);
Any ideas?
Try this:

Code: Select all

UPDATE`npc`SET`name`='GM Shop'WHERE CONCAT(`id`)=30038;
replace INTO npc VALUES (30038,30038,'GM Shop',1,'One Stop',1,'NPC.a_mageguild_master_FHuman',8,22.5,70,'male','L2Merchant',40,2000,1500,2.37,1.53,40,43,30,21,20,25,0,0,88,119,40,112,282,0,333,0,0,0,30,120,'',0,0,0);
As you see, I have writen 1 instead of 0 at colums "serversidename" and "serversidetitle". I don't remember exactly the names, but I think this will work. :wink:
tanker3
Posts: 20
Joined: Sun Mar 11, 2007 8:16 am

Post by tanker3 »

Ok that worked his mane and title is there but for some reason he is still a Golm. And somtimes he crashes me when i talk to him , is that couse i had those setting to 0 instead of 1?
User avatar
DrHouse
L2j Inner Circle
L2j Inner Circle
Posts: 912
Joined: Mon Jan 22, 2007 12:14 am
Location: Spain

Post by DrHouse »

tanker3 wrote:Ok that worked his mane and title is there but for some reason he is still a Golm. And somtimes he crashes me when i talk to him , is that couse i had those setting to 0 instead of 1?
Don't think so. If talking to the npc crashes you, should be some mistakes on npc's html.

To change your npc appereance, change the template_id column.
Image

Leadership and management are not talk and talk, but talk and do

Proud of being a part of this project
Post Reply