Register for your free account! | Forgot your password?

You last visited: Today at 17:28

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

Advertisement



[Release]Wind Bell Quest 5165 Source

Discussion on [Release]Wind Bell Quest 5165 Source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
[Release]Wind Bell Quest 5165 Source

Ok guys here is the Wind Bell Quest for the 5165 source :P
This is from BERGHUIS1 i re-coded it to be for the 5165 source and works great
The reward is a super +1 ring

Code:
Super Amethyst Ring +1
Ok go to C:\OldCODB\NPCs.txt

And add this code

Code:
9991 8190 2 0 1002 373 411
9992 8210 2 0 1011 188 259
And then the codes for both NPC

First NPC

Code:
#region Shirly
                            case 9991:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("If I cannot hear from my brother, I would rather die than live lonly, I cant just bare to die alone it will absolutly break my dear heart."));
                                        GC.AddSend(Packets.NPCLink("Can i help you?", 1));
                                        GC.AddSend(Packets.NPCLink("I have news", 4));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                        GC.Agreed = false;
                                    }
                                    if (Control == 1)
                                    {
                                        GC.AddSend(Packets.NPCSay("My parents died when I was a child. My brother brought me up. I have not heard from him since he joined the army last year."));
                                        GC.AddSend(Packets.NPCLink("How can I help you?", 2));
                                        GC.AddSend(Packets.NPCLink("I am helpless.", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 2)
                                    {
                                        GC.AddSend(Packets.NPCSay("My brothers name is Ryan. He gave me this Jade for my 10th birthday. Would you take it to him, please?"));
                                        GC.AddSend(Packets.NPCLink("Sure i will find him", 3));
                                        GC.AddSend(Packets.NPCLink("To Risky", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 3)
                                    {
                                        GC.MyChar.AddItem(721210, 0); //Wind Bell
                                        GC.AddSend(Packets.NPCSay("Please help me find my brother!"));
                                        GC.AddSend(Packets.NPCLink("Will do", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 4)
                                    {
                                        if (GC.MyChar.InventoryContains(721211, 1))
                                        {
                                            GC.AddSend(Packets.NPCSay("When I was young, I liked the Windbell very much. My brother often told me that I should take care of myself whatever happened."));
                                            GC.AddSend(Packets.NPCLink("I wish you happiness", 5));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("Im sorry but you do not have what i am looking for pleas leave"));
                                            GC.AddSend(Packets.NPCLink("I shall go", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    if (Control == 5)
                                    {
                                        GC.AddSend(Packets.NPCSay("I must live happily as my brother wished. Thanks for your help, I give you may favourite earring. Do you like it?"));
                                        GC.AddSend(Packets.NPCLink("Awesome, I love it", 6));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 6)
                                    {
                                        GC.MyChar.AddItem(150079, 1); //Ring
                                        GC.MyChar.RemoveItem(GC.MyChar.NextItem(721211));
                                        GC.AddSend(Packets.NPCSay("This is my token of appreciation for helping me, I am truly happy now =)"));
                                        GC.AddSend(Packets.NPCLink("Im glad i can help", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }

                                    break;
                                }
                            #endregion
Now for the 2nd NPC

Code:
#region Soldier Leader
                            case 9992:
                                
                                {
                                    if (Control == 0)
                                    {
                                        
                                        if (GC.MyChar.InventoryContains(721210, 1))
                                        {
                                               GC.AddSend(Packets.NPCSay("You are looking for Ryan? Sorry, he sacrificed his life on his first duty. This is his item. Please give it to his relatives"));
                                               GC.AddSend(Packets.NPCLink("I Sure will.", 1));
                                               GC.AddSend(Packets.NPCLink("Im sorry but i dont know a ryan.", 255));
                                               GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                               GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                               GC.AddSend(Packets.NPCSay("Hello! I am the leader of the soldiers in Ape Mountain."));
                                               GC.AddSend(Packets.NPCLink("Cool", 255));
                                               GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                               GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (Control == 1)
                                    {
                                           
                                           GC.MyChar.RemoveItem(GC.MyChar.NextItem(721210));
                                           GC.MyChar.AddItem(721211);
                                           GC.AddSend(Packets.NPCSay("Nobody wants to be a soldier, but we must defend our homeland from invasion. Many soldiers have sacrificed their lives."));
                                           GC.AddSend(Packets.NPCLink("What a troubled world!.", 255));
                                           GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                           GC.AddSend(Packets.NPCFinish());
                                    }

                                    break;
                                }
                            #endregion
Now hit F6 then F5 and it should work here is a screen shot

ScreenShot:

|BasicCoder| is offline  
Thanks
1 User
Old 11/30/2009, 17:28   #2
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
gratz , but you don't find other prize?
Sp!!ke is offline  
Old 11/30/2009, 17:29   #3
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by Tweety.4Girls View Post
gratz , but you don't find other prize?
You can change what the prize is is easy and simple lol
|BasicCoder| is offline  
Old 11/30/2009, 18:12   #4
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
What was the point of releasing it when all you had to do was to add GC?
~*NewDuuDe*~ is offline  
Old 11/30/2009, 18:29   #5
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by BERGHUIS1 View Post
What was the point of releasing it when all you had to do was to add GC?
LOL no that is so wrong
|BasicCoder| is offline  
Old 11/30/2009, 18:35   #6
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
What what in the **** now?

I do know that it's more than that, but it's not much. It's harder to open the compiler than to re-write it, as it was for me to make the code. It's just a VERY basic code.
~*NewDuuDe*~ is offline  
Old 11/30/2009, 21:02   #7
 
airborne.'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
Thanks. Lol, I changed my reward to a Bronze Prize instead.
airborne. is offline  
Old 12/01/2009, 04:15   #8
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
Quote:
Originally Posted by airborne. View Post
Thanks. Lol, I changed my reward to a Bronze Prize instead.
l.m.f.a.o.
.Guru is offline  
Old 12/01/2009, 04:52   #9
 
airborne.'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
Quote:
Originally Posted by Prot0type View Post
l.m.f.a.o.
What's so funny I don't get it?

#Reported
airborne. is offline  
Old 12/01/2009, 05:08   #10
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
l.m.f.a.o. simply meant: larry meant feckle and ostrich -- which in latin means: way to use your mind.
.Guru is offline  
Reply


Similar Threads Similar Threads
[Release]Ancient-Devil's-Quest!5165 source!
03/23/2012 - CO2 PServer Guides & Releases - 14 Replies
okay so since I think, no one has converted this from lotf to new lotf I decided to save them time and convert it myself...here is a fully working ancient devil's quest (without the mobs, SORRY I'm not such a pro at coding lol =/) ENJOY! Let's define our variables,etc... In character.cs go somewhere around line 1711 and add this: public string ADJob = ""; go to mob.cs and find this:
[Release] Lost Quest! 5165 source...
01/21/2010 - CO2 PServer Guides & Releases - 9 Replies
#REMOVED! I MADE AN ALL-IN-ONE THREAD ABOUT IT! #Request Close
[Release] FortuneTeller MoonBox Quest! 5165 Source
01/21/2010 - CO2 PServer Guides & Releases - 6 Replies
#REMOVED! I MADE AN ALL-IN-ONE THREAD ABOUT IT! #Request Close



All times are GMT +1. The time now is 17:29.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.