Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tip.It Combat Calculator Question

Featured Replies

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:

ea94cf83a87ec43cb246d541a6460137.png

 

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

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. :).

09144a99bb.png

  • Author

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?

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.

09144a99bb.png

  • Author

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?

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!

09144a99bb.png

  • Author

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

  • Author

got everything ready, if anyone could tell me what the old combat formula for tip.it's combat calc was i would appreciate it

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.

6Ij0n.jpg

In real life MMO you don't get 99 smithing by making endless bronze daggers.

  • Author

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 Robertjones6

The calculation that you have given is exactly the same as the one given here...

 

 

....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

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.25

However 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

safersbanner.png

Play Safe! smile.gif - Got useful information for the tip.it website? Post here!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.