Register for your free account! | Forgot your password?

You last visited: Today at 17:13

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

Advertisement



Nobility Fix?

Discussion on Nobility Fix? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
BitzIn's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 92
Received Thanks: 4
Nobility Fix?

I searched this and most of the people requesting it did not make sense ...
I wanna know how to fix an error i have in my nobility system:
The problem is when people donate the first time and become king they're donations dont stay & they dont stay king.
Instead their ign is taking the rank. So they have to re-donate.
If this is confusing ill provide screenshot.
BitzIn is offline  
Old 09/30/2010, 08:21   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Have u changed anything in nobility? o.O
I have never got problem
Fish* is offline  
Old 09/30/2010, 08:29   #3
 
BitzIn's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 92
Received Thanks: 4
i only reset it by deleting everything in the nobility.dat and then type /exit on console and then when a player donates that problem occurs =/
BitzIn is offline  
Old 09/30/2010, 11:38   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Because Nobility.dat is not the donation they got.
It just shows it.

To edit donatino of them, u need to edit it on the players.
Or make a command to set all nobilities = 0
Fish* is offline  
Old 09/30/2010, 20:58   #5
 
BitzIn's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 92
Received Thanks: 4
i used this:
i made the /expballs a nobility clear command:


PHP Code:
public static void ExpBallReset()
        {
            foreach (
string Path in Directory.GetFiles(@"C:\OldCODB\Users\Characters\"))
            {
                if (Path.Remove(0, Path.Length - 4) == "
.chr")
                {
                    try
                    {
                        string Name = Path.Substring(Path.LastIndexOf("
\\") + 1, Path.LastIndexOf('.') - Path.LastIndexOf("\\") - 1);
                        Game.Character C;
                        C = Game.World.CharacterFromName2(Name);
                        if (C == null)
                        {
                            string Account = "";
                            C = LoadCharacter(Name, ref Account);
                            if (C != null)
                            {
                                C.ExpBallsUsedToday = 0;
                                C.LotteryUsed = 0;
                                C.UniversityPoints = 0;
                                C.Nobility.Donation = 0;
                                SaveCharacter(C, Account);
                            }
                        }
                        else
                        {
                            C.UniversityPoints = 0;
                            C.ExpBallsUsedToday = 0;
                            C.LotteryUsed = 0;
                            C.Nobility.Donation = 0;
                        }
                    }
                    catch (Exception e)
                    {
                        Console.WriteLine(e.ToString());
                    }
                }
            }
        } 
id
After doing i opened my nobilty.dat delete all of it then do that command!(/expballs) in console! And then reset my server . it gets rid of all nobility, how ever this isnt the problem im havin my problem i wanna SAVE nobility.
BitzIn is offline  
Old 09/30/2010, 21:30   #6
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
if ur using the original source, then is already saving it.
Fish* is offline  
Reply


Similar Threads Similar Threads
Nobility
02/04/2010 - Conquer Online 2 - 1 Replies
Forget (:
Help nobility npc
07/24/2009 - CO2 Private Server - 9 Replies
i need help to repair the npc for nobility in CoMy source who can help me ? thanks
Nobility
07/06/2009 - CO2 Private Server - 15 Replies
okay you guys know how Undress My Shadow's nobility code is for ini? what about for non ini? cuz i need help with that cuz mine saves mysql
nobility
07/01/2009 - CO2 Private Server - 0 Replies
Hello, I do not want to continue being a nuisance it is because of it that is the last question that I do, I need that they explain to me since as the code begins to add the system of nobility, it is quite and if someone can help me to arrange the power of xp in coemu v2 agradesco. Good-bye and thanks
how can i put nobility
05/31/2009 - CO2 Private Server - 1 Replies
how can i put nobilty in CoEmu do i need to code it?



All times are GMT +1. The time now is 17:13.


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.