Register for your free account! | Forgot your password?

You last visited: Today at 20:47

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

Advertisement



5165 Npc Problem !

Discussion on 5165 Npc Problem ! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2006
Posts: 11
Received Thanks: 0
Exclamation 5165 Npc Problem !

i have a BIG problem !

Almost all of my npc's say this line when i press them :


" Hi, i dont talk anything useful yet, my ID is ****** "

What shell i do ? Can someone help me & tell me what is the problem ? Why can they work ?
DIAS007 is offline  
Old 02/26/2010, 22:08   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Moved.
Korvacs is offline  
Old 02/26/2010, 22:12   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
You must code them into NPCDialog.cs
Arcо is offline  
Old 02/26/2010, 22:36   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Yes and most npcs should be there if not download another source and extract the NPCDialog.cs from it into yours!
Paralyzer[GM] is offline  
Old 02/27/2010, 01:36   #5
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
If you look through your NPCDialog.cs you will see NPC names in it.

If you expend the regions you will see 'case: 10000' for example.
If your npcs are saying 'my ID is' and they give you a number... That number is what you use for the case number, its the ID of that npc... Which is what the server uses to keep track of NPCs and their functions.

For example, click the guild conductress in twin city. It will say it's id is 300010.

If you add this
Code:
                            #region TwinCity - GuildArea - GC1
                            case 300010:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like to enter the guild area?"));
                                        GC.AddSend(Packets.NPCLink("Yes.", 1));
                                        GC.AddSend(Packets.NPCLink("Just passing by.", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                        GC.MyChar.Teleport(1038, 348, 339);
                                    break;
                                }
                            #endregion
That guild conductress will ask you if you want to go to the guild area and be able to send you to the guild area.

The reason your npcs are giving you their NPC ids is because you don't have a script like the one above for that npc.
.Ocularis is offline  
Reply

Tags
npc problem [5165]


Similar Threads Similar Threads
5165 atk & def problem(please help take look at this pls)
06/27/2010 - CO2 Private Server - 2 Replies
hi i have co pserver 5165 and i have a big problem in attack and defence, well: 1- fire tao full +15 hit 1k to troj +12 2- troj +12 kill a troj +15 in 1hit and +12 troj has 50k atk and +15 troj has 80k def so how can i make Fire tao attack make more dmg and physic attack make less dmg
Help 5165 Problem
05/01/2010 - CO2 Private Server - 5 Replies
Weird thing I was able to create a private server on my laptop worked nicely simple to set one of these up but I decided to make one on my cpu. Last resort was to ask for help but I can't think of anything else. Problem Im getting is opening NewestCOServer i get cant find database cannot start the server. I know your supose to put the source in the c drive so why it's doing that I have no clue. Im using windows vista with net framework 2.0. If anyone has any ideas please share I will...
[Help]5165 Problem
03/17/2010 - CO2 Private Server - 3 Replies
After some time without using my source, i found some stange bug.... The gears were in the wrong place :S Here is the Screenshot: http://img443.imageshack.us/img443/7758/21249528. jpg Does anyone know how to fix this? Thanks in advance
My Problem in 5165
12/16/2009 - CO2 Private Server - 2 Replies
Hi, I have problems Need help for a npc coded The npc : What can I put in the place of itemtosee it's my problem.. #region npc request case 51200: { if (Control == 0) { GC.AddSend(Packets.NPCSay("you lost an item?"));
[HELP] 5165 Problem
12/07/2009 - CO2 Private Server - 7 Replies
Ok, I have filled out config and everything, but then when I run "NewestCOServer", this happens: http://img18.imageshack.us/img18/4520/problemxq.j pg What did I do wrong?



All times are GMT +1. The time now is 20:48.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.