Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 12:20

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

Advertisement



[Relase] Skypass quest

Discussion on [Relase] Skypass quest within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
bisiol's Avatar
 
elite*gold: 0
Join Date: Aug 2005
Posts: 44
Received Thanks: 69
[Relase] Skypass quest

In Entities.cs search for:
Code:
                        DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                        World.ItemDrops(item);
                    }
                }
                else
                {

Replace it with:
Code:
                        DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                        World.ItemDrops(item);
                    }
                }
                else
                {
                    if (Name != "SkyRockMonster" && Name != "SkyHawk" && Name != "SkyBandit" && Name != "SkyBull" && Name != "SkyDevil")
                    {
In Entities.cs search for:

Code:
if (ItemId != 0)
                        {
                            string Item = ItemId.ToString() + "-" + IsPlus.ToString() + "-" + Bless.ToString() + "-0-" + Soc1.ToString() + "-" + Soc2.ToString();
                            DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, 0);
                            World.ItemDrops(item);
                        }
                    }
                }
Bellow add:

Code:
 }
                if (Name == "SkyRockMonster")
                {
                    

                       if (Other.ChanceSuccess(4))
                        {
                    string Item = "721100-0-0-0-0-0";
                            DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                            World.ItemDrops(item);
                       }
                    
                }
                if (Name == "SkyHawk")
                {


                    if (Other.ChanceSuccess(4))
                    {
                        string Item = "721101-0-0-0-0-0";
                        DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                        World.ItemDrops(item);
                    }

                }
                if (Name == "SkyBandit")
                {


                    if (Other.ChanceSuccess(4))
                    {
                        string Item = "721102-0-0-0-0-0";
                        DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                        World.ItemDrops(item);
                    }

                }
                if (Name == "SkyBull")
                {


                    if (Other.ChanceSuccess(4))
                    {
                        string Item = "721103-0-0-0-0-0";
                        DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                        World.ItemDrops(item);
                    }

                }
                if (Name == "SkyDevil")
                {


                    if (Other.ChanceSuccess(4))
                    {
                        string Item = "721108-0-0-0-0-0";
                        DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                        World.ItemDrops(item);
                    }

                }
In Client.cs search for:
Code:
                        if (CurrentNPC == 104813)
                        {
                            SendPacket(General.MyPackets.NPCSay("I can exchange 200,000 silvers into 20 cps.  Do you want to trade?"));
                            SendPacket(General.MyPackets.NPCLink("Yes", 1));
                            SendPacket(General.MyPackets.NPCLink("No", 255));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }
Bellow this add:

Code:
                        if (CurrentNPC == 105016)
                        {
                            SendPacket(General.MyPackets.NPCSay("Do You want start SkyPass quest?"));
                            SendPacket(General.MyPackets.NPCLink("Yes", 1));
                            SendPacket(General.MyPackets.NPCLink("No", 255));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }
                        if (CurrentNPC == 105005 || CurrentNPC == 105006 || CurrentNPC == 105007 || CurrentNPC == 105008 || CurrentNPC == 105009)
                        {
                            int skynpc = ((CurrentNPC - 105005)+1);
                            string skynpcstr="";
                            if (skynpc == 1)
                                skynpcstr = "Do You wana try go to the 2nd Stage?";
                            if (skynpc == 2)
                                skynpcstr = "Do You wana try go to the 3rd Stage?";
                            if (skynpc == 3)
                                skynpcstr = "Do You wana try go to the 4th Stage?";
                            if (skynpc == 4)
                                skynpcstr = "Do You wana try go to the 5th Stage?";
                            if (skynpc == 5)
                                skynpcstr = "Almost done do You wana try finish Quest?";
                            SendPacket(General.MyPackets.NPCSay(skynpcstr));
                            SendPacket(General.MyPackets.NPCLink("Yes", (byte)skynpc));
                            SendPacket(General.MyPackets.NPCLink("No please teleport me to TC", 6));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }
                        if (CurrentNPC == 105010 || CurrentNPC == 105011 || CurrentNPC == 105012 || CurrentNPC == 105013 || CurrentNPC == 105014)
                        {
                            int skynpc = ((CurrentNPC - 105010) + 1);
                            string skynpcstr = "";
                            if (skynpc == 1 && MyChar.InventoryContains(721100, 1))
                            {
                                {
                                    skynpcstr = "I can let You out if you have PassToken1";
                                    SendPacket(General.MyPackets.NPCSay(skynpcstr));
                                    SendPacket(General.MyPackets.NPCLink("Yay!", (byte)skynpc));
                                }
                            }
                            else if (skynpc == 2&&MyChar.InventoryContains(721101, 1))
                            {
                                skynpcstr = "I can let You out if you have PassToken2";
                                SendPacket(General.MyPackets.NPCSay(skynpcstr));
                                SendPacket(General.MyPackets.NPCLink("Yay!", (byte)skynpc));
                            }
                            else if (skynpc == 3 && MyChar.InventoryContains(721102, 1))
                            {
                                skynpcstr = "I can let You out if you have PassToken3";
                                SendPacket(General.MyPackets.NPCSay(skynpcstr));
                                SendPacket(General.MyPackets.NPCLink("Yay!", (byte)skynpc));
                            }
                            else if (skynpc == 4 && MyChar.InventoryContains(721103, 1))
                            {
                                skynpcstr = "I can let You out if you have PassToken4";
                                SendPacket(General.MyPackets.NPCSay(skynpcstr));
                                SendPacket(General.MyPackets.NPCLink("Yay!", (byte)skynpc));
                            }
                            else if (skynpc == 5 && MyChar.InventoryContains(721108, 1))
                            {
                                skynpcstr = "I can let You out if you have PassTokenL120";
                                SendPacket(General.MyPackets.NPCSay(skynpcstr));
                                SendPacket(General.MyPackets.NPCLink("Yay!", (byte)skynpc));
                            }
                            else
                            {
                                skynpcstr = "Sorry, You dont have PassToken!";
                                SendPacket(General.MyPackets.NPCSay(skynpcstr));
                                SendPacket(General.MyPackets.NPCLink("Damn", 255));
                            }
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }
                        if (CurrentNPC == 105015)
                        {
                            SendPacket(General.MyPackets.NPCSay("Congratulations! You have finished SkyPass Quest!"));
                            SendPacket(General.MyPackets.NPCSay("Please chose Your revard"));
                            SendPacket(General.MyPackets.NPCLink("4 metscrolls", 1));
                            SendPacket(General.MyPackets.NPCLink("10 metscrolls", 2));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                        }
In Client.cs search for:
Code:
                        if (CurrentNPC == 104813)
                        {
                            if (Control == 1)
                            {
                                if (MyChar.Silvers >= 200000)
                                {
                                    MyChar.Silvers -= 200000;
                                    MyChar.CPs += 20;
                                }
                            }
                        }
Bellow add:
Code:
                        if (CurrentNPC == 105016)
                        {
                            if (Control == 1)
                            {
                                MyChar.Teleport(1040, 595, 383);  
                            }
                        }
                        if (CurrentNPC == 105005 || CurrentNPC == 105006 || CurrentNPC == 105007 || CurrentNPC == 105008 || CurrentNPC == 105009)
                        {
                            uint skyrnd = (uint)General.Rand.Next(3);
                            
                            if (Control == 1)
                            {
                                if (skyrnd == 1)
                                    MyChar.Teleport(1040, 543, 330);
                                else
                                    MyChar.Teleport(1040, 368, 588);
                            }
                            if (Control == 2)
                            {
                                if (skyrnd == 1)
                                    MyChar.Teleport(1040, 492, 280);
                                else
                                    MyChar.Teleport(1040, 320, 540);
                            }
                            if (Control == 3)
                            {
                                if (skyrnd == 1)
                                    MyChar.Teleport(1040, 436, 224);
                                else
                                    MyChar.Teleport(1040, 272, 492);
                            }
                            if (Control == 4)
                            {
                                if (skyrnd == 1)
                                    MyChar.Teleport(1040, 393, 181);
                                else
                                    MyChar.Teleport(1040, 224, 444);
                            }
                            if (Control == 5)
                            {
                                if (skyrnd == 1)
                                    MyChar.Teleport(1040, 141, 240);
                                else
                                    MyChar.Teleport(1040, 176, 396);
                            }
                            if (Control == 6)
                            {                                
                                    MyChar.Teleport(1002, 429,378);
                            }
                        }
                        if (CurrentNPC == 105010 || CurrentNPC == 105011 || CurrentNPC == 105012 || CurrentNPC == 105013 || CurrentNPC == 105014)
                        {

                            if (Control == 1)
                            {
                                MyChar.RemoveItem(MyChar.ItemNext(721100));
                                MyChar.Teleport(1040, 595, 383);
                            }
                            if (Control == 2)
                            {
                                MyChar.RemoveItem(MyChar.ItemNext(721101));
                                MyChar.Teleport(1040, 543, 330);
                            }
                            if (Control == 3)
                            {
                                MyChar.RemoveItem(MyChar.ItemNext(721102));
                                MyChar.Teleport(1040, 492, 280);
                            }

                            if (Control == 4)
                            {
                                MyChar.RemoveItem(MyChar.ItemNext(721103));
                                MyChar.Teleport(1040, 436, 224);
                            }
                            if (Control == 5)
                            {
                                MyChar.RemoveItem(MyChar.ItemNext(721108));
                                MyChar.Teleport(1040, 393,181);
                            }
                        }
                        if (CurrentNPC == 105015)
                        {
                            if (Control == 1)
                            {
                                if (MyChar.ItemsInInventory < 37)
                                {
                                    MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    MyChar.Teleport(1002, 429, 378);
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You dont have enough free space in invectory"));
                                    SendPacket(General.MyPackets.NPCLink("My bad", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (Control == 2)
                            {
                                ushort skyrnd = (ushort)General.Rand.Next(2);
                                if (skyrnd==1)
                                {
                                    if (MyChar.ItemsInInventory < 31)
                                    {
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.Teleport(1002, 429, 378);
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You dont have enough free space in invectory"));
                                        SendPacket(General.MyPackets.NPCLink("My bad", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                                else
                                    MyChar.Teleport(1002, 429, 378);
                            }
                        }
Now in phpmyadmin press SQL and run that query:
Quote:
INSERT INTO `mobs` VALUES ('41', '105', 'SkyRockMonster', '7358', '77', '0', '550', '650', '0');
INSERT INTO `mobs` VALUES ('42', '205', 'SkyHawk', '15432', '92', '0', '800', '1000', '0');
INSERT INTO `mobs` VALUES ('43', '201', 'SkyBandit', '20697', '97', '0', '1000', '1200', '0');
INSERT INTO `mobs` VALUES ('44', '117', 'SkyBull', '27309', '112', '0', '1300', '1800', '0');
INSERT INTO `mobs` VALUES ('45', '197', 'SkyDevil', '45000', '117', '0', '1800', '2300', '0');
INSERT INTO `mobspawns` VALUES (219, 41, 5, 362, 587, 374, 589, 1040);
INSERT INTO `mobspawns` VALUES (220, 42, 5, 315, 540, 325, 541, 1040);
INSERT INTO `mobspawns` VALUES (221, 43, 5, 267, 492, 277, 493, 1040);
INSERT INTO `mobspawns` VALUES (222, 44, 5, 220, 444, 229, 445, 1040);
INSERT INTO `mobspawns` VALUES (223, 45, 5, 172, 396, 180, 397, 1040);
INSERT INTO `npcs` VALUES (105010, 7019, 'Skyguard', 2, 2, 371, 579, 1040, 0);
INSERT INTO `npcs` VALUES (105011, 7019, 'SkyGuard', 2, 2, 323, 531, 1040, 0);
INSERT INTO `npcs` VALUES (105012, 7019, 'SkyGuard', 2, 2, 275, 483, 1040, 0);
INSERT INTO `npcs` VALUES (105013, 7019, 'SkyGuard', 2, 2, 227, 435, 1040, 0);
INSERT INTO `npcs` VALUES (105014, 7019, 'SkyGuard', 2, 2, 179, 387, 1040, 0);
INSERT INTO `npcs` VALUES (105015, 7107, 'GodCloud', 2, 2, 84, 186, 1040, 0);
INSERT INTO `npcs` VALUES (105016, 7097, 'Daniel', 2, 2, 166, 155, 1012, 0);
INSERT INTO `npcs` VALUES (105009, 7037, 'SkyPass', 2, 2, 386, 174, 1040, 0);
INSERT INTO `npcs` VALUES (105006, 7037, 'SkyPass', 2, 2, 536, 323, 1040, 0);
INSERT INTO `npcs` VALUES (105005, 7037, 'Skypass', 2, 2, 589, 377, 1040, 0);
INSERT INTO `npcs` VALUES (105008, 7037, 'SkyPass', 2, 2, 430, 218, 1040, 0);
INSERT INTO `npcs` VALUES (105007, 7037, 'SkyPass', 2, 2, 486, 274, 1040, 0);
Thats all enjoy
bisiol is offline  
Thanks
10 Users
Old 10/19/2008, 20:00   #2
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Nice work +thanks
XxArcherMasterxX is offline  
Old 10/19/2008, 20:59   #3
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
This was actually nicely done,maybe epvp is about to get a new good coder?:P
Anyways,hope so.

Add my msn, intresed in your knowledge of coding :P
_Emme_ is offline  
Old 10/19/2008, 21:20   #4
 
bisiol's Avatar
 
elite*gold: 0
Join Date: Aug 2005
Posts: 44
Received Thanks: 69
Quote:
Originally Posted by emildayan1 View Post
This was actually nicely done,maybe epvp is about to get a new good coder?:P
Anyways,hope so.

Add my msn, intresed in your knowledge of coding :P
Thanks, i added You
bisiol is offline  
Old 10/19/2008, 21:33   #5
 
elite*gold: 0
Join Date: Oct 2008
Posts: 342
Received Thanks: 66
Great release^^
µ~Xero~µ is offline  
Old 10/19/2008, 21:53   #6
 
Exia13's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
Nice
Exia13 is offline  
Old 10/20/2008, 05:44   #7
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Agreed, nicely done.
taguro is offline  
Reply


Similar Threads Similar Threads
[RELASE] Adventure Quest Worlds Bot - Beta
10/09/2011 - Browsergames - 46 Replies
Hi! I made a bot for AQW. It's take on the skills and killing the mob. After killed the mob, it's resting. Now only for warrior and for 1152 x 864 screen. Password for rar file: w w w. elitepvpers . d e (With no space) How to use? 1. Open AdventureQuest Worlds: Free Browser MMO 2. Log in 3. Go to map Pinewood Forest 4. Start The aq_bot.exe 5. Go to AQ 6. Press ALT + S
[Relase] Bank Quest OHNE YANGBUG
04/12/2011 - Metin2 PServer Guides & Strategies - 13 Replies
So Relase hier nochmals meinen Bank script da ich feststellen musste das sie einen bug hatte mit der man sich unendlich geld holen konnte. :o Es tut mir leid das es diesen fehler GAB. In der datei im anhang ist dieser Fehler nun Fixxet ;) Euer Benhero #EDIT 100% TESTET! Vielen dank dafür an nnaajjeedd
[Relase] Bank Quest
04/10/2011 - Metin2 PServer Guides & Strategies - 82 Replies
Abend zusammen. Da ich sowas hier noch nicht wirklich in dieser Form gesehen habe, habe ich mir die zeit genommen und eine Bank Quest geschrieben. Funktionen dieser Quest: - Geld Lagern (Geld betrag wird in der Quest Tabelle via "pc.setqf" befehl gespeichert) - Geld Abheben (Gleiche wie vorher wird nur aus der Tabelle geladen.) - Konto Abfragen (Wie Kontoauszug. Gibt die größe des Kontostandes an) - Pin Ändern (Was soll ich da schon erklären xD) Wie Funktioniert der Script IG?
Skypass Quest Help
07/12/2010 - Conquer Online 2 - 6 Replies
Hey ppl. I need help with the skypass quest! i am lvl 73 warrior. I went through lvl 1 NPC 10 times !!! and all the times i was sent back to the Battle Place and then back to lvl 1 NPC....am i missing anything why i am not able to move to lvl 2? Any tips will be appreciated!
Skypass
01/01/2007 - CO2 Guides & Templates - 8 Replies
I dont know how to make hacks or that kind of things so i only can post tips :rolleyes: Well its simple You can get tokens easy when server time ends in 9,0,1 like 14:19-14:21 (hour doenst matter, only the last digit) during that 3 minuts you can get 3-4 tokens, it works for me on all floors less top. Im on lvl 120 section if its useful. Hope it work for all



All times are GMT +2. The time now is 12:20.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.