Ki Frost
Sorceror
grantsuo;695275 said:thats beacause your players are getting there levels from all there stats i had that problem to so i fixed it with a great deal of help from ki frost
ill send my file and then you can edit it to match your server currently it only shows to level 16 cuz i was testing it, and it works great
The password is uo i dont know how well this hosting thing will work it required me putting a password tho -.-
Hey, Grantsuo, After looking through your file again, and doing a little math, I noticed that your ToLevel only increased by 150 each time. This, is a little low, but an easier way to do it would be.
Code:
pm.ToLevel += 150;
Code:
if (pm.Level > 0 && pm.Level < 10)
pm.ToLevel += 150;
else if (pm.Level > 9 && pm.Level < 20)
pm.ToLevel += 300;
else if (pm.Level > 19 && pm.Level < 30)
pm.ToLevel += 450;
ect. ect. ect.
Grantsuo was partially correct with the skills and stats giving you the exp. Yes, you will have exp before you kill anything, but the most levels I have ever gotten off of it at one time was 20... What is your type of server? (Pre-AoS, AoS, SE, ML?) Also, another thing you could do to fix the "skills and stats" issue, is remove the exp they give all together. This is very easily done. Open Your Level Core.cs and find.jingz2k2 said:Hi,
I haven't been playing or working on server for 3 months now and just got back from Diabo II.
I have installed this system already and looks great!
Problems I have so far:
When I create a new character, its exp is set to 276,239 and level 0.
I level up to 5377 with a zombie kill.
I tried using:
[Set Level 1
[Set Exp 0
Level 1 set.
Exp stays the same however.
Any solutions to this?
Great level system Ki Frost.
Many thanks in advanced
Jingz
Code:
public static int TExp(Mobile m)
{
PlayerMobile pm = m as PlayerMobile;
if (Cl.Enabled)
return LevelHandler.Classic(pm);
else if (En.Enabled)
return pm.kxp + LevelCore.GetExp(pm);
else
return pm.kxp;
}
Code:
public static int TExp(Mobile m)
{
PlayerMobile pm = m as PlayerMobile;
/*
if (Cl.Enabled)
return LevelHandler.Classic(pm);
else if (En.Enabled)
return pm.kxp + LevelCore.GetExp(pm);
else
return pm.kxp;
*/
return pm.kxp;
}