Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 01:48

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


IMPORTANT HELP, MAKING QUEST!! LOOK!! :)

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
IMPORTANT HELP, MAKING QUEST!! LOOK!! :)

Im making a quest where you are getting certain items, but where do i make items drop from mobs, so they drop the items?



#*=DarkAngeL=*# is offline  
Old 11/11/2009, 21:07   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by #*=DarkAngeL=*# View Post
Im making a quest where you are getting certain items, but where do i make items drop from mobs, so they drop the items?
Would you like to tell us what source you're using?


Arcо is offline  
Thanks
1 User
Old 11/11/2009, 21:25   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
LOTF
#*=DarkAngeL=*# is offline  
Old 11/11/2009, 21:33   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by #*=DarkAngeL=*# View Post
LOTF
Hmm I want to say its in Entities.cs.
Look in there and search for the word Guard.
Check his little area out.
Pretty much copy and paste it to fit your likings.


Arcо is offline  
Thanks
1 User
Old 11/11/2009, 21:38   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
Okay thanks ill try
#*=DarkAngeL=*# is offline  
Old 11/11/2009, 22:23   #6
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 437
you might want to make a bool so you can put an option "if "bool"" then put the drops, then put "else"
raidenx123 is offline  
Old 11/11/2009, 22:36   #7
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
Nah, im too lazy for that, cause i dont have much time to do it, but they need to start quest before they can give out the items to the certain npc's. Im soon done with it
After that i need to work with some schoolstuff, thats why XD


@I tried the thing tiku said, but i searched Guard and no result and i found this another place in the enterties.cs
But where to edit mob id?
Code:
public bool GetDamage(uint Damage)
        {
            if (CurHP > Damage)
            {
                CurHP -= Damage;

                return false;
            }
            else
            {
                CurHP = 0;
                Alive = false;
                Revive = false;

                uint MoneyDrops = 0;

                if (Other.ChanceSuccess(30))
                {
                    int DropTimes = 1;
                    if (Other.ChanceSuccess(15))
                    {
                        DropTimes = General.Rand.Next(1, 6);
                    }
                    for (int i = 0; i < DropTimes; i++)
                    {
                        MoneyDrops = (uint)General.Rand.Next(1, 10);

                        if (Other.ChanceSuccess(90))
                            MoneyDrops = (uint)General.Rand.Next(1, 200);
                        if (Other.ChanceSuccess(70))
                            MoneyDrops = (uint)General.Rand.Next(30, 500);
                        if (Other.ChanceSuccess(50))
                            MoneyDrops = (uint)General.Rand.Next(100, 1000);
                        if (Other.ChanceSuccess(30))
                            MoneyDrops = (uint)General.Rand.Next(500, 5000);
                        if (Other.ChanceSuccess(15))
                            MoneyDrops = (uint)General.Rand.Next(1000, 15000);

                        MoneyDrops = MoneyDrops / (136 - (uint)Level) * 10;
                        if (MoneyDrops < 1)
                            MoneyDrops = 1;
                        string Item = "";

                        if (MoneyDrops < 10)
                            Item = "1090000-0-0-0-0-0";
                        else if (MoneyDrops < 100)
                            Item = "1090010-0-0-0-0-0";
                        else if (MoneyDrops < 1000)
                            Item = "1090020-0-0-0-0-0";
                        else if (MoneyDrops < 3000)
                            Item = "1091000-0-0-0-0-0";
                        else if (MoneyDrops < 10000)
                            Item = "1091010-0-0-0-0-0";
                        else
                            Item = "1091020-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);
                    }
                }
                else
                {
                    if (Other.ChanceSuccess(0.5))
                    {
                        string Item = "1060101-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 (Other.ChanceSuccess(0.5))
                    {
                        string Item = "1060100-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 (Other.ChanceSuccess(8))
                    {
                        string Item = "721533-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 (Other.ChanceSuccess(9))
                    {
                        string Item = "721536-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 (Other.ChanceSuccess(10))
                    {
                        string Item = "723038-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 (Other.ChanceSuccess(8) || BossMob && Other.ChanceSuccess(50))
                    {
                        byte Repeat = 1;
                        if (BossMob && Other.ChanceSuccess(50))
                            Repeat = 2;
                        if (BossMob && Other.ChanceSuccess(40))
                            Repeat = 3;
                        if (BossMob && Other.ChanceSuccess(25))
                            Repeat = 4;
                        if (BossMob && Other.ChanceSuccess(5))
                            Repeat = 5;
                        for (int i = 0; i < Repeat; i++)
                        {
                            string Item = "1088001-0-0-0-0-0";
                            if (Other.ChanceSuccess(3) || BossMob)
                                Item = "1088000-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 (Other.ChanceSuccess(0.5) || BossMob && Other.ChanceSuccess(30))
                    {
                        string Item = "730001-1-0-0-0-0";
                        if (Other.ChanceSuccess(10) || BossMob && Other.ChanceSuccess(30))
                            Item = "730002-2-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 (Other.ChanceSuccess(40))
                    {
                        byte Quality = (byte)General.Rand.Next(3, 6);
                        byte Soc1 = 0;
                        byte Soc2 = 0;
                        byte Bless = 0;
                        byte IsPlus = 0;

                        if (Other.ChanceSuccess(2) || BossMob && Other.ChanceSuccess(10))
                            IsPlus = 1;

                        if (Other.ChanceSuccess(7))
                            Quality = 7;
                        if (Other.ChanceSuccess(4) || BossMob && Other.ChanceSuccess(25))
                            Quality = 8;
                        if (Other.ChanceSuccess(2) || BossMob && Other.ChanceSuccess(10))
                            Quality = 9;

                        uint ItemId = Other.GenerateEquip((byte)Level, Quality);

                        if (Other.ItemType(ItemId) == 4 || Other.ItemType(ItemId) == 5)
                        {
                            if (Other.ChanceSuccess(50) || BossMob && Other.ChanceSuccess(80))
                            {
                                Soc1 = 255;
                                if (Other.ChanceSuccess(40) || BossMob && Other.ChanceSuccess(60))
                                    Soc2 = 255;
                            }
                        }
                        if (Other.ChanceSuccess(10) || BossMob && Other.ChanceSuccess(30))
                            Bless = (byte)General.Rand.Next(1, 7);

                        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);
                        }
                    }
                }
                return true;
            }
        }
If i havent got help in 30mins, ill release it still, but then peoples self have to put items to the right mbos so please help














EDIT:
No one helped me so i could fix it so i wil lrelease without.
#*=DarkAngeL=*# is offline  
Old 11/13/2009, 02:38   #8
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 105
Search for "if (Name == "Titan") in Entites.cs or any mob's name and then follow what inside the bracket and or Add put
if (Quest >= 1 && Other.ChanceSuccess(30))
and put you Items to be Drop.....
UnoAmigos is offline  
Thanks
1 User
Old 11/13/2009, 02:39   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
Okay thanks man


#*=DarkAngeL=*# is offline  
Reply



« Project Nix Recruitment | Conquer Layout Evolution. »

Similar Threads
Important for 2nd reborn quest !!
06/03/2010 - CO2 Exploits, Hacks & Tools - 3 Replies
hey everybody there , its my first post here i think anyway i am gonna talk about the 2nd reborn quest , most of co players now are doing reborn for that nuture bag or something , that map will help u alot in doing that annoying quest it tell u the lords respawning place and many other thing all u have to do is put it in conquerfloder\data\minimap then replace it with the other 1 , i hope that helps :D download here
Making heaps of $Money$ with new quest
04/17/2009 - CO2 Guides & Templates - 6 Replies
In this new quest there r 4 diferent parts. The one you need to do is number 4 becoz it gives u the free clean water but u cant trade it... yet, To sell it you need to make it into a celistale stone which on my server sells for 7mil:handsdown:. Get a multi client and do about 3 or 4 acounts on the quest. It may take a while but its worth it. Do the quest once threw on 1 guy to see wat to do, get a water tao and go to the place where u hav 2 kill ratlings and get heaps of the water spell...
Important Item IDs for making auto miner
10/01/2006 - CO2 Guides & Templates - 16 Replies
Well I made this for someone else making one, that will NOT be public. I also ask that if anyone else makes a memory based auto miner to please DO NOT MAKE IT PUBLIC&#33;&#33;&#33;&#33; If you are going to release it only post it on level 2&#33; Anyway here is a txt doc with all ore, gem, scroll, windspell scroll IDs. If you know how to make one you will know the use of these. I again beg, IF YOU MAKE ONE DO NOT MAKE IT PUBLIC&#33;&#33;&#33;
Making Hunter Epic Leaf Quest Easier
03/06/2006 - WoW Exploits, Hacks, Tools & Macros - 0 Replies
I&#39;m sorry if i dont explain this very good, because I&#39;m not a hunter and i dont know much about them or their epic staff quest thing... So anyway, in the quest there is the part where you have to kill the elite deamon in silithus. This is where we make doing that a bit easier. Well some people spend a shit load on flasks and etc and what not... but i recently did this for a friend and it ended up helping him alot... Well again there are alot more posibilities for this and im just...



All times are GMT +1. The time now is 01:48.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.