Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 21:49

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

Advertisement



[Release]ExpBall+ExpPot Experience Gain Fix[LOTF]

Discussion on [Release]ExpBall+ExpPot Experience Gain Fix[LOTF] within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
[Release]ExpBall+ExpPot Experience Gain Fix[LOTF]

Ok... Well this isn't really anything too spectacular, but I know I myself got extremely annoyed at the fact that when I used an ExpBall while using an ExpPot, that I'd gain like 10x the normal amount of experience. So I went and made an adjustment to the ExpBall coding to change it.

Just so you guys know, my number may not be 100% accurate on this, I did make changes to my expballs, because I found after level 110, you gained too much, and just tried to remember the original rates.

By adding what I have here, you will reduce experience gain from ExpBalls, while using an ExpPot to about a 110% bonus, or 2.1x the normal amount. You'll have to play with the numbers a bit it you want it to be exactly 2x.

So first, search your Character.cs for...

Code:
else if (ItemParts[0] == "723700")
replace...

Code:
                    if (Level < 100)
                        AddExp((ulong)(1295000 + Level * 100000), false);
                    else if (Level < 110)
                        AddExp((ulong)(1395000 + Level * 160000), false);
                    else if (Level < 115)
                        AddExp((ulong)(1595000 + Level * 200000), false);
                    else if (Level < 120)
                        AddExp((ulong)(1795000 + Level * 260000), false);
                    else if (Level < 125)
                        AddExp((ulong)(2095000 + Level * 300000), false);
                    else if (Level < 130)
                        AddExp((ulong)(2395000 + Level * 360000), false);
with...

Code:
                    if (Level < 100 && EPotRate == false)
                        AddExp((ulong)(1295000 + Level * 100000), false);
                    else if (Level < 110 && EPotRate == false)
                        AddExp((ulong)(1395000 + Level * 160000), false);
                    else if (Level < 115 && EPotRate == false)
                        AddExp((ulong)(1595000 + Level * 200000), false);
                    else if (Level < 120 && EPotRate == false)
                        AddExp((ulong)(1795000 + Level * 260000), false);
                    else if (Level < 125 && EPotRate == false)
                        AddExp((ulong)(2095000 + Level * 300000), false);
                    else if (Level < 130 && EPotRate == false)
                        AddExp((ulong)(2395000 + Level * 360000), false);
                    //below is rates with exppot usage.
                    else if (Level < 100 && EPotRate == true)
                        AddExp((ulong)(129500 + Level * 15000), false);
                    else if (Level < 110 && EPotRate == true)
                        AddExp((ulong)(139500 + Level * 24000), false);
                    else if (Level < 115 && EPotRate == true)
                        AddExp((ulong)(159500 + Level * 30000), false);
                    else if (Level < 120 && EPotRate == true)
                        AddExp((ulong)(179500 + Level * 39000), false);
                    else if (Level < 125 && EPotRate == true)
                        AddExp((ulong)(209500 + Level * 45000), false);
                    else if (Level < 130 && EPotRate == true)
                        AddExp((ulong)(239500 + Level * 54000), false);
Hope someone enjoys this change, or can use it to make something more suitable for themselves. If anyone has a better method of doing this, feel free to post. And don't go giving me credits for the entire coding. I only altered the ExpBall code in the LOTF source, and my ExpPot code is creditted to Emme.

Edit: I adjusted the exp gain again to be more suitable for others. Updated info at top.
Incariuz is offline  
Thanks
6 Users
Old 12/09/2008, 10:20   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
lol,that sucks.

just do:

if (!EPotRate)
{
Normal Exp you should get
}
if (EPotRate)
{
Cut the exprate to half.
}
_Emme_ is offline  
Thanks
1 User
Old 04/15/2009, 22:52   #3
 
elite*gold: 0
Join Date: Jan 2009
Posts: 201
Received Thanks: 9
Quote:
Originally Posted by EmmeTheCoder View Post
lol,that sucks.

just do:

if (!EPotRate)
{
Normal Exp you should get
}
if (EPotRate)
{
Cut the exprate to half.
}
this is what i got down now...
exp balls are working
but exp pots arent...

show me what i did wrong?

else if (ItemParts[0] == "723700")
{
if (Level < 100 && EPotRate == false)
AddExp((ulong)(1295000 + Level * 100000), false);
else if (Level < 110 && EPotRate == false)
AddExp((ulong)(1395000 + Level * 160000), false);
else if (Level < 115 && EPotRate == false)
AddExp((ulong)(1595000 + Level * 200000), false);
else if (Level < 120 && EPotRate == false)
AddExp((ulong)(1795000 + Level * 260000), false);
else if (Level < 125 && EPotRate == false)
AddExp((ulong)(2095000 + Level * 300000), false);
else if (Level < 130 && EPotRate == false)
AddExp((ulong)(2395000 + Level * 360000), false);
//below is rates with exppot usage.
else if (Level < 100 && EPotRate == true)
AddExp((ulong)(129500 + Level * 15000), false);
else if (Level < 110 && EPotRate == true)
AddExp((ulong)(139500 + Level * 24000), false);
else if (Level < 115 && EPotRate == true)
AddExp((ulong)(159500 + Level * 30000), false);
else if (Level < 120 && EPotRate == true)
AddExp((ulong)(179500 + Level * 39000), false);
else if (Level < 125 && EPotRate == true)
AddExp((ulong)(209500 + Level * 45000), false);
else if (Level < 130 && EPotRate == true)
AddExp((ulong)(239500 + Level * 54000), false);

RemoveItem(ItemUID);
}
Arcotemple is offline  
Old 04/16/2009, 10:51   #4
 
spade12's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 80
Received Thanks: 25
Quote:
Originally Posted by Incariuz View Post
Ok... Well this isn't really anything too spectacular, but I know I myself got extremely annoyed at the fact that when I used an ExpBall while using an ExpPot, that I'd gain like 10x the normal amount of experience. So I went and made an adjustment to the ExpBall coding to change it.

Just so you guys know, my number may not be 100% accurate on this, I did make changes to my expballs, because I found after level 110, you gained too much, and just tried to remember the original rates.

By adding what I have here, you will reduce experience gain from ExpBalls, while using an ExpPot to about a 110% bonus, or 2.1x the normal amount. You'll have to play with the numbers a bit it you want it to be exactly 2x.

So first, search your Character.cs for...

Code:
else if (ItemParts[0] == "723700")
replace...

Code:
                    if (Level < 100)
                        AddExp((ulong)(1295000 + Level * 100000), false);
                    else if (Level < 110)
                        AddExp((ulong)(1395000 + Level * 160000), false);
                    else if (Level < 115)
                        AddExp((ulong)(1595000 + Level * 200000), false);
                    else if (Level < 120)
                        AddExp((ulong)(1795000 + Level * 260000), false);
                    else if (Level < 125)
                        AddExp((ulong)(2095000 + Level * 300000), false);
                    else if (Level < 130)
                        AddExp((ulong)(2395000 + Level * 360000), false);
with...

Code:
                    if (Level < 100 && EPotRate == false)
                        AddExp((ulong)(1295000 + Level * 100000), false);
                    else if (Level < 110 && EPotRate == false)
                        AddExp((ulong)(1395000 + Level * 160000), false);
                    else if (Level < 115 && EPotRate == false)
                        AddExp((ulong)(1595000 + Level * 200000), false);
                    else if (Level < 120 && EPotRate == false)
                        AddExp((ulong)(1795000 + Level * 260000), false);
                    else if (Level < 125 && EPotRate == false)
                        AddExp((ulong)(2095000 + Level * 300000), false);
                    else if (Level < 130 && EPotRate == false)
                        AddExp((ulong)(2395000 + Level * 360000), false);
                    //below is rates with exppot usage.
                    else if (Level < 100 && EPotRate == true)
                        AddExp((ulong)(129500 + Level * 15000), false);
                    else if (Level < 110 && EPotRate == true)
                        AddExp((ulong)(139500 + Level * 24000), false);
                    else if (Level < 115 && EPotRate == true)
                        AddExp((ulong)(159500 + Level * 30000), false);
                    else if (Level < 120 && EPotRate == true)
                        AddExp((ulong)(179500 + Level * 39000), false);
                    else if (Level < 125 && EPotRate == true)
                        AddExp((ulong)(209500 + Level * 45000), false);
                    else if (Level < 130 && EPotRate == true)
                        AddExp((ulong)(239500 + Level * 54000), false);
Hope someone enjoys this change, or can use it to make something more suitable for themselves. If anyone has a better method of doing this, feel free to post. And don't go giving me credits for the entire coding. I only altered the ExpBall code in the LOTF source, and my ExpPot code is creditted to Emme.

Edit: I adjusted the exp gain again to be more suitable for others. Updated info at top.
Thanks Your posts are always Helpful
spade12 is offline  
Old 04/16/2009, 12:02   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
but as I know...on rl conquer it dont matter if u got exp pot running or not...u`ll get the same with or without the potion. (tryed it by myself ^^)
alexbigfoot is offline  
Old 07/14/2009, 19:32   #6
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
Ummm it might be because ExpPot isnt 723700 thats expball :/
raidenx123 is offline  
Old 07/14/2009, 19:35   #7
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Quote:
Originally Posted by raidenx123 View Post
Ummm it might be because ExpPot isnt 723700 thats expball :/
this is for expball
f0am is offline  
Old 07/14/2009, 19:39   #8
 
elite*gold: 0
Join Date: Jun 2009
Posts: 149
Received Thanks: 15
Fail bump much?
AmbiguousStatement is offline  
Old 07/14/2009, 22:37   #9
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
#closed
_Emme_ is offline  
Closed Thread


Similar Threads Similar Threads
[Help] Expball Experience
03/10/2010 - CO2 Private Server - 5 Replies
hello ppl i need some with with Expball Experience i do a quest gives 5 Expball Experience but i cant put that :S i try this but is wrong uint ExpAdd = (uint)(GC.MyChar.ExpBallExp * 5); GC.MyChar.IncreaseExp(ExpAdd, false); can some one help me?
Are there ways to gain experience in the game besides fighting?
07/31/2009 - World of Warcraft - 1 Replies
In the world, we not only want to get more and more wow gold, we also want to gain experience. we can get wow gold more easily. i often buy them from u am e g o ld.c o m. and I know we can get experience by fighting. And are there ways to get it?
Experience gain from PK?
10/13/2007 - Conquer Online 2 - 10 Replies
I know I'll lose experience when I get killed by other player, but why I didn't get any experience when I kill a higher level character? I got my lv 100 fire flashing and kill it off with a lv 45 water. The funny thing is I don't get any exp at all. I try this few times and everytime I only lose exp from my fire, but didn't get any exp from the water. Anyone has any idea why I'm not getting any exp for my water?



All times are GMT +2. The time now is 21:49.


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.