Register for your free account! | Forgot your password?

You last visited: Today at 11:57

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

Advertisement



[Release]3rd rb quest

Discussion on [Release]3rd rb quest within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
[Release]3rd rb quest

this is for LOTF sources
Quote:
This goes into ur npc talk area where ur npc dialogs are
Code:
if (CurrentNPC == 100)//Third Reborn
                        {
                            if (MyChar.RBCount >= 3)
                            {
                                SendPacket(General.MyPackets.NPCSay("You are already reborn. I cannot help you."));
                                SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
                            else
                            {
                                if (MyChar.Level >= 120)
                                {
                                    SendPacket(General.MyPackets.NPCSay("In order to reobrn again for the third time u'll need 7 super gems to make the stone u need for rebirth."));
                                    SendPacket(General.MyPackets.NPCLink("I would like to know it.", 1));
                                    SendPacket(General.MyPackets.NPCLink("Just passing by.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                else if (MyChar.Level > 119)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You can only reborn if you are level 120 or over."));
                                    SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                        }

if (CurrentNPC == 101)//teleport to 2nd rb area
                        {
                            SendPacket(General.MyPackets.NPCSay("Would u like to teleport to the Third RB Area?"));
                            SendPacket(General.MyPackets.NPCLink("Yes", 1));
                            SendPacket(General.MyPackets.NPCLink("no Thanks", 255));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }

if (CurrentNPC == 102)
                        {
                            SendPacket(General.MyPackets.NPCSay("Do u have the Fragments for the Pure Vigor"));
                            SendPacket(General.MyPackets.NPCLink("Yes", 1));
                            SendPacket(General.MyPackets.NPCLink("No", 255));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }
Quote:
then Place this in ur npc controls area
Code:
if (CurrentNPC == 100)
                        {
                            if (Control == 1)
                            {
                                SendPacket(General.MyPackets.NPCSay("If you want to rebirth, you should reach a certain level, get the hightest occupation"));
                                SendPacket(General.MyPackets.NPCSay(" title and get a CelestialStone. After the rebirth, you can distribute your attribute"));
                                SendPacket(General.MyPackets.NPCSay(" more freely. And you can learn more powerful skill."));
                                SendPacket(General.MyPackets.NPCLink("I would like to Reborn.", 9));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
                            if (Control == 7)
                            {
                                if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
                                {
                                    SendPacket(General.MyPackets.NPCSay("What class would you like to reborn into?"));
                                    SendPacket(General.MyPackets.NPCLink("Trojan", 2));
                                    SendPacket(General.MyPackets.NPCLink("Warrior", 3));
                                    SendPacket(General.MyPackets.NPCLink("Archer", 4));
                                    SendPacket(General.MyPackets.NPCLink("Fire Taoist", 5));
                                    SendPacket(General.MyPackets.NPCLink("WaterTaoist", 6));
                                    SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You cannot reborn if you don't have a celestial stone."));
                                    SendPacket(General.MyPackets.NPCLink("I see.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (Control == 2)
                            {
                                if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
                                {
                                    MyChar.RemoveItem(MyChar.ItemNext(722731));
                                    MyChar.RemoveItem(MyChar.ItemNext(700003));
                                    MyChar.RemoveItem(MyChar.ItemNext(700013));
                                    MyChar.RemoveItem(MyChar.ItemNext(700023));
                                    MyChar.RemoveItem(MyChar.ItemNext(700033));
                                    MyChar.RemoveItem(MyChar.ItemNext(700043));
                                    MyChar.RemoveItem(MyChar.ItemNext(700053));
                                    MyChar.RemoveItem(MyChar.ItemNext(700063));
                                    MyChar.ReBorn(11);
                                }
                            }
                            if (Control == 3)
                            {

                                if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
                                {
                                    MyChar.RemoveItem(MyChar.ItemNext(722731));
                                    MyChar.RemoveItem(MyChar.ItemNext(700003));
                                    MyChar.RemoveItem(MyChar.ItemNext(700013));
                                    MyChar.RemoveItem(MyChar.ItemNext(700023));
                                    MyChar.RemoveItem(MyChar.ItemNext(700033));
                                    MyChar.RemoveItem(MyChar.ItemNext(700043));
                                    MyChar.RemoveItem(MyChar.ItemNext(700053));
                                    MyChar.RemoveItem(MyChar.ItemNext(700063));
                                    MyChar.ReBorn(21);
                                }
                            }
                            if (Control == 4)
                            {

                                if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
                                {
                                    MyChar.RemoveItem(MyChar.ItemNext(722731));
                                    MyChar.RemoveItem(MyChar.ItemNext(700003));
                                    MyChar.RemoveItem(MyChar.ItemNext(700013));
                                    MyChar.RemoveItem(MyChar.ItemNext(700023));
                                    MyChar.RemoveItem(MyChar.ItemNext(700033));
                                    MyChar.RemoveItem(MyChar.ItemNext(700043));
                                    MyChar.RemoveItem(MyChar.ItemNext(700053));
                                    MyChar.RemoveItem(MyChar.ItemNext(700063));
                                    MyChar.ReBorn(41);
                                }
                            }
                            if (Control == 5)
                            {
                                if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
                                {
                                    MyChar.RemoveItem(MyChar.ItemNext(722731));
                                    MyChar.RemoveItem(MyChar.ItemNext(700003));
                                    MyChar.RemoveItem(MyChar.ItemNext(700013));
                                    MyChar.RemoveItem(MyChar.ItemNext(700023));
                                    MyChar.RemoveItem(MyChar.ItemNext(700033));
                                    MyChar.RemoveItem(MyChar.ItemNext(700043));
                                    MyChar.RemoveItem(MyChar.ItemNext(700053));
                                    MyChar.RemoveItem(MyChar.ItemNext(700063));
                                    MyChar.ReBorn(142);
                                }
                            }
                            if (Control == 6)
                            {
                                if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
                                {
                                    MyChar.RemoveItem(MyChar.ItemNext(722731));
                                    MyChar.RemoveItem(MyChar.ItemNext(700003));
                                    MyChar.RemoveItem(MyChar.ItemNext(700013));
                                    MyChar.RemoveItem(MyChar.ItemNext(700023));
                                    MyChar.RemoveItem(MyChar.ItemNext(700033));
                                    MyChar.RemoveItem(MyChar.ItemNext(700043));
                                    MyChar.RemoveItem(MyChar.ItemNext(700053));
                                    MyChar.RemoveItem(MyChar.ItemNext(700063));
                                    MyChar.ReBorn(132);
                                }
                            }
                        }

if (CurrentNPC == 101)
                        {
                            if (Control == 1)
                            {
                                MyChar.Teleport(1028, 160, 96);//u choose the maps and coords this is just coords i found in the source                             
                            }
                        }

if (CurrentNPC == 102)
                        {
                            if (Control == 1)
                            {
                                if (MyChar.InventoryContains(722729, 5))
                                {
                                    MyChar.AddItem("722731-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                                    MyChar.RemoveItem(MyChar.ItemNext(722729));
                                }
                            }
                        }
if anyone could make this shorter please do this is my first attempt at making a quest
coreymills is offline  
Thanks
1 User
Old   #2
 
elite*gold: 0
Join Date: Nov 2009
Posts: 131
Received Thanks: 48
Nice release gonna add it to my guide+release+all in one
׍ĥę×Ôŋë× is offline  
Old   #3
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Code:
if (MyChar.InventoryContains(700003, 1))
                                    if (MyChar.InventoryContains(700013, 1))
                                        if (MyChar.InventoryContains(700023, 1))
                                            if (MyChar.InventoryContains(700033, 1))
                                                if (MyChar.InventoryContains(700043, 1))
                                                    if (MyChar.InventoryContains(700053, 1))
                                                        if (MyChar.InventoryContains(700063, 1))
                                                            if (MyChar.InventoryContains(722731, 1))
LOL
danielachraf is offline  
Thanks
1 User
Old   #4
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Simplifying stuff is fun!
Also, that is just a copy of the secound rebirth NPC.
~*NewDuuDe*~ is offline  
Old   #5
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
@BERGHUIS1 dude its a QUEST for 3rd rb u dont like it dont use it it doesn't matter to me
@danielachraf xD i'm still learning to code
coreymills is offline  
Old   #6
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Nice release
Keep up the good work
|BasicCoder| is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Quest Generator
09/23/2010 - Flyff PServer Guides & Releases - 13 Replies
Hallo E*PvP'er, da mein Biete Thread für den Quest Generator denke ich eventuell nicht gut ankam, da es so wenig Infos gab oder der Preis mit 20€ zu hoch war für euch. Naja, ich möchte keinen abschrecken oder ihm etwas "andrehen" =), ohne das er/sie die Gelegenheit hatte, das Programm zu Testen. Ich habe da eine simple aber gute Methode gefunden, euch diese Möglichkeit zu bieten.
[Quest Release]Achemist aio
08/20/2010 - Metin2 PServer Guides & Strategies - 1 Replies
This quest uses 1 npc to refine all ore ingame. If you like it, thank it :) Features: -Gm's can set the succes rate -You can set the amount ore needed to get 1 stone for each oretype -Included 7 ores...
[Release] Lvl 90+ Quest
07/08/2010 - CO2 PServer Guides & Releases - 6 Replies
Hey guys made this quest last night Small Monster Huner quest. The rewards are 100k OR 500kk Silvers. I know its a bit rough and im gonna clean it up when i can First we need to add the NPCDialogue. #region New Quest case 12453: { if (Control == 0) {
[Release]Upp-Stuff Quest + Neue Bio Quest ->Testlauf
06/08/2010 - Metin2 PServer Guides & Strategies - 13 Replies
Hey und guten Morgen, Ich hatte grade bissl langeweile und hab mir gedacht man könnte doch seine Waffen auch mit 100% Uppchance gg bessere Waffen tauschen oder? Das heißt: Die Quest sieht so aus: Ihr geht zu Baek-Go. Wenn ihr jetzt zum Beispiel einen Krähenstahlbogen+9 und 2x Gegenangriffstrategien habt könnt ihr Ihn gg einen Geisterbogen+0 eintauschen! Die Quest funktioniert wunderbar und wurde auch schon getestet.
[Release] TreasureHunter Quest
05/31/2009 - CO2 PServer Guides & Releases - 14 Replies
Hello people. I got an suggestion from someone that I should rleease treasurehunter quest. So now I spent my free 10 minutes to code this for you. Since im hungry atm and need food, I wont be able to test this code. I just simply coded it in C# and did not run the server at once. Notes: The TreasurePoints dont save, if I were you I wouldnt want this to save but if you want this, you do that part in Database.cs You have to do the database work by yourself, im lazy. Add a monster with...



All times are GMT +2. The time now is 11:57.


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.