|
You last visited: Today at 16:15
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.
03/01/2010, 01:47
|
#31
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by Decker_
where can I find that at?
|
Droprates.ini
|
|
|
04/14/2010, 19:05
|
#32
|
elite*gold: 0
Join Date: Sep 2009
Posts: 3
Received Thanks: 1
|
Thanks! You are great!
|
|
|
05/06/2010, 00:37
|
#33
|
elite*gold: 0
Join Date: Apr 2010
Posts: 54
Received Thanks: 90
|
Dude Arco, This is Not Working On Mine Or Maybe I Did Wrong
This is What I Did:
In Mobs.Cs:
Quote:
else if (MyMath.ChanceSuccess(DropRates.CPBag))
if (MyMath.ChanceSuccess(DropRates.CPs))
{
if (Char != null)
{
Char.CPs += 1000;
}
}
|
And In DropRates.Cs i Do This:
DropRates.Cs:
Quote:
Quote:
Silver = iNi.ReadDouble("Rates", "Silver");
CPs = iNi.ReadDouble("Rates", "CPs");
|
And On The OldCodb DropRates:
Quote:
[Rates]
DragonBall=100
Meteor=0.5
PlusOne=1.5
Refined=15
Unique=1
Elite=0
Super=0
OneSoc=20
TwoSoc=0
Gem=0.005
Silver=100000
CP10=5
CP30=2.33
CP60=1.665
PlusOneStone=0.15
PlusTwoStone=0.01
CPMiniBag=3
CPBag=0.1
CPBackpack=0
CleanWater=0
Item=50
PointCard=20
CPs=1000
|
|
|
|
05/06/2010, 06:35
|
#34
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by Myndeth
Dude Arco, This is Not Working On Mine Or Maybe I Did Wrong
This is What I Did:
In Mobs.Cs:
And In DropRates.Cs i Do This:
DropRates.Cs:
And On The OldCodb DropRates:
|
Did you compile?
|
|
|
05/12/2010, 22:02
|
#35
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
hey Arco, ive done all this right what u said and ive got no errors but... when i open Mob.cs is C# i cant compile it... i can only save it :S do u know why?
|
|
|
05/12/2010, 23:12
|
#36
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
You need to open NewestCOServer.csproj, not just the single cs files itself.
|
|
|
05/12/2010, 23:23
|
#37
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Quote:
Originally Posted by .Arco
You need to open NewestCOServer.csproj, not just the single cs files itself.
|
ahhh so thats why my new npcs wont be working xD thanks for the info! ill do it right away and post my success soon
|
|
|
05/12/2010, 23:29
|
#38
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by 2010mrsurfer
ahhh so thats why my new npcs wont be working xD thanks for the info! ill do it right away and post my success soon 
|
Lol yeah, that's something I noticed about a lot of the newcomers to C#.
They only open the cs file and not the entire project.
|
|
|
05/12/2010, 23:29
|
#39
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
ok i compiled it... and it didnt work  but i cant be bothered doing anything now so imma go to bed and re-do everything tomorrow and if it doesnt work i dont know what im going to do
|
|
|
05/12/2010, 23:30
|
#40
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Show me exactly what you did?
|
|
|
05/12/2010, 23:31
|
#41
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Quote:
Originally Posted by .Arco
Lol yeah, that's something I noticed about a lot of the newcomers to C#.
They only open the cs file and not the entire project.
|
hehe ive tried C# before and i made a stopwatch.... not the sort of stopwatch u would except to work :P (it never worked :P)
|
|
|
05/12/2010, 23:32
|
#42
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Quote:
Originally Posted by .Arco
Show me exactly what you did?
|
i shall take screenshots of what i did excatly in the morning and ill post them on here.. night
|
|
|
05/12/2010, 23:34
|
#43
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Alright, I'll try to help whenever you do.
|
|
|
05/13/2010, 11:33
|
#44
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Quote:
Originally Posted by .Arco
Alright, I'll try to help whenever you do.
|
Ok i have took the screenshots on everything i did, i also took a screenshot of my own npc that i coded (got help with) could u tell me what is wrong with them please? If u know.
OK the first image is the first thing u told me to add first:
Ok the second image is what u told me to add secondly:
Ok the third image is what u told me to add thirdly:
Ok the fourth image is what u told me to do last:
Ok the fifth image is how i think u compile it, if its not tell me:
Ok this last image is of my npc that i coded (got help with) could u look at it and see if its right please.
Ok its took me 15 mins to write this xD thanks for your help
|
|
|
05/13/2010, 11:41
|
#45
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
else if (MyMatch.ChanceSuccess(DropRates.CPBag) should be under
if (MyMatch.ChanceSuccess(DropRates.CPs)
{
if (Char != null)
{
Char.CPs += 500;
}
}
|
|
|
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 16:17.
|
|