Register for your free account! | Forgot your password?

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

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

Advertisement



[Questions] Monster Drops

Discussion on [Questions] Monster Drops within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 85
Received Thanks: 0
[Questions] Monster Drops

Heya, I've got a question.

My monsters aren't dropping items anymore, and I don't know where to find it,
could you guys be so kind and tell me how/where to fix it


thanks in advance ( Yup arco )
HackProvider is offline  
Old 03/01/2011, 20:11   #2
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
if (MobID == ID)
//Drop 50000 cps;
Arco. is offline  
Thanks
1 User
Old 03/01/2011, 20:30   #3
 
elite*gold: 0
Join Date: Dec 2010
Posts: 85
Received Thanks: 0
I knew it thanks bro , but my mobs arent dropping stuff.. except cash and mets dbs but no items,

btw
if (MobID == ID)
//Drop 50000 cps;

in mob.cs right?
HackProvider is offline  
Old 03/01/2011, 20:49   #4
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
That's just a pseudocode(example), you're going to have to do that actual code yourself, thats a good enough example for you to base your own code off of.
And yes, in mob.cs.
Arco. is offline  
Thanks
1 User
Old 03/01/2011, 21:05   #5
 
elite*gold: 0
Join Date: Dec 2010
Posts: 85
Received Thanks: 0
Yes i understand >< lmao but why aren't my monsters dropping items anymore :/
HackProvider is offline  
Old 03/02/2011, 03:13   #6
 
elite*gold: 0
Join Date: Feb 2011
Posts: 46
Received Thanks: 1
Make sure that in your DropRates.ini in OldCODB, that the number beside "Item=" is 500 and not 0.
xElement is offline  
Old 03/02/2011, 11:35   #7
 
elite*gold: 0
Join Date: Dec 2010
Posts: 85
Received Thanks: 0
@xElement Already checked it, I increased it but still no drops

how can i make a drop 100pct

I have this code but hes not giving me 100k cps everytime I kill it thanks

in mob.cs

Quote:
if (Name == "Peter")
{
if (MyMath.ChanceSuccess(1000))
Char.CPs += 100000;
return;

}
HackProvider is offline  
Old 03/02/2011, 12:00   #8
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Example
Code:
        public static double DropRate(DropRates DropRateItem)
        {
            switch (DropRateItem)
            {
                case DropRates.Meteor:
                    return 0.5;

                case DropRates.Dragonball:
                    return 0.01;
            }

            return 0;
        }
        void Drop(DropRates DropRateItem)
        {
            double Rate = DropRate(DropRateItem);
            DropItem DI = new DropItem();
            switch (DropRateItem)
            {
                case DropRates.Meteor:
                        DI.id = (uint)ItemID.Meteor;
                        break;
                case DropRates.Dragonball:
                        DI.id = (uint)ItemID.DragonBall;
                        break;
            }
            DI.UID = DI.NextUID();
            DI.Drop();
        }
Syst3m_W1z4rd is offline  
Thanks
1 User
Old 03/02/2011, 12:18   #9
 
elite*gold: 0
Join Date: Dec 2010
Posts: 85
Received Thanks: 0
Hmm could you explain the code to me a bit, i think you don't understand me, the mob peter gives 100k cps.. but not everytime , like 8/10 times.

Do I need the whole code to change it ? I doubt that
If i have to , could you explain the code a bit, ?

thanks in advance
HackProvider is offline  
Old 03/02/2011, 12:25   #10
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
DropRate is a double.
DropRates is an enum.
DropItem is a struct.

The code I provided was just an example and you can't really implent it.

Also don't use Name, using a string is bad.
Check MobID instead. An integer is a way faster than a string.

if (MyMath.ChanceSuccess(1000))

Is your chance.
Simply remove it.
Syst3m_W1z4rd is offline  
Thanks
1 User
Old 03/02/2011, 13:56   #11
 
elite*gold: 0
Join Date: Dec 2010
Posts: 85
Received Thanks: 0
Alright thanks but 1 question , could you explain why THE change of 1000 wont work xd

Btw monsters still drop nothing,i increased droprates
Item=50
Thanks again!

I just dont get it, how come they arent dropping anything
HackProvider is offline  
Reply


Similar Threads Similar Threads
Monster Drops
07/25/2010 - Last Chaos - 6 Replies
Hi Leute, wollte mal frage, ob es ne möglichkeit gibt durch monster zu gucken um zu sehn ob die jetzt nach dem kill etwas dropen würden und evt. auch was ;D
[Question]Monster Drops
01/31/2010 - CO2 Private Server - 0 Replies
How can I make 1 kind of monster like Birdman drops 1 kind of item like PowerExpBall ?? OBs:I'm using 5165 source.....I'm making a quest and I need it Thanks who helps xD
Monster Drops (CoEmuV2 Help)
01/29/2010 - CO2 Private Server - 20 Replies
Im having trouble finding a reference to a code to modify monsters item drops for dbs or special quest items and such. Anyone happen to know one so i can continue my work. Thanks.
% of monster drops
10/17/2009 - Nostale - 2 Replies
its posible to know whats the % of drop rate of any item??
monster drops
01/24/2006 - Conquer Online 2 - 3 Replies
i m complete noob in programming ....i was juss wondering if it is possible to chnage the drops of a certain monster to another....i mean like changing the drops of phesants in tc to the drop of metdove or other mobs...if not possible dont say dumb *** n other stuff to me ok?



All times are GMT +1. The time now is 18:25.


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.