Leader Rob Posted November 23, 2012 Share Posted November 23, 2012 Hello, i am trying to create a combat calculator based on the old forum for my clan, to act as a clan entry calculator, i used the formula i acquired from the Runescape Wikia which is this one: but i have found that my calculator is out compared to Tip.it's by a few numbers after the decimal place, and i was wondering if i was using the right formua. here is the calculator for my clans website http://www.assentedorder.com/combat Link to comment Share on other sites More sharing options...
Stev Posted November 23, 2012 Share Posted November 23, 2012 Do you intentionally want the old 138 combat formula? With EoC the combat formula was changed incredibly (much much easier, however). You'll see a new combat calculator for Tip.It out in the next day or so. :). Link to comment Share on other sites More sharing options...
Leader Rob Posted November 24, 2012 Author Share Posted November 24, 2012 Do you intentionally want the old 138 combat formula? yes i do, its to maintain standards within my clan, what formula does tip.it use for the current calculator at this current time? Link to comment Share on other sites More sharing options...
Stev Posted November 24, 2012 Share Posted November 24, 2012 When the site returns it'll be the defence level + highest combat skill + two. As for the old formula, I really can't grab that for you at the moment because our tools are also temporarily down. :P. Link to comment Share on other sites More sharing options...
Leader Rob Posted November 24, 2012 Author Share Posted November 24, 2012 When the site returns it'll be the defence level + highest combat skill + two. As for the old formula, I really can't grab that for you at the moment because our tools are also temporarily down. :P. when the tools are back up, will you post it for me please? Link to comment Share on other sites More sharing options...
Stev Posted November 24, 2012 Share Posted November 24, 2012 I was asleep and by the time I had woken up they'd released my new one. I didn't get a chance to grab the old one. I know I have it in a script somewhere on my old HDD. If I come across it, I'll be sure to post it! Link to comment Share on other sites More sharing options...
Leader Rob Posted November 24, 2012 Author Share Posted November 24, 2012 I was asleep and by the time I had woken up they'd released my new one. I didn't get a chance to grab the old one. I know I have it in a script somewhere on my old HDD. If I come across it, I'll be sure to post it! cheers Link to comment Share on other sites More sharing options...
Leader Rob Posted November 25, 2012 Author Share Posted November 25, 2012 got everything ready, if anyone could tell me what the old combat formula for tip.it's combat calc was i would appreciate it Link to comment Share on other sites More sharing options...
Saradomin_Mage Posted November 26, 2012 Share Posted November 26, 2012 Though I don't have the exact formula used for our calculator, I believe the calculation you need is: 0.4875 * Ranged OR 0.4875 * Magic OR 0.325 * Strength + 0.325 * Attack (determined by the highest of 1.5 x ranged, 1.5 x magic, or Strength + Attack) + 0.25 * Defence + 0.25 * Constitution + 0.25 * (Summoning/2) + 0.25 * (Prayer/2) This is basically the formula you gave. However, note that when calculating combat levels from Summoning and Prayer, truncate any remainder after dividing by 2. E.g. 97 Summoning would count for 12 combat levels, not 12.125, and only 98 Summoning would count for 12.25 combat levels. 97 Summoning and 97 Prayer would add together to give only 24 combat levels, but 96 Summoning and 98 Prayer would give 24.25 combat levels. Hope this answers your query. In real life MMO you don't get 99 smithing by making endless bronze daggers. Link to comment Share on other sites More sharing options...
Leader Rob Posted November 27, 2012 Author Share Posted November 27, 2012 double post Link to comment Share on other sites More sharing options...
Leader Rob Posted November 27, 2012 Author Share Posted November 27, 2012 I have been getting help off htmlforums.com for this code thats being designed and i posted your reply and this is what the person helping me said Hi there Robertjones6The calculation that you have given is exactly the same as the one given here... http://www.htmlforums.com/showpost.p...88&postcount=5 ....when calculating combat levels from Summoning and Prayer, truncate any remainder after dividing by 2. 97 Summoning would count for 12 combat levels, not 12.125, and only 98 Summoning would count for 12.25 combat levels. 97 Summoning and 97 Prayer would add together to give only 24 combat levels, but 96 Summoning and 98 Prayer would give 24.25 combat levels What do you mean by truncate? Javascript has Math.floor(), Math.ceil() and Math.round(), and also toFixed() can specify th number of decimal places. Sorry, but I cannot see the mathematical pattern that would give.. 96/8=12 97/8=12 98/8=12.25 What would be the values of... 85/8 60/8 53/8 ...for example? Can you elucidate for me? can you shed any light into how i should reply Link to comment Share on other sites More sharing options...
Octarine Posted November 28, 2012 Share Posted November 28, 2012 Sorry, but I cannot see the mathematical pattern that would give.. 96/8=12 97/8=12 98/8=12.25 The part of the formula you're looking for is actually: Floor(Summon/2)/4, so Floor(98/2)/4 = 49/4 = 12.25However Floor(97/2) = Floor(48.5)/4 = 48/4 = 12 If you throw in I assume math.floor(Summon/2)/4 + math.floor(prayer/2)/4 in place of the existing summon and prayer terms it should fall out nicely Blog of DG, Bossing (mostly Glacors) and stuff - Runetrack Play Safe! - Got useful information for the tip.it website? Post here! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now