April 12, 201312 yr Hello, this is what I have: private double getExpForLevel(int level) { return 75 * (Math.pow(1.104089514, level) - 1.104089514) / (1.104089514 - 1) } This is from http://runescape.wikia.com/wiki/Experience]here[/url]. However, It doesn't get me an accurate value for the experience required for the specified level , for example, at level 78 this equation gives 1,628,457.469, however the true amount of experience points required for level 78 is 1,629,200. So my question is does anyone have a more accurate formula? This is actually for an equation to get how much exp until the next level, if there are any other ways that do not involve this method, please notifty me. Edited April 12, 201312 yr by UrkoDurko
April 12, 201312 yr /** * Gets the experience required for the specific level. * @param level the level. * @return the experience required for the specific level. */ public static int getExperienceForLevel(int level) { int experience = 0; for (int lvl = 0; lvl < level - 1; lvl++) { experience += (lvl + 1) + 300 * Math.pow(2, (lvl + 1) / 7D); } return experience / 4; }