Register for your free account! | Forgot your password?

You last visited: Today at 12:39

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

Advertisement



[Release] Gem Drops

Discussion on [Release] Gem Drops within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Exia13's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
Talking [Release] Gem Drops

It's not much of a "release" but i noticed that some sources don't have it, so, here goes.

Search for:
Code:
if ((Other.ChanceSuccess(1.5)) || (BossMob && Other.ChanceSuccess(20)))// Dragonball Drop rate
                        {
                            string Item = "1088000-0-0-0-0-0";
Under that, add:
Code:
 //created by Exia13
if ((Other.ChanceSuccess(2)) || (BossMob && Other.ChanceSuccess(20)))// NPG
                            {
                            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(2)) || (BossMob && Other.ChanceSuccess(20)))// NDG
                            {
                            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(2)) || (BossMob && Other.ChanceSuccess(20)))// NRG
                            {
                            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(1)) || (BossMob && Other.ChanceSuccess(20)))// NTG
                            {
                            string Item = "700071-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);
                            }
//created by Exia13
Thats it, you guys should know how to change the drop rates. If not, too bad . Build the solution and you're done.
P.S. i added NTGs just for fun ^^

This is my VERY FIRST release even if it is pretty basic coding.

You know the drill PRESS THANKS IF I HELPED YOU OUT
Exia13 is offline  
Thanks
2 Users
Old 01/16/2009, 15:09   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Quote:
if ((Other.ChanceSuccess(2)) || (BossMob && Other.ChanceSuccess(20)))//
{

uint ItemID = 70001;
int Plus = General.Rand.Next(1,4);
int Plus1 = Plus * 10;
ItemID = ItemID * Plus1;
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);
}

Not sure if it works,but its better than that massive code for each gem.
_Emme_ is offline  
Old 01/16/2009, 17:17   #3
 
Exia13's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
Ah i c. by putting 70001 it drops all items using those first few numbers, right? In this case gems.
Exia13 is offline  
Old 01/16/2009, 17:58   #4
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Lol this is in one of the released sources, cant remember the name thou
~*NewDuuDe*~ is offline  
Old 01/16/2009, 18:03   #5
 
Exia13's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
Like i said, this is in SOME, not all. I am using Kinshi's source. He didnt have it in his source so i simply copied the code for when Dbs drop and change the item IDs to gemIDs. Wasn't that hard considering i cant code lol

I've been thinking about starting up another Pserver, but im too lazy . I play pservers for fun, but being a Gm and runiing a pserver simply turns into work. I could do it anytime, but i just need to think of a name? Any suggestions? lol
Exia13 is offline  
Reply


Similar Threads Similar Threads
No drops using CE
12/26/2009 - Dekaron - 6 Replies
So i use CE with drako codes. The only drops i get are vouchers. No dil, no equip, no nothing, vouchers only. Is there something wrong ????
L2 drops
03/22/2009 - Lineage 2 - 3 Replies
hi i have question where drops or where i can find buy Nephilim Lord D-grade Shield . plz paste more informations about this shield thx a lot
gem drops
01/01/2007 - CO2 Exploits, Hacks & Tools - 31 Replies
I got a suggestion for some1: Any able to make gem drops have the sound of a met drop? Would be easier to find the mets then. An item notifier would even be better ;) EDIT:



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


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.