Jard_Y_Dooku Posted April 14, 2010 Share Posted April 14, 2010 Now that dungeoneering allows us to get level 120, I think the XP table (http://www.tip.it/runescape/?page=xp_table.htm) should be updated. Here is a small C++ program that will calculate the required experience for each level. #include <iostream> #include <cmath> using namespace std; int experienceForLevel(int level); int experienceFromPreviousLevel(int level); int experienceToNextLevel(int level); int experienceDifference(int level1, int level2); const int MAX_LEVEL = 120; int main() { cout << "Level\tExperience\tXP from last\tXP to next" << endl; for (int i = 1; i <= MAX_LEVEL; i++) { cout << i << "\t" << experienceForLevel(i) << "\t" << experienceFromPreviousLevel(i) << "\t" << experienceToNextLevel(i) << endl; } return 0; } int experienceForLevel(int level) { if (level <= 0) { return 0; } double total = 0; for (int i = 1; i < level; i++) { total += floor(i + 300 * pow(2, i / 7.0)); } int tenative = floor(total / 4); // This fixes a few off by 1 or 2 errors... looks like our formula was wrong all along if (level == 101 || (level >= 103 && level <= 110) || (level >= 113 && level <= 120)) { tenative -= 1; } else if (level == 111 || level == 112) { tenative -= 2; } return tenative; } int experienceFromPreviousLevel(int level) { return experienceDifference(level, level - 1); } int experienceToNextLevel(int level) { return experienceDifference(level, level + 1); } int experienceDifference(int level1, int level2) { if (level1 == level2 || level1 <= 0 || level1 > MAX_LEVEL || level2 <= 0 || level2 > MAX_LEVEL) { return 0; } if (level1 > level2) { return experienceForLevel(level1) - experienceForLevel(level2); } else { return experienceForLevel(level2) - experienceForLevel(level1); } } And here is the output: Level Experience XP from last XP to next 1 0 0 83 2 83 83 91 3 174 91 102 4 276 102 112 5 388 112 124 6 512 124 138 7 650 138 151 8 801 151 168 9 969 168 185 10 1154 185 204 11 1358 204 226 12 1584 226 249 13 1833 249 274 14 2107 274 304 15 2411 304 335 16 2746 335 369 17 3115 369 408 18 3523 408 450 19 3973 450 497 20 4470 497 548 21 5018 548 606 22 5624 606 667 23 6291 667 737 24 7028 737 814 25 7842 814 898 26 8740 898 990 27 9730 990 1094 28 10824 1094 1207 29 12031 1207 1332 30 13363 1332 1470 31 14833 1470 1623 32 16456 1623 1791 33 18247 1791 1977 34 20224 1977 2182 35 22406 2182 2409 36 24815 2409 2658 37 27473 2658 2935 38 30408 2935 3240 39 33648 3240 3576 40 37224 3576 3947 41 41171 3947 4358 42 45529 4358 4810 43 50339 4810 5310 44 55649 5310 5863 45 61512 5863 6471 46 67983 6471 7144 47 75127 7144 7887 48 83014 7887 8707 49 91721 8707 9612 50 101333 9612 10612 51 111945 10612 11715 52 123660 11715 12934 53 136594 12934 14278 54 150872 14278 15764 55 166636 15764 17404 56 184040 17404 19214 57 203254 19214 21212 58 224466 21212 23420 59 247886 23420 25856 60 273742 25856 28546 61 302288 28546 31516 62 333804 31516 34795 63 368599 34795 38416 64 407015 38416 42413 65 449428 42413 46826 66 496254 46826 51699 67 547953 51699 57079 68 605032 57079 63019 69 668051 63019 69576 70 737627 69576 76818 71 814445 76818 84812 72 899257 84812 93638 73 992895 93638 103383 74 1096278 103383 114143 75 1210421 114143 126022 76 1336443 126022 139138 77 1475581 139138 153619 78 1629200 153619 169608 79 1798808 169608 187260 80 1986068 187260 206750 81 2192818 206750 228269 82 2421087 228269 252027 83 2673114 252027 278259 84 2951373 278259 307221 85 3258594 307221 339198 86 3597792 339198 374502 87 3972294 374502 413482 88 4385776 413482 456519 89 4842295 456519 504037 90 5346332 504037 556499 91 5902831 556499 614422 92 6517253 614422 678376 93 7195629 678376 748985 94 7944614 748985 826944 95 8771558 826944 913019 96 9684577 913019 1008052 97 10692629 1008052 1112977 98 11805606 1112977 1228825 99 13034431 1228825 1356729 100 14391160 1356729 1497948 101 15889108 1497948 1653868 102 17542976 1653868 1826015 103 19368991 1826015 2016081 104 21385072 2016081 2225933 105 23611005 2225933 2457626 106 26068631 2457626 2713437 107 28782068 2713437 2995874 108 31777942 2995874 3307711 109 35085653 3307711 3652007 110 38737660 3652007 4032139 111 42769799 4032139 4451840 112 47221639 4451840 4915229 113 52136868 4915229 5426849 114 57563717 5426849 5991725 115 63555442 5991725 6615397 116 70170839 6615397 7303988 117 77474827 7303988 8064254 118 85539081 8064254 8903655 119 94442736 8903655 9830430 120 104273166 9830430 0 Never trust anyone. You are always alone, and betrayal is inevitable.Nothing is safe from the jaws of the decompiler. Link to comment Share on other sites More sharing options...
Kiriyama Posted April 14, 2010 Share Posted April 14, 2010 At this moment, that experience is pure speculation. For all we know, they could easily have different required exp from 99 onwards. Denizen of Darkness| PSN= sworddude198 Link to comment Share on other sites More sharing options...
Vulxai Posted April 14, 2010 Share Posted April 14, 2010 Sworddude has a point, while we know we can reach 120, we don't actually have confirmation of what those levels are, so until we get confirmations (preferably picture), we'll probably keep the XP table to 99. However, once we get those confirmations, we'll definitely use your help to edit it. I'm going to leave this open for confirmations later on. ~ Proud Father ~ Proud (Currently Deployed) Army National Guardsmen ~ Proud Lakota ~ Retired Tip.It Crew ~ Link to comment Share on other sites More sharing options...
Ember Posted April 15, 2010 Share Posted April 15, 2010 Jard, your information would be beautiful, if only it were accurate. level xp xp from previous 100 14,391,160 1,356,729 101 15,889,108 1,497,948 102 17,542,976 1,653,868 103 19,368,991 1,826,015 104 21,385,072 2,016,081 105 23,611,005 2,225,933 106 26,068,631 2,457,626 107 28,782,068 2,713,437 108 31,777,942 2,995,874 109 35,085,653 3,307,711 110 38,737,660 3,652,007 111 42,769,799 4,032,139 112 47,221,639 4,451,840 113 52,136,868 4,915,229 114 57,563,717 5,426,849 115 63,555,442 5,991,725 116 70,170,839 6,615,397 117 77,474,827 7,303,988 118 85,539,081 8,064,254 119 94,442,736 8,903,655 120 104,273,166 9,830,430 [hide]Goal XP shows the xp at the goal level, which is shown in each image.[/hide] Link to comment Share on other sites More sharing options...
Jard_Y_Dooku Posted April 15, 2010 Author Share Posted April 15, 2010 At this moment, that experience is pure speculation. For all we know, they could easily have different required exp from 99 onwards. Sworddude has a point, while we know we can reach 120, we don't actually have confirmation of what those levels are, so until we get confirmations (preferably picture), we'll probably keep the XP table to 99. However, once we get those confirmations, we'll definitely use your help to edit it. I'm going to leave this open for confirmations later on. The objectives interface allows us to prove these values as Nyosuht has shown, actually. I just didn't think to check them since the original formula we've used for almost 10 years now appeared to work. I didn't notice a few of the values were off by 1 or 2 points, which is pretty bizarre. I modified the program in my above post to return correct values for all levels from 1 to 120, so the table is fully accurate now. Thanks for posting those screenshots, Nyosuht. Now all we need to do is find a formula that covers all levels rather than the temporary hack formula I posted above... Never trust anyone. You are always alone, and betrayal is inevitable.Nothing is safe from the jaws of the decompiler. Link to comment Share on other sites More sharing options...
Vulxai Posted April 16, 2010 Share Posted April 16, 2010 At this moment, that experience is pure speculation. For all we know, they could easily have different required exp from 99 onwards. Sworddude has a point, while we know we can reach 120, we don't actually have confirmation of what those levels are, so until we get confirmations (preferably picture), we'll probably keep the XP table to 99. However, once we get those confirmations, we'll definitely use your help to edit it. I'm going to leave this open for confirmations later on. The objectives interface allows us to prove these values as Nyosuht has shown, actually. I just didn't think to check them since the original formula we've used for almost 10 years now appeared to work. I didn't notice a few of the values were off by 1 or 2 points, which is pretty bizarre. I modified the program in my above post to return correct values for all levels from 1 to 120, so the table is fully accurate now. Thanks for posting those screenshots, Nyosuht. Now all we need to do is find a formula that covers all levels rather than the temporary hack formula I posted above... I actually forgot about the objective feature. I'll get this looked into for sure! ~ Proud Father ~ Proud (Currently Deployed) Army National Guardsmen ~ Proud Lakota ~ Retired Tip.It Crew ~ Link to comment Share on other sites More sharing options...
deletemeplease Posted April 17, 2010 Share Posted April 17, 2010 He is right.I just finished setting objectives for myself through level 100-120.Doing the math and the differences and such I got this. Level~Exp.~Exp.Diff100~14,391,160~1,356,729101~15,889,109~1,497,949102~17,542,976~1,653,867103~19,368,992~1,826,016104~21,385,073~2,016,081105~23,611,006~2,225,933106~26,068,632~2,457,626107~28,782,069~2,713,437108~31,777,943~2,995,874109~35,085,654~3,307,711110~38,737,661~3,652,007111~42,769,801~4,032,140112~47,221,641~4,451,840113~52,136,869~4,915,228114~57,563,718~5,426,849115~63,555,443~5,991,725116~70,170,840~6,615,397117~77,474,828~7,303,988118~85,539,082~8,064,254119~94,442,737~8,903,655120~104,273,167~9,830,430 Link to comment Share on other sites More sharing options...
Ember Posted April 17, 2010 Share Posted April 17, 2010 He is right.I just finished setting objectives for myself through level 100-120.Doing the math and the differences and such I got this. Level~Exp.~Exp.Diff100~14,391,160~1,356,729101~15,889,109~1,497,949102~17,542,976~1,653,867103~19,368,992~1,826,016104~21,385,073~2,016,081105~23,611,006~2,225,933106~26,068,632~2,457,626107~28,782,069~2,713,437108~31,777,943~2,995,874109~35,085,654~3,307,711110~38,737,661~3,652,007111~42,769,801~4,032,140112~47,221,641~4,451,840113~52,136,869~4,915,228114~57,563,718~5,426,849115~63,555,443~5,991,725116~70,170,840~6,615,397117~77,474,828~7,303,988118~85,539,082~8,064,254119~94,442,737~8,903,655120~104,273,167~9,830,430That's interesting. I've just confirmed again via the objectives interface that level 120 is at 104,273,166 XP, whereas you have 104,273,167.If you feel like posting a screenshot, I'd be quite interested to see that some players are getting different results. Link to comment Share on other sites More sharing options...
Xena_Dragon Posted May 14, 2010 Share Posted May 14, 2010 FWIW, we've updated the XP table on the site here Crew Edit: As it sounds like this issue was resolved, I'm going to lock the topic :) If there are still things to correct/discuss concerning this issue, please feel free to PM me and I will gladly unlock the topic. :) -- SerpentEye Link to comment Share on other sites More sharing options...
Recommended Posts