[HELP]PROBLEM TO ADD NEW NPC

03/29/2015 13:09 zulflbeatz#1
i have some weird problem about npc and i know some of you maybe think this is old topic but i really need help here..
my story is,i try to add npc into client and database but dont work at all
:(
ps: dont tell me to use search button cause i did.a lot of time before i post this

client Npc.ini

[NpcType[9981]
Name=Lover
SimpleObjID=923
StandByMotion=00000920000100
BlazeMotion=00000920000190
BlazeMotion1=00000920000190
BlazeMotion2=00000920000190
RestMotion=00000920000101
Effect=none
ZoomPercent=150
Note=[Love`heart]

red=00000 this i dont know come from where? but sometime i see only 4 zero but this time is 5 zero but i dont know what meaning to this zero...
blue=920 this come from c3 folder
green=000 this i dont know
orange=100,101,190 this also come from c3 folder

i using adele hair designer Npc.ini and lookface,i just change NpcType ID and name


database Cq_npc
Code:
INSERT INTO `cq_npc` VALUES('9981', '0', '0', 'Marylyn', '1', '99816', '0', '0', '-1', '1000', '297', '436', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 0, 'нч', '0', '0', '0', '0', '1', '0', '0', '0', '0' ,0);
what is cq_npc type???

this is pic if i use lookface 19976
[Only registered and activated users can see links. Click Here To Register...]
see the npc name is not same with Npc.ini but why???

this will happen if i use other lookface only 100 or 998 or else..just this green number
[Only registered and activated users can see links. Click Here To Register...]
================================================== ===========
this is npc inside darkness of dragon made by stedabest321 aka T-rex[PM]

[Only registered and activated users can see links. Click Here To Register...]

[NpcType9996]
Name=Amylia
SimpleObjID=923
StandByMotion=00000920000100
BlazeMotion=00000920000190
BlazeMotion1=00000920000190
BlazeMotion2=00000920000190
RestMotion=00000920000101
Effect=none
ZoomPercent=150
Note=LetterQuest

i hope stedabest321 can help me here


sorry for my bad english..:handsdown: if you have link to fix this problem..please give to me

I also use this as a guide
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
03/29/2015 21:24 Soul[PM]#2
[NpcType[9981]
Name=Lover
SimpleObjID=923
StandByMotion=00000923000100
BlazeMotion=00000923000190
BlazeMotion1=00000923000190
BlazeMotion2=00000923000190
RestMotion=00000923000101
Effect=none
ZoomPercent=150
Note=[Love`heart]

[NpcType[9981] must be the same in db id & lookface
03/30/2015 10:10 idlemonkey#3
the 0's mean nothing more than what id they point to in the 3dmotion.ini
npc.ini
Code:
[NpcType1997]
Name=Adele
SimpleObjID=923
StandByMotion=00000920000100
BlazeMotion=00000920000190 
BlazeMotion1=00000920000190 
BlazeMotion2=00000920000190 
RestMotion=00000920000101 
Effect=vampnpc
ZoomPercent=150
Note=[Hair~Designer]
3Dsimpleobj.ini
Code:
[ObjIDType923]
PartAmount=1
Part0=923000000
Texture0=923000000
3dmotion.ini
Code:
00000920000100=c3/npc/920/100.c3
00000920000190=c3/npc/920/190.c3
00000920000101=c3/npc/920/101.c3
if theyre not pointing to the correct id you get a npc that looks like a warpatk as thats the default npc face

Quote:
Originally Posted by Soul[PM] View Post
[NpcType[9981] must be the same in db id & lookface

not type lookface .....( ie:99810 )
the type is for what kind of npc it is
the id can be any number that isnt used
03/30/2015 13:31 zulflbeatz#4
Quote:
Originally Posted by Soul[PM] View Post
[NpcType[9981]
Name=Lover
SimpleObjID=923
StandByMotion=00000923000100
BlazeMotion=00000923000190
BlazeMotion1=00000923000190
BlazeMotion2=00000923000190
RestMotion=00000923000101
Effect=none
ZoomPercent=150
Note=[Love`heart]

[NpcType[9981] must be the same in db id & lookface
sir soul[PM] i have try that but not work. like sir idlemonkey say i will get a npc that looks like a warpatk as default npc face sometime look like flag shop.:D

Quote:
Originally Posted by idlemonkey View Post
the 0's mean nothing more than what id they point to in the 3dmotion.ini
npc.ini
Code:
[NpcType1997]
Name=Adele
SimpleObjID=923
StandByMotion=00000920000100
BlazeMotion=00000920000190 
BlazeMotion1=00000920000190 
BlazeMotion2=00000920000190 
RestMotion=00000920000101 
Effect=vampnpc
ZoomPercent=150
Note=[Hair~Designer]
3Dsimpleobj.ini
Code:
[ObjIDType923]
PartAmount=1
Part0=923000000
Texture0=923000000
3dmotion.ini
Code:
00000920000100=c3/npc/920/100.c3
00000920000190=c3/npc/920/190.c3
00000920000101=c3/npc/920/101.c3
if theyre not pointing to the correct id you get a npc that looks like a warpatk as thats the default npc face




not type lookface .....( ie:99810 )
the type is for what kind of npc it is
the id can be any number that isnt used
thanks a lot sir idlemonkey for this infomation I really appreciate your hard work, it really help me a lot,:handsdown: but why this not work, i mean about npc how to fix it..why npc name not changing like NpcTypeID i made name lover not Adele?i try to make npc look like Adele[Hair~Designer]...like sir soul[PM] say [NpcType[9981] must be the same in db id & lookface...this is same like other tutorial in this forum..:(

sorry for my bad english..:handsdown:
03/30/2015 23:49 idlemonkey#5
whats the database entry look like ....? is there another entry for 9981 (dont forget to add a directional number such as 99810 or it reads to the server as 998(facing east"1") have you tried using a different id than 9981

why dont you just change the name and notation on the one thats already there with the id 1997?
03/31/2015 02:43 zulflbeatz#6
Quote:
Originally Posted by idlemonkey View Post
whats the database entry look like ....? is there another entry for 9981 (dont forget to add a directional number such as 99810 or it reads to the server as 998(facing east"1") have you tried using a different id than 9981

why dont you just change the name and notation on the one thats already there with the id 1997?
i dont really understand sir,:confused:no other id same in database like this ID 9981 and i have try ID 9999,1234 and etc..but still look like (adele),or maybe i still put wrong number ID inside database.. you can check it i try this in tear of sorrow database
04/01/2015 02:27 idlemonkey#7
Quote:
Originally Posted by zulflbeatz View Post
i dont really understand sir,:confused:no other id same in database like this ID 9981 and i have try ID 9999,1234 and etc..but still look like (adele),or maybe i still put wrong number ID inside database.. you can check it i try this in tear of sorrow database
your problem is not your "ID" its the lookface...

my guess is youre adding it like this
Code:
9981	0	0	npcname	1	19976	0	0	-1	1000	279	532	3013650	0	0	0	0	0	0	0	1	2	0	0	нч	0	0	0	0	1	0	0	0	0	0
or like this
Code:
9981	0	0	npcname	1	9981	0	0	-1	1000	279	532	3013650	0	0	0	0	0	0	0	1	2	0	0	нч	0	0	0	0	1	0	0	0	0	0
when it should be added like this
Code:
9981	0	0	npcname	1	99816	0	0	-1	1000	279	532	3013650	0	0	0	0	0	0	0	1	2	0	0	нч	0	0	0	0	1	0	0	0	0	0
that is assuming all your ini files are correct

note the 6 after the lookface that shows which way its pointing
04/01/2015 03:32 zulflbeatz#8
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

I have spend the rest of my night to find ways to solve this problem but still failed and I have tried your way for me just now but the npc is gone. I do not know why? i have try to another clients and the database but still like this..anyone if you have idea please give me,let me try it:handsdown:

sorry for my bad english
hope you all can understand
04/02/2015 12:14 idlemonkey#9
ok lets try this another way...
u say you can successfly make the npc look like the other npc id u had for the hair designer "adel" well go in and copy that whole entry for "adelle"
ie:
Code:
[NpcType1997]
Name=Adele
SimpleObjID=923
StandByMotion=00000920000100
BlazeMotion=00000920000190 
BlazeMotion1=00000920000190 
BlazeMotion2=00000920000190 
RestMotion=00000920000101 
Effect=vampnpc
ZoomPercent=150
Note=[Hair~Designer]
and replace your new entry with it
change these 3 things only
Code:
[NpcType1997] <--change to your new id
Name=Adele <--change to your new name
Note=[Hair~Designer] <--change to your new note
now there shouldnt be any reason that shouldnt work everything for your npc is already added and works so there is no need to re write it

I cant explain any easier than this without literally doing it for you
why dont you read up on the subject more and learn how these files work together
all this information is here on this site....
04/03/2015 01:29 zulflbeatz#10
Quote:
Originally Posted by idlemonkey View Post
ok lets try this another way...
u say you can successfly make the npc look like the other npc id u had for the hair designer "adel" well go in and copy that whole entry for "adelle"
ie:
Code:
[NpcType1997]
Name=Adele
SimpleObjID=923
StandByMotion=00000920000100
BlazeMotion=00000920000190 
BlazeMotion1=00000920000190 
BlazeMotion2=00000920000190 
RestMotion=00000920000101 
Effect=vampnpc
ZoomPercent=150
Note=[Hair~Designer]
and replace your new entry with it
change these 3 things only
Code:
[NpcType1997] <--change to your new id
Name=Adele <--change to your new name
Note=[Hair~Designer] <--change to your new note
now there shouldnt be any reason that shouldnt work everything for your npc is already added and works so there is no need to re write it

I cant explain any easier than this without literally doing it for you
why dont you read up on the subject more and learn how these files work together
all this information is here on this site....
sir,i have try that too..before i post here..if i use npc id inside myserver/ini/npc.ini that already in database..it work fine..example,if i find id inside cq_npc that belong to map 100<--we dont have map 100 right?so i can take that id to make new npc, but problem is if i do like that every time i need npc id it will not enough for me to make another one..

now this look face npc is working perfectly but i dont know why this happen?
sir Khalidmadkour massage me this morning and he tell me try to move npc id inside npc.ini to top and it work,thank to Khalidmadkour and also idlemonkey because helping me alot..
[Only registered and activated users can see links. Click Here To Register...]