Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 23:03

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

Advertisement



[Release] NPC to buy +2 +7 +8 and celestial stone at!!

Discussion on [Release] NPC to buy +2 +7 +8 and celestial stone at!! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
[Release] NPC to buy +2 +7 +8 and celestial stone at!!

in Client :
Search for
Code:
if (CurrentNPC == 1010)
Under it add

Code:
if (CurrentNPC == 80801)
                        {
                            SendPacket(General.MyPackets.NPCSay("Hey i know there aren't +2,+7 and +8 stones in shopping mall so you can buy them from me,you can also buy Clean Water from me for RB.What do you want?"));
                            SendPacket(General.MyPackets.NPCLink("+2Stone(50 Cps)", 1));
                            SendPacket(General.MyPackets.NPCLink("+7Stone(4054 Cps)", 2));
                            SendPacket(General.MyPackets.NPCLink("+8Stone(8048 Cps)", 3));
                            SendPacket(General.MyPackets.NPCLink("Clean Water(500 Cps)", 4));
                            SendPacket(General.MyPackets.NPCLink("Nothing", 255));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }

search again for
Code:
if (CurrentNPC == 1010)
under the whole code of if (CurrentNPC == 1010) with the controls add this :

Code:
if (CurrentNPC == 80801)
                        {
                            if (Control == 1)
                            {
                                if (MyChar.ItemsInInventory < 40)
                                {
                                    if (MyChar.CPs >= 50)
                                    {
                                        MyChar.CPs -= 50;
                                        MyChar.AddItem("730002-2-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Sorry, you do not have enough CPS"));
                                        SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                            }
                            if (Control == 2)
                            {
                                if (MyChar.ItemsInInventory < 40)
                                {
                                    if (MyChar.CPs >= 4054)
                                    {
                                        MyChar.CPs -= 4054;
                                        MyChar.AddItem("730007-7-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Sorry, you do not have enough CPS"));
                                        SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                            }
                            if (Control == 3)
                            {
                                if (MyChar.ItemsInInventory < 40)
                                {
                                    if (MyChar.CPs >= 8048)
                                    {
                                        MyChar.CPs -= 8048;
                                        MyChar.AddItem("730008-8-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Sorry, you do not have enough CPS"));
                                        SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                            }
                            if (Control == 4)
                            {
                                if (MyChar.ItemsInInventory < 40)
                                {
                                    if (MyChar.CPs >= 500)
                                    {
                                        MyChar.CPs -= 500;
                                        MyChar.AddItem("721258-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Sorry, you do not have enough CPS"));
                                        SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                            }
                        }
then go to ure database and add a npc with the UID 80801 and ure done
turk55 is offline  
Old 11/21/2008, 19:18   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 348
Received Thanks: 141
Nice but so Easy to make it
!DeX! is offline  
Old 11/21/2008, 22:39   #3
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
more pointless useless and inefficient dialogs, YAY!
© Haydz is offline  
Old 11/21/2008, 23:47   #4
 
Tw3ak's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
Quote:
SendPacket(General.MyPackets.NPCSay("Hey i know there aren't +2,+7 and +8 stones in shopping mall so you can buy them from me,you can also buy Clean Water from me for RB.What do you want?"));
umm why not just add them to shopping mall and save having to waste more memory on more npcs ??

Learning to edit shop.dat works wonders You can make any vending npcs load whatever you want simply by putting in items ids you want it to have.

I have everything but the kitchen sink available in my shoppingmall and also for convenience i put all city scrolls in every pharmacist so you can get to wherever you want to go.
Tw3ak is offline  
Old 11/22/2008, 00:18   #5
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
Well, yeah, but just new at it so working
turk55 is offline  
Old 11/22/2008, 00:21   #6

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
Quote:
Originally Posted by Tw3ak View Post
umm why not just add them to shopping mall and save having to waste more memory on more npcs ??

Learning to edit shop.dat works wonders You can make any vending npcs load whatever you want simply by putting in items ids you want it to have.

I have everything but the kitchen sink available in my shoppingmall and also for convenience i put all city scrolls in every pharmacist so you can get to wherever you want to go.
and cause it's not even encrypted, making it even easier !
Kiyono is offline  
Reply


Similar Threads Similar Threads
Cant fix Celestial Stone
06/27/2010 - Conquer Online 2 - 1 Replies
I got all gems, and clean water. I am lvl 120, i got everything i need to have but then when i talk to celestine he doesnt give me the celestial stone. He just talks bullshit.
Celestial stone price goes way up: is it still good to farm??
04/30/2010 - Conquer Online 2 - 2 Replies
Damn,Celestial stones in our server (Tornado) went from 40 cps to 100 cps!!!!???!? i thinks this is because CS is needed for subclass subscription. now, is it still good idea to farm for a db???:rtfm: Post you ideas here guys
[Release] Celestial Tao Full working!
01/02/2010 - CO2 PServer Guides & Releases - 8 Replies
heya everybody i had fixed the npc Tweety released and its full working! Pictures! http://i49.tinypic.com/1zvbmyx.jpg http://i48.tinypic.com/dot7ro.jpg http://i50.tinypic.com/106geah.jpg
[Release]Celestial Tao
12/26/2009 - CO2 PServer Guides & Releases - 2 Replies
Hey Guys, I post that npc because more people whana it !



All times are GMT +2. The time now is 23:03.


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.