Register for your free account! | Forgot your password?

You last visited: Today at 11:21

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

Advertisement



Messed Up Nobility :|

Discussion on Messed Up Nobility :| within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
FlawlessSV's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 13
Received Thanks: 0
Exclamation Messed Up Nobility :|

OK, so in-game when i try to donate i need to have atleast over 1,000,000CPs and when i donate 9,999,999,999 it takes out 999,999CPS but it says it will take only take 199999Cps. I also get this error which is when a new player donates it starts of with 0 and not what the player donated. I'm Lost Here Need Help!

Here are the Codings for Donation!



Code:
case NobilityInfo.Donate:
{

if (client.Trade.InTrade)
return;
if (client.Entity.MapID == 3031)
return;
uint silvers = information.dwParam;
bool newDonator = false;
if (client.NobilityInformation.Donation == 0)
newDonator = true;
if (client.Entity.Money < information.dwParam)
{
ulong cps = silvers;
if (client.Entity.ConquerPoints >= cps)
{
if (client.Entity.NobalityDonation == client.NobilityInformation.Donation)
{
client.Entity.ConquerPoints -= (uint)cps;
Database.EntityTable.UpdateCps(client);
client.NobilityInformation.Donation += silvers;
client.Entity.NobalityDonation += silvers;
}
else
{
if (client.Entity.NobalityDonation > client.NobilityInformation.Donation)
{
client.Entity.ConquerPoints -= (uint)cps;
Database.EntityTable.UpdateCps(client);
client.Entity.NobalityDonation += silvers;
client.NobilityInformation.Donation = client.Entity.NobalityDonation;
}
else
{
if (client.Entity.NobalityDonation < client.NobilityInformation.Donation)
{
client.Entity.ConquerPoints -= (uint)cps;
Database.EntityTable.UpdateCps(client);
client.NobilityInformation.Donation += silvers;
client.Entity.NobalityDonation = client.NobilityInformation.Donation;
}
}
}
}
}


if (!Board.ContainsKey(client.Entity.UID) && newDonator)
{
Board.Add(client.Entity.UID, client.NobilityInformation);
try
{
Database.NobilityTable.InsertNobilityInformation(c lient.NobilityInformation);
}
catch
{
Database.NobilityTable.UpdateNobilityInformation(c lient.NobilityInformation);
}
}
else
{
Database.NobilityTable.UpdateNobilityInformation(c lient.NobilityInformation);
}
Sort(client.Entity.UID);


//return;

break;
}
FlawlessSV is offline  
Old 09/17/2014, 21:51   #2

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Uh, What the hek is that code?

Try this one instead:

Novakhan is offline  
Old 09/19/2014, 23:17   #3
 
FlawlessSV's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 13
Received Thanks: 0
Thanks it worked!
FlawlessSV is offline  
Old 09/20/2014, 03:46   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
Please don't remove your original post. It makes it much more difficult for people with the same problem to find a solution.

Original post recovered.
Thread closed (resolved).
Spirited is offline  
Closed Thread


Similar Threads Similar Threads
I think i messed something up.
11/01/2009 - S4 League - 9 Replies
I'm using windows 7. I started playing S4 league yesterday. Here is where the problem starts i automatically opened the injector with the bypass.dll and then ran S4 league for the first time ever. Now the bypass.dll doesn't work and it detects everything... should i re-install and let it update or is there a way to fix my problem?
CoEmu is messed
10/27/2009 - CO2 Private Server - 4 Replies
What the heck is wrong with CoEmu. One moment it works then next thing you know you can't login and when you restart it says, "Program not responding". Any ideas? Do not flame or you will be reported.
Messed Up
09/28/2007 - Conquer Online 2 - 7 Replies
You guys arent the only ones having problems. CO Is oficially fucking me out of my char Art_Pwns. They banned me for non payment of 11 codes when I didn't purchase any....So whatever I paid it to get my char back and they still haven't unbanned me after 9000 emails and proof that they cashed my check....Anyone got any ideas?



All times are GMT +1. The time now is 11:28.


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