Register for your free account! | Forgot your password?

You last visited: Today at 03:34

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

Advertisement



Droprates

Discussion on Droprates within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Droprates

Can someone enlighten me, im a little bit confused onthis code.


Code:
            if (ServerBase.Kernel.Rate(ServerBase.Constants.MoneyDropRate - lessrate + morepercent))
            {
                uint amount = (uint)ServerBase.Kernel.Random.Next((int)MinMoneyDropAmount, (int)MaxMoneyDropAmount);
                //amount *= ServerBase.Constants.MoneyDropMultiple;

                if (amount > 500)  
                    amount = 10;

                if (amount == 0)
                    return;

                if (killer.VIPLevel == 1)
                {
                    killer.Money += amount;
                    return;
                }
if (amount > 500) is it 500+ gold will autopick up? And how about
amount = 10; whats the use of this.

Help would be appreciated.
Thanks in advance.
-Sensei- is offline  
Old 05/31/2012, 08:24   #2
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
If the amount is over 500, it becomes 10. If the amount is 0, we return nothing. If the person who killed the monster is VIP, it goes straight to their inventory.
Zeroxelli is offline  
Thanks
1 User
Old 05/31/2012, 08:39   #3
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Alright alright, this is a big mess
-Sensei- is offline  
Old 05/31/2012, 10:51   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Bad code is bad.

Why'd you want to make it 10, when it reaches 500? Makes no sense to me o.o

Also it will never reach 0, because it's between the two numbers, not from and to.
I don't have a username is offline  
Old 05/31/2012, 10:57   #5
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Quote:
Originally Posted by I don't have a username View Post
Bad code is bad.

Why'd you want to make it 10, when it reaches 500? Makes no sense to me o.o

Also it will never reach 0, because it's between the two numbers, not from and to.
Im just using resources. Thats why i ask here to get enlighten
-Sensei- is offline  
Old 05/31/2012, 21:01   #6
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Maybe look up on the actual C# language?
I don't have a username is offline  
Old 05/31/2012, 23:08   #7
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Didnt i tell u Sensi that ill Code it for ya Completely & Efficiently .. Contact me on yahoo
shadowman123 is offline  
Old 06/01/2012, 01:43   #8
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Quote:
Originally Posted by shadowman123 View Post
Didnt i tell u Sensi that ill Code it for ya Completely & Efficiently .. Contact me on yahoo
Lets get it on .

Quote:
Originally Posted by I don't have a username View Post
Maybe look up on the actual C# language?
I dont have time for it, i have lots of things to do besides being here. Im just having fun with this.

-Sensei- is offline  
Old 06/01/2012, 03:22   #9
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Oh, you coded that..? I assumed that was from another source lol shades of the LOTF era.
Zeroxelli is offline  
Old 06/01/2012, 10:33   #10
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Quote:
Originally Posted by -Sensei- View Post
I dont have time for it, i have lots of things to do besides being here. Im just having fun with this.

You got time to code a server, but not to learn coding? Lolwut.
I don't have a username is offline  
Old 06/01/2012, 12:26   #11
 
elite*gold: 0
Join Date: Jul 2009
Posts: 294
Received Thanks: 13
11
mineroxas is offline  
Old 06/01/2012, 12:39   #12
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Quote:
Originally Posted by I don't have a username View Post
You got time to code a server, but not to learn coding? Lolwut.
I already told you that im doing this for fun in my free time. I hope thats more clear to you.
-Sensei- is offline  
Reply


Similar Threads Similar Threads
i want the droprates.ini very classicy
06/15/2011 - CO2 Private Server - 1 Replies
i want the droprates.ini very classicy like real game if any body can do that w8ing .... thanks....
DropRates.txt Not a DropRates.ini
02/25/2010 - CO2 PServer Guides & Releases - 12 Replies
Our source uses droprates.txt what is it? This is special drop used for low level players when they hunting on mobs and their level is not highter from monster level + 20 levels. example: Open your DropRates.txt in your Oldcodb folder. 1 1000000 0 0 0 30 2
DropRates
09/09/2009 - CO2 Private Server - 13 Replies
How do you change drop rates on a regular 5017 source?
[Metin35] Droprates uvm.!
08/22/2009 - Metin2 Private Server - 19 Replies
Hii habe seit gestern wieder Longjuyt2 (Metin35) angefangen auf Server 3... Ich droppe kaum Gegenstände...nur Yang...was ist los? Wo dran liegt das? Need Help! Thx
[Research] Droprates
01/10/2008 - EO PServer Hosting - 6 Replies
Ok well I've been messing around with drop rates trying to get them as good as possible. What I am doing currently to test them is I added a new drop rule (cq_dropitemrule) and changed it so 3 different monsters all used that monster class. Currently for these tests I will be using cg_dropitemrule chance of 100,000,000. All statistics are drop_item_chance in cq_monstertype I am not sure if it makes much of a difference but I have explode_item_chance1 10 explode_item_chance2 30...



All times are GMT +1. The time now is 03:35.


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.