Welcome to the RuneGlory Wiki, where we do our best to make your life easier!

You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).

Difference between revisions of "Main page/Test Cypher3"

From RuneGlory
Jump to: navigation, search
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p id="top_of_page"></p>
 
Welcome to the Etherumps Wiki. The pages here are comprised by the members of the [[Main_page/Teams/Wiki_team | Wiki Team]], who were carefully selected based on their knowledge and dedication in order to assist you with any queries that you may have on Etherumps. There is a multitude of information regarding all there is to know about Etherumps. Use the links below in order to find the page you are looking for.
 
  
We thank you for visiting our wiki and hope we can assist you in one way or another. In case you encounter any issues in the pages or would like to leave a suggestion, please contact a member of the Wiki Team or make a thread [https://forum.etherumps.com/forum-91.html here]. For further information about how to contribute, [https://wiki.etherumps.com/Main_page/How_to_contribute click here].
+
Test page from Cypher to make the build-in XP Calculator
  
<!-- The table of contents must be manually updated, it's NOT DYNAMIC -->
 
  
1. [https://wiki.etherumps.com/Main_page/Test_Cypher3#news_update News & game updates]<br>
+
<html>
2. [https://wiki.etherumps.com/Main_page/Test_Cypher3#skill_guides Skill guides]<br>
+
<head>
3. [https://wiki.etherumps.com/Main_page/Test_Cypher3#bestiary Bestiary: Monsters, drops and pets]<br>
+
<style>
4. [https://wiki.etherumps.com/Main_page/Test_Cypher3#minigames Minigames]<br>
+
table, th, td {
5. [https://wiki.etherumps.com/Main_page/Test_Cypher3#team_support_forum Team, support & forum guides]<br>
+
    border: 1px solid black;
6. [https://wiki.etherumps.com/Main_page/Test_Cypher3#general_guides General guides]
+
}
  
----
+
select {
 +
  color: white;
 +
  width: 100%;
 +
}
  
{| class="wikitable" cellpadding="10" id="news_update"
+
</style>
!style="height:25px; width:800px; colspan="2"|News & Game updates
+
</head>
|- 
+
<body>
!style="height:25px; width:400px; | News & announcements
 
!style="height:25px; width:400px; | Game & website development updates
 
|-
 
| <b>latest updates</b> <br> * [https://forum.etherumps.com/forum-20.html Staff changes ] <br> * [https://forum.etherumps.com/forum-105.html Updates] <br> * [https://forum.etherumps.com/forum-16.html Announcements] <br>
 
| <b>latest updates</b> <br> * [https://forum.etherumps.com/forum-100.html Game Updates] <br> *  [https://forum.etherumps.com/forum-101.html Website updates]  <br>
 
|-
 
|}
 
{| class="wikitable" cellpadding="10" id="skill_guides"
 
!colspan="3"|Skilling guides
 
|-
 
!style="height:25px; width:125px; text-align:left;" |Regular mode
 
|style="vertical-align:top; text-align: center;" rowspan="3" | <br> <br> <br> https://i.imgur.com/imlMyDm.png
 
!style="height:25px; width:125px; text-align:left;" |Ironman/HCIM mode
 
|- style="vertical-align:top;"
 
| style="text-align:right;" |https://www.etherumps.com/assets/images/skills/16.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Agility Agility] <br> https://www.etherumps.com/assets/images/skills/0.png[https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Attack Attack] <br> https://www.etherumps.com/assets/images/skills/7.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Cooking Cooking] <br> https://www.etherumps.com/assets/images/skills/12.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Crafting Crafting]  <br> https://www.etherumps.com/assets/images/skills/1.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Defence Defence] <br> https://www.etherumps.com/assets/images/skills/19.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Farming Farming]  <br> https://www.etherumps.com/assets/images/skills/11.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Firemaking Firemaking] <br> https://www.etherumps.com/assets/images/skills/10.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Fishing Fishing]  <br> https://www.etherumps.com/assets/images/skills/9.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Fletching Fletching] <br> https://www.etherumps.com/assets/images/skills/15.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Herblore Herblore] <br> https://www.etherumps.com/assets/images/skills/3.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Hitpoints Hitpoints] <br> https://www.etherumps.com/assets/images/skills/6.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Magic Magic] <br> https://www.etherumps.com/assets/images/skills/14.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Mining Mining] <br> https://www.etherumps.com/assets/images/skills/5.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Prayer Prayer] <br> https://www.etherumps.com/assets/images/skills/4.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Ranged Ranged] <br> https://www.etherumps.com/assets/images/skills/20.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Runecrafting Runecrafting] <br> https://www.etherumps.com/assets/images/skills/18.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Slayer Slayer] <br> https://www.etherumps.com/assets/images/skills/13.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Smithing Smithing] <br> https://www.etherumps.com/assets/images/skills/2.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Strength Strength] <br> https://www.etherumps.com/assets/images/skills/23.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Summoning Summoning] <br> https://www.etherumps.com/assets/images/skills/17.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Thieving Thieving] <br> https://www.etherumps.com/assets/images/skills/8.png [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Woodcutting Woodcutting]
 
|[https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Agility Agility] https://www.etherumps.com/assets/images/skills/16.png <br> [https://wiki.etherumps.com/Main_page/Guides/Skill_guides/Attack Attack] https://www.etherumps.com/assets/images/skills/0.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Cooking Cooking] https://www.etherumps.com/assets/images/skills/7.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Crafting Crafting] https://www.etherumps.com/assets/images/skills/12.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Defence Defence] https://www.etherumps.com/assets/images/skills/1.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Farming Farming] https://www.etherumps.com/assets/images/skills/19.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Firemaking Firemaking] https://www.etherumps.com/assets/images/skills/11.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Fishing Fishing] https://www.etherumps.com/assets/images/skills/10.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Fletching Fletching] https://www.etherumps.com/assets/images/skills/9.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Herblore Herblore] https://www.etherumps.com/assets/images/skills/15.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Hitpoints Hitpoints] https://www.etherumps.com/assets/images/skills/3.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Magic Magic] https://www.etherumps.com/assets/images/skills/6.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Mining Mining] https://www.etherumps.com/assets/images/skills/14.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Prayer Prayer] https://www.etherumps.com/assets/images/skills/5.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Ranged Ranged] https://www.etherumps.com/assets/images/skills/4.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Runecrafting Runecrafting] https://www.etherumps.com/assets/images/skills/20.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Slayer Slayer] https://www.etherumps.com/assets/images/skills/18.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Smithing Smithing] https://www.etherumps.com/assets/images/skills/13.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Strength Strength] https://www.etherumps.com/assets/images/skills/2.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Summoning Summoning] https://www.etherumps.com/assets/images/skills/23.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Thieving Thieving] https://www.etherumps.com/assets/images/skills/17.png <br> [https://wiki.etherumps.com/Main_page/Guides/Ironman_%26_Hardcore/Skilling_Guides/_Woodcutting Woodcutting] https://www.etherumps.com/assets/images/skills/8.png
 
|-
 
!style="height:25px; width:125px; text-align:left;" |Regular mode
 
!style="height:25px; width:125px; text-align:left;" |Ironman/HCIM mode
 
|-
 
|}
 
  
{| class="wikitable" cellpadding="10" id="bestiary"
+
<h2 style="color:orange">
!style="height:25px; width:800px; colspan="2"|Bestiary
+
Test Firemaking Tables:
|- style="vertical-align:top;"
+
</h2>
|style="width:300px; |<ul id="index"><li>
 
<div class="img">https://i.imgur.com/kwdDzfa.gif</div>
 
<div>
 
<div class="link">[[Main_page/Guides/Bestiary/Boss_list]]</div>
 
</div>
 
<li>
 
<div class="img">http://i.imgur.com/3LNB5xe.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/Bestiary/Boss_pets]]</div>
 
</div>
 
<li>
 
<div class="img">https://i.imgur.com/GBIXXte.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/Bestiary/Chromatic_dragon_eggs]]</div>
 
</div>
 
<li>
 
<div class="img">http://i.imgur.com/MOaI6Js.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/Bestiary/Monsters_list]]</div>
 
</div>
 
</li>
 
</ul>
 
  
|style="width:500px; |http://imgur.com/4iHnfS2.png
+
<table width ="100%">
|-
+
  <tr>
|}
+
    <th>Your character</td>
 +
    <td> <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">&nbsp;
 +
    <input type="text" id="playername" name="players-name" placeholder="Your characters name" oninput="myFunction()"> &nbsp;<img id="firemaking" src="https://imgur.com/baIMjWJ.gif">
 +
<tr>
 +
</td>
 +
    <th>Your firemaking XP</td>
 +
    <td> <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">&nbsp;
 +
    <input type="text" id="curxp" name="skill-xp" onkeyup="func()" maxlength="9" placeholder="Your XP"> &nbsp;<img id="firemaking" src="https://imgur.com/baIMjWJ.gif">
 +
</td>
 +
<tr>
 +
    <th>Target XP</td>
 +
    <td> <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">&nbsp;
 +
    <input type="text" id="tarxp" name="skill-xp" maxlength="9" value="200000000"> &nbsp; <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">
 +
</td>
 +
<tr>
 +
    <th>Use knowledge totem</td>
 +
    <td>
 +
    <input type="radio" name="radiodonor" value="donor0" checked> No totem
 +
    <input type="radio" name="radiodonor" value="donor1"> <img id="next" src="https://i.imgur.com/Ugz3obm.png"> Regular Donator
 +
    <input type="radio" name="radiodonor" value="donor2"> <img id="next" src="https://i.imgur.com/Pjnz1Wh.png"> Super Donator
 +
    <input type="radio" name="radiodonor" value="donor3"> <img id="next" src="https://i.imgur.com/qHYfynX.png"> Extreme Donator
 +
</td>
 +
<tr>
 +
    <th>Bonus days</td>
 +
    <td>
 +
    <input type="radio" name="bonusdays" value="bonusday0" checked> No bonus days
 +
    <input type="radio" name="bonusdays" value="bonusday1"> Bonus days (1st-5th)
 +
</td>
 +
</table>
  
{| class="wikitable" cellpadding="10" id="minigames"
+
<script>
!style="height:25px; width:800px; colspan="2"|Minigames
 
|- style="vertical-align:top;"
 
|style="width:500px; |http://imgur.com/LLfNSaS.png
 
|style="width:250px; |* [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Barrows Barrows] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Bounty_hunter Bounty hunter] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Castle_wars Castle wars] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Clan_wars Clan wars] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Dicing Dicing] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Duel_arena Duel arena] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Shooting_stars Shooting stars] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/TzHaar_fight_cave TzHaar fight cave] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/TzHaar_fight_pit TzHaar fight pit] <br> * [https://wiki.etherumps.com/Main_page/Guides/Minigame_guides/Weapon_game Weapon game]
 
|-
 
|}
 
  
{| class="wikitable" cellpadding="10" id="team_support_forum"
+
function func() {
!colspan="3"|Team, support & forum guides
+
  if (document.getElementById("curxp").value > 200000000) {
|-  style="width:100%;
+
    //alert("reached max limit");
!style="height:25px; width:300px; | Our teams
+
    document.getElementById("curxp").value = "Invalid amount silly!";
!style="height:25px; width:300px; | Support guides
+
  }
!style="height:25px; width:300px; | Forum guides
+
}
|-  style="vertical-align:top;"
+
document.getElementById("playername").oninput = function() {FunctionURLencode()};
|* [https://wiki.etherumps.com/Main_page/Teams/Event_team Event team] <br> * [https://wiki.etherumps.com/Main_page/Teams/Staff_team Staff team] <br> * [https://wiki.etherumps.com/Main_page/Teams/Wiki_team Wiki team] <br> * [https://wiki.etherumps.com/Main_page/Teams/Official_Middleman_Team Middleman team]
 
|* [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Changing_passwords Changing your password] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Donating Donating] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Frequently_asked_questions F.A.Q.] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Getting_help Getting help] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Making_a_suggestion Making a suggestion] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Recovering_a_lost_account Recovering a lost account] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Reporting_a_bug Reporting a bug] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Reporting_a_player Reporting a player] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Securing_your_account Securing your account] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Submitting_an_appeal Submitting an appeal] <br> * [https://wiki.etherumps.com/Main_page/Guides/Support_guides/Voting Voting]
 
|* [https://wiki.etherumps.com/Main_page/Guides/Forum_guides/Changing_your_username Changing your username]<br> * [https://wiki.etherumps.com/Main_page/Guides/Forum_guides/Editing_your_profile Editing your profile] <br> * [https://wiki.etherumps.com/Main_page/Guides/Forum_guides/Forum_ranks Forum ranks] <br> * [https://wiki.etherumps.com/Main_page/Guides/Forum_guides/Forum_registration Forum registration] <br> * [https://wiki.etherumps.com/Main_page/Guides/Forum_guides/Setting_a_custom_usertitle Setting a custom usertitle] <br> * [https://wiki.etherumps.com/Main_page/Guides/Forum_guides/Using_the_shoutbox Using the shoutbox]
 
|-
 
|}
 
  
{| class="wikitable" cellpadding="10" id="general_guides"
+
function FunctionURLencode(){
!style="height:25px; width:800px; colspan="2"|General guides
 
|-
 
|- style="vertical-align:top;"
 
|style="width:400px; |<b>Most visited guides</b><ul id="index"><li>
 
<div class="img">https://i.imgur.com/WYsy22v.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/General_guides/Beginner%27s_guide]]</div>
 
</div>
 
  
<li>
+
var url = "https://www.etherumps.com/highscores/user/";
<div class="img">https://i.imgur.com/hTSoUyM.png</div>
+
var lasturl = "/1";
<div>
+
var playername = document.getElementById("playername").value;
<div class="link">[[Main_page/Guides/General_guides/Clue_Scrolls]]</div>
 
</div>
 
</ul>
 
----
 
<b>In-game points</b>
 
<ul id="index"><li>
 
<div class="img">https://imgur.com/xUWUpQf.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/General_guides/Participation_points]]</div>
 
</div>
 
  
<li>
+
var MadeUrl = [url + playername + lasturl]
<div class="img">https://imgur.com/4Q6WygC.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/General_guides/Premium_points]]</div>
 
</div>
 
<li>
 
  
<div class="img">https://imgur.com/O23vZVu.png</div>
+
    var uri = MadeUrl;
<div>
+
    var res = encodeURI(uri);
<div class="link">[[Main_page/Guides/General_guides/Skilling_points]]</div>
+
    document.getElementById("urlencoded").innerHTML = res;
</div>
 
<li>
 
<div class="img">https://i.imgur.com/hjEHNkK.png</div>
 
<div>
 
<div class="link">[[Main_page/Guides/General_guides/Voting_points]]</div>
 
</div>
 
</li>
 
</ul>
 
|style="width:400px; |<b>Other guides</b> <br><br>* [https://wiki.etherumps.com/Main_page/Guides/General_guides/Areas Areas] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Bank_options Bank options] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Clans Clans] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Coins_lottery Coins lottery] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Combat_Equipment_Effects Combat equipment effects] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Commands Commands] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Crystal_Keys Crystal Keys] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Donator_benefits Donator benefits] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Emoticons_and_chat_effects Emoticons and chat effects] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Familiars Familiars] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Items Items] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Max_setups Max setups] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Money_making Money making] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Official_middlemen Official middlemen] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Ornament_kits Ornament kits] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Player_killing_locations Player killing locations] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Prices Prices] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Grim_Reaper Grim reaper] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Sir_Vant_Training_Area Sir Vant's training area] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Spellbooks_and_prayer_curses Spellbooks & prayer curses] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Tasks Tasks] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Usertitles Usertitles] <br> * [https://wiki.etherumps.com/Main_page/Guides/General_guides/Yell_customization Yell customization]
 
|-
 
|}
 
  
----
+
}
<div>
+
 
<p>[https://wiki.etherumps.com/Main_page/Test_Cypher3#top_of_page Go to top of page]</p>
+
function Get(urlencoded){
</div>
+
    var Httpreq = new XMLHttpRequest(); // a new request
 +
    Httpreq.open("GET",yourUrl,false);
 +
    Httpreq.send(null);
 +
    return Httpreq.responseText; 
 +
 
 +
var json_obj = JSON.parse(Get(urlencoded));
 +
//console.log(json_obj.11);       
 +
}
 +
 
 +
 
 +
// ***** Getting current XP & Target Xp *****
 +
document.getElementById("curxp").oninput = function() {myFunction()};
 +
document.getElementById("tarxp").oninput = function() {myFunction()};
 +
 
 +
// ***** Fixed variables for XP ets *****
 +
const regularLogXp = 1781;
 +
const oakLogXp = 2250;
 +
const willowLogXp = 3076;
 +
const mapleLogXp = 4125;
 +
const yewLogXp = 5000;
 +
const magicLogXp = 6000;
 +
 
 +
const regularLogCoin = 375;
 +
const oakLogCoin = 375;
 +
const willowLogCoin = 375;
 +
const mapleLogCoin = 375;
 +
const yewLogCoin = 375;
 +
const magicLogCoin = 375;
 +
 
 +
// ***** Start of function to calculate everything *****
 +
function myFunction() {
 +
 
 +
var x = document.getElementById("curxp").value;
 +
var y = document.getElementById("tarxp").value;
 +
 
 +
 +
// ***** Calculate XP *****
 +
    document.getElementById("magicr").innerHTML = Math.ceil((y - x)/magicLogXp);
 +
    document.getElementById("yewr").innerHTML = Math.ceil((y - x)/yewLogXp);
 +
    document.getElementById("mapler").innerHTML = Math.ceil((y - x)/mapleLogXp);
 +
    document.getElementById("willowr").innerHTML = Math.ceil((y - x)/willowLogXp);
 +
    document.getElementById("oakr").innerHTML = Math.ceil((y - x)/oakLogXp);
 +
    document.getElementById("reglogr").innerHTML = Math.ceil((y - x)/regularLogXp);
 +
 
 +
// ***** Calculate XP required *****
 +
    document.getElementById("xpneeded").innerHTML = (y - x);
 +
 
 +
// ***** Calculate skillpoints obtained *****
 +
    document.getElementById("spobtained").innerHTML = Math.floor((y - x)/500000)*3;
 +
 
 +
// ***** Calculate coins obtained *****
 +
    document.getElementById("coinsmadereglog").innerHTML = (Math.ceil((y - x)/regularLogXp))*regularLogCoin;
 +
    document.getElementById("coinsmadeoak").innerHTML = (Math.ceil((y - x)/oakLogXp))* oakLogCoin;
 +
    document.getElementById("coinsmadewillow").innerHTML = (Math.ceil((y - x)/willowLogXp))* willowLogCoin;
 +
    document.getElementById("coinsmademaple").innerHTML = (Math.ceil((y - x)/mapleLogXp))* mapleLogCoin;
 +
    document.getElementById("coinsmadeyew").innerHTML = (Math.ceil((y - x)/yewLogXp))* yewLogCoin;
 +
    document.getElementById("coinsmademagic").innerHTML = (Math.ceil((y - x)/magicLogXp))* magicLogCoin;
 +
 
 +
// ***** Calculate amount of brawlers required *****
 +
    document.getElementById("magicBrawlers").innerHTML = Math.ceil(((y - x)/magicLogXp)/500);
 +
    document.getElementById("yewBrawlers").innerHTML = Math.ceil(((y - x)/yewLogXp)/500);
 +
    document.getElementById("mapleBrawlers").innerHTML = Math.ceil(((y - x)/mapleLogXp)/500);
 +
    document.getElementById("willowBrawlers").innerHTML = Math.ceil(((y - x)/willowLogXp)/500);
 +
    document.getElementById("oakBrawlers").innerHTML = Math.ceil(((y - x)/oakLogXp)/500);
 +
    document.getElementById("reglogBrawlers").innerHTML = Math.ceil(((y - x)/regularLogXp)/500);
 +
 
 +
 
 +
// ***** Calculate amount of skillpoints required *****
 +
    document.getElementById("magicSkillpoint").innerHTML = Math.ceil(((y - x)/magicLogXp)/500)*50;
 +
    document.getElementById("yewSkillpoint").innerHTML = Math.ceil(((y - x)/yewLogXp)/500)*50;
 +
    document.getElementById("mapleSkillpoint").innerHTML = Math.ceil(((y - x)/mapleLogXp)/500)*50;
 +
    document.getElementById("willowSkillpoint").innerHTML = Math.ceil(((y - x)/willowLogXp)/500)*50;
 +
    document.getElementById("oakSkillpoint").innerHTML = Math.ceil(((y - x)/oakLogXp)/500)*50;
 +
    document.getElementById("reglogSkillpoint").innerHTML = Math.ceil(((y - x)/regularLogXp)/500)*50;
 +
 
 +
// ***** Calculate inventories *****
 +
    document.getElementById("magicInv").innerHTML = Math.ceil(((y - x)/magicLogXp)/27);
 +
    document.getElementById("yewInv").innerHTML = Math.ceil(((y - x)/yewLogXp)/27);
 +
    document.getElementById("mapleInv").innerHTML = Math.ceil(((y - x)/mapleLogXp)/27);
 +
    document.getElementById("willowInv").innerHTML = Math.ceil(((y - x)/willowLogXp)/27);
 +
    document.getElementById("oakInv").innerHTML = Math.ceil(((y - x)/oakLogXp)/27);
 +
    document.getElementById("reglogInv").innerHTML = Math.ceil(((y - x)/regularLogXp)/27);
 +
 
 +
}
 +
</script>
 +
<p id="urlencoded"></p>
 +
Experience needed: <span id="xpneeded"> </span><br>
 +
Skilling points you'll obtain: <span id="spobtained"> </span><br>
 +
<table width="100%">
 +
  <tr>
 +
    <th> Level </td>
 +
    <th> Name </td>
 +
    <th> # required </td>
 +
    <th> Coins made </td>
 +
    <th> # of brawlers </td>
 +
    <th> Skillpoint cost </td>
 +
    <th> # of inventories </td>
 +
  </tr>
 +
  <tr>
 +
    <td> 1 </td>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/V5hKi9L.png">  Regular log </td>
 +
    <td id="reglogr"> </td>
 +
    <td id="coinsmadereglog"> </td>
 +
    <td id="reglogBrawlers"> </td>
 +
    <td id="reglogSkillpoint"> </td>
 +
    <td id="reglogInv"> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> 15 </td>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/3x8RkX7.png">  Oak log </td>
 +
    <td id="oakr"> </td>
 +
    <td id="coinsmadeoak"> </td>
 +
    <td id="oakBrawlers"> </td>
 +
    <td id="oakSkillpoint"> </td>
 +
    <td id="oakInv"> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> 30 </td>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/mBqOisq.png">  Willow log </td>
 +
    <td id="willowr"> </td>
 +
    <td id="coinsmadewillow"> </td>
 +
    <td id="willowBrawlers"> </td>
 +
    <td id="willowSkillpoint"> </td>
 +
    <td id="willowInv"> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> 45 </td>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/hU5Yezt.png">  Maple log </td>
 +
    <td id="mapler"> </td>
 +
    <td id="coinsmademaple"> </td>
 +
    <td id="mapleBrawlers"> </td>
 +
    <td id="mapleSkillpoint"> </td>
 +
    <td id="mapleInv"> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> 60 </td>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/cdGjHSy.png">  Yew log </td>
 +
    <td id="yewr"> </td>
 +
    <td id="coinsmadeyew"> </td>
 +
    <td id="yewBrawlers"> </td>
 +
    <td id="yewSkillpoint"> </td>
 +
    <td id="yewInv"> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> 75 </td>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/H8nwdsU.png">  Magic log </td>
 +
    <td id="magicr"> </td>
 +
    <td id="coinsmademagic"> </td>
 +
    <td id="magicBrawlers"> </td>
 +
    <td id="magicSkillpoint"> </td>
 +
    <td id="magicInv"> </td>
 +
  </tr>
 +
</table>
 +
 
 +
 
 +
 
 +
</body>
 +
</html>

Latest revision as of 18:20, 16 February 2018

Test page from Cypher to make the build-in XP Calculator


Test Firemaking Tables:

Your character    
Your firemaking XP    
Target XP    
Use knowledge totem No totem Regular Donator Super Donator Extreme Donator
Bonus days No bonus days Bonus days (1st-5th)

Experience needed:
Skilling points you'll obtain:
Level Name # required Coins made # of brawlers Skillpoint cost # of inventories
1 Regular log
15 Oak log
30 Willow log
45 Maple log
60 Yew log
75 Magic log