Register for your free account! | Forgot your password?

You last visited: Today at 16:15

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

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.

Reply
 
Old 03/01/2010, 01:47   #31
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by Decker_ View Post
where can I find that at?
Droprates.ini
Arcо is offline  
Thanks
2 Users
Old 04/14/2010, 19:05   #32
 
elite*gold: 0
Join Date: Sep 2009
Posts: 3
Received Thanks: 1
Thanks! You are great!
Lol23321 is offline  
Old 05/06/2010, 00:37   #33
 
Myndeth's Avatar
 
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:
Silver = 2,
CPs= 2,
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

Myndeth is offline  
Old 05/06/2010, 06:35   #34
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by Myndeth View Post
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?
Arcо is offline  
Thanks
2 Users
Old 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?
2010mrsurfer is offline  
Old 05/12/2010, 23:12   #36
 
Arcо's Avatar
 
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.
Arcо is offline  
Thanks
2 Users
Old 05/12/2010, 23:23   #37
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
Quote:
Originally Posted by .Arco View Post
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
2010mrsurfer is offline  
Old 05/12/2010, 23:29   #38
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by 2010mrsurfer View Post
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.
Arcо is offline  
Thanks
2 Users
Old 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
2010mrsurfer is offline  
Old 05/12/2010, 23:30   #40
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Show me exactly what you did?
Arcо is offline  
Thanks
2 Users
Old 05/12/2010, 23:31   #41
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
Quote:
Originally Posted by .Arco View Post
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)
2010mrsurfer is offline  
Old 05/12/2010, 23:32   #42
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
Quote:
Originally Posted by .Arco View Post
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
2010mrsurfer is offline  
Old 05/12/2010, 23:34   #43
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Alright, I'll try to help whenever you do.
Arcо is offline  
Thanks
1 User
Old 05/13/2010, 11:33   #44
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
Quote:
Originally Posted by .Arco View Post
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
2010mrsurfer is offline  
Old 05/13/2010, 11:41   #45
 
Arcо's Avatar
 
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;
}
}
Arcо is offline  
Thanks
1 User
Reply


Similar Threads 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.


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.