Runescape Haven

Your Runescape Help Site & Blog - Free Runescape Tips and Guides on all things Runescape

News Feed
What's This?
Home
About
Contact
Advertise
Topsite
Forums
Links
Runescape News
Runescape Tips
Runescape Clans
Runescape Pking
Runescape Cheats
Runescape Forums
Runescape Money Making

Mystery of the Combat Formula

Well, no one knows it, right? Right…
It is, indeed, one the things Jagex keeps undisclosed. People can only guess and experiment. And believe me people did! Oh, yes, for many years Runescape players were looking for the right formula. Fan sites started several research projects to get it right. Did they found it? Yes and No.
Yes, because there are formulas which are 99.9% accurate. And No, because there is no 100% accurate formula. Still 99.9% isn’t bad at all. So now you can see Combat calculators on several fan sites.

But did the formula become open for the general public? Nope, it is still a secret. Now it is a secret of Jagex AND fan sites

Well, I am going to let it out here. Below if the formula I use at Runewise and it is very accurate. I do encourage anyone who is building services for Runescape players to use it. After all, we are all making Runescape community better for the players, are we not?

Note though, that I am not an original author of this formula. I don’t know who is. I myself found this formula in a jungles of PHP developer forums in a closed and forgotten topic a year ago. I cleaned up the code and fixed a few errors, but other than that it is not my invention.

Enjoy!

English Version of the Formula

1. First we calculate the base combat.
If Prayer is an odd number then
base combat = (Defence*100 + Hitpoints*100 + (Prayer-1)*50)/400
If Prayer is an even number then
base combat = (Defence*100 + Hitpoints*100 + Prayer*50)/400

2. Next we calculate personal melee, mage and ranged combats

Melee Combat
Melee Combat = (Attack*130 + Strength*130)/400

Ranged Combat

If Ranged is an odd number then
Ranged Combat = (Ranged*195-65)/400
If Ranged is an even number then
Ranged Combat = (Ranged*195)/400

Mage Combat
If Magic is an odd number then
Mage Combat = (Mage*195-65)/400
If Magic is an even number then
Mage Combat = (Mage*195)/400

3. Pick the highest personal combat (Melee, Ranged or Mage)

You final Combat level is
Base Combat + Highest Personal Combat

PHP version

//calculate base combat
if ($prayer & 1) { $prayer = ($prayer - 1)*50; }
else { $prayer = $prayer*50; }
$base_combat = ($defence*100 + $hitpoints*100 + $prayer)/400;

//calculate personal class combats for melee, ranged and mage
if ($ranged & 1){ $ranged = $ranged*195-65; }
else { $ranged = $ranged*195; }

if ($magic & 1){ $magic = $magic*195-65; }
else { $magic = $magic*195; }

$melee_combat = ($attack*130 + $strength*130)/400;
$range_combat = $ranged/400;
$mage_combat = $magic/400;

//calculate final class combat (get max personal combat)
if ($melee_combat >= $range_combat & $melee_combat >= $mage_combat) {
$class_combat = $melee_combat;
}
elseif ($range_combat >= $melee_combat & $range_combat >= $mage_combat) {
$class_combat = $range_combat;
}
else $class_combat = $mage_combat;

//finalize combat level
$combat_level = $class_combat + $base_combat;

Posted by vrunewise (owner of Runewise)


Did You Enjoy this Post? Subscribe to Runescape Haven for Free Today!


1 Star2 Stars3 Stars4 Stars5 Stars (9 votes, average: 3.56 out of 5)
Loading ... Loading ...
2,277 Views



4 Responses to “Mystery of the Combat Formula”

    Rctycoon Fan Says:

    I am a Crewbie at Tip.It, the first RuneScape fansite, and their formula is 100% accurate…

    vrunewise Says:

    Hi! Thank you for the comment. I am sure that Tip.it formula is great, but unless it is given to Tip.it by Jagex, I don’t think, it can be claimed as 100%. And as far as I understand the formula was deducted by Tip.it crew. A simple test: type all 1 in the calculator and you will get combat 3 which is theoretically wrong :-) The problem is that in reality Hitpoints can’t be 1 - you get 10 at the start, that’s why combat starts from 3, but Tip.it calculator allows to enter 1 into Hitpoints and therefore you get an error right there. Again, I am not saying the calculator is bad (it is good!), I am just making a point that it is not 100%. From practical stand point it does not really matter though.

    Zach6688 Says:

    The tip.it formula is 100% correct. The fact that is displays combat level 3 if you enter in all 1 isn’t an error. It’s impossible to be lower than level 3 in runescape, so the calculator is designed to display a minimum of that level. I’m not saying your formula is wrong, but there are other 100% correct formulas out there.

    MTD Says:

    Tip.it’s formula is not 100% accurate, that’s a lie. Noone has the 100% accurate formula, so quit saying Tip.it does. The only way to get it would be to hack runescape servers, which is like impossible…

    The formula posted here is created by MaxWaterman, a forum mod on the RuneScape forums. His formula is the most accurate in existence (except of course Jagex’ own formula). Don’t believe anyone who claims that their formula is better. Either they aren’t, or they’re just blatant copies of Max’s formula.

    Have a look here: http://forum.runescape.com/forums.ws?22,23,466,33330028

    “It’s impossible to be lower than level 3 in runescape”.

    No it isn’t. Jagex mods can be lvl 1 by setting their hitpoints to 1. Also, there have been reports of a player who has kept an account from the early days of RSC, where users started with 1 hitpoints. This player is also 1 combat.

Comments

 
 
Join the RS Haven Newsletter Today!

Email Address:
 
Categories:

Last 10 Posts:

Archives:

Blogroll:

Meta:


 
 
 
Related Articles
Most Popular Articles
Top Rated Articles
Wild Removal really Needed? (5)
Runescape Keeps on Keeping On (5)
Has The New Trading Rules Ruined Team Monster Hunting? (5)
Decline in Runescape Money and Gold Industry (5)
Protecting Your Runescape Account from Hackers (4.88)
Q & A with Andrew Gower on Runescape Success (4.87)
How to manage your Miscellania Kingdom effectively (4.78)
Get Paid to Play Mechscape and be a Professional Gamer (4.77)
What is so good about Hunter skill? (4.76)
Was it worth it? (4.7)
Copyright Runescape Haven © 2007. All Rights Reserved.
Runescape is a Trademark of Jagex © 2000 - Runescape.com
Runescape Demoniknights Top 100 RuneCrypt WizzOnline Extreme Gamerz Z-100 Topsite Rune County Topsites RuneScape topsite RuneScape Top 200 Runetower Topsite