Jump to content

Expierence formula


feppie64

Recommended Posts

I knew that!

Pier pressure?

I can just see you being threatened by a wharf or jetty because you're a teleporter. Yes, I can see a large wooden wharf uprooting itself from the shore, walking over to you and slapping you in the back of the head for teleporting.

:lol:
Link to comment
Share on other sites

  • Replies 64
  • Created
  • Last Reply

Top Posters In This Topic

Why not use the data on the tip.it site? :shock:

2016 goals: all skills +30mil xp - Completed this goal 11th December 2016 smile.gif
2017 goals: get at least 3 more master capes (start xp: invention done@21st Jan, mining done@2nd April & ranged 76/104mil done@June 20th) & all skills +40mil xp (done 24th August)

Link to comment
Share on other sites

 

 

 

I use a program called "RSDemon

Its a Great Program 8)

 

 

 

 

 

 

 

 

 

 

 

WOW, thats must mean:

 

 

 

 

 

 

 

Level 101 - 15889109 xp

Only around 550k to im that lvl in HP :wink:

Sir Krohan- 138 - 2696 (2886)

 

Goals


Attack 112/120 || Strength 112/120 || Defence 112/120 || HP 114/120
Ranged 110/120 || Magic 104/120 || Prayer 103/120 || Slayer 114/120

All Skills 10127/27 || All Skills 102+ 25/27 || All skills 103+ 24/27
All Skills 10420/27 || All Skills 10513/27 || All skills 10611/27


 

288th to reach 85 Slayer & 144th to reach 90 Slayer

Link to comment
Share on other sites

If you understand javascript, here's the one we use for exp --> lvl on the site... Not gonna explain it to you if you don't know javascript :P

 

 

 

 

 

 

 

function expToLevel(exp)



{



 var points = 0;



 var output = 0;



 for (var lvl = 1; lvl <= 150; lvl++)



 {



   points += Math.floor(lvl + 300 * Math.pow(2, lvl / 7.))



   if (lvl >= 1)



{



     if (output > exp)



     {



       lvl = lvl - 1;



	if (lvl == "0")	{  return "1";	}



	else if (lvl > "99")	{  return "99";	}



	else 			{  return lvl;  }



     }



     output = Math.floor(points / 4);



   }



 }



 return 0;



}

 

 

 

 

 

 

 

Hopefully that'll help a bit... If not, just isolate x in the formula you posted ;)

 

 

 

 

 

 

 

See now that made more sense than these crazy formula's with crazy greek letters and whatnot.

Link to comment
Share on other sites

 

 

now i can see why there is a 99 cap for skills :shock:

 

 

 

 

 

 

 

Nonsense... Level 421 - 917187883580515200000 xp

 

 

 

 

 

 

 

Are you lazy? Only 3.821.616.181.585.480.000 moss giants to go for that level!

 

 

 

 

 

 

 

get rich... sell the bones... 400 each... that will be... 1528646472634192000k

 

 

 

 

 

 

 

lol my new goal: prayer lvl 250...

 

 

 

ill call you whan i need the bones... and whan i have

 

 

 

1528646472634192000k by mining 127387206052849k rune... when i get 85 mining...

 

 

 

 

 

 

 

Would next sunday be good?

Link to comment
Share on other sites

Everyone knows

 

 

 

 

 

 

 

equation.gif

 

 

 

 

 

 

 

is the experience formula. Is there also a formula to convert experience to level?

 

 

 

 

 

 

 

 

 

 

 

umm english plx!

Socc.png

Socc | 99 Magic | 95/99 Range | 99 Defence | 99 Hitpoints | 96/99 Summoning |Join SODB for some monster Slayin! |

Link to comment
Share on other sites

  • 2 months later...
Everyone knows

 

 

 

equation.gif

 

 

 

is the experience formula. Is there also a formula to convert experience to level?

 

 

 

 

 

!

 

 

 

Sorry for bringing up old posts, but this is pretty interesting.

 

 

 

I've already looked at the differences between the xp of some levels, and after doing this got some fairly accurate estimates, but I never knew there was a real formula for this.

 

 

 

Only, the formula is pretty hard, so could one of the geniuses around here please explain how I can use it?

 

 

 

I understand most of it, except for the hardets part, the sigma , the L-1 and x-1 and the floor, so could somebody please explain how I should do this?

conplaatje3vl9.png
Link to comment
Share on other sites

The floor means simply to round down I think it's a method within javascript which rounds numbers down.

 

 

 

What the sigma is basically saying is calculate each levels experience points and add them all together. So basically for level 1 you do:

 

 

 

x = the level you want

 

 

 

(1 + 300 * 2 ^ x/7)/4. All of that is then rounded down.

 

 

 

For level 2 you do the same procedure as before however the number you get from that is added to the previous calculation. So basically you're doing the (x + 300*2^x/7/4) for x = 1 then doing the same thing again but for x = 2 then adding the 2 results together to get the experience needed for level 2.

Signiture1-1.gif

99 Magic, 99 Defence, 99 Strength, 99 Attack, 99 Hitpoints, 99 Fletching, 99 Woodcutting, 99 Firemaking, 99 Thieving, 99 Ranged, 99 Prayer, 99 Cooking, 99 Fishing

Link to comment
Share on other sites

Or use the smooth formula

 

...The modified formula is:

 

 

 

Experience = floor(A*(2^(L/7)-2^(1/7)) + B*L^5 + C*L^4 + D*L^3 + E*L^2 + F*L + G)

 

 

 

Where L is the Level.

 

So now it's an exponential function plus a 5th degree polynomial with

 

 

 

A = 720.533673767946

 

B = 3.54298390625729e-09

 

C = -1.0176384179772e-06

 

D = 9.69859806900786e-05

 

E = 0.121741672963253

 

F = -0.2074127222877

 

G = 0.139103528112173

 

 

 

This matches 100% with the 100 known Runescape exp values...

Link to comment
Share on other sites

If you understand javascript, here's the one we use for exp --> lvl on the site... Not gonna explain it to you if you don't know javascript :P

 

 

 

function expToLevel(exp)

{

 var points = 0;

 var output = 0;

 for (var lvl = 1; lvl <= 150; lvl++)

 {

   points += Math.floor(lvl + 300 * Math.pow(2, lvl / 7.))

   if (lvl >= 1)

{

     if (output > exp)

     {

       lvl = lvl - 1;

	if (lvl == "0")	{  return "1";	}

	else if (lvl > "99")	{  return "99";	}

	else 			{  return lvl;  }

     }

     output = Math.floor(points / 4);

   }

 }

 return 0;

}

 

 

 

Hopefully that'll help a bit... If not, just isolate x in the formula you posted ;)

 

 

 

I use a program called "RSDemon, and one of the "guides" contains this:

 

 

 

JavaScript version

 

The following code is used above to generate the experience table:

 

 

 

 

 

 

 

 

Python version

 

This is the very original code by Slowbyte:

 

 

 

points = 0

 

for level in range(1,100):

 

diff = int(level + 300 * math.pow(2, float(level)/7) )

 

points += diff

 

str = "Level %d = %d" % (level + 1, points / 4)

 

print str

 

 

 

MS Excel formula

 

MS Excel version by Mugol:

 

 

 

Cell A1: 1

 

Cell B1 formula: =ROUND.DOWN(A1+300*POWER(2;A1/7);0)/4

 

Cell B1: 2

 

Cell B2 formula: =B1+ROUND.DOWN(A2+300*POWER(2;A2/7);0)/4

 

 

 

Fill the rest of the first column with numbers 3, 4, ...

 

Copy B2 field formula down.

 

 

 

PHP version

 

PHP version by Gazza (aka Jargon on RS)

 

 

 

<?php

 

 

 

function experience($L) {

 

$a=0;

 

for($x=1; $x<$L; $x++) {

 

$a += floor($x+300*pow(2, ($x/7)));

 

}

 

return floor($a/4);

 

}

 

 

 

for($L=1;$L<100;$L++) {

 

echo 'Level '.$L.': '.experience($L).'

';

 

}

 

?>

 

 

 

Visual Basic version

 

Public Function experience(ByVal lvl As Integer)

 

Dim a As Long

 

Dim x As Integer

 

For x = 1 To lvl

 

a = a + Int(x + 300 * (2 ^ (x / 7)))

 

Next x

 

experience = roundDown(a / 4)

 

End Function

 

 

 

 

WOW, thats must mean:

 

 

 

 

 

Level 100 - 14391160 xp

 

Level 101 - 15889109 xp

 

Level 102 - 17542976 xp

 

Level 103 - 19368992 xp

 

Level 104 - 21385073 xp

 

Level 105 - 23611006 xp

 

Level 106 - 26068632 xp

 

Level 107 - 28782069 xp

 

Level 108 - 31777943 xp

 

Level 109 - 35085654 xp

 

Level 110 - 38737661 xp

 

Level 111 - 42769801 xp

 

Level 112 - 47221641 xp

 

Level 113 - 52136869 xp

 

Level 114 - 57563718 xp

 

Level 115 - 63555443 xp

 

Level 116 - 70170840 xp

 

Level 117 - 77474828 xp

 

Level 118 - 85539082 xp

 

Level 119 - 94442737 xp

 

Level 120 - 104273167 xp

 

Level 121 - 115126838 xp

 

Level 122 - 127110260 xp

 

Level 123 - 140341028 xp

 

Level 124 - 154948977 xp

 

Level 125 - 171077457 xp

 

Level 126 - 188884740 xp

 

Level 127 - 208545572 xp

 

Level 128 - 230252886 xp

 

Level 129 - 254219702 xp

 

Level 130 - 280681209 xp

 

Level 131 - 309897078 xp

 

Level 132 - 342154009 xp

 

Level 133 - 377768545 xp

 

Level 134 - 417090179 xp

 

Level 135 - 460504778 xp

 

Level 136 - 508438379 xp

 

Level 137 - 561361362 xp

 

Level 138 - 619793069 xp

 

Level 139 - 684306901 xp

 

Level 140 - 755535943 xp

 

Level 141 - 834179178 xp

 

Level 142 - 921008346 xp

 

Level 143 - 1016875516 xp

 

Level 144 - 1122721449 xp

 

Level 145 - 1239584831 xp

 

Level 146 - 1368612462 xp

 

Level 147 - 1511070513 xp

 

Level 148 - 1668356950 xp

 

Level 149 - 1842015252 xp

 

Level 150 - 2033749558 xp

 

Level 151 - 2245441392 xp

 

Level 152 - 2479168121 xp

 

Level 153 - 2737223349 xp

 

Level 154 - 3022139416 xp

 

Level 155 - 3336712255 xp

 

Level 156 - 3684028823 xp

 

Level 157 - 4067497401 xp

 

Level 158 - 4490881032 xp

 

Level 159 - 4958334456 xp

 

Level 160 - 5474444875 xp

 

Level 161 - 6044276973 xp

 

Level 162 - 6673422613 xp

 

Level 163 - 7368055713 xp

 

Level 164 - 8134992831 xp

 

Level 165 - 8981760056 xp

 

Level 166 - 9916666866 xp

 

Level 167 - 10948887667 xp

 

Level 168 - 12088551825 xp

 

Level 169 - 13346843067 xp

 

Level 170 - 14736109228 xp

 

Level 171 - 16269983424 xp

 

Level 172 - 17963517835 xp

 

Level 173 - 19833331415 xp

 

Level 174 - 21897772978 xp

 

Level 175 - 24177101254 xp

 

Level 176 - 26693683698 xp

 

Level 177 - 29472215980 xp

 

Level 178 - 32539964331 xp

 

Level 179 - 35927033113 xp

 

Level 180 - 39666660232 xp

 

Level 181 - 43795543315 xp

 

Level 182 - 48354199826 xp

 

Level 183 - 53387364671 xp

 

Level 184 - 58944429193 xp

 

Level 185 - 65079925854 xp

 

Level 186 - 71854063374 xp

 

Level 187 - 79333317570 xp

 

Level 188 - 87591083692 xp

 

Level 189 - 96708396670 xp

 

Level 190 - 106774726318 xp

 

Level 191 - 117888855318 xp

 

Level 192 - 130159848595 xp

 

Level 193 - 143708123591 xp

 

Level 194 - 158666631937 xp

 

Level 195 - 175182164138 xp

 

Level 196 - 193416790048 xp

 

Level 197 - 213549449297 xp

 

Level 198 - 235777707252 xp

 

Level 199 - 260319693761 xp

 

Level 200 - 287416243706 xp

 

Level 201 - 317333260352 xp

 

Level 202 - 350364324707 xp

 

Level 203 - 386833576481 xp

 

Level 204 - 427098894932 xp

 

Level 205 - 471555410793 xp

 

Level 206 - 520639383765 xp

 

Level 207 - 574832483607 xp

 

Level 208 - 634666516851 xp

 

Level 209 - 700728645512 xp

 

Level 210 - 773667149012 xp

 

Level 211 - 854197785865 xp

 

Level 212 - 943110817538 xp

 

Level 213 - 1041278763431 xp

 

Level 214 - 1149664963066 xp

 

Level 215 - 1269333029505 xp

 

Level 216 - 1401457286776 xp

 

Level 217 - 1547334293726 xp

 

Level 218 - 1708395567381 xp

 

Level 219 - 1886221630676 xp

 

Level 220 - 2082557522412 xp

 

Level 221 - 2299329921631 xp

 

Level 222 - 2538666054457 xp

 

Level 223 - 2802914568947 xp

 

Level 224 - 3094668582795 xp

 

Level 225 - 3416791130051 xp

 

Level 226 - 3772443256589 xp

 

Level 227 - 4165115040009 xp

 

Level 228 - 4598659838393 xp

 

Level 229 - 5077332103991 xp

 

Level 230 - 5605829132919 xp

 

Level 231 - 6189337160561 xp

 

Level 232 - 6833582255019 xp

 

Level 233 - 7544886508039 xp

 

Level 234 - 8330230074825 xp

 

Level 235 - 9197319671539 xp

 

Level 236 - 10154664202681 xp

 

Level 237 - 11211658260481 xp

 

Level 238 - 12378674315708 xp

 

Level 239 - 13667164504568 xp

 

Level 240 - 15089773010553 xp

 

Level 241 - 16660460144069 xp

 

Level 242 - 18394639337440 xp

 

Level 243 - 20309328399666 xp

 

Level 244 - 22423316515210 xp

 

Level 245 - 24757348625607 xp

 

Level 246 - 27334329003268 xp

 

Level 247 - 30179546015181 xp

 

Level 248 - 33320920282154 xp

 

Level 249 - 36789278668837 xp

 

Level 250 - 40618656793231 xp

 

 

 

 

 

Thats just sick!

 

 

 

lol thank you for copying and pasting this from another web site...

 

that chat is \nt very hard to figger out FYI.

mysig11sv5.png
Link to comment
Share on other sites

i thought the levels were just an exponintial equasion, not calculus lol

 

According to an earlier post, it's an exponential plus a polynomial.

 

 

 

It's not calculus because the summation is descrete, not smooth.

 

But you can take the discrete summation formula and

 

manipulate it to create a smooth version of the formula.

 

 

 

I guess the smooth version would be useful if you wanted to interpolate

 

between levels or understand how the experience curve grows vs level.

Link to comment
Share on other sites

The floor means simply to round down I think it's a method within javascript which rounds numbers down.

 

 

 

What the sigma is basically saying is calculate each levels experience points and add them all together. So basically for level 1 you do:

 

 

 

x = the level you want

 

 

 

(1 + 300 * 2 ^ x/7)/4. All of that is then rounded down.

 

 

 

For level 2 you do the same procedure as before however the number you get from that is added to the previous calculation. So basically you're doing the (x + 300*2^x/7/4) for x = 1 then doing the same thing again but for x = 2 then adding the 2 results together to get the experience needed for level 2.

 

 

 

Oh thanks craven, now I get it.

 

 

 

But for level 2 you don't need to do (1 + 300 * 2 ^ 1/7)/4 + (1 + 300 * 2 ^ 2/7)/4 but (1 + 300 * 2 ^ 1/7)/4, so exactly the same as you said, but then level -1, as level 1 counts as 0.

 

 

 

Also you need to add hooks: (1 + 300 * 2 ^ (x/7))/4 around the x/7, because root and ^ is calculates before * and /.

 

 

 

And it works, great formula!

 

 

 

But my estimates are pretty far off:

 

 

 

for example

 

 

 

my estimate: lvl 120: 102.458.929 xp

 

formula: Level 120 - 104273167 xp [/b]

conplaatje3vl9.png
Link to comment
Share on other sites

somone bumbed a old topic?

 

anyway... time to quote...

 

 

 

now i can see why there is a 99 cap for skills :shock:

 

 

 

Nonsense... Level 421 - 917187883580515200000 xp

 

 

 

Are you lazy? Only 3.821.616.181.585.480.000 moss giants to go for that level!

 

 

 

get rich... sell the bones... 400 each... that will be... 1528646472634192000k

 

 

 

lol my new goal: prayer lvl 250...

 

ill call you whan i need the bones... and whan i have

 

1528646472634192000k by mining 127387206052849k rune... when i get 85 mining...

 

 

 

Would next sunday be good?

 

 

 

money cap: aprox 2200mil

 

skill exp cap: 200mil you would only be able to get lvl 126 becuz:

 

Level 127 - 208.545.572 xp

runeminermb1.gif

^^ click my sig for my lesser ranging guide ^^

jwrm22: 4816th > 99 cooking 100% f2p !1172 total! + 140mil in items.

i dont play anymore... i think rs is ruined

Link to comment
Share on other sites

My approximation is slightly more useful (well computation friendly) than the one on page 2.

 

 

 

Let X be the experiance then the level Y is aproximatly given by

 

 

 

Y = FLOOR( 50 + 7 * (LN( X / 101333) / LN(2) ) )

 

 

 

Valid for X => 101333 (level 50 or higher)

 

 

 

or

 

 

 

Y = CEILING( 50 + 7 * (LN( X / 101333) / LN(2) ) )

 

 

 

valid for 7028 <= X < 101333 (between levels 24 and 50)

 

 

 

for X < 7028 it gets inaccurate.

 

 

 

It is also slightly off at the very edges, i.e. it's liable to say that 1475579 is level 77 instead of 76.

 

 

 

(LN( X / 101333) / LN(2) ) is of course just the logarithm to base two of (X/101333) but my calculator doesn't have that so I did it the long way.

there are no stupid questions

just way too many inquisitive idiots

balance is scary to people who like things easy for them

Utopianflame.png

Link to comment
Share on other sites

A quick and easy tip for experience - if you double the current amount of experience you have in a skill, you will be 7 levels higher. Doesn't hold true until after level 20 or so, but it's a nice rule of thumb for training, if you have a far away goal and want to quickly calculate where a certain amount of exp will get you, or how much more you need to reach a certain level.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.