|
You last visited: Today at 17:01
Advertisement
[Release]Automatic Cps in Inventory
Discussion on [Release]Automatic Cps in Inventory within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
12/06/2009, 03:15
|
#1
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,785
Received Thanks: 5,304
|
[Release]Automatic Cps in Inventory
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:Under that put: 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
|
#2
|
elite*gold: 0
Join Date: Dec 2009
Posts: 116
Received Thanks: 42
|
Thank you Tiku this is a very good job =)
|
|
|
12/06/2009, 05:17
|
#3
|
elite*gold: 0
Join Date: Oct 2009
Posts: 17
Received Thanks: 7
|
Quote:
Originally Posted by Tiku
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: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
|
#4
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Very nice. Even though I won't use it. +k
|
|
|
12/06/2009, 05:24
|
#5
|
elite*gold: 0
Join Date: Dec 2009
Posts: 17
Received Thanks: 2
|
Nice release man!
|
|
|
12/06/2009, 07:32
|
#6
|
elite*gold: 0
Join Date: May 2009
Posts: 84
Received Thanks: 54
|
thats not work for me
|
|
|
12/10/2009, 19:05
|
#7
|
elite*gold: 0
Join Date: Jan 2009
Posts: 40
Received Thanks: 0
|
Its not working for me -.-
|
|
|
12/10/2009, 22:18
|
#8
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,785
Received Thanks: 5,304
|
Quote:
Originally Posted by ~quablerist~
Its not working for me -.-
|
Well then you are obviously doing it wrong.
Because this guide works perfectly.
|
|
|
12/10/2009, 22:20
|
#9
|
elite*gold: 0
Join Date: Dec 2009
Posts: 1
Received Thanks: 1
|
Goodjob tiku =P keep up the goodwork
|
|
|
12/12/2009, 16:02
|
#10
|
elite*gold: 0
Join Date: May 2008
Posts: 35
Received Thanks: 0
|
its not work some errors
|
|
|
12/12/2009, 16:07
|
#11
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,785
Received Thanks: 5,304
|
Quote:
Originally Posted by nader_sah2000
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
|
#12
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Quote:
Originally Posted by Tiku
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:Under that put: 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
|
#13
|
elite*gold: 0
Join Date: Dec 2009
Posts: 6
Received Thanks: 0
|
Thank you Pete!
|
|
|
12/12/2009, 20:22
|
#14
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Quote:
Originally Posted by Victus~
Thank you Pete!
|
np...do you own a serv?
|
|
|
12/12/2009, 20:53
|
#15
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,785
Received Thanks: 5,304
|
Quote:
Originally Posted by PeTe Ninja
np...do you own a serv?
|
It does not need to be else if.
Mine is "if" and it works perfectly.
|
|
|
Similar Threads
|
[Release] Automatic Hero Picker
11/22/2009 - Heroes of Newerth - 1 Replies
With this software, you can be sure to get the hero you want in All Pick mode. Start HoN, then this program, and then join an AP-game. The program will read from an external HeroPicker.txt, and automaticly pick that hero for you. I (DoubleDTheGreat) have included a full list of heroes, and their code, sorted alphabetically.
Original author: Sheppard @ Edge of Nowhere
Original thread: Edge of Nowhere
Download (CLICK ME)
Known bugs:
- If you start this program, it will automaticly...
|
[Release] Custom Automatic Restarter for LOTF Source!!!
05/06/2009 - CO2 PServer Guides & Releases - 2 Replies
First in General.cs Search for public static void DoStuff()
Above it add this
Now go Some were around line 55 in General.cs and Put this!!!
Now Goto Line 246 in General.cs and Put this!
Hit Thanks if this helped you please
|
All times are GMT +1. The time now is 17:02.
|
|