|
You last visited: Today at 05:27
Advertisement
People cannot Level
Discussion on People cannot Level within the CO2 Private Server forum part of the Conquer Online 2 category.
07/18/2009, 09:10
|
#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
|
|
|
07/18/2009, 09:17
|
#2
|
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
|
What source?
|
|
|
07/18/2009, 09:23
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
|
Quote:
Originally Posted by Incariuz
What source?
|
lol 5017 look at my siggy
|
|
|
07/18/2009, 09:28
|
#4
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
|
Check your AddExp fonction.
|
|
|
07/18/2009, 09:31
|
#5
|
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
|
Quote:
Originally Posted by CptSky
Check your AddExp fonction.
|
i did and i cant seem to figure out whats wrong with it
|
|
|
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.
|
|
|
07/18/2009, 09:36
|
#7
|
elite*gold: 0
Join Date: Jun 2009
Posts: 18
Received Thanks: 0
|
works works works
|
|
|
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?
|
|
|
07/18/2009, 10:02
|
#9
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
Quote:
Originally Posted by Arcotemple:)
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.
|
|
|
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.
|
|
|
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)
|
|
|
07/18/2009, 22:17
|
#12
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
|
Quote:
Originally Posted by Incariuz
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
|
|
|
07/19/2009, 08:50
|
#13
|
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
|
Quote:
Originally Posted by damianpesta
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!
|
|
|
|
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.
|
|