Register for your free account! | Forgot your password?

You last visited: Today at 03:16

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

Advertisement



Kill Monsters Add Cps and Money

Discussion on Kill Monsters Add Cps and Money within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 23
Received Thanks: 11
Kill Monsters Add Cps and Money

I have noticed this on some other private servers so if you want to use it. It is pretty simple the way it works.(Source 5165)
What it is,
If you put the mobID as 1 (Pheasant) then everytime you kill a pheasant you can make it add 100cps or the amount you want same with red devils if you wanted to make them drop 700cps, This is not dropping but going straight into the character inventory.

Right Im going to take mobid 1 which is a pheasant,
Now open NewestCoServer.Game > Mob.cs
after you have opened that go to the void
Code:
void DropAnItem(uint Owner, byte OwnerLevel)
And search for this block
Code:
 if (MyMath.ChanceSuccess(30))
                {
                    DI2.Silvers = (uint)(Rnd.Next(MinSilvers, MaxSilvers) * DropRates.Silver);
Now above that add,

Code:
    
  if (MyMath.ChanceSuccess(100))
 {
  if (MobID == 1) 
  {
 Char.Silvers += 1;
  Char.CPs += 100;

return;
    }
                }
So, the lines :
if (MyMath.ChanceSucess(100)), means how often does it drop in this case it is 100% chance of dropping so every time the MobID it will drop all the time, you can lower this.
if (MobID == 1) this is where the mob ID goes you can get this from MobInfo's
Char.Silvers +=1 is how many silvers you want it to drop change this if you want to
Char.Cps += 100 is how many cps you want it to drop again change it if you want
return; shows it to the player

---
Hope this helps anyone who was wanting it,
If anyone knows if you can improve this code then please tell me i dont mind learning new ways.

Thanks
cazzon717 is offline  
Thanks
1 User
Old 01/11/2010, 20:51   #2
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Youre the guy I talked to on MSN aren't you?
Exactly what did you acchieve by releasing what I helped you to code?
This has been released many times before.

Search around before you post.
~*NewDuuDe*~ is offline  
Old 01/11/2010, 22:34   #3
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Quote:
Originally Posted by ~*NewDuuDe*~ View Post
Youre the guy I talked to on MSN aren't you?
Exactly what did you acchieve by releasing what I helped you to code?
This has been released many times before.

Search around before you post.
Well the only reason he did it cause he wants poeple to think he can code ^^
.Ryu is offline  
Old 01/12/2010, 01:59   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
yah this has been posted a ton of times for different sources.

Ps: am i the only one who finds it odd that no one seems to have released a GOOD system for this (random rates of cp based on monster level combined with player level) just seems odd to me as it would be a fairly simple thing to do.

Maybe if I'm bored later I'll code one for coEmu and release it...

<edit> released. Not trying to pick on your thread... just putting it out there for ppl.
pro4never is offline  
Old 01/13/2010, 22:33   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
that was helpful to me ty
[GM] is offline  
Old 07/05/2011, 01:51   #6
 
elite*gold: 0
Join Date: Jun 2011
Posts: 24
Received Thanks: 0
didn't work for me. lol. I get 100 cps after i kill alot. but rarely.
Sythen is offline  
Old 07/05/2011, 02:46   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
@Sythen

Arco released a Automatic CP's system which is a better way than doing this.

zTek is offline  
Thanks
1 User
Old 07/08/2011, 12:36   #8
 
elite*gold: 0
Join Date: Aug 2010
Posts: 6
Received Thanks: 4
This helped me out, thanks. I'm glad you re-posted, i'm too lazy to search
Sphinxy93 is offline  
Old 07/08/2011, 12:52   #9
 
elite*gold: 0
Join Date: Aug 2010
Posts: 6
Received Thanks: 4
well i didn't see that date, i just saw that it was recent, i looked at it, and it helped me.

So saying thanks to the guy and helping him acknoledge that it helped me isn;t a reason?

I'm sure he would be glad to know that it helped me and i appreciate him posting the thread. k.thx.bai
Sphinxy93 is offline  
Old 07/08/2011, 13:12   #10
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by Sphinxy93 View Post
well i didn't see that date, i just saw that it was recent, i looked at it, and it helped me.

So saying thanks to the guy and helping him acknoledge that it helped me isn;t a reason?

I'm sure he would be glad to know that it helped me and i appreciate him posting the thread. k.thx.bai


<EDIT>

Loser, read the date in the comment above mine, that's not over a year old. I Agree the START of the thread is. But i don;t see you having a go at Syphen for bumping it after 6+ months of no comments..
He wasn't talking to you.
Spirited is offline  
Old 07/08/2011, 13:31   #11
 
elite*gold: 0
Join Date: Aug 2010
Posts: 6
Received Thanks: 4
Quote:
Originally Posted by Fаng View Post
He wasn't talking to you.
Seems like it as he poasted just after i posted, and not after the other guy posted....
Sphinxy93 is offline  
Old 07/08/2011, 13:35   #12
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by Sphinxy93 View Post
Seems like it as he poasted just after i posted, and not after the other guy posted....
It takes a while for people to respond because of the time zones. Like now i'm going to bed... so you won't hear from me for at least another 8 hours.
Spirited is offline  
Old 07/08/2011, 13:41   #13
 
elite*gold: 0
Join Date: Aug 2010
Posts: 6
Received Thanks: 4
Quote:
Originally Posted by Fаng View Post
It takes a while for people to respond because of the time zones. Like now i'm going to bed... so you won't hear from me for at least another 8 hours.
Good, this saves me an argument. Your saying about timezones? the other guy's post was a week beforehand...

/last of my comments in this thread. i'm not arguing with someone who is wrong and gives wrong facts... :L
Sphinxy93 is offline  
Reply


Similar Threads Similar Threads
What monsters do I kill
04/09/2009 - Silkroad Online - 10 Replies
I just reached level 47 off of bunwangs and well I don't see any monsters between level 47-50 that has a loop with it. Help pl0x. I don't want to keep killing bunwangs for a whole new level.
How tu add Exp Ball and how do you do when you kill monsters ep
02/08/2009 - EO PServer Hosting - 3 Replies
How to put special expball in ShopMall do and how do you kill monsters ep on servare (mannequin) materials you please post them thank acic:handsdown:
How to kill monsters without getting attack
05/03/2008 - Kal Online - 23 Replies
I made a little Movie to explain it ... i hope u can understand it HERE DOWNLOAD or watch here : >>>HERE<<<



All times are GMT +2. The time now is 03:16.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.