Register for your free account! | Forgot your password?

You last visited: Today at 05:27

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

Advertisement



People cannot Level

Discussion on People cannot Level within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
People cannot Level

people on my server cant level
i just recently came across this problem

they attack stuf they dont level
they use exp ***** they dont level
any1 know what sup
Arcotemple:) is offline  
Old 07/18/2009, 09:17   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
What source?
Incariuz is offline  
Old 07/18/2009, 09:23   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
Quote:
Originally Posted by Incariuz View Post
What source?
lol 5017 look at my siggy
Arcotemple:) is offline  
Old 07/18/2009, 09:28   #4


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Check your AddExp fonction.
CptSky is offline  
Old 07/18/2009, 09:31   #5
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
Quote:
Originally Posted by CptSky View Post
Check your AddExp fonction.
i did and i cant seem to figure out whats wrong with it
Arcotemple:) is offline  
Old 07/18/2009, 09:34   #6
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
If it's LOTF, it should work fine, unless you've tampered with it. On a side note though, I don't suggest trying to run a server off LOTF, simply use it to learn. You'll never hold more then 10-20 players, regardless how many bugs you fix. The entire source needs to e re-written in order to avoid DB data transfer issues.

Edit: On a side note though, if you tell me where it is in what file, I'll go through my old lotf source, and try and find a way to fix it.
Incariuz is offline  
Old 07/18/2009, 09:36   #7
 
vhalang2009's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 18
Received Thanks: 0
works works works
vhalang2009 is offline  
Old 07/18/2009, 09:57   #8
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
Code:
        public bool AddExp(ulong Amount, bool CountMisc)
        {

            Ready = false;
            if (CountMisc)
                Exp += (ulong)(Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1));
            else
                Exp += Amount;
            bool Leveled = false;

            if (Exp > DataBase.NeededXP(Level) && Level < 130)
            {
                Leveled = true;
                while (Exp > DataBase.NeededXP(Level) && Level < 130)
                {
                    Exp -= DataBase.NeededXP(Level);
                        ;
                    if (Level == 3)
                    {
                        if (Job < 16 && Job > 9)
                            LearnSkill(1110, 0);
                        if (Job < 16 && Job > 9 || Job < 26 && Job > 19)
                            LearnSkill(1015, 0);
                        if (Job < 26 && Job > 19)
                            LearnSkill(1025, 0);
                    }
                }
            }
there it is
anything wrong with it?
Arcotemple:) is offline  
Old 07/18/2009, 10:02   #9
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Quote:
Originally Posted by Arcotemple:) View Post
Code:
        public bool AddExp(ulong Amount, bool CountMisc)
        {

            Ready = false;
            if (CountMisc)
                Exp += (ulong)(Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1));
            else
                Exp += Amount;
            bool Leveled = false;

            if (Exp > DataBase.NeededXP(Level) && Level < 130)
            {
                Leveled = true;
                while (Exp > DataBase.NeededXP(Level) && Level < 130)
                {
                    Exp -= DataBase.NeededXP(Level);
                        ;
                    if (Level == 3)
                    {
                        if (Job < 16 && Job > 9)
                            LearnSkill(1110, 0);
                        if (Job < 16 && Job > 9 || Job < 26 && Job > 19)
                            LearnSkill(1015, 0);
                        if (Job < 26 && Job > 19)
                            LearnSkill(1025, 0);
                    }
                }
            }
there it is
anything wrong with it?
Now you'll learn to be doing backups every 1-2 days lol.
damianpesta is offline  
Old 07/18/2009, 11:08   #10
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
This is what I have in mine. May not function 100% for you, depending on how your source has been altered, but hope it helps.

Code:
        public bool AddExp(ulong Amount, bool CountMisc)
        {
            Ready = false;
            if (RBCount < 1)
                Amount /= 3;
            if (CountMisc && !EPot)
                Exp += (ulong)(Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1));
            else if (EPot)
                Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 2);

            else
                if (EPot)
                {
                    Exp *= 2;
                }

            Exp += Amount;
            if (EPotRate == true)
                Exp += (ulong)((double)Amount * (double)DataBase.ExpRate * (double)AddExpPc * (Convert.ToDouble(Potency) / 100 + 1));

            bool Leveled = false;

            if (Exp > DataBase.NeededXP(Level) && Level < 135)
            {
                Leveled = true;
                while (Exp > DataBase.NeededXP(Level) && Level < 135)
                {
                    Exp -= DataBase.NeededXP(Level);
                    Level++;
                    if (RBCount > 0)
                    {
                        StatP += 3;
                        MyClient.SendPacket(General.MyPackets.Vital(UID, 11, StatP));
                    }
                    if (Level == 3)
                    {
                        if (Job < 16 && Job > 9)
                            LearnSkill(1110, 0);
                        if (Job < 16 && Job > 9 || Job < 26 && Job > 19)
                            LearnSkill(1015, 0);
                        if (Job < 26 && Job > 19)
                            LearnSkill(1025, 0);
                    }
                }
            }
            if (Leveled)
            {
                if (MyGuild != null)
                    MyGuild.Refresh(this);
                if (RBCount < 1)
                    DataBase.GetStats(this);
                GetEquipStats(1, true);
                GetEquipStats(2, true);
                GetEquipStats(3, true);
                GetEquipStats(4, true);
                GetEquipStats(5, true);
                GetEquipStats(6, true);
                GetEquipStats(8, true);
                MaxHP = BaseMaxHP();
                MaxMP = BaseMaxMP();
                MinAtk = Str;
                MaxAtk = Str;
                Potency = Level;
                GetEquipStats(1, false);
                GetEquipStats(2, false);
                GetEquipStats(3, false);
                GetEquipStats(4, false);
                GetEquipStats(5, false);
                GetEquipStats(6, false);
                GetEquipStats(8, false);

                CurHP = MaxHP;
                CurMP = MaxMP;

                if (Level >= 120)
                    StatP += 3;

                MyClient.SendPacket(General.MyPackets.Vital((long)UID, 13, Level));
                MyClient.SendPacket(General.MyPackets.Vital((long)UID, 16, Str));
                MyClient.SendPacket(General.MyPackets.Vital((long)UID, 17, Agi));
                MyClient.SendPacket(General.MyPackets.Vital((long)UID, 15, Vit));
                MyClient.SendPacket(General.MyPackets.Vital((long)UID, 14, Spi));
                MyClient.SendPacket(General.MyPackets.Vital((long)UID, 0, CurHP));
                MyClient.SendPacket(General.MyPackets.Vital(UID, 11, StatP));
                World.LevelUp(this);
            }

            MyClient.SendPacket(General.MyPackets.Vital((long)UID, 5, Exp));
            Ready = true;

            if (Leveled)
                return true;
            else
                return false;
        }
Edit: Yes, I did the minor fix that most people never noticed or tried to fix... I made it so characters gain 3 Att points every level after 120.
Incariuz is offline  
Thanks
1 User
Old 07/18/2009, 14:27   #11
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Same i forgot about that fix ( i was never 120 in real co so i didnt knew :P)
~Yuki~ is offline  
Old 07/18/2009, 22:17   #12


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Quote:
Originally Posted by Incariuz View Post
If it's LOTF, it should work fine, unless you've tampered with it. On a side note though, I don't suggest trying to run a server off LOTF, simply use it to learn. You'll never hold more then 10-20 players, regardless how many bugs you fix. The entire source needs to e re-written in order to avoid DB data transfer issues.

Edit: On a side note though, if you tell me where it is in what file, I'll go through my old lotf source, and try and find a way to fix it.
I can hold 50-75 players with my edited LOTF source but after a moment, the game server freeze The login server work fine because I use my login server and the DataBase is in flat-file format. But it's true, LOTF has to be re-written
CptSky is offline  
Old 07/19/2009, 08:50   #13
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
Quote:
Originally Posted by damianpesta View Post
Now you'll learn to be doing backups every 1-2 days lol.
i do do backups every 1-2 days and i put my backup code in place of the regular code and debugged and **** and people still cant level!
Arcotemple:) is offline  
Reply


Similar Threads Similar Threads
How to level to 130 the for rich people.
12/01/2010 - CO2 Guides & Templates - 13 Replies
Ok first of all im going to assume everyone knows how to play conquer. Level your charecter the way you know you how. 1:Get Heavens Blessing. This is so underrated. heavens blessing give you 20% extra experience for nothing, gives you exp for being online, and gives ALOT of experince if you actually kill mobs while blessed, not to mention 1 hour double exp per day. BUY IT! Get enlighted 5 times per day. this helps you level without any work. (Highest lvl you can be enlighted at is 117) 3:...
Help with max level [Only Exp. People please]
04/12/2010 - EO PServer Hosting - 10 Replies
Hey, im Jerry and im working on my server max level well i have hexed the MSG Server to alow up to level 260 well the problem im having is the pets will level to 260 but the player it self will not level to 260 if anyone can help thanks.
[RAF] Summon people above level 60
10/26/2008 - WoW Exploits, Hacks, Tools & Macros - 3 Replies
To summon people above level 60 with the refer-a-friend summon; simply invite them to the group, spam the summon button in the friendslist, and when your friend enters the group, you'll start casting the summon. It says "Cannot summon people above level 60." when you're finished casting, but your friend gets the summon.



All times are GMT +2. The time now is 05:27.


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.