[Release]Automatic Cps in Inventory

12/06/2009 03:15 Arcо#1

This is for 5165!
Go to Mob.cs and search for this.
Code:
                    else if (MyMath.ChanceSuccess(DropRates.CPBag))
Under that void put this.
Code:
                   if (MyMath.ChanceSuccess(DropRates.CPs))
                    {
                        if (Char != null)
                        {
                            Char.CPs += CPS AMOUNT YOU WANT;
                        }
                    }
Then go to DropRates.cs and search for:
Code:
 Silver = 2
Under that put:
Code:
CPs = 2
Then in that same .cs search for:
Code:
Silver = iNi.ReadDouble("Rates", "Silver");
Under that put
Code:
CPs = iNi.ReadDouble("Rates", "CPs");
Then go to OldCODB and at the very bottom put CPs=DropRate of your choice.
Then thats it.
Press thanks if it helped.
12/06/2009 03:23 Hitsugaya Toshiro#2
Thank you Tiku this is a very good job =) :o
12/06/2009 05:17 7upp#3
Quote:
Originally Posted by Tiku View Post
Code:
                    else if (MyMath.ChanceSuccess(DropRates.C[COLOR="Magenta"]p
This is for 5165!
Go to Mob.cs and search for this.
Code:
                    else if (MyMath.ChanceSuccess(DropRates.CPBag))
Under that put this. s)) { if (Char != null) { Char.[COLOR="Magenta"]C[COLOR="Magenta"]p[/COLOR]s[/COLOR] += CPS AMOUNT YOU WANT; } }
Then go to DropRates.cs and search for:
Code:
 Silver = 2
Under that put:
Code:
C[COLOR="Magenta"]p[/COLOR]s = 2
Then in that same .cs search for:
Code:
Silver = iNi.ReadDouble("Rates", "Silver");
Under that put
Code:
C[COLOR="Magenta"]p[/COLOR]s = iNi.ReadDouble("Rates", "CPs");
Then go to OldCODB and at the very bottom put Cps=DropRate of your choice.
Then thats it.
Press thanks if it helped.[/COLOR]
it's work for me after i have changed "pink" word's .. Thx for your release
12/06/2009 05:22 airborne.#4
Very nice. Even though I won't use it. +k
12/06/2009 05:24 .Decker#5
Nice release man!
12/06/2009 07:32 zozozozozozo#6
thats not work for me
12/10/2009 19:05 ~quablerist~#7
Its not working for me -.-
12/10/2009 22:18 Arcо#8
Quote:
Originally Posted by ~quablerist~ View Post
Its not working for me -.-
Well then you are obviously doing it wrong.
Because this guide works perfectly.
12/10/2009 22:20 infamousfish#9
Goodjob tiku =P keep up the goodwork
12/12/2009 16:02 nader_sah2000#10
its not work some errors
12/12/2009 16:07 Arcо#11
Quote:
Originally Posted by nader_sah2000 View Post
its not work some errors
You must be doing it wrong,
like the guy who messaged me over msn and didn't change
PHP Code:
Char.CPs += CPS AMOUNT YOU WANT
To the amount that they want.
12/12/2009 19:14 PeTe Ninja#12
Quote:
Originally Posted by Tiku View Post

This is for 5165!
Go to Mob.cs and search for this.
Code:
                    else if (MyMath.ChanceSuccess(DropRates.CPBag))
Under that void put this.
Code:
                   if (MyMath.ChanceSuccess(DropRates.CPs))
                    {
                        if (Char != null)
                        {
                            Char.CPs += CPS AMOUNT YOU WANT;
                        }
                    }
Then go to DropRates.cs and search for:
Code:
 Silver = 2
Under that put:
Code:
CPs = 2
Then in that same .cs search for:
Code:
Silver = iNi.ReadDouble("Rates", "Silver");
Under that put
Code:
CPs = iNi.ReadDouble("Rates", "CPs");
Then go to OldCODB and at the very bottom put CPs=DropRate of your choice.
Then thats it.
Press thanks if it helped.
change

Code:
                   if (MyMath.ChanceSuccess(DropRates.CPs))
                    {
                        if (Char != null)
                        {
                            Char.CPs += CPS AMOUNT YOU WANT;
                        }
                    }
to

Code:
                   else if (MyMath.ChanceSuccess(DropRates.CPs))
                    {
                        if (Char != null)
                        {
                            Char.CPs += CPS AMOUNT YOU WANT;
                        }
                    }
12/12/2009 19:36 Victus~#13
Thank you Pete!
12/12/2009 20:22 PeTe Ninja#14
Quote:
Originally Posted by Victus~ View Post
Thank you Pete!
np...do you own a serv?
12/12/2009 20:53 Arcо#15
Quote:
Originally Posted by PeTe Ninja View Post
np...do you own a serv?

It does not need to be else if.
Mine is "if" and it works perfectly.