Register for your free account! | Forgot your password?

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

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

Advertisement



Experience bar doesn't go up

Discussion on Experience bar doesn't go up within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2007
Posts: 15
Received Thanks: 1
Experience bar doesn't go up

Hello everyone,

I am currently setting up a private server and I have a problem.

For some reason my exp bar doesn't show the % gaining from a monster.
So basicly when I hit a monster the orange bar doesn't move (when I relog the bar is ajusted with the amount of experience I actually gained), do you guys have any idea what is the problem?

Thanks
TheRox is offline  
Old 03/01/2015, 16:19   #2


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
MsgUserAttrib must be sent to update the client.
CptSky is offline  
Old 03/01/2015, 16:28   #3
 
elite*gold: 0
Join Date: Jun 2007
Posts: 15
Received Thanks: 1
Quote:
Originally Posted by CptSky View Post
MsgUserAttrib must be sent to update the client.
Thanks for ur response, unfortunatly I cheked everything in my sourcecode but I still can't find it.. =/

This might be desperate but could you have a look true teamview or something? I am searching for weeks now, I really wanna get this solved.

Thanks in advance.
TheRox is offline  
Old 03/01/2015, 19:32   #4
 
m e n a's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 58
it might be Levexp table in your database, it should be looking like this as normal.
remember it's just example from my database.
Backup attached.

Attached Files
File Type: txt levexp.txt (3.3 KB, 6 views)
m e n a is offline  
Thanks
1 User
Old 03/01/2015, 19:42   #5
 
elite*gold: 0
Join Date: Jun 2007
Posts: 15
Received Thanks: 1
Quote:
Originally Posted by m e n a View Post
it might be Levexp table in your database, it should be looking like this as normal.
remember it's just example from my database.
Backup attached.

For some reason my .dat decrypter can't open it? Wich program do you use to decrypt that?
TheRox is offline  
Old 03/01/2015, 20:17   #6
 
m e n a's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 58
Quote:
Originally Posted by TheRox View Post
For some reason my .dat decrypter can't open it? Wich program do you use to decrypt that?
Here's a

and here's attached file below credits goes to
F i n c h i
Attached Files
File Type: rar .Dat Files En-De Created By Alex.rar (662.2 KB, 7 views)
m e n a is offline  
Thanks
1 User
Old 03/01/2015, 20:23   #7
 
elite*gold: 0
Join Date: Jun 2007
Posts: 15
Received Thanks: 1
Quote:
Originally Posted by m e n a View Post
Here's a

and here's attached file below credits goes to
F i n c h i
That program is not working for me either, and if I read the comments on that post it seems that i'm not the only one. Could you chek ur private messages please, I sended you one.

Thanks

This is my experience code, can anyone see what the problem might be?

Code:
  #region Experience
        public void IncreaseExp(uint Amount, bool isTeamExp, bool EXPBall)
        {
            if (Level < 137 && LvlCap > Level || LvlCap == 0)
            {
                //Scale per level
                if (Reborns >= 2) Amount = Amount / 2;
                if (Job >= 130 && Job <= 135 && Loc.Map != 1039) Amount *= 2;
                if (!EXPBall)
                {
                    if (Level >= 130) Amount = (uint)(Amount * EqStats.GemExtraExp);
                    else if (Level >= 120 && Level <= 129) Amount = (uint)((Amount / 10) * EqStats.GemExtraExp);
                    else if (Level >= 110 && Level <= 119) Amount = (uint)((Amount / 6) * EqStats.GemExtraExp);
                    else if (Level >= 100 && Level <= 109) Amount = (uint)((Amount / 5) * EqStats.GemExtraExp);
                    else if (Level >= 90 && Level <= 99) Amount = (uint)((Amount / 4) * EqStats.GemExtraExp);
                    else if (Level >= 31 && Level <= 89) Amount = (uint)((Amount / 3) * EqStats.GemExtraExp);
                    else if (Level <= 30) Amount = (uint)((Amount / 2) * EqStats.GemExtraExp);
                    if (World.KOBoard[0].Name == Name) Amount *= 1;//If you want to add bonus exp for KO board
                    if (DoubleExp) Amount *= 3;
                    Amount *= Program.EXPEvent;
                    if (BlessingLasts > 0) Amount = (uint)((double)Amount * 1.2);
                    if (MyGuild != null && MyGuild.Wins > 0) Amount = (uint)((double)Amount * 1.2);
                    if (MyGuild != null)
                    {
                        if (MyGuild.Fund >= 1 && MyGuild.Fund < 5000000) Amount = (uint)((double)Amount * 1.01);
                        if (MyGuild.Fund >= 5000000 && MyGuild.Fund < 10000000) Amount = (uint)((double)Amount * 1.05);
                        if (MyGuild.Fund >= 10000000 && MyGuild.Fund < 15000000) Amount = (uint)((double)Amount * 1.1);
                        if (MyGuild.Fund >= 15000000 && MyGuild.Fund < 20000000) Amount = (uint)((double)Amount * 1.15);
                        if (MyGuild.Fund >= 20000000 && MyGuild.Fund < 25000000) Amount = (uint)((double)Amount * 1.2);
                        if (MyGuild.Fund >= 25000000 && MyGuild.Fund < 30000000) Amount = (uint)((double)Amount * 1.25);
                        if (MyGuild.Fund >= 30000000 && MyGuild.Fund < 35000000) Amount = (uint)((double)Amount * 1.3);
                        if (MyGuild.Fund >= 35000000 && MyGuild.Fund < 40000000) Amount = (uint)((double)Amount * 1.35);
                        if (MyGuild.Fund >= 40000000 && MyGuild.Fund < 45000000) Amount = (uint)((double)Amount * 1.4);
                        if (MyGuild.Fund >= 45000000 && MyGuild.Fund < 50000000) Amount = (uint)((double)Amount * 1.45);
                        if (MyGuild.Fund >= 50000000 && MyGuild.Fund < 55000000) Amount = (uint)((double)Amount * 1.5);
                        if (MyGuild.Fund >= 55000000 && MyGuild.Fund < 60000000) Amount = (uint)((double)Amount * 1.55);
                        if (MyGuild.Fund >= 60000000 && MyGuild.Fund < 65000000) Amount = (uint)((double)Amount * 1.6);
                        if (MyGuild.Fund >= 65000000 && MyGuild.Fund < 70000000) Amount = (uint)((double)Amount * 1.65);
                        if (MyGuild.Fund >= 70000000 && MyGuild.Fund < 75000000) Amount = (uint)((double)Amount * 1.7);
                        if (MyGuild.Fund >= 75000000 && MyGuild.Fund < 80000000) Amount = (uint)((double)Amount * 1.75);
                        if (MyGuild.Fund >= 80000000 && MyGuild.Fund < 85000000) Amount = (uint)((double)Amount * 1.8);
                        if (MyGuild.Fund >= 85000000 && MyGuild.Fund < 90000000) Amount = (uint)((double)Amount * 1.85);
                        if (MyGuild.Fund >= 90000000 && MyGuild.Fund < 95000000) Amount = (uint)((double)Amount * 1.9);
                        if (MyGuild.Fund >= 95000000 && MyGuild.Fund < 100000000) Amount = (uint)((double)Amount * 1.95);
                        if (MyGuild.Fund >= 100000000 && MyGuild.Fund < 125000000) Amount *= 2;
                        if (MyGuild.Fund >= 125000000 && MyGuild.Fund < 150000000) Amount = (uint)((double)Amount * 2.5);
                        if (MyGuild.Fund >= 150000000 && MyGuild.Fund < 175000000) Amount *= 3;
                        if (MyGuild.Fund >= 175000000 && MyGuild.Fund < 200000000) Amount = (uint)((double)Amount * 3.4);
                        if (MyGuild.Fund >= 200000000) Amount = (uint)((double)Amount * 3.8);
                    }
                    bool noobexp = false;
                    bool marrieexp = false;
                    #region checkmyteam for extras
                    if (MyTeam != null && isTeamExp)
                    {
                        foreach (Character C in MyTeam.Members)
                        {
                            if (C != null)
                            {
                                if (EntityID != C.EntityID)
                                {
                                    if (Level > C.Level + 20)
                                        noobexp = true;

                                    if (C.Spouse == C.Name)
                                        marrieexp = true;
                                }
                            }
                        }
                    }
                    #endregion
                    if (noobexp) Amount *= 2;
                    if (marrieexp) Amount *= 2;
                    #region Experience points Messages
                    if (!noobexp && !marrieexp && isTeamExp && Loc.Map != 1039)
                        MyClient.LocalMessage(2005, Amount + " team experience points gained.");
                    else if (noobexp && !marrieexp && isTeamExp && Loc.Map != 1039)
                        MyClient.LocalMessage(2005, "You gained  " + Amount + " team experience points with additional rewarding experience points due to low level teammates.");
                    else if (!noobexp && marrieexp && isTeamExp && Loc.Map != 1039)
                        MyClient.LocalMessage(2005, "You gained  " + Amount + " team experience points with additional rewarding experience points due to marriage teammates.");
                    else if (noobexp && !marrieexp && isTeamExp && Loc.Map != 1039)
                        MyClient.LocalMessage(2005, "You gained  " + Amount + " team experience points with additional rewarding experience points due to low level and marriage teammates.");
                    #endregion
                }
                ulong CurExp = Experience;
                byte CurLevel = Level;
                CurExp += Amount;
                while (CurLevel < 137 && CurExp > Database.LevelExp[CurLevel])
                {
                    CurExp -= Database.LevelExp[CurLevel];
                    CurLevel++;
                    PacketHandling.NPCDialog.Levels++;
                    Database.SaveCharacter(this, MyClient.AuthInfo.Account);
                    LastSave = DateTime.Now;
                    if (CurLevel == 15) MyClient.LocalMessage(2005, "You are Level 15. If you haven't already, you should visit the Promotion Center in Twin City!");
                    if (CurLevel == 40) MyClient.LocalMessage(2005, "You are Level 40. If you haven't already, you should visit the Promotion Center in Twin City!");
                    if (CurLevel == 70) MyClient.LocalMessage(2005, "You are Level 70. If you haven't already, you should visit the Promotion Center in Twin City!");
                    if (CurLevel == 100) MyClient.LocalMessage(2005, "You are Level 100. If you haven't already, you should visit the Promotion Center in Twin City!");
                    if (CurLevel == 110) MyClient.LocalMessage(2005, "You are Level 110. If you haven't already, you should visit the Promotion Center in Twin City!");
                    if (CurLevel >= 3)
                    {
                        if (Job <= 45 && Job >= 40) NewSkill(new Skill() { ID = 8002 });
                        else if (Job >= 10 && Job <= 15) NewSkill(new Skill() { ID = 1110 });
                        else if (Job >= 20 && Job <= 25) NewSkill(new Skill() { ID = 1025 });
                    }
                }
                if (CurLevel > Level)
                {
                    World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 92).Get);
                    if (Reborn || CurLevel >= 120)
                    {
                        if (Reborn) StatPoints += (ushort)((CurLevel - Level) * 3);
                        else
                        {
                            if (Level < 120) Level = 120;
                            int Attributes = Str + Vit + Agi + Spi + StatPoints;
                            if (Attributes < 800) StatPoints += (ushort)((CurLevel - Level) * 3);
                        }
                    }
                    CurHP = MaxHP;
                }
                if (CurLevel > Level) Level = CurLevel;
                Experience = CurExp;
            }
        }
        #endregion
TheRox is offline  
Old 03/02/2015, 02:18   #8
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Wtf that code.
Super Aids is offline  
Thanks
1 User
Old 03/03/2015, 01:23   #9

 
GameHackerPM's Avatar
 
elite*gold: 153
Join Date: Mar 2011
Posts: 634
Received Thanks: 489
Woooooooh! :0 :0
GameHackerPM is offline  
Old 03/03/2015, 15:37   #10
 
m e n a's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 58
Wow!, so everyone here only flame the others!
maybe that's why the community is dying... for *** sake stop -_-
I already fixed it.
This has nothing with the codes he posted yes but that doesn't mean you can flame him!!! Get a life
m e n a is offline  
Thanks
1 User
Old 03/03/2015, 16:08   #11


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by m e n a View Post
Wow!, so everyone here only flame the others!
maybe that's why the community is dying... for *** sake stop -_-
I already fixed it it has nothing with the codes he posted yes but that doesn't mean you can flame him!!! Get a life
Nobody flamed him, he clearly hasn't written it since he has no idea what he posted. And, for your information, to anyone with a drop of sense of what he's doing, that code is great comedy there.
KraHen is offline  
Old 03/06/2015, 17:52   #12
 
m e n a's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 58
Nothing makes it comedy but you guys, nothing wrong with being a newbie though!
About the flaming part isn't commenting about the COMEDY-CODE is way out " Off-Topic " part!

So better to be in a sarcasm page!
Request to move it off to 9GAG or something!? LOL!
This forum called Discussions and Questions for a reason.
m e n a is offline  
Old 03/09/2015, 16:11   #13


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by m e n a View Post
Nothing makes it comedy but you guys, nothing wrong with being a newbie though!
About the flaming part isn't commenting about the COMEDY-CODE is way out " Off-Topic " part!

So better to be in a sarcasm page!
Request to move it off to 9GAG or something!? LOL!
This forum called Discussions and Questions for a reason.
I suggest moving to the forum then where people are willing to solve their problems without any ACTUAL effort shown to actually learn from the OPs side. In order to ask a legit question about something, this community asks in return for an answer a valid question, and background experience from the one who asks. A "discussion" can be between two people who share knowledge in a given topic. So instead of acting so childish and defensive, show some respect, gather experience from these people, because trust me, we've all been where you are. I personally learned a LOT from these people with this attitude, and never felt that I was being attacked by any of them. Rethink your situation.
KraHen is offline  
Old 03/09/2015, 19:44   #14
 
m e n a's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 58
Quote:
Originally Posted by KraHen View Post
I suggest moving to the forum then where people are willing to solve their problems without any ACTUAL effort shown to actually learn from the OPs side. In order to ask a legit question about something, this community asks in return for an answer a valid question, and background experience from the one who asks. A "discussion" can be between two people who share knowledge in a given topic. So instead of acting so childish and defensive, show some respect, gather experience from these people, because trust me, we've all been where you are. I personally learned a LOT from these people with this attitude, and never felt that I was being attacked by any of them. Rethink your situation.
Childish! Seriously.. let's just say that we don't need to fight over something so silly.. you doing it wrong though.

BTW I loved that picture you posted on the other post, and I'm learning.
m e n a is offline  
Reply


Similar Threads Similar Threads
WP doesnīt run :(
10/14/2011 - DarkOrbit - 4 Replies
I downloaded WP but, as title says, doesnīt run and I donīt know why! Iīm really sad I did everything that Roscatelīs Tuto says. 1)I disabled DEP & UAC. 2)Then restarted my PC 3)And I tried to execute the program with right click and choosing "Execute as administrator" 4)Then appears a message:
S4 doesn't work? o.o
08/30/2011 - S4 League - 5 Replies
S4 doesn't work? o.o
Why doesn't...?
12/16/2009 - CO2 Private Server - 17 Replies
Why doesn't anyone convert the new 5165 into MYSQL? It seems to me more people know mysql than ini. I'm not saying either is faster nor slower so if your going to post about that then you can just stop right now. Is anyone planning to? Has anyone done it?
<HELP>MY NPC'S DOESN'T WORK
07/17/2009 - CO2 Private Server - 2 Replies
My server works fine and only my npcs doesn't want to work...i dunno what's the problem!Please help me with this!:handsdown:



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


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.