Register for your free account! | Forgot your password?

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

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

Advertisement



[Request] CPS+ Upgrader

Discussion on [Request] CPS+ Upgrader within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 19
Received Thanks: 1
[Request] CPS+ Upgrader

Hey everyone, im useing the warlords base and i see they use wux over (Stones) to + weapons could someone post an npc in there style c# for this system please i had one for an old source if this helps?

Code:
#region +1-12
                            case 77665544:
                                {
                                    if (option == 0)
                                    {
                                        GC.SendPacket(Packets.NPCSay("I can plus your gears for Cps  Till +12!"));
                                        GC.SendPacket(Packets.NPCLink("Yeah", 250));
                                        GC.SendPacket(Packets.NPCLink("Just passing by.", 255));
                                        GC.SendPacket(Packets.NPCSetFace(N.Avatar));
                                        GC.SendPacket(Packets.NPCFinish());
                                        GC.Agreed = false;


                                    }

                                    else if (option == 250)
                                    {
                                        GC.SendPacket(Packets.NPCSay("Choose the equipment you want to plus."));
                                        GC.SendPacket(Packets.NPCLink("Headgear", 1));
                                        GC.SendPacket(Packets.NPCLink("Necklace/Bag", 2));
                                        GC.SendPacket(Packets.NPCLink("Armor", 3));
                                        GC.SendPacket(Packets.NPCLink("Weapon", 4));
                                        GC.SendPacket(Packets.NPCLink("Shield", 5));
                                        GC.SendPacket(Packets.NPCLink("Ring", 6));
                                        GC.SendPacket(Packets.NPCLink("Boots", 8));
                                        GC.SendPacket(Packets.NPCLink("More.", 19));
                                        GC.SendPacket(Packets.NPCSetFace(N.Avatar));
                                        GC.SendPacket(Packets.NPCFinish());
                                    }
                                    else if (option == 19)
                                    {
                                        GC.SendPacket(Packets.NPCSay("Choose the equipment you want to plus."));
                                        GC.SendPacket(Packets.NPCLink("Fan", 10));
                                        GC.SendPacket(Packets.NPCLink("Tower", 11));
                                        GC.SendPacket(Packets.NPCSetFace(N.Avatar));
                                        GC.SendPacket(Packets.NPCFinish());
                                    }
                                    else if (option > 0 && option < 12)
                                    {
                                        Game.Item I = GC.MyChar.Equips.Get((byte)(option));
                                        if (I.Plus != 12)
                                        {
                                            uint CpsCost = 999999999;
                                            if (I.Plus == 0)
                                                CpsCost = 500;
                                            else if (I.Plus == 1)
                                                CpsCost = 1000;
                                            else if (I.Plus == 2)
                                                CpsCost = 2000;
                                            else if (I.Plus == 3)
                                                CpsCost = 30000;
                                            else if (I.Plus == 4)
                                                CpsCost = 40000;
                                            else if (I.Plus == 5)
                                                CpsCost = 50000;
                                            else if (I.Plus == 6)
                                                CpsCost = 150000;
                                            else if (I.Plus == 7)
                                                CpsCost = 200000;
                                            else if (I.Plus == 8)
                                                CpsCost = 250000;
                                            else if (I.Plus == 9)
                                                CpsCost = 2000000;
                                            else if (I.Plus == 10)
                                                CpsCost = 5000000;
                                            else if (I.Plus == 11)
                                                CpsCost = 10000000;

                                            if (!GC.Agreed)
                                            {
                                                GC.SendPacket(Packets.NPCSay("You need " + CpsCost + " Cps to upgrade. Do you want it?"));
                                                GC.SendPacket(Packets.NPCLink("Yes.", option));
                                                GC.SendPacket(Packets.NPCLink("Nevermind.", 255));
                                                GC.SendPacket(Packets.NPCSetFace(N.Avatar));
                                                GC.SendPacket(Packets.NPCFinish());
                                                GC.Agreed = true;
                                            }
                                            else
                                            {
                                                GC.Agreed = false;
                                                if (GC.MyChar.CPs >= CpsCost)
                                                {
                                                    GC.MyChar.CPs -= CpsCost;
                                                    GC.MyChar.EquipStats((byte)(option), false);
                                                    if (I.Plus != 12)
                                                        I.Plus += 1;
                                                    GC.MyChar.Equips.Replace((byte)(option), I, GC.MyChar);
                                                    GC.MyChar.EquipStats((byte)(option), true);

                                                    GC.SendPacket(Packets.NPCSay("Here you are. It's done."));
                                                    GC.SendPacket(Packets.NPCLink("Thanks.", 255));
                                                    GC.SendPacket(Packets.NPCSetFace(N.Avatar));
                                                    GC.SendPacket(Packets.NPCFinish());
                                                }
                                                else
                                                {
                                                    GC.SendPacket(Packets.NPCSay("You don't have enough Cps."));
                                                    GC.SendPacket(Packets.NPCLink("I see.", 255));
                                                    GC.SendPacket(Packets.NPCSetFace(N.Avatar));
                                                    GC.SendPacket(Packets.NPCFinish());
                                                }
                                            }
                                        }
                                    }

                                    break;
                                }
                            #endregion
i tryed to convert it and there was so many errors.
Would be kindly appreciated if someone could do this for me

Really need this im not sure how to convert
yinzxx is offline  
Old 04/11/2013, 04:02   #2
 
elite*gold: 0
Join Date: Mar 2013
Posts: 19
Received Thanks: 1
bump
yinzxx is offline  
Reply


Similar Threads Similar Threads
Anyone with 100% upgrader hack?
07/28/2009 - RF Online - 0 Replies
im looking for someone who can teach me how to hack the New RF Equilibrium patch for 100% upgrader. Sorry kinda nooby at this bare with me.
Upgrader
05/08/2007 - Eudemons Online - 4 Replies
Ok since i no longer play eudemons... Heres the + bonus Trick Muhahahhah 1-7 Use Yellows @ 20-30% 7-9 Use Super Yellows. 9-12 Use Yellows @ 10-20%



All times are GMT +1. The time now is 06:07.


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.