Register for your free account! | Forgot your password?

You last visited: Today at 11:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



editing npc names

Discussion on editing npc names within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
editing npc names

I've been coding my pserver for a while now and I've started to create NPCs for quests and stuff. the only problem i have at the moment is that i don't know how to edit NPC names (i can only use currently existing NPCs and duplicate them.)

I was wondering if anyone could point in me the right direction as to how to edit their names or show me a thread that gives a walk through(and i don't need my hand held through it just a brief explanation will do xP).

much thanks,

killerdiggs
killerdiggs is offline  
Thanks
1 User
Old 11/20/2009, 13:49   #2
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
NPC names are client-sided. Whenever you send a show-NPC packet to the client, it contains an NPC ID and the client then gets the name from npc.ini using the ID.
IAmHawtness is offline  
Thanks
1 User
Old 11/20/2009, 15:06   #3
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Quote:
Originally Posted by IAmHawtness View Post
NPC names are client-sided. Whenever you send a show-NPC packet to the client, it contains an NPC ID and the client then gets the name from npc.ini using the ID.
I believe as I'm not sure if TQ removed this functionality of not, but you can extend the structure of the NPC Spawn packet so that you can explicitly send a name of an NPC to the client too (which will override looking up the name in the *.ini file).
InfamousNoone is offline  
Thanks
1 User
Old 11/20/2009, 19:00   #4
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
Quote:
Originally Posted by InfamousNoone View Post
I believe as I'm not sure if TQ removed this functionality of not, but you can extend the structure of the NPC Spawn packet so that you can explicitly send a name of an NPC to the client too (which will override looking up the name in the *.ini file).
. Never tried/knew that. You remember what byte location the NPC name starts at? I wanna try it out .
IAmHawtness is offline  
Old 11/20/2009, 20:39   #5
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by InfamousNoone View Post
I believe as I'm not sure if TQ removed this functionality of not, but you can extend the structure of the NPC Spawn packet so that you can explicitly send a name of an NPC to the client too (which will override looking up the name in the *.ini file).
Wow, this is useful information.
Never knew this.
Thanks for sharing

~Bas
Basser is offline  
Old 11/20/2009, 22:30   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by killerdiggs View Post
I've been coding my pserver for a while now and I've started to create NPCs for quests and stuff. the only problem i have at the moment is that i don't know how to edit NPC names (i can only use currently existing NPCs and duplicate them.)

I was wondering if anyone could point in me the right direction as to how to edit their names or show me a thread that gives a walk through(and i don't need my hand held through it just a brief explanation will do xP).

much thanks,

killerdiggs
raidenx123 made a guide on it.
Here's the link.

Arcо is offline  
Thanks
1 User
Old 11/20/2009, 23:02   #7
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
Quote:
Originally Posted by Tiku View Post
raidenx123 made a guide on it.
Here's the link.

^^
thanks man you saved me a lot of thinking and trouble
killerdiggs is offline  
Old 11/21/2009, 05:25   #8
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
i need it for CoEmu V2, this is for LOTF. Someone pls post it if you know it.

Thx

Killerdiggs
killerdiggs is offline  
Old 11/21/2009, 07:01   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
It works for all.
Open your client and ini folder.
Then click on NPC.ini
Then copy a npc and edit name and UID.
#*=DarkAngeL=*# is offline  
Old 11/21/2009, 07:50   #10
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
Quote:
Originally Posted by #*=DarkAngeL=*# View Post
It works for all.
Open your client and ini folder.
Then click on NPC.ini
Then copy a npc and edit name and UID.
I know that part is right. What I need is to know how to change it in the database. Because if I put in a type that doesn't exist(i created) it turns into a shopkeeper. Any ideas?

thx
Killerdiggs
killerdiggs is offline  
Old 11/21/2009, 11:03   #11


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518


Is what your looking for, what your struggling with is the last part in this guide.
Korvacs is offline  
Old 11/21/2009, 16:47   #12
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by Korvacs View Post


Is what your looking for, what your struggling with is the last part in this guide.
Somebody already posted that guide, this isn't really adding anything useful.
Basser is offline  
Old 11/21/2009, 17:01   #13


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Smythe94 View Post
Somebody already posted that guide, this isn't really adding anything useful.
Appart from the fact that i mentioned that the bit hes having difficulty with is the last stage in the guide.

So hopefully he will revisit and make changes accordingly.
Korvacs is offline  
Old 11/22/2009, 19:30   #14
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
Quote:
Originally Posted by Korvacs View Post


Is what your looking for, what your struggling with is the last part in this guide.
which part? step 6? were it says:

Code:
Step6. Time to know what ID you are going to use for the NPC, the ID you just put in step above is it, but you gotta multiply by 10. So I am going to choose the ID 1987. And the Type ID I would use would be 19870.
i have tried that but i still think im doing something wrong. pls tell me what the subtype should be cuz i think thats my problem
killerdiggs is offline  
Old 11/23/2009, 00:59   #15
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by killerdiggs View Post
which part? step 6? were it says:

Code:
Step6. Time to know what ID you are going to use for the NPC, the ID you just put in step above is it, but you gotta multiply by 10. So I am going to choose the ID 1987. And the Type ID I would use would be 19870.
i have tried that but i still think im doing something wrong. pls tell me what the subtype should be cuz i think thats my problem
Exactly what problems are you coming across?
Arcо is offline  
Reply


Similar Threads Similar Threads
[HELP] NPC Names/Dshop Names
02/21/2010 - Dekaron Private Server - 10 Replies
I need to fix my D-shop and NPC Names as they are all in gibberish This is what they currently look like :D :D http://i167.photobucket.com/albums/u134/Scotticus 22/554433-2.jpg
[Names] All Server Names! Recommended Servers Are Marked!
02/15/2009 - CO2 Private Server - 36 Replies
Hey i saw Many server that are using the same names xD its funny so here is a list to help u out. Later I Will Make A List With Avaible Names And I Will Put In The (Already In Use) Names What Server Is Dead And What Server Is Alive! THE BLUE SERVERS ARE RECOMMENDED! First 1-146 Names That Are In Use! CoEmu PorousCO CoUnleashed TCWNN
change color of item names or guild names?
05/07/2006 - Conquer Online 2 - 2 Replies
How can i change the color of the item names or guild names? -- they are both yellow and screw up my bot... so i cant be in a guild to us my bot and pick up items.
editing itemtype.ini to see names of mb tokens
03/23/2006 - Conquer Online 2 - 3 Replies
Can anyone give instructions on how to edit the itemtype.ini to see the name of tokens in moonbox tactics?



All times are GMT +2. The time now is 11:33.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.