Jump to content
Sal's RuneScape Forum
  • entries
  • comments
  • views

Bonus Xp Weekend Calculator

Sign in to follow this  
Neo Avatars



The Bonus XP Weekend Calculator


That was something fun to make yesterday evening. :D


When in-game yesterday, I noticed that a huge number of people had no idea how the multiplier over the Bonus XP Weekend will work and a large number of people who did understand it were having trouble with the numbers. These discussions made me interested in how the figures actually ended up cumulatively over time, so I started off by creating a 5000 row table in Excel with various numbers in, only to find that it couldn't do quite what I wanted.


The next step was to make a very basic calculator with the same functionality as the spreadsheet, but working as I wanted. This first version had an hour split into 100 segments, with decimals to indicate minutes. At this point, I decided that if I was going to make something basic for myself, it might as well be made slightly easier to use and available for everybody.


Next was adding a way to change the start time so that you don't have to be doing the same thing for the whole weekend. For this, I decided to split the hour and minutes into separate inputs to make it nicer to use - who knows what 47 minutes is as a decimal of an hour? (it's 0.783333333...)


I then changed the Task Length input to this Hour / Minutes format so that it was easier to do calculations with the two values. This meant that the multiplier would be calculated to the nearest minute rather than nearest 36 seconds. It was only today that I got round to reading the answers by Mod Fnord in the RSOF thread and realising that this is how it'll be calculated in-game, so go me! This also solved a problem that could crash the browser if you entered a really high value rather than decimal. :)


With the basic functionality sorted, I did some playing around with the values in the input boxes so that there's a default of '0' and it'll auto-clear when you click in it. It'll also clear any values that you enter which aren't numbers - you can't easily do calculations on 'gh' xp and I didn't see the point in making Roman Numerals work... maybe next time! I also made it possible to hit Enter to calculate the multiplier rather than having to click the button simply because I found myself attempting to do so while testing.


Next came the styling - making it look nice and ensuring various element fits the table cell that they're in. This took a couple of attempts and had to be 'redone' when I decided to add a title to the table that the calculator is in, but that's all part of the fun


With that done, I realised that it would be a lot more useful if it'd actually tell you how much xp you would get rather than simply provide the multiplier. A couple of minutes of copypasting and a small addition and that functionality was added.


Finally was writing the text to go above and below the calculator as well as a bit of final testing in various browsers with a range of values to make sure they were the same as what Excel gave.


The calculator itself took about an hour to make, with styling, testing and writing the instructions adding another hour. I'd say that's two hours well spent. :)

Sign in to follow this  


Recommended Comments

I'm going to presume you meant that the excel table you created had 5000 rows, not that you literally filled in 5000. :P

I understand hardly anything of what you just said, but the calculator's nice. :D

Share this comment

Link to comment

Ty everybody for the comments I've had about the Calculator - it makes me sure that it really was a good way to spend two hours. :wub:


I'm going to presume you meant that the excel table you created had 5000 rows, not that you literally filled in 5000. :P

I filled in two rows manually, then dragged it down 5000 rows... of course I didn't manually type that many. :cute:


I understand hardly anything of what you just said

This entry was written in dedication to all the Phoenix Riders out there who want to read about creating stuff even if it's waaaaaaaaay up there. :D


Gets me 6.2m summoning xp in 2 hours. :P

I've got ~800k xp worth of Charms in the bank, so that would mean level 81 if I either have two good weeks at ToG or I do a bit more Slaying to get those couple of extra Charms... this could also be a reason to turn my ~400 Super Sets into Extreme Sets in the hope that the colour will be changed soon. :P The latter depends on whether I want to spend ~7m on Herbs, or if I should stick with whatever Miscellania provides in the next fortnight.

Share this comment

Link to comment

Yahy! Now I dont have to drown in numbers trying to work it all out!! Thanks Knee-Oh! :D

Share this comment

Link to comment

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

Important Information

By using this site, you agree to our Guidelines and Privacy Policy.