[Release] NPC make + to horses in source 5165

11/30/2009 14:06 alfaone#1

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

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]













11/30/2009 14:42 the.Evil#2
awwwwwwwwwwww Gr8 work i'll test it thx bro.. +1
11/30/2009 15:20 |BasicCoder|#3
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 shit
11/30/2009 15:23 Andre318#4
Nice Work
11/30/2009 15:42 alfaone#5
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 shit

man whatever - u maked code NPCs and am maked npc dialog and action
thanx for u code npcs
11/30/2009 16:14 |BasicCoder|#6
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 <.<
11/30/2009 16:24 alfaone#7
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"
11/30/2009 16:36 |BasicCoder|#8
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 :facepalm:
11/30/2009 17:15 airborne.#9
So, how do you get Saddles in the first place?
11/30/2009 19:16 ~*NewDuuDe*~#10
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.
12/01/2009 22:07 5555#11
bitch who called MountOfficer says "Hi,i dont talk anything useful yet,my ID is 9881


all my new NPCs say this shit :*(

#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
12/02/2009 01:07 -Shunsui-#12
Quote:
Originally Posted by 5555 View Post
bitch who called MountOfficer says "Hi,i dont talk anything useful yet,my ID is 9881


all my new NPCs say this shit :*(

#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
12/02/2009 02:12 drigoon17#13
my mistake, not saving npc text
12/02/2009 02:33 Z3RT#14
Quote:
Originally Posted by 5555 View Post
bitch who called MountOfficer says "Hi,i dont talk anything useful yet,my ID is 9881


all my new NPCs say this shit :*(

#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
12/02/2009 03:05 airborne.#15
i will help you if we use teamviewer. add msn:[Only registered and activated users can see links. Click Here To Register...]