i have seen in some server something like that:
lvl 1-100 = xp * 8
lvl 101- 130 = xp * 6
lvl 120+ = xp * 3
some1 know how i can do that?
thx for the help
About Xp per lvl
editing your source B)
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
from game.cpp:
last levels exp + level * ( 50 + (level * (level / 17) * (level / 17))iGetLevelExp(iLevel - 1) + iLevel * ( 50 + (iLevel * (iLevel / 17) * (iLevel / 17))
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys
lil tutorial or guide to actually tell me where to start and finish?... pls? :unsure:
<img src='http://myspace-366.vo.llnwd.net/01428/6 ... 0366_l.jpg' border='0' alt='user posted image' />
i dont understand anything about source... can somebody explain it to me? which program should i use? and how to do it also
<img src='http://jove.prohosting.com/mxghost/Neme ... y%20Mx.jpg' border='0' alt='user posted image' /> <span style='color:blue'>Do you like mi pic?</span><br><span style='color:red'>Good Luck 4 every1<br>Mx - Nemeliom</span>
find "iGetLevelExp(iLevel - 1) + iLevel * ( 50 + (iLevel * (iLevel / 17) * (iLevel / 17))" in game.cpp and replace with something like this:
(this is to modify how much exp you need for each level)
but for exp ammount you get, you need to look into the things that happen after a NPC dies
(this is to modify how much exp you need for each level)
Code: Select all
if (iLevel <= 100) { //checks if level is under or equal to 100
iGetLevelExp(iLevel - 1) + iLevel * ( 50 + (iLevel * (iLevel / 17) * (iLevel / 17)) //normal exp
} elseif (iLevel <= 130 && iLevel >= 101) { //checks if level is under 131 and over to 100
iGetLevelExp(iLevel - 1) + iLevel * ( 50 + (iLevel * (iLevel / 17) * (iLevel / 17)) / 2 //half exp needed
} elseif (iLevel <= 130 && iLevel >= 101) { //checks if level is over or equal to 130
iGetLevelExp(iLevel - 1) + iLevel * ( 50 + (iLevel * (iLevel / 17) * (iLevel / 17)) / 4 //one quater exp needed
}
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys