Register for your free account! | Forgot your password?

You last visited: Today at 22:56

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

Advertisement



[Release] Custom Quest

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
[Release] Custom Quest

Hello.
This is a cool little quest I made.
Credits go to me and -Shunsui-.
I hope you like it!

Add these codes to NPCDialog.cs:
Code:
                            #region Ghost
                            case 67435:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("BOO!  Did I scare you?  I'm joking.  I am the ghost.  I got killed 2 years ago from someone.  Please take this apology letter to my killer, he will give you a prize if you make it safely there.?"));
                                        GC.AddSend(Packets.NPCLink("Ok", 1));
                                        GC.AddSend(Packets.NPCLink("Not Now", 4));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 1)
                                    { 
                                        {
                                            GC.MyChar.AddItem(710854, 0); //Letter
                                            GC.AddSend(Packets.NPCSay("Please find my killer!"));
                                            GC.AddSend(Packets.NPCLink("I will", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                }
                                break;
                                        #endregion
Code:
#region Killer
                            case 67436:
                                {
                                    if (Control == 0)
                                    {

                                        if (GC.MyChar.InventoryContains(710854, 1))
                                        {
                                            GC.AddSend(Packets.NPCSay("Hello.  A letter huh.  Well, I accidently killed ghost a while back.  Tell him his apology is accepted."));
                                            GC.AddSend(Packets.NPCLink("Sure Thing", 1));
                                            GC.AddSend(Packets.NPCLink("No", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You don't have the required item"));
                                            GC.AddSend(Packets.NPCLink("Sorry", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.CPs += 10000000;
                                        GC.AddSend(Packets.NPCSay("Here is your reward.!"));
                                        GC.AddSend(Packets.NPCLink("Thank you", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    break;
                                }
                            #endregion
Add these at the bottom of OldCODB>NPCs.txt:
Code:
67435 6120 2 0 1100 134 103
67436 380 2 0 1015 705 580
Press thanks to me and -Shunsui- when you see him around!
Good bye.
Decker_ is offline  
Thanks
4 Users
Old 02/20/2010, 15:41   #2
 
StarEvaAfta!~'s Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 180
Received Thanks: 82
Good job, but prize is 100kk cps , HOLY **** !
StarEvaAfta!~ is offline  
Old 02/20/2010, 15:43   #3
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
It is 10kk cps
Decker_ is offline  
Old 02/20/2010, 18:52   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,785
Received Thanks: 5,304
Great, your learning how to use an npc.
Arcо is offline  
Thanks
1 User
Old 02/20/2010, 19:04   #5
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Thanks guys!
Decker_ is offline  
Old 02/20/2010, 19:48   #6
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
good work finally your posts start containing useful stuff
~Yuki~ is offline  
Old 04/01/2010, 04:46   #7
 
elite*gold: 0
Join Date: Dec 2009
Posts: 630
Received Thanks: 437
'GC.MyChar.CPs += 10000000'

it's 10,000,000 CPs
Illiest is offline  
Old 04/01/2010, 06:34   #8
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Lol, I remember this. I remember looking at it and thinking "... wow ..." because the prize and how weird the quest was. "I'm a ghost- send this letter saying i'm sorry to my killer."
First, wtf. lol- why would I ghost be sorry that he died? and ghosts can write letters? o.O
Second, he says "And he will give you a prize if it is taken to him successfully." W.T.F. rofl. So now the killer and you can talk to the dead and the ghost is psychic?

Then on top of that "Well, I accidentally killed ghost a while back. Tell him his apology is accepted." << w...t...f... i'm so lost. Shouldn't the killer be saying sorry?

Yah. lol, I remember this quest =P
Funny stuff.
-NewDawn- is offline  
Old 04/01/2010, 11:46   #9
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
huh......Very nice quest...I am not going to use this as it is abit basic ( sorry ) nice to see people learning! here are some ideas you can do

See an NPC and the NPC will teleport you to a special map ( your choice ) and you kill the monster to obtain the letter and then you go back to an NPC but it turns out you need 5 letters so he teleports you to a diffrent special map ( your choice ) and there are 5 monsters, but they are all so easy to kill eccept 1 of them that one has 500k HP and you need a few trogans and ninjas to help you kill it, you then see the NPC again and you change the 5 letters for a Special item ( your choice, should be a item not in use so like a Cookie or something ) and then goto Killer and get your reward ?
Get me ??

Thanks, just an idea
Paralyzer[GM] is offline  
Old 04/14/2010, 04:50   #10
 
superplox's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 275
Received Thanks: 23
hey good job mate nice for learning
superplox is offline  
Old 09/11/2010, 10:53   #11
 
ZeRo-ToLeRaNcE's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 544
Received Thanks: 655
EDIT NPC

Hello all,

this is an very nice little Quest :P
but i have edit a little bit, because if you get the price the letter is still
in your Inventory, so with this code it will remove the Letter, and i have set my price on 2500 CP's :P

Code:
#region Killer
    case 67436:
    {
        if (Control == 0)
        {

            if (GC.MyChar.InventoryContains(710854, 1))
            {
                GC.AddSend(Packets.NPCSay("Hello.  A letter huh.  Well, I accidently killed ghost a while back.  Tell him his apology is accepted."));
                GC.AddSend(Packets.NPCLink("Sure Thing", 1));
                GC.AddSend(Packets.NPCLink("No", 255));
                GC.AddSend(Packets.NPCSetFace(N.Avatar));
                GC.AddSend(Packets.NPCFinish());
            }
            else
            {
                GC.AddSend(Packets.NPCSay("You don't have the required item"));
                GC.AddSend(Packets.NPCLink("Sorry", 255));
                GC.AddSend(Packets.NPCSetFace(N.Avatar));
                GC.AddSend(Packets.NPCFinish());
            }
        }
        else if (Control == 1)
        {
            GC.MyChar.CPs += 2500;
            GC.MyChar.RemoveItem(GC.MyChar.NextItem(710854));
            GC.AddSend(Packets.NPCSay("Here is your reward 2500 CPs!"));
            GC.AddSend(Packets.NPCLink("Thank you", 255));
            GC.AddSend(Packets.NPCSetFace(N.Avatar));
            GC.AddSend(Packets.NPCFinish());
        }
        break;
    }
    #endregion
Best Regards,

ZeRo
ZeRo-ToLeRaNcE is offline  
Old 09/11/2010, 12:44   #12
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
You could've made a different story.
The ghost wants revenge, so you have to kill some monsters to get a 'CursedLetter' and than give this letter to the killer to curse him or something, just do something that makes a little bit of sense at least.
Basser is offline  
Reply


Similar Threads Similar Threads
[Release] Another Custom Quest
04/23/2010 - CO2 PServer Guides & Releases - 6 Replies
Hello I made this quest all by myself It is pretty good I guess Add these to NPCDialog.cs: #region Shirly Quest case 778867: { if (Control == 0) {
[RELEASE]AwsomeQuest:BraveHeart(Custom quest, long thread lol)
11/14/2009 - CO2 PServer Guides & Releases - 22 Replies
Hey E*Pvp Today im gonna make a release for a quest called Brave Heart, is a custome quest by me. And is for LOTF. And it was something that zbest requested, but im not sure if it was this he meant XD Here is it. The quest is not tested, so i would appriciate if someone will test it for me and if there is any errors, then let me know. press THANKS if you like this quest.



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


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.