Register for your free account! | Forgot your password?

You last visited: Today at 17:27

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

Advertisement



Help with Drop Rates

Discussion on Help with Drop Rates within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Unhappy Help with Drop Rates

I need some help with drop rates

i would like to get it like original CO's so I can know
so plz help me to set it up !

the drop of mets is to big and items is to small and I have no more ideas what to do !
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(20))
                {
                    int DropTimes = 1;
                    if (Other.ChanceSuccess(20))
                    {
                        DropTimes = General.Rand.Next(1, 6);
                    }
                    for (int i = 0; i < DropTimes; i++)
                    {
                        MoneyDrops = (uint)General.Rand.Next(1, 10);

                        if (Other.ChanceSuccess(10))
                            MoneyDrops = (uint)General.Rand.Next(30, 500);
                        if (Other.ChanceSuccess(20))
                            MoneyDrops = (uint)General.Rand.Next(100, 1000);
                        if (Other.ChanceSuccess(15))
                            MoneyDrops = (uint)General.Rand.Next(500, 5000);
                        if (Other.ChanceSuccess(10))
                            MoneyDrops = (uint)General.Rand.Next(1000, 15000);

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

                        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 (Map == 1043)
                    {
                        if (Other.ChanceSuccess(10))
                        {
                            string Item = "721010-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 (Map == 1044)
                    {
                        if (Other.ChanceSuccess(10))
                        {
                            string Item = "721011-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 (Map == 1045)
                    {
                        if (Other.ChanceSuccess(10))
                        {
                            string Item = "721012-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 (Map == 1046)
                    {
                        if (Other.ChanceSuccess(10))
                        {
                            string Item = "721013-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 (Map == 1047)
                    {
                        if (Other.ChanceSuccess(10))
                        {
                            string Item = "721014-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 (Map == 1048)
                    {
                        if (Other.ChanceSuccess(10))
                        {
                            string Item = "721015-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 (Map != 1043 && Map != 1044 && Map != 1045 && Map != 1046 && Map != 1047 && Map != 1048 && Map != 1049)
                    {

                        if (Other.ChanceSuccess(0.1))
                        {
                            string Item = "1060101-0-0-0-0-0"; //FireOF Hell
                            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.05))//Gemai
                        {
                            string Item = "700011-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.05))
                        {
                            string Item = "700021-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.05))
                        {
                            string Item = "700031-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.05))
                        {
                            string Item = "700041-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.05))
                        {
                            string Item = "700051-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.05))
                        {
                            string Item = "700061-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.05))
                        {
                            string Item = "700001-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.1))
                        {
                            string Item = "1060100-0-0-0-0-0"; //BombScroll
                            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(4) || BossMob && Other.ChanceSuccess(25))
                        {
                            byte Repeat = 1;
                            if (BossMob && Other.ChanceSuccess(0))
                                Repeat = 2;
                            if (BossMob && Other.ChanceSuccess(0))
                                Repeat = 3;
                            if (BossMob && Other.ChanceSuccess(0))
                                Repeat = 4;
                            if (BossMob && Other.ChanceSuccess(0))
                                Repeat = 5;
                            for (int i = 0; i < Repeat; i++)
                            {
								string Item = "1088001-0-0-0-0-0";  //Meteor
                            if (Other.ChanceSuccess(0) || BossMob)
                                Item = "1088000-0-0-0-0-0"; //DragonBall
								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 == "UndeadSpearman")
						{
							string Item = "723085-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(1) || BossMob && Other.ChanceSuccess(2)) ;
						}
						if (SpecialMob && Other.ChanceSuccess(0.04))
                        {
                            string Item = "1088001-0-0-0-0-0"; //Metas
                            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 (SpecialMob && Other.ChanceSuccess(0.03))
                        {
                            string Item = "1088000-0-0-0-0-0"; //DragonBall
                            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 (SpecialMob && Other.ChanceSuccess(2))
                        {
                            string Item = "721537-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.05))
                        {
                            string 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 (SpecialMob2 && Other.ChanceSuccess(2))
                        {
                            string Item = "721538-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 (SpecialMob3 && Other.ChanceSuccess(2))
                        {
                            string Item = "721539-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.1) || BossMob && Other.ChanceSuccess(2))
                        {
                            string Item = "730001-1-0-0-0-0";
                            if (Other.ChanceSuccess(1) || BossMob && Other.ChanceSuccess(2))
                                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))
                                IsPlus = 1;
                            if (Other.ChanceSuccess(10))
                                Quality = 6;
                            if (Other.ChanceSuccess(7))
                                Quality = 7;
                            if (Other.ChanceSuccess(3))
                                Quality = 8;
                            if (Other.ChanceSuccess(2) || BossMob && Other.ChanceSuccess(5))
                                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(15) || BossMob && Other.ChanceSuccess(30))
                                        Soc2 = 255;
                                }
                            }
                            if (Other.ChanceSuccess(5) || BossMob && Other.ChanceSuccess(15))
                                Bless = (byte)General.Rand.Next(1, 8);

                            if (Other.ChanceSuccess(5))
                            {
                                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;
            }
        }
$HaDoW is offline  
Old 09/28/2008, 15:57   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
It either is the color of my shoes,or people just getting more dumb for every day.
_Emme_ is offline  
Old 09/28/2008, 17:35   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 240
Received Thanks: 10
Okay first figure out what item you want to change okay like db is 1088000 something like that and in you entires or what ever it will be like sucessfullchange (20 )); change to 20 to what u want it like mine is 0.5 for db drop and mets are like 1
Bottingpunk is offline  
Old 09/28/2008, 18:56   #4
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
here for exmp met drop

string Item = "1088001-0-0-0-0-0"; //Metas
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 (SpecialMob && Other.ChanceSuccess(0.03))


its seted to 0.03 but it still drops mutch
$HaDoW is offline  
Old 09/28/2008, 20:44   #5
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
Quote:
Originally Posted by ;1481260
here for exmp met drop

string Item = "1088001-0-0-0-0-0"; //Metas
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 (SpecialMob && Other.ChanceSuccess(0.03))


its seted to 0.03 but it still drops mutch
no. That would be the item below it.
LetterX is offline  
Old 09/29/2008, 03:30   #6
 
THE BAT's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 63
Received Thanks: 28
I'm not using that system of drops, i made different drop rates for each kind of mobs

but anyway change that to reduce mets and increase items drops

find and replace

Code:
if ((Other.ChanceSuccess(10) || BossMob) && Other.ChanceSuccess(50))
{
    byte Repeat = 1;
    if (BossMob && Other.ChanceSuccess(20))
        Repeat = 2;
    if (BossMob && Other.ChanceSuccess(25))
        Repeat = 3;
    if (BossMob && Other.ChanceSuccess(30))
        Repeat = 4;
    if (BossMob && Other.ChanceSuccess(100))
        Repeat = 5;

    for (int i = 0; i < Repeat; i++)
    {
        string Item = "1088001-0-0-0-0-0";

        if(BossMob && Other.ChanceSuccess(20))
            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);
    }
}
Code:
if (Other.ChanceSuccess(70))
{
    byte Quality = (byte)General.Rand.Next(3, 6);
    byte Soc1 = 0;
    byte Soc2 = 0;
    byte Bless = 0;
    byte IsPlus = 0;

    if (Other.ChanceSuccess(2))
        IsPlus = 1;
    if (Other.ChanceSuccess(25))
        Quality = 6;
    if (Other.ChanceSuccess(25))
        Quality = 7;
    if (Other.ChanceSuccess(7))
        Quality = 8;
    if (Other.ChanceSuccess(1) || BossMob && Other.ChanceSuccess(20))
        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, 8);

    if (Other.ChanceSuccess(50))
    {
        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);
        }
    }
}
THE BAT is offline  
Old 09/29/2008, 16:05   #7
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
hehe I fond out after my msg xD srr for stupid Questions and new treads
$HaDoW is offline  
Reply


Similar Threads Similar Threads
Someone needs to fix the drop rates.
01/09/2010 - Grand Chase - 6 Replies
Someone at Ntreev, that is. It's ridiculous. I tried looking into hacking sites to find scripts or tools that could help me but from what I've heard the game has stepped up its anti-hacking to the point that the hacking community has hit a dead stop. Am I wrong? Anyway. The fact that I'm displeased with the drop rates is making me look for answers. I would ask on the Ntreev forums, but honestly after much thinking I've decided that asking here would be better. Are there any resources that...
Drop Rates
02/22/2009 - CO2 Private Server - 2 Replies
Hey my friend needs some help. He wants to make his server have a 400x drop rate on DB's but he doesnt know how and frankly, niether do I. He uses Powersource. If you need any more information just let me know. Thanks in advance. :D
Querys Navicat! <Drop rates> <Composing rates> AND MORE
06/18/2008 - EO PServer Hosting - 2 Replies
Querys Navicat! Go to Navicat Go to my click at New CLICK AT THE BIG ICON All Click at New Query paste the text and click at run update FIleName(Likecq_drop_item_rule) set <Here The column name>=Here Numbers or letters; Drop rates update cq_dropitemrule set item0=ITEM ID HERE;



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


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.