User talk:Ameobea10/archive 4

RE: Another AzBot task request
That depends on whether those items are included in the top 100 items in the Grand Exchange Database (see here). Air battlestaves and enchanted onyx bolts are not in the list. 17:05, May 27, 2010 (UTC)

RE: Parser Functions, Variables, Templates, oh my :{
Hmmm. Well, by |param, |result, |form I think you mean the javascript form for calculators? The only guide for that is here, since it was created by one of our users and isn't an official mediawiki thing. If you need extra help with that, let me know and I'll do my best to explain it.

Having a quick glance over some of your calculator templates, the main thing I've noticed is the use of #equal: and #eval: - which unless I'm mistaken aren't accepted parser functions. I believe you mean. Here's some links I've copypasta'd to a bunch of people, you might find them useful:


 * Meta's Magic Words - Useful stuff you may or may not already know
 * Meta's Parser Functions - Most of the double-braces-and-colon non-template stuff (e.g.   , 0 etc
 * Mediawiki's Parser Function extension - The ever-useful double-braces-hash-and-colon ones like, etc
 * Meta's Calculation - Explanation of all #expr: (and #ifexpr:) operators
 * Mediawiki's String Function extension - An expansion on parsers using double braces and hash designed for manipulating strings, e.g., , etc, less useful than standard parsers, but have their place
 * MediaWiki's Variables extension - Useful things to cache variables for later use

You might want to check RS:CALC (and its talk page) for more links and stuff. If you don't have a lot of time on the computer you may want to print out some of the links, or at least summarise it, they're excellent references.

Regarding the specific calculator of 'well-roundedness', how about something like this:
 * 1) Ask for the player's total level and experience (you could use Template:Hiscore and just ask for a name, but remember to provide manual override)
 * 2) Get the average level by total level/25
 * 3) Get the average experience by total experience/25
 * 4) Use Template:XP to Level to turn the average experience into its corresponding level (I'll call this the predicted level)
 * 5) Divide actual average level by predicted level and multiply by 100 to get a percentage.
 * 6) Alternatively (or as well), use Template:XP to convert the average level into its corresponding experience (taking an average of 81.44 as an example, I would do something like, which should give the predicted experience of 81.44 (exp of 81 plus 44% of the difference between 81 and 82 (which is 2,293,256.36 XP in case you wanted to know) - just replace 81.44 with your average level input)
 * 7) Then divide the actual average experience by the predicted experience and multiply by 100 to get a percentage - this may well be more accurate.

That's just an idea, you can follow it, adapt it, whatever.

I'm thinking of writing a short-to-medium-length guide to making a calculator, would you be interested in it?

Anyway, if you need any more help let me know  21:20, June 14, 2010 (UTC)


 * I think the problem is down to the use of XP to level - it should be XP to Level (notice the capitalised L; the lowercased l does something different). Otherwise looks good. Now to work out what the result actually means I'll start working on a calc guide.  15:41, June 17, 2010 (UTC)


 * I've started work on the guide here, take a look. Its not yet finished, and its turned out a lot longer than I thought it would. Oh well, if it helps then that's all that matters.
 * Also, just a heads up, Template:Hiscore is currently broken, so temporarily removing it from your calculator(s) may be a wise idea. 23:26, June 23, 2010 (UTC)