Page 1 of 1

Creating new NPC

Posted: Sun Mar 25, 2007 8:49 pm
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?

Re: Creating new NPC

Posted: Mon Mar 26, 2007 1:51 am
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:

Posted: Mon Mar 26, 2007 2:40 am
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?

Posted: Mon Mar 26, 2007 3:36 am
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.