Register for your free account! | Forgot your password?

You last visited: Today at 12:13

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

Advertisement



[Release] CPAdmin for CoEmuV2

Discussion on [Release] CPAdmin for CoEmuV2 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 130
Received Thanks: 90
[Release] CPAdmin for CoEmuV2

Go to Handlers/NpcTalk.cs

Add this somewhere at other NPC`s:

Code:
                    #region CPAdmin
                    case 2071:
                    {
                        if (LinkBack == 0)
                        {
                            Text("U can exchance here Dragonballs for cps", CSocket);
                            Link("I have a Dragonball", 1, CSocket);
                            Link("I have a DBScroll", 2, CSocket);
                            Link("Change cps", 3, CSocket);
                            Link("Nothing thanks", 255, CSocket);
                            Face(30, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            if (HasItem(1088000, 1, CSocket))
                            {
                                CPs(+215, CSocket);
                                DeleteItem(1088000, 1, CSocket);
                            }
                            else
                            {
                                Text("You dont have a dragonball", CSocket);
                                Link("I see", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 2)
                        {
                            if (HasItem(720028, 1, CSocket))
                            {
                                CPs(+2150, CSocket);
                                DeleteItem(720028, 1, CSocket);
                            }
                            else
                            {
                                Text("You dont have a DBScroll", CSocket);
                                Link("I see", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 3)
                        {
                            Text("You can exchance 100k gold for 1k cps, and 1k cps for 100k gold", CSocket);
                            Link("Trade 1k cps", 4, CSocket);
                            Link("Trade 10k cps", 5, CSocket);
                            Link("Trade 100k gold", 6, CSocket);
                            Link("Trade 1kk gold", 7, CSocket);
                            Link("I see", 255, CSocket);
                            Face(30, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 4)
                        {
                            if (CSocket.Client.CPs > 1000)
                            {
                                CPs(-1000, CSocket);
                                Money(+100000, CSocket);
                            }
                            else
                            {
                                Text("You dont have enough cps", CSocket);
                                Link("I see", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 5)
                        {
                            if (CSocket.Client.CPs > 10000)
                            {
                                CPs(-10000, CSocket);
                                Money(+1000000, CSocket);
                            }
                            else
                            {
                                Text("You dont have enough cps", CSocket);
                                Link("I see", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 6)
                        {
                            if (CSocket.Client.Money > 100000)
                            {
                                Money(-100000, CSocket);
                                CPs(+1000, CSocket);
                            }
                            else
                            {
                                Text("You dont have enough silvers", CSocket);
                                Link("I see", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 7)
                        {
                            if (CSocket.Client.Money > 1000000)
                            {
                                Money(-1000000, CSocket);
                                CPs(+10000, CSocket);
                            }
                            else
                            {
                                Text("You dont have enough silvers", CSocket);
                                Link("I see", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        break;
                    }
                    #endregion
For is u have a face error do the following thing:

Search for:

Code:
		public static void Input(int LinkBack, ClientSocket CSocket)
		{
			CSocket.Send(ConquerPacket.NPCTalk(LinkBack, 3, ""));
		}
After it add:

Code:
        public static void Face(int Face, ClientSocket CSocket)
        {
            CSocket.Send(ConquerPacket.NPCTalk(2544, Face, 255, 4));
        }
irritantgassie is offline  
Reply


Similar Threads Similar Threads
[Release]CpAdmin for 5165
04/06/2010 - CO2 PServer Guides & Releases - 4 Replies
Yo. Well I made this 100% myself. enjoy First off open NPCDialog and search for #region Conductresses case 45: Under that region paste this;
[Release]CPAdmin chaning CPs for DBs
10/04/2009 - CO2 PServer Guides & Releases - 6 Replies
ok here is a CPAdmin who change Dragonballs or Dragonballscrolls to CPs search for case 35500 or go into you NPCTalk.cs #region CPAdmin case 2071://CPAdmin Guy Coded by Koio { if (LinkBack == 0) {
[Release]CollectorZhao CoEmuV2
07/09/2009 - CO2 PServer Guides & Releases - 4 Replies
CollectorZhao for CoEmuV2 go to Handler.cs then click on NPCTalk.cs And place this in it. #region CollectorZhao case 2070: // CollectorZhao { if (LinkBack == 0) {
[Release] Simple CPAdmin NPC
07/05/2009 - CO2 PServer Guides & Releases - 14 Replies
Hi Guys those who are too lazy to edit CPAdmin NPC here u are a simple CPAdmin NPC using money to exchange for CPs go to Handler.cs then click on NPCTalk.cs case 2071://CPAdmin Guy { if (LinkBack == 0) { Text("Would like to exchange for Cps with ur money? It will only cost u 50k for 5k Cps.", CSocket); Link("Well yea I want it.", 1, CSocket);
[All-In-One] Guide and Release (CoEmuV2)
06/12/2009 - CO2 PServer Guides & Releases - 36 Replies
Hello this is BasicCoder, Andy recently posted his source for Client 5095! And there were many great releases but on like different pages, this source is Non-Lotf and its Not Binaries either. Anyways here is the posts! Main Source! http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/254190-awesome-release-coemuv2-na no-5095-source-code.html Edited CoEmuV2 Sources:



All times are GMT +1. The time now is 12:15.


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.