Register for your free account! | Forgot your password?

You last visited: Today at 08:50

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

Advertisement



[RELEASE] Increasing MAX level(CoEmu)

Discussion on [RELEASE] Increasing MAX level(CoEmu) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2007
Posts: 116
Received Thanks: 16
[RELEASE] Increasing MAX level(CoEmu)

Well i had just figured this out and i thought it would be a good thing to show people who don't know how...

First

Go in your database(Appserv, navicat, w/e)

Open up conqueremu database.

open the table "levelexp"

Now scroll all the way down until you see the highest level[should be 134]
now add new rows after that going up in level[135,136,137, etc.] and make it whatever exp requirement you want, continue on that until you reach your desired max level.

Second

Go in your source.
go in Exp.cs
Search for else if(Level == 134)

you should see this

Code:
            else if (Level == 134)
                return 347859950814;
            else
				return 1;
        }
	}
}
Now, add this below it

Code:
else if (Level == 135)
                return <insert-desired-exp-amount-here>;
            else
replacing:

Code:
else
you can add more to it. just follow this code

Code:
else if (Level == levelhere)
                return exphere;
            else
and always replace the else with it or you will get an error.

Third
Go to Exp.cs

find
Code:
			if(CSocket.Client.Level < 135)
change the 135 to Your desired max level

fourth
in Exp.cs

find
Code:
					if(CanSee(Member.Value.Client.X, Member.Value.Client.Y, CSocket.Client.X, CSocket.Client.Y) && Member.Value.Client.Level < 135 && Member.Value.Client.ID != CSocket.Client.ID)
change 135 to the desired max level

fifth
in Exp.cs
find
Code:
			int ExpToGive = Damage;
below that you should see this
Code:
			if(CSocket.Client.Level < 135)
change 135 to your desired max level

sixth
in Exp.cs
find
Code:
			CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You have gained three attribute points! Use them wiesely!", Struct.ChatType.Top));
below that you should see this
Code:
			if(CSocket.Client.Level == 135)
				ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "CONGRATULATIONS! " + CSocket.Client.Name + " has just achieved level 135! Great job!", Struct.ChatType.NewBroadcast), 0);
			if(CSocket.Client.Level < 135)
all of the 135's you see, change then to your desired max level

seventh

We are all done with Exp.cs [halleiluiah]
Now, go in Chat.cs
find
Code:
                                                        int NewLevel = Convert.ToInt32(Command[2]);
below that you should see "if (NewLevel <= 135)"
change the 135 to your desired max level
then below "if (NewLevel <= 135)" you should see this
Code:
                                                        {
                                                            CSocket.Client.Level = NewLevel;
                                                            CSocket.Client.Exp = 0;
                                                            CSocket.Send(ConquerPacket.Status(CSocket, 2, CSocket.Client.Level, Struct.StatusTypes.Level));
                                                            ConquerPacket.ToLocal(ConquerPacket.Effect(CSocket.Client.ID, "LevelUp"), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
                                                            if (CSocket.Client.Level == 135)
                                                                ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "CONGRATULATIONS! " + CSocket.Client.Name + " has just achieved level 135! Great job!", Struct.ChatType.NewBroadcast), 0);
change the 135's in there to your desired max level.

And there you go!
Press thanks if i helped you =P
quadruple1 is offline  
Thanks
10 Users
Old 06/18/2009, 17:28   #2
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
Well thats quite a bit to just add more levels but nice guide though
n0mansland is offline  
Old 06/18/2009, 22:36   #3
 
elite*gold: 0
Join Date: Oct 2007
Posts: 116
Received Thanks: 16
I know. its kinda ridiculous =/
quadruple1 is offline  
Old 06/19/2009, 01:30   #4
 
elite*gold: 0
Join Date: Nov 2006
Posts: 65
Received Thanks: 2
it works, but to see the potency change, you would have to log off and log back in. thats what i have to do. thanks
killerbee is offline  
Reply


Similar Threads Similar Threads
[Release] VIP Level (CoEmu v2)
10/09/2010 - CO2 PServer Guides & Releases - 16 Replies
hi hi!! i was doing it... very easy but let's release it : D first add this at Character.cs: public byte VipLevel = 0; then go into Sctrucs, and open StatusType.cs and add this: VIPLevel = 39,
[HELP] PLEASE Coemu release 180
09/08/2010 - CO2 Private Server - 2 Replies
Hello everyone good morning everyone! Well folks I'm trying to use the Coemu but the recent release that came out good I downloaded the source code and compiled it, if I did not know but was sure: D lol but one detail appeared very npcs are with the dialogues as if I was not wrong. Can someone give me a Help please or copille me if I did something wrong! ss follows below! http://img822.imageshack.us/img822/9706/1942037.t h.jpg Uploaded with ImageShack.us
[Release] >>>> CoEmu.V3
11/09/2009 - CO2 PServer Guides & Releases - 20 Replies
i got a new CoEmu from a china site but i don't know how to setup it this is the link of the source 4shared.com - online file sharing and storage - download NewCoemu.rar pass: AhmedZero
Item Level CoEmu
08/20/2009 - CO2 Private Server - 0 Replies
My MagicArtisan level's gear higher then you are... what is it i have to change... something is this region.. correct? if (CSocket.Client.Level <= Calculation.NextEquipLevel(itm.ItemID)) { itm.ItemID = Calculation.NextEquipLevel(itm.ItemID); } else ...
[Help/Request] CoEmu 2 FB exp level
06/17/2009 - CO2 Private Server - 3 Replies
anyone can start with on how to level the exp of FB... it'll be a reference to some of the skills exp coding... thanks



All times are GMT +2. The time now is 08:50.


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.