Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 23:50

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

Advertisement



Changing NPC Dialog in Elite-Co Source

Discussion on Changing NPC Dialog in Elite-Co Source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
warzie006's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 80
Received Thanks: 0
Changing NPC Dialog in Elite-Co Source

Where can i change the npc dialog in the elite-co source?

Because I can't find any dialog in there xD
warzie006 is offline  
Old 02/11/2011, 15:54   #2
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
just use the edit -> quick find and choose entire solution.
Syst3m_W1z4rd is offline  
Old 02/11/2011, 16:34   #3
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
Quote:
Originally Posted by warzie006 View Post
Where can i change the npc dialog in the elite-co source?

Because I can't find any dialog in there xD
I've never used Coemu , but your signature sucks SO HARD.

All The best,
Stefan
Iron~Man is offline  
Old 02/11/2011, 16:50   #4
 
warzie006's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 80
Received Thanks: 0
I know it, my sig is sucks :P And it a long time ago sinds I had changed it and i was online

But there is a problem. I had found it and changed it. After that I had changed it I had debugged it (f5) then I had logged in and checked the dialog. No change. What is the problem?
warzie006 is offline  
Old 02/11/2011, 18:38   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
From what I remember he was working on converting to a sql based npc system... Not sure if he ever finished the system though. Try looking through the database for different npctext options.
pro4never is offline  
Old 02/11/2011, 18:52   #6
 
warzie006's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 80
Received Thanks: 0
No text thing in there

But thanks anywat

I now have made a pic:



And the dialog in Oldstyle.cs:

Code:
                    #region MysticMerchant
                    case 410:
                        {
                            if (LinkBack == 0)
                            {
                                Text("Hello " + CSocket.Client.Name + ", I have many good things to sell you for cheap.\n What would you like?", CSocket);
                                //Link("DragonBall 10 kk", 10, CSocket);
                                //Link("Super Praying Stone 65 kk", 11, CSocket);
                                //Link("Super Dragon Gem 50 kk", 12, CSocket);
                                //Link("Super Phoenix Gem 50 kk", 13, CSocket);
                                //Link("Super Rainbow Gem 50 kk", 14, CSocket);
                                Link("Super Violet Gem 35 kk", 15, CSocket);
                                Link("Next Page.", 1, CSocket);
                                Link("Just passing by.", 255, CSocket);
                                Face(1, CSocket); End(CSocket);
                                End(CSocket);
                            }
                            else if (LinkBack == 1)
                            {
                                Text("Hello " + CSocket.Client.Name + ", I have many good things to sell you for cheap.\n What would you like?", CSocket);
                                Link("Super Moon Gem 35 kk", 16, CSocket);
                                Link("Super Kylin Gem 28 kk", 17, CSocket);
                                Link("Super Fury Gem 35 kk", 18, CSocket);
                                Link("Previous Page.", 0, CSocket);
                                Link("Just passing by.", 255, CSocket);
                                Face(1, CSocket); End(CSocket);
                            }
                            #region DragonBall
                            else if (LinkBack == 10)
                            {
                                if (CSocket.Client.Money >= 10000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-10000000, CSocket);
                                        AddItem(1088000, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super Praying Stone
                            else if (LinkBack == 11)
                            {
                                if (CSocket.Client.Money >= 65000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-65000000, CSocket);
                                        AddItem(1200002, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super DragonGem
                            else if (LinkBack == 12)
                            {
                                if (CSocket.Client.Money >= 50000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-50000000, CSocket);
                                        AddItem(700013, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super PheonixGem
                            else if (LinkBack == 13)
                            {
                                if (CSocket.Client.Money >= 50000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-50000000, CSocket);
                                        AddItem(700003, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super RainbowGem
                            else if (LinkBack == 14)
                            {
                                if (CSocket.Client.Money >= 50000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-50000000, CSocket);
                                        AddItem(700033, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super VioletGem
                            else if (LinkBack == 15)
                            {
                                if (CSocket.Client.Money >= 35000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-35000000, CSocket);
                                        AddItem(700053, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super MoonGem
                            else if (LinkBack == 16)
                            {
                                if (CSocket.Client.Money >= 35000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-35000000, CSocket);
                                        AddItem(700063, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super KylinGem
                            else if (LinkBack == 17)
                            {
                                if (CSocket.Client.Money >= 28000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-28000000, CSocket);
                                        AddItem(700043, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            #region Super Fury
                            else if (LinkBack == 18)
                            {
                                if (CSocket.Client.Money >= 35000000)
                                {
                                    if (CSocket.Client.Inventory.Count <= 39)
                                    {
                                        Money(-35000000, CSocket);
                                        AddItem(700023, 1, CSocket);
                                    }
                                    else
                                    {
                                        Text("Im Sorry but you dont have enough space in your bag.", CSocket);
                                        Link("Ok Thanks.", 255, CSocket);
                                        Face(1, CSocket); End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(1, CSocket); End(CSocket);
                                }
                            }
                            #endregion
                            break;
                        }
                    #endregion
warzie006 is offline  
Reply


Similar Threads Similar Threads
Need help in Elite-Co source
02/13/2011 - CO2 Private Server - 17 Replies
Hello, Today I was making a private server with the source Elite-Co. Well the problem is that when i login that works good but I can't see any npc and no monsters when the server says that there are monsters and npc's. Can anyone help me? With kind regards, warzie006
[Guide] Just changing the drops of VIP maps without changing of its place
10/08/2010 - EO PServer Guides & Releases - 2 Replies
in revo's DB when u add the VIP tele it apears on the old market .. some ppl dont know how to change its place thats why i made this query for them delete from cq_generator where id >= 0113 and id <= 0128; INSERT INTO `cq_generator` VALUES ('0113', '8900', '0062', '0033', '0001', '0001', '0001', '0025', '0001', '0110', '0000', '0000', '0000', '0000', '0000'); INSERT INTO `cq_generator` VALUES ('0114', '8900', '0072', '0037', '0001', '0001', '0001', '0025', '0001', '0110', '0000',...
[Help]How as changing the level of the mobs and hp. (source 5165)
03/15/2010 - CO2 Private Server - 1 Replies
I start with the server, but I do not see any database where you can modify the sql, I see that is more C #, I will change the name but not its level and hp in this source.:confused: Usually, you run into problems with the NPC, which was gradually resolving those and now I learn to create. But so far that's my only question, if someone could help me I would appreciate that. Thanks, Good Day.;)
Can Someone Guide Me how to edit NPC dialog for once only for CoEmu v2 Source
09/04/2009 - CO2 Private Server - 14 Replies
Hai guys I need help here.Can someone guide me on how to add or edit NPC dialog and also to add thing like examples CPAdmin Guy dialog. Question: Which .cs i should go and wat NPC id do i have to find. and how to send money and remove item form MYChar. Just guide me or post here for 1 NPC dialog only.
Elite /\ Model Changing -WoW-
04/17/2008 - World of Warcraft - 4 Replies
I have a question to the experts in (wow,modelchanging). the tutorials in the forumīs about modelchanging arent explained user friendly , and i want to know now how to do this all :bandit: I want a warrior t3 set for my char. i tryed and tryed but no sucess need help pls



All times are GMT +1. The time now is 23:51.


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