Author Topic: Changing Max Level  (Read 81 times)

Offline Pax

  • Member
  • ***
  • Posts: 54
  • Rep +21/-1
  • Sup<3?
  • Location: Norway
    • View Profile
    • NukeRune
Changing Max Level
« on: January 27, 2012, 01:35:04 pm »
Hey, Alot Of You Guys Have NO Idea's On How To Change Max Level :( But I Know It And Ill Guide You To How To Do It :)

1. Go To Client.Java
2. CTRL+F And Search For "Return 99"
3. You Will See This:
Code: [Select]
}

public int getLevelForXP(int exp) {
int points = 0;
int output = 0;
if (exp > 13034430)
return 99;
for (int lvl = 1; lvl <= 99; lvl++) {
points += Math.floor((double) lvl + 300.0
* Math.pow(2.0, (double) lvl / 7.0));
output = (int) Math.floor(points / 4);
if (output >= exp) {
return lvl;
4. Choose A Max Level Put The Level There It Says
Code: [Select]
return 99;5. You Need XP To, So You Can Choose How Much XP You Need, For Maybe 126 You Only Put From
Code: [Select]
13034430 To
Code: [Select]
189034430
-Pax

Share on Bluesky Share on Facebook


Offline Neroxx

  • Global Moderator
  • Senior Member
  • *****
  • Posts: 136
  • Rep +202/-1
  • Live your life, code what you want.
  • Location: Norway
    • View Profile
Re: Changing Max Level
« Reply #1 on: January 27, 2012, 03:46:44 pm »
This could be usefulfor newbeginners :) Good job

Offline Pax

  • Member
  • ***
  • Posts: 54
  • Rep +21/-1
  • Sup<3?
  • Location: Norway
    • View Profile
    • NukeRune
Re: Changing Max Level
« Reply #2 on: January 29, 2012, 02:40:46 pm »
This could be usefulfor newbeginners :) Good job
Thanks Neroxx :)

Offline magicana89

  • Senior Member
  • ****
  • Posts: 105
  • Rep +4/-0
  • Xtracode's Master Poster
    • View Profile
Re: Changing Max Level
« Reply #3 on: February 02, 2012, 08:52:45 am »
me likey cause it's a small and easy tut:D

Offline Pax

  • Member
  • ***
  • Posts: 54
  • Rep +21/-1
  • Sup<3?
  • Location: Norway
    • View Profile
    • NukeRune
Re: Changing Max Level
« Reply #4 on: February 10, 2012, 02:20:54 pm »
me likey cause it's a small and easy tut:D
ur not a bad coder as well :)