Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] Making drop DBs LOTF

Discussion on [Help] Making drop DBs LOTF within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
[Help] Making drop DBs LOTF

hello (again)

i wanna to make Pheasants drop dbs... and it works ... but drop too many dbs...
my question: have some code to make the chances? (Of course it have)
if have how i can put that...

the code that i putted on Entities.cs is that:

if (Name == "Pheasant")
{
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);
}

but i kill one Pheasant that no drops... the other drops... its like every monster drop... have something i can do for make it drop less?

if not thanks anyway xD
12tails is offline  
Old 07/12/2009, 16:20   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
No clue what you said ... but edit your drop to this

Code:

Code:
if (Name == "Pheasant")
                    {
if (Other.ChanceSuccess(1))
{
                        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);
}
                    }
f0am is offline  
Thanks
1 User
Old 07/12/2009, 16:28   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 56
Received Thanks: 4
awe.. i was gonna help if..might be my first time to help..lol..again nice coding foam lol.. 12tails you can change the drop here if (Other.ChanceSuccess(1)) << just adjust the number to whatever you want cause mybe 1 is too low for you ^^..
pajar22 is offline  
Old 07/12/2009, 17:08   #4
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
ooo ok very thankx ^^
12tails is offline  
Reply


Similar Threads Similar Threads
[LOTF]How do I change drop rates and xp skill.
07/25/2011 - CO2 Private Server - 9 Replies
Could I change the drop rates like I would with exp rate? And right now the xp skill goes twice as fast lol, where can I change that.
Making LOTF into a 5065 Source
11/19/2009 - CO2 Private Server - 24 Replies
Hmm I've always loved 5065 servers. I would love to own a 5065 Server but not a nooby binary one. I wanna have a C# one. Any input on how to make LOTF a 5065 Source. I do not want to be spoonfed. I would just like a little tips and/or examples.
[LOTF-Tutorial] Making & Spawning mobs.
08/14/2009 - CO2 Private Server - 3 Replies
Before you guys ask this is c#. Video tutorial on how to add mobs, and add mobspawns. A little on making mobs drop too... I know, I sound like a 20 year old emo xD before somebody points it out. Download(zip)
How to edit drop LOTF
08/04/2009 - CO2 Private Server - 1 Replies
How to edit drop in lotf ?
[Release] Now u can drop money on Lotf.
07/25/2009 - CO2 PServer Guides & Releases - 3 Replies
I got this left from my old CoNorth Source so ima share it with ya all. Search for case 1009: find: PacketType = Data; switch (PacketType) {



All times are GMT +2. The time now is 00:51.


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.