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 15:22

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

Advertisement



[Release] NPC make + to horses in source 5165

Discussion on [Release] NPC make + to horses in source 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 13
Received Thanks: 13
[Release] NPC make + to horses in source 5165


1- Open NPCs.txt in C:\OldCODB And put that code if u dont have it :

PHP Code:
9888 6330 2 67 1002 388 383 
9881 6220 2 67 1006 38 34 
5517 5830 1 67 1006 19 29 
9883 3200 8 67 1006 19 27 
8745 7630 2 67 1006 024 022 
87462 5850 2 0 1006 017 022 
87464 5860 2 0 1006 021 033 
87465 7640 2 0 1006 024 033 
87466 7670 2 0 1006 029 033 
2- Open source with Microsoft Visual C# 2008 Express and go to NPCDialog.cs
3- serach about
PHP Code:
default: 
and put that code above it

PHP Code:
#region Mount Officer
                            
case 9881:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("I can set your Horse Plus, for some Saddles."));
                                        
GC.AddSend(Packets.NPCLink("I want upgrade it.",12));
                                        
GC.AddSend(Packets.NPCLink("Just passing by."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                        
GC.Agreed false;
                                    }
                                   
                                    else if (
Control == 12)
                                    {

                                       
//  GC.MyChar.Equips.Necklace.Bless = 1;
                                        
Game.Item I GC.MyChar.Equips.Get((byte)(Control));
                                        
                                       
I.ID 300000;
                                       
                                       
                                        if (
I.Plus != 12)
                                        {
                                            
byte SaddleNeed 0;
                                            if (
I.Plus == 0)
                                                
SaddleNeed 1;
                                            else if (
I.Plus == 1)
                                                
SaddleNeed 1;
                                            else if (
I.Plus == 2)
                                                
SaddleNeed 1;
                                            else if (
I.Plus == 3)
                                                
SaddleNeed 1;
                                            else if (
I.Plus == 4)
                                                
SaddleNeed 1;
                                            else if (
I.Plus == 5)
                                                
SaddleNeed 1;
                                            else if (
I.Plus == 6)
                                                
SaddleNeed 7;
                                            else if (
I.Plus == 7)
                                                
SaddleNeed 8;
                                            else if (
I.Plus == 8)
                                                
SaddleNeed 9;
                                            else if (
I.Plus == 9)
                                                
SaddleNeed 10;
                                            else if (
I.Plus == 10)
                                                
SaddleNeed 11;
                                            else if (
I.Plus == 11)
                                                
SaddleNeed 12;
                                          

                                            if (!
GC.Agreed)
                                            {
                                                
GC.AddSend(Packets.NPCSay("You need " SaddleNeed " Saddle to upgrade. Do you want it?"));
                                                
GC.AddSend(Packets.NPCSay("Your item current plus is " I.Plus "."));
                                                if (
I.Plus != 0)
                                                    
GC.AddSend(Packets.NPCSay("It will be " + (I.Plus 1) + "."));
                                                
GC.AddSend(Packets.NPCLink("Yes."Control));
                                                
GC.AddSend(Packets.NPCLink("Nevermind."255));
                                                
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                
GC.AddSend(Packets.NPCFinish());
                                                
GC.Agreed true;
                                            }
                                            else
                                            {
                                                
GC.Agreed false;
                                                if (
GC.MyChar.InventoryContains(723903SaddleNeed))
                                                {
                                                    
GC.MyChar.EquipStats((byte)(Control), false);
                                                    for (
byte i 0SaddleNeedi++)
                                                        
GC.MyChar.RemoveItem(GC.MyChar.NextItem(723903));
                                                    if (
I.Plus == 0)
                                                        
I.Plus 1;
                                                    else
                                                        
I.Plus += 1;
                                                    
GC.MyChar.Equips.Replace((byte)(Control), IGC.MyChar);
                                                    
GC.MyChar.EquipStats((byte)(Control), true);

                                                    
GC.AddSend(Packets.NPCSay("Here you are. It's done."));
                                                    
GC.AddSend(Packets.NPCLink("Thanks."255));
                                                    
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    
GC.AddSend(Packets.NPCFinish());
                                                }
                                                else
                                                {
                                                    
GC.AddSend(Packets.NPCSay("You don't have enough Saddles"));
                                                    
GC.AddSend(Packets.NPCLink("I see."255));
                                                    
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    
GC.AddSend(Packets.NPCFinish());
                                                }
                                            }
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You cannot upgrade an item's  which is already at maximum."));
                                            
GC.AddSend(Packets.NPCLink("I see"255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    break;
                                }
                            
#endregion
                            #region Breeder
                            
case 9883:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome to the Conquer-Sx Seller, we sell special items here that you cant find anywere else!"));
                                        
GC.AddSend(Packets.NPCLink("Cool let me in."1));
                                        
GC.AddSend(Packets.NPCLink("Haa Ok Then"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (
Control == 1)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Are you interested in any of these Items?"));
                                        
GC.AddSend(Packets.NPCLink("+7 Steed - 1KK Cps"2));
                                        
GC.AddSend(Packets.NPCLink("+8 Steed - 2KK Cps"3));
                                        
GC.AddSend(Packets.NPCLink("+9 Steed - 3KK CPs"4));
                                        
GC.AddSend(Packets.NPCLink("+10 Steed - 4KK CPs"5));
                                        
GC.AddSend(Packets.NPCLink("+11 Steed - 5KK CPs"6));
                                        
GC.AddSend(Packets.NPCLink("+12 Steed - 6KK CPs"7));
                                        
GC.AddSend(Packets.NPCLink("Saddle - 500K CPs"8));
                                        
GC.AddSend(Packets.NPCLink("No, thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(15));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                   

                                    if (
Control == 2)
                                    {
                                        if (
GC.MyChar.CPs >= 1000000)
                                        {
                                            
GC.MyChar.CPs -= 1000000;
                                            
GC.MyChar.AddItem(3000007);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    if (
Control == 3)
                                    {
                                        if (
GC.MyChar.CPs >= 2000000)
                                        {
                                            
GC.MyChar.CPs -= 2000000;
                                            
GC.MyChar.AddItem(3000008);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }

                                    if (
Control == 4)
                                    {
                                        if (
GC.MyChar.CPs >= 3000000)
                                        {
                                            
GC.MyChar.CPs -= 3000000;
                                            
GC.MyChar.AddItem(3000009);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (
Control == 5)
                                    {
                                        if (
GC.MyChar.CPs >= 4000000)
                                        {
                                            
GC.MyChar.CPs -= 4000000;
                                            
GC.MyChar.AddItem(30000010);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (
Control == 6)
                                    {
                                        if (
GC.MyChar.CPs >= 5000000)
                                        {
                                            
GC.MyChar.CPs -= 5000000;
                                            
GC.MyChar.AddItem(30000011);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (
Control == 7)
                                    {
                                        if (
GC.MyChar.CPs >= 6000000)
                                        {
                                            
GC.MyChar.CPs -= 6000000;
                                            
GC.MyChar.AddItem(30000012);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());

                                        
                                            
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (
Control == 8)
                                    {
                                        if (
GC.MyChar.CPs >= 500000)
                                        {
                                            
GC.MyChar.CPs -= 500000;
                                            
GC.MyChar.AddItem(723903);
                                            
GC.AddSend(Packets.NPCSay("Here you are."));
                                            
GC.AddSend(Packets.NPCLink("Thanks."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());



                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }

                                    }

                                    break;
                                }
                            
#endregion 
4- Press F6 and F5 To run



























alfaone is offline  
Thanks
8 Users
Old 11/30/2009, 14:42   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 39
Received Thanks: 2
awwwwwwwwwwww Gr8 work i'll test it thx bro.. +1
the.Evil is offline  
Old 11/30/2009, 15:20   #3
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Code:
9888 6330 2 67 1002 388 383 
9881 6220 2 67 1006 38 34 
5517 5830 1 67 1006 19 29 
9883 3200 8 67 1006 19 27 
8745 7630 2 67 1006 024 022 
87462 5850 2 0 1006 017 022 
87464 5860 2 0 1006 021 033 
87465 7640 2 0 1006 024 033 
87466 7670 2 0 1006 029 033
Hey i released those codes and you dong gimme credits =\ not cool dude

And its Breeder not mount officer uhh get it right and dont copy my ****
|BasicCoder| is offline  
Old 11/30/2009, 15:23   #4
 
Andre318's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 193
Received Thanks: 11
Nice Work
Andre318 is offline  
Old 11/30/2009, 15:42   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 13
Received Thanks: 13
Quote:
Originally Posted by |BasicCoder| View Post
Code:
9888 6330 2 67 1002 388 383 
9881 6220 2 67 1006 38 34 
5517 5830 1 67 1006 19 29 
9883 3200 8 67 1006 19 27 
8745 7630 2 67 1006 024 022 
87462 5850 2 0 1006 017 022 
87464 5860 2 0 1006 021 033 
87465 7640 2 0 1006 024 033 
87466 7670 2 0 1006 029 033
Hey i released those codes and you dong gimme credits =\ not cool dude

And its Breeder not mount officer uhh get it right and dont copy my ****

man whatever - u maked code NPCs and am maked npc dialog and action
thanx for u code npcs
alfaone is offline  
Old 11/30/2009, 16:14   #6
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by alfaone View Post
man whatever - u maked code NPCs and am maked npc dialog and action
thanx for u code npcs
LOL Learn english <.<
|BasicCoder| is offline  
Thanks
1 User
Old 11/30/2009, 16:24   #7
 
elite*gold: 0
Join Date: Mar 2008
Posts: 13
Received Thanks: 13
Quote:
Originally Posted by |BasicCoder| View Post
LOL Learn english <.<

hahahhhh why learn english - coders dont need that and i was think u good coder and good man but i know now u stupid guy and Arrogant - so dont replay again in my Threads and i dont want anything from u threads


now go learn Meaning of the word "forum"
alfaone is offline  
Old 11/30/2009, 16:36   #8
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by alfaone View Post
hahahhhh why learn english - coders dont need that and i was think u good coder and good man but i know now u stupid guy and Arrogant - so dont replay again in my Threads and i dont want anything from u threads


now go learn Meaning of the word "forum"
Nah i know the meaning forums but you just copy and paste =\

Its very sad
|BasicCoder| is offline  
Thanks
1 User
Old 11/30/2009, 17:15   #9
 
airborne.'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
So, how do you get Saddles in the first place?
airborne. is offline  
Old 11/30/2009, 19:16   #10
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Just add the saddle ID to mob drops in the pc cave map.
Or do a quest that u deliver some item for someone, IDK.

@alfaone
It is extremely important for a coder to be fluent in english, or he will never be a good coder, so your wrong. Fluent english will make the learning process easier, one may allready know how to explain the different terms used within coding.
~*NewDuuDe*~ is offline  
Old 12/01/2009, 22:07   #11
 
elite*gold: 0
Join Date: May 2008
Posts: 14
Received Thanks: 0
***** who called MountOfficer says "Hi,i dont talk anything useful yet,my ID is 9881


all my new NPCs say this **** :*(

#edit : and F5 AND F6 WHEN I SHOULD THEM ?
#edit : F5 oki , but F6 WTF ???
#edit : they still saying :Hi,i dont talk anything useful yet,my ID is 9881
5555 is offline  
Old 12/02/2009, 01:07   #12
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Quote:
Originally Posted by 5555 View Post
***** who called MountOfficer says "Hi,i dont talk anything useful yet,my ID is 9881


all my new NPCs say this **** :*(

#edit : and F5 AND F6 WHEN I SHOULD THEM ?
#edit : F5 oki , but F6 WTF ???
#edit : they still saying :Hi,i dont talk anything useful yet,my ID is 9881
After You Do F6 Dont even do F5 Just Go Open Your Debug/Release and lunch the server with the .exe in there
-Shunsui- is offline  
Old 12/02/2009, 02:12   #13
 
drigoon17's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 12
Received Thanks: 0
mount officer

my mistake, not saving npc text
drigoon17 is offline  
Old 12/02/2009, 02:33   #14
 
elite*gold: 0
Join Date: Dec 2009
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by 5555 View Post
***** who called MountOfficer says "Hi,i dont talk anything useful yet,my ID is 9881


all my new NPCs say this **** :*(

#edit : and F5 AND F6 WHEN I SHOULD THEM ?
#edit : F5 oki , but F6 WTF ???
#edit : they still saying :Hi,i dont talk anything useful yet,my ID is 9881
#reported due to foul language
Z3RT is offline  
Old 12/02/2009, 03:05   #15
 
airborne.'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
i will help you if we use teamviewer. add msn:
airborne. is offline  
Reply


Similar Threads Similar Threads
[Release] My 5165 Source
03/23/2012 - CO2 PServer Guides & Releases - 74 Replies
Hello I would like to release my 5165 source to everyone. Enjoy! Features: Houses Top Halos Class PK Envoy PK Tournament Scroll Commands
[Release?] My 5165 source
06/23/2010 - CO2 Private Server - 12 Replies
Should i release my source for 5165? ^^ Works: Reflect IronGuard, CopperGuard, SilverGuard & GoldGuard Marriage Reborn 1-4 ClassPKenvoy
[Question] How to make this command [For 5165 Source]
04/01/2010 - CO2 Private Server - 6 Replies
Hello guys, I'm new at coding and was wondering how to make a command for the 5165 source which enables you to have unlimited stamina (For GMs only). Thanks. This is wut I have did so far... if (Cmd == "/gmstamina") { if (!InfiniteStamina) { InfiniteStamina = true; }
[Problem] Horses source 5165
02/04/2010 - CO2 Private Server - 1 Replies
hello i have a little problem in vigor -.- i have a mount +12 but the vigor is 30 :S but horse +12 vigor is 4030
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat! 127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...



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


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.