Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 00:42

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

Advertisement



[HELP] Exp rate did not get affected after changing it

Discussion on [HELP] Exp rate did not get affected after changing it within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
[HELP] Exp rate did not get affected after changing it

i am changing EXP Rate from database configuration and i tried all values but exp is the same idk what is the problem
badguy4you is offline  
Old 06/08/2012, 11:09   #2
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
So Heres The Solution Go to Source / Client / GameState.cs And Then Look for Experience and Increase or Decrease it then Save Your Project and Ta Da you got what u want
shadowman123 is offline  
Thanks
1 User
Old 06/10/2012, 04:08   #3
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Or implement a global rates file.
Code:
namespace MyDerpyServer
{
    public class Rates
    {
        public static readonly double ExpRate = 5.0;
    }
}
And then, in your handler for giving exp, do something like

Code:
Exp *= Rates.ExpRate;
Zeroxelli is offline  
Old 06/10/2012, 11:12   #4
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by Zeroxelli View Post
Or implement a global rates file.
Code:
namespace MyDerpyServer
{
    public class Rates
    {
        public static readonly double ExpRate = 5.0;
    }
}
And then, in your handler for giving exp, do something like

Code:
Exp *= Rates.ExpRate;
Hmm ..Wouldnt using Struct insted of Class become better ?
shadowman123 is offline  
Old 06/10/2012, 11:59   #5
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Quote:
Originally Posted by shadowman123 View Post
Hmm ..Wouldnt using Struct insted of Class become better ?
Yeah, you're probably right. Wrote it in a hurry on my iPod. Only thing to remember is that with a struct, every time you assign, you're just making copies of the original. On the other hand, with a class, every time you assign you're creating a reference to the original. Though, it is static and there will only be one instance, so yes, a struct would most likely be better.
Zeroxelli is offline  
Thanks
1 User
Old 06/10/2012, 22:50   #6
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
Problem Solved Thx Guys
badguy4you is offline  
Reply


Similar Threads Similar Threads
Need Help Changing Cp Drop Rate
11/30/2012 - CO2 Private Server - 4 Replies
Hey guys, i have a 5165 client and i want to change the Drop Rate i tried everything but i couldn't change it i would be happy if someone can help me please.
Question on changing enchant rate
08/10/2011 - Shaiya Private Server - 3 Replies
Ok so was wondering if there is a way to possably make. Enchant rates different for the pvp zones. Like make for 1-15 for 20-30 and for 70 pvp. I know how to change them just never thought about if u could have them different for each pvp zone. Not sure if that is a database thing or a game.exe thing or just not possable. Any help would be appreciated
Rate changing
12/29/2009 - Metin2 PServer Guides & Strategies - 2 Replies
HEY! please help me ! :( I need to change my exp rate and yang dropp rate and yang ofcourse! :( I don't understand this german tuTs.. so can anyone tell me how to do it in English please. -NicklasNW ************************************************* ****
changing drop rate?
07/13/2009 - Archlord - 4 Replies
Is this possible , if its possible /pm .I know 100% there is drop rate better than normal(etc lucky charm +50% drop rate (i think that can be changed with WPE ))...just giving advice.. xd Good luck



All times are GMT +2. The time now is 00:42.


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.