Register for your free account! | Forgot your password?

You last visited: Today at 12:19

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

Advertisement



[HELP ME]

Discussion on [HELP ME] within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 19
Received Thanks: 0
Question [HELP ME]

How i can make monsters drop Cps
Source i use Database
Mohammad123456789456 is offline  
Old 03/31/2012, 10:31   #2
 
elite*gold: 0
Join Date: Sep 2011
Posts: 112
Received Thanks: 37
Well I would help you, but you didn't post which source you are referring to so....
Deсker is offline  
Old 03/31/2012, 10:41   #3
 
×Holo's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 286
Received Thanks: 71
That's what I'm telling him 3 threads earlier.
×Holo is offline  
Thanks
1 User
Old 04/01/2012, 16:53   #4
 
elite*gold: 0
Join Date: Mar 2012
Posts: 19
Received Thanks: 0
when i open the source >> OLDCODB
>> RIKARDO UPDATED
.................................................. .............................


Mohammad123456789456 is offline  
Old 04/01/2012, 17:10   #5
 
elite*gold: 0
Join Date: Sep 2011
Posts: 112
Received Thanks: 37
Well, to make them "drop" cp's, have them drop cp bags and change the value of how many cps per bag.

It would make more sense to have them automatically go to your inventory. Search for "automatic cps in inventory", arco released it.
Deсker is offline  
Old 04/01/2012, 21:43   #6
 
elite*gold: 0
Join Date: Jan 2012
Posts: 164
Received Thanks: 22
at killing monster action add e_money(cps) to inventory else at drop list add the cp bags
injection illusion logic is offline  
Old 04/02/2012, 03:16   #7
 
elite*gold: 0
Join Date: Sep 2011
Posts: 112
Received Thanks: 37
Quote:
Originally Posted by injection illusion logic View Post
at killing monster action add e_money(cps) to inventory else at drop list add the cp bags
This is not binaries. It's newestcoserver
Deсker is offline  
Old 04/02/2012, 06:24   #8
 
elite*gold: 0
Join Date: Jan 2012
Posts: 164
Received Thanks: 22
oh then u r awesome if u figured this out of no where -.-
but here
Code:
public void Drop(Game.Entity killer)
        {
            if (Owner.Name.Contains("Guard") || killer.Name.Contains("Guard"))
                return;
            #region CPs  5
           
              if (ServerBase.Kernel.Rate(100))
              {
                   killer.ConquerPoints += 1;
                   killer.Owner.Send(new Network.GamePackets.Message("WAHOOO ! u gained one conquer point for killing a monster .. this event ending by 1/6", System.Drawing.Color.Yellow, 2005));
                }
            
            //#endregion
            //#region CPs  10
          
            //    if (ServerBase.Kernel.Rate(4))
            //    {

            //        killer.ConquerPoints += 15;
            //        killer.Owner.Send(new Network.GamePackets.Message("You have found 15 Cps!", System.Drawing.Color.Yellow, 2005));
            //    }

            #endregion

public void Drop(Game.Entity killer) >>> is what i mean with killing monster actions
killer.ConquerPoints += 15; >>> this what i mean by add e_money(cps) to inventory


to give CP BAGS to inventory it'll be something like this

Code:
                if (killer.VIPLevel > 4)
                {
                    if (killer.Owner.Inventory.Count <= 39)
                    {
                        killer.Owner.Inventory.Add((uint)OwnItemID, 0, 1);
                        return;
                    }
                }
injection illusion logic is offline  
Old 04/02/2012, 08:12   #9
 
elite*gold: 0
Join Date: Sep 2011
Posts: 112
Received Thanks: 37
Quote:
Originally Posted by Mohammad123456789456 View Post
when i open the source >> OLDCODB
>> RIKARDO UPDATED
.................................................. .............................


Quote:
Originally Posted by injection illusion logic View Post
oh then u r awesome if u figured this out of no where -.-
rikardoupdated = newestcoserver
Deсker is offline  
Old 04/02/2012, 08:59   #10
 
elite*gold: 0
Join Date: Jan 2012
Posts: 164
Received Thanks: 22
Quote:
Originally Posted by Deсker View Post
rikardoupdated = newestcoserver
well then soz didnt bother reading all the posts
injection illusion logic is offline  
Old 04/03/2012, 13:35   #11
 
elite*gold: 0
Join Date: Mar 2012
Posts: 19
Received Thanks: 0
where i put this codes ? Man !!
Mohammad123456789456 is offline  
Old 04/03/2012, 16:48   #12
 
×Holo's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 286
Received Thanks: 71
dude, you never asked a question that make sense.
×Holo is offline  
Old 04/03/2012, 23:39   #13
 
elite*gold: 0
Join Date: Sep 2011
Posts: 112
Received Thanks: 37
Please use the search function next time -


Quote:
Originally Posted by LiquidCoGaming View Post
Code:
if (MyMath.ChanceSuccess(100))
                {
                    Char.CPs += 2000;

                    return;
                }
Put that in Mob.cs
Deсker is offline  
Reply




All times are GMT +1. The time now is 12:19.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.