[HELP ME]

03/31/2012 10:15 Mohammad123456789456#1
How i can make monsters drop Cps
Source i use Database
03/31/2012 10:31 Deсker#2
Well I would help you, but you didn't post which source you are referring to so....
03/31/2012 10:41 ×Holo#3
That's what I'm telling him 3 threads earlier.
04/01/2012 16:53 Mohammad123456789456#4
when i open the source >> OLDCODB
>> RIKARDO UPDATED
.................................................. .............................


:( :( :(
04/01/2012 17:10 Deсker#5
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.
04/01/2012 21:43 injection illusion logic#6
at killing monster action add e_money(cps) to inventory else at drop list add the cp bags
04/02/2012 03:16 Deсker#7
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
04/02/2012 06:24 injection illusion logic#8
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;
                    }
                }
04/02/2012 08:12 Deсker#9
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
04/02/2012 08:59 injection illusion logic#10
Quote:
Originally Posted by Deсker View Post
rikardoupdated = newestcoserver
well then soz didnt bother reading all the posts
04/03/2012 13:35 Mohammad123456789456#11
where i put this codes ? Man !!
04/03/2012 16:48 ×Holo#12
dude, you never asked a question that make sense.
04/03/2012 23:39 Deсker#13
Please use the search function next time -
[Only registered and activated users can see links. Click Here To Register...]

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

                    return;
                }
Put that in Mob.cs