Register for your free account! | Forgot your password?

You last visited: Today at 17:35

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

Advertisement



[request]a guide

Discussion on [request]a guide within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
[request]a guide

on how to do mob drops i dont understand how it goes could someone make a guide on how to make mobs drop stuff.
coreymills is offline  
Old 01/12/2010, 21:05   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
depends on source but all you have to do is find where monster drops are already handled and create a new one.

Example: CoEmu I think it was something like Entities>Monster.cs and you would find various calculations to determine if an item is dropped or not. Simply copy one of them and change around the conditions

if (Calculation.PercentSuccess(percentnumber) && condition such as level, monster name, map number, if a quest is active etcetc)
{
item dropping code
}

Regardless of source there will already be SOMEWHERE in it that will deal with monster death and item dropping. Simply find and copy one of them and create a new one for the item you want to drop.
pro4never is offline  
Thanks
2 Users
Old 01/13/2010, 03:24   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Well for 5165 its something like,
if (MobName.Contains("Mobname")
{
Drop info.
}
Arcо is offline  
Thanks
1 User
Old 01/13/2010, 10:53   #4
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
Code:
else if (MyMath.ChanceSuccess(DropRates.Meteor))
                    {
                        DI2.Info.ID = 1088001;
                        DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
                        DI2.Info.CurDur = DI2.Info.MaxDur;
                    }
this is for 5165
coreymills is offline  
Old 01/16/2010, 06:29   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by coreymills View Post
Code:
else if (MyMath.ChanceSuccess(DropRates.Meteor))
                    {
                        DI2.Info.ID = 1088001;
                        DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
                        DI2.Info.CurDur = DI2.Info.MaxDur;
                    }
this is for 5165
You can do it quite a few ways for 5165.
Not just one way.
Arcо is offline  
Old 01/16/2010, 06:42   #6
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by Hepatitis C View Post
Well for 5165 its something like,
if (MobName.Contains("Mobname")
{
Drop info.
}
I don't think you can do that can you? If you could that would make things a WHOLE lot easier, i know you can in CoEmu. But for things like MZ and how things have the same number you could just use the MobId.
Santa is offline  
Old 01/16/2010, 06:44   #7
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by StarBucks View Post
I don't think you can do that can you? If you could that would make things a WHOLE lot easier, i know you can in CoEmu. But for things like MZ and how things have the same number you could just use the MobId.
Yes my idea does work.
If you wanna do it for everything in MZ you can do
if (GC.MyChar.Loc.Map == MapID)
{
drop info
}
Arcо is offline  
Old 01/16/2010, 07:07   #8
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by Hepatitis C View Post
Yes my idea does work.
If you wanna do it for everything in MZ you can do
if (GC.MyChar.Loc.Map == MapID)
{
drop info
}
Yes i know you can do that, lol. What I was trying to say was if you do the mob drops by name rather than mod id for things like MZ or special drops, it would drop the same item for every mob with that name. So you wouldn't really be able to have different drops for different MetDoves.. I know thats confusing but im too **** tired.
Santa is offline  
Old 01/16/2010, 13:29   #9
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
ya i still havn't figured out how to make a certine mob drop an item like gold ghost drop sky tokens
coreymills is offline  
Reply


Similar Threads Similar Threads
A request for guide.
07/20/2009 - Dragonica - 2 Replies
I'm not sure if this is a stupid request... But can anyone post a guide, or tell me, if there is any, on how to at least make a clientsided hack or server? I'm new and noob at this.....
(Guide- request)Can any1 make guide for Wizzard/bard from lv 1 to 100
04/30/2009 - Silkroad Online - 0 Replies
hello...can any1 make a guide for wizard/bard from lv 1 to 100 area to exp (bot :P) gap, farm and best skills? Ty
guide request
10/29/2008 - Cabal Private Server - 2 Replies
i dont know much about this game so can some1 post a guide on how to get combo mode and battle auras.
[Request] Guide for AHK
07/23/2008 - Conquer Online 2 - 0 Replies
I can't fine a decent tutorial for AHK, any1 know where I can fine one? oh and AHK or AutoIT?



All times are GMT +2. The time now is 17:35.


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.