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 Cypher"

From RuneGlory
Jump to: navigation, search
Line 1: Line 1:
 
Test page from Cypher to make the build-in XP Calculator
 
Test page from Cypher to make the build-in XP Calculator
Styling will be done later ;-)
+
 
  
 
<html>
 
<html>
Line 18: Line 18:
 
<body>
 
<body>
  
<h2 style="color:black">
+
<h2 style="color:orange">
 
Test Firemaking Tables:
 
Test Firemaking Tables:
 
</h2>
 
</h2>
  
 +
<input type="hidden" id="reglog" value="1781">
 +
<input type="hidden" id="oak" value="2250">
 +
<input type="hidden" id="willow" value="3076">
 +
<input type="hidden" id="maple" value="4125">
 +
<input type="hidden" id="yew" value="5000">
 +
<input type="hidden" id="magic" value="6000">
 +
 +
<input type="hidden" id="coinreglog" value="375">
 +
<input type="hidden" id="coinoak" value="375">
 +
<input type="hidden" id="coinwillow" value="375">
 +
<input type="hidden" id="coinmaple" value="375">
 +
<input type="hidden" id="coinyew" value="375">
 +
<input type="hidden" id="coinmagic" value="375">
  
 
<table>
 
<table>
 +
  <tr>
 +
    <td>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="FunctionURLencode()"> &nbsp;<img id="firemaking" src="https://imgur.com/baIMjWJ.gif">
 +
</td>
 
   <tr>
 
   <tr>
 
     <td>Your firemaking XP</td>
 
     <td>Your firemaking XP</td>
 +
    <td> <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">&nbsp;
 +
    <input type="text" id="curxp" name="skill-xp" placeholder="Your XP" oninput="myFunction()"> &nbsp;<img id="firemaking" src="https://imgur.com/baIMjWJ.gif">
 +
</td>
 +
<tr>
 +
    <td>Target XP</td>
 +
    <td> <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">&nbsp;
 +
    <input type="text" id="tarxp" name="skill-xp" value="200000000" oninput="myFunction()"> &nbsp; <img id="firemaking" src="https://imgur.com/baIMjWJ.gif">
 +
</td>
 +
<tr>
 +
    <td>Use knowledge totem</td>
 
     <td>
 
     <td>
     <input type="text" id="fname" name="skill-xp" placeholder="Your XP..">
+
     <input type="radio" name="radiodonor" value="donor0" checked> No totem
</td>
+
     <input type="radio" name="radiodonor" value="donor1"> <img id="next" src="https://i.imgur.com/Ugz3obm.png"> Regular Donator
  </tr>
+
     <input type="radio" name="radiodonor" value="donor2"> <img id="next" src="https://i.imgur.com/Pjnz1Wh.png"> Super Donator
  <tr>
+
    <input type="radio" name="radiodonor" value="donor3"> <img id="next" src="https://i.imgur.com/qHYfynX.png"> Extreme Donator
    <td> Target lvl / XP</td>
+
  </td>
    <td>
+
<tr>
     <select id="selector-lvl-xp" name="selector-lvl-xp">
+
     <td>Bonus days</td>
      <option value="0" id="lvl-1">lvl 1 (0 xp)</option>
 
      <option value="" id="lvl-2">lvl 2 (83 xp)</option>
 
      <option value="" id="lvl-3">lvl 3 (174 xp)</option>
 
      <option value="" id="lvl-4">lvl 4 (276 xp)</option>
 
      <option value="" id="lvl-5">lvl 5 (388 xp)</option>
 
      <option value="" id="lvl-6">lvl 6 (512 xp)</option>
 
      <option value="" id="lvl-7">lvl 7 (650 xp)</option>
 
      <option value="" id="lvl-8">lvl 8 (801 xp)</option>
 
      <option value="" id="lvl-9">lvl 9 (969 xp)</option>
 
      <option value="" id="lvl-10">lvl 10 (1.154 xp)</option>
 
      <option value="" id="lvl-11">lvl 11 (1.358 xp)</option>
 
      <option value="" id="lvl-12">lvl 12 (1.584 xp)</option>
 
      <option value="" id="lvl-13">lvl 13 (1.833 xp)</option>      
 
      <option value="" id="lvl-14">lvl 14 (2.107 xp)</option>
 
      <option value="" id="lvl-15">lvl 15 (2.411 xp)</option>
 
      <option value="" id="lvl-16">lvl 16 (2.746 xp)</option>
 
      <option value="" id="lvl-17">lvl 17 (3.115 xp)</option>
 
      <option value="" id="lvl-18">lvl 18 (3.523 xp)</option>
 
      <option value="" id="lvl-19">lvl 19 (3.973 xp)</option>
 
      <option value="" id="lvl-20">lvl 20 (4.470 xp)</option>
 
      <option value="" id="lvl-21">lvl 21 (5.018 xp)</option>
 
      <option value="" id="lvl-22">lvl 22 (5.624 xp)</option>
 
      <option value="" id="lvl-23">lvl 23 (6.291 xp)</option>
 
      <option value="" id="lvl-24">lvl 24 (7.028 xp)</option>
 
      <option value="" id="lvl-25">lvl 25 (7.842 xp)</option>
 
      <option value="" id="lvl-26">lvl 26 (8.740 xp)</option>
 
      <option value="" id="lvl-27">lvl 27 (9.730 xp)</option>
 
      <option value="" id="lvl-28">lvl 28 (10.824 xp)</option>
 
      <option value="" id="lvl-29">lvl 29 (12.031 xp)</option>
 
      <option value="" id="lvl-30">lvl 30 (13.363 xp)</option>
 
      <option value="" id="lvl-31">lvl 31 (14.833 xp)</option>
 
      <option value="" id="lvl-32">lvl 32 (16.456 xp)</option>
 
      <option value="" id="lvl-33">lvl 33 (18.247 xp)</option>
 
      <option value="" id="lvl-34">lvl 34 (20.224 xp)</option>
 
      <option value="" id="lvl-35">lvl 35 (22.406 xp)</option>
 
      <option value="" id="lvl-36">lvl 36 (24.815 xp)</option>
 
      <option value="" id="lvl-37">lvl 37 (27.473 xp)</option>
 
      <option value="" id="lvl-38">lvl 38 (30.408 xp)</option>
 
      <option value="" id="lvl-39">lvl 39 (33.648 xp)</option>
 
      <option value="" id="lvl-40">lvl 40 (37.224 xp)</option>
 
      <option value="" id="lvl-41">lvl 41 (41.171 xp)</option>
 
      <option value="" id="lvl-42">lvl 42 (45.529 xp)</option>
 
      <option value="" id="lvl-43">lvl 43 (50.339 xp)</option>
 
      <option value="" id="lvl-44">lvl 44 (55.649 xp)</option>
 
      <option value="" id="lvl-45">lvl 45 (61.512 xp)</option>
 
      <option value="" id="lvl-46">lvl 46 (67.983 xp)</option>
 
      <option value="" id="lvl-47">lvl 47 (75.127 xp)</option>
 
      <option value="" id="lvl-48">lvl 48 (83.014 xp)</option>
 
      <option value="" id="lvl-49">lvl 49 (91.721 xp)</option>
 
      <option value="" id="lvl-50">lvl 50 (101.333 xp)</option>
 
      <option value="" id="lvl-51">lvl 51 (111.945 xp)</option>
 
      <option value="" id="lvl-52">lvl 52 (123.660 xp)</option>
 
      <option value="" id="lvl-53">lvl 53 (136.594 xp)</option>
 
      <option value="" id="lvl-54">lvl 54 (150.872 xp)</option>
 
      <option value="" id="lvl-55">lvl 55 (166.636 xp)</option>
 
      <option value="" id="lvl-56">lvl 56 (184.040 xp)</option>
 
      <option value="" id="lvl-57">lvl 57 (203.254 xp)</option>
 
      <option value="" id="lvl-58">lvl 58 (224.466 xp)</option>
 
      <option value="" id="lvl-59">lvl 59 (247.886 xp)</option>
 
      <option value="" id="lvl-60">lvl 60 (273.742 xp)</option>
 
      <option value="" id="lvl-61">lvl 61 (302.288 xp)</option>
 
      <option value="" id="lvl-62">lvl 62 (333.804 xp)</option>
 
      <option value="" id="lvl-63">lvl 63 (368.599 xp)</option>
 
      <option value="" id="lvl-64">lvl 64 (407.015 xp)</option>
 
      <option value="" id="lvl-65">lvl 65 (449.428 xp)</option>
 
      <option value="" id="lvl-66">lvl 66 (496.254 xp)</option>
 
      <option value="" id="lvl-67">lvl 67 (547.953 xp)</option>
 
      <option value="" id="lvl-68">lvl 68 (605.032 xp)</option>
 
      <option value="" id="lvl-69">lvl 69 (668.051 xp)</option>
 
      <option value="" id="lvl-70">lvl 70 (737.627 xp)</option>
 
      <option value="" id="lvl-71">lvl 71 (814.445 xp)</option>
 
      <option value="" id="lvl-72">lvl 72 (899.257 xp)</option>
 
      <option value="" id="lvl-73">lvl 73 (992.895 xp)</option>
 
      <option value="" id="lvl-74">lvl 74 (1.096.278 xp)</option>
 
      <option value="" id="lvl-75">lvl 75 (1.210.421 xp)</option>
 
      <option value="" id="lvl-76">lvl 76 (1.336.443 xp)</option>
 
      <option value="" id="lvl-77">lvl 77 (1.475.581 xp)</option>
 
      <option value="" id="lvl-78">lvl 78 (1.629.200 xp)</option>
 
      <option value="" id="lvl-79">lvl 79 (1.798.808 xp)</option>
 
      <option value="" id="lvl-80">lvl 80 (1.986.068 xp)</option>
 
      <option value="" id="lvl-81">lvl 81 (2.192.818 xp)</option>
 
      <option value="" id="lvl-82">lvl 82 (2.421.087 xp)</option>
 
      <option value="" id="lvl-83">lvl 83 (2.673.114 xp)</option>
 
      <option value="" id="lvl-84">lvl 84 (2.951.373 xp)</option>
 
      <option value="" id="lvl-85">lvl 85 (3.258.594 xp)</option>
 
      <option value="" id="lvl-86">lvl 86 (3.597.792 xp)</option>
 
      <option value="" id="lvl-87">lvl 87 (3.972.294 xp)</option>
 
      <option value="" id="lvl-88">lvl 88 (4.385.776 xp)</option>
 
      <option value="" id="lvl-89">lvl 89 (4.842.295 xp)</option>
 
      <option value="" id="lvl-90">lvl 90 (5.346.332 xp)</option>
 
      <option value="" id="lvl-91">lvl 91 (5.902.831 xp)</option>
 
      <option value="" id="lvl-92">lvl 92 (6.517.253 xp)</option>
 
      <option value="" id="lvl-93">lvl 93 (7.195.629 xp)</option>
 
      <option value="" id="lvl-94">lvl 94 (7.944.614 xp)</option>
 
      <option value="" id="lvl-95">lvl 95 (8.771.558 xp)</option>
 
      <option value="" id="lvl-96">lvl 96 (9.684.577 xp)</option>
 
      <option value="" id="lvl-97">lvl 97 (10.692.629 xp)</option>
 
      <option value="" id="lvl-98">lvl 98 (11.805.606 xp)</option>
 
      <option value="" id="lvl-99">lvl 99 (13.034.341 xp)</option>
 
      <option value="" id="lvl-99-50m">lvl 99 (50.000.000 xp)</option>
 
      <option value="" id="lvl-99-100m">lvl 99 (100.000.000 xp)</option>
 
      <option value="" id="lvl-99-150m">lvl 99 (150.000.000 xp)</option>
 
      <option value="" id="lvl-99-200m">lvl 99 (200.000.000 xp)</option>
 
      </select>
 
</td>
 
  </tr>
 
  <tr>
 
     <td> Gameplay mode</td>
 
 
     <td>  
 
     <td>  
    <select id="gamemode" name="gamemode">
+
    <input type="radio" name="bonusdays" value="bonusday0" checked> No bonus days
      <option value="mode-normal">Normal mode</option>
+
    <input type="radio" name="bonusdays" value="bonusday1"> Bonus days (1st-5th)
      <option value="mode-ironman">Ironman mode</option>
+
</td>
      <option value="mode-hcim">Hardcore ironman mode</option>
 
    </select>
 
  </div>
 
</div>
 
</td>
 
  </tr>
 
  <tr>
 
    <td>Use knowledge totem</td>
 
    <td>
 
<select>
 
  <option value="totem-no">No totem</option>
 
  <option value="totem-75">75% experience</option>
 
  <option value="totem-100">100% experience</option>
 
  <option value="totem-110">110% experience</option>
 
</select>
 
</td>
 
  </tr>
 
  <tr>
 
    <td>
 
<img id="next" src="http://i.imgur.com/7olgxI7.png">  Brawlers </td>
 
</td>
 
    <td>
 
<select>
 
  <option value="brawlers-no">No brawlers</option>
 
  <option value="brawlers-yes">Yes, use brawlers </option>
 
</select>
 
</td>
 
  </tr>
 
 
</table>
 
</table>
  
 +
<script>
 +
 +
var urlarray = ["https://www.etherumps.com/highscores/user/",playername,"/1"]
 +
 +
function FunctionURLencode(){
 +
 +
    var uri = MadeUrl;
 +
    var res = encodeURI(uri);
 +
    document.getElementById("urlencoded").innerHTML = res;
 +
 +
}
 +
 +
function myFunction() {
 +
 +
// Getting values of xps
 +
    var x = document.getElementById("curxp").value;
 +
    var y = document.getElementById("tarxp").value;
 +
    var magic = document.getElementById("magic").value;
 +
    var yew = document.getElementById("yew").value;
 +
    var maple = document.getElementById("maple").value;
 +
    var willow = document.getElementById("willow").value;
 +
    var oak = document.getElementById("oak").value;
 +
    var reglog = document.getElementById("reglog").value;
 +
 +
// Gettting values of coins made
 +
    var coinsmagic = document.getElementById("coinmagic").value;
 +
    var coinsyew = document.getElementById("coinyew").value;
 +
    var coinsmaple = document.getElementById("coinmaple").value;
 +
    var coinswillow = document.getElementById("coinwillow").value;
 +
    var coinsoak = document.getElementById("coinoak").value;
 +
    var coinsreglog = document.getElementById("coinreglog").value;
 +
 +
// Calculate XP 
 +
    document.getElementById("magicr").innerHTML = Math.ceil((y - x)/magic);
 +
    document.getElementById("yewr").innerHTML = Math.ceil((y - x)/yew);
 +
    document.getElementById("mapler").innerHTML = Math.ceil((y - x)/maple);
 +
    document.getElementById("willowr").innerHTML = Math.ceil((y - x)/willow);
 +
    document.getElementById("oakr").innerHTML = Math.ceil((y - x)/oak);
 +
    document.getElementById("reglogr").innerHTML = Math.ceil((y - x)/reglog);
 +
 +
    document.getElementById("xpneeded").innerHTML = (y - x);
 +
    document.getElementById("spobtained").innerHTML = Math.floor((y - x)/500000)*3;
 +
 +
    document.getElementById("coinsmadereglog").innerHTML = (Math.ceil((y - x)/reglog))*coinsreglog;
 +
    document.getElementById("coinsmadeoak").innerHTML = (Math.ceil((y - x)/oak))*coinsoak;
 +
    document.getElementById("coinsmadewillow").innerHTML = (Math.ceil((y - x)/reglog))*coinswillow;
 +
    document.getElementById("coinsmademaple").innerHTML = (Math.ceil((y - x)/maple))*coinsmaple;
 +
    document.getElementById("coinsmadeyew").innerHTML = (Math.ceil((y - x)/yew))*coinsyew;
 +
    document.getElementById("coinsmademagic").innerHTML = (Math.ceil((y - x)/magic))*coinsmagic;
 +
 +
}
 +
</script>
 +
 +
Experience needed: <span id="xpneeded"> </span><br>
 +
Skilling points you'll obtain: <span id="spobtained"> </span><br>
 
<table>
 
<table>
 
   <tr>
 
   <tr>
     <td>Amount required</td>
+
     <td> Level </td>
 
     <td> Name </td>
 
     <td> Name </td>
     <td> Level </td>
+
     <td> Amount </td>
     <td> XP </td>
+
     <td> Coins made </td>
 +
    <td> With Brawlers </td>
 +
    <td> With Totem </td>
 +
    <td> Brawerls & Totem </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </td>
+
     <td> 1 </td>
 
     <td>  
 
     <td>  
 
<img id="next" src="https://i.imgur.com/V5hKi9L.png">  Regular log </td>
 
<img id="next" src="https://i.imgur.com/V5hKi9L.png">  Regular log </td>
     <td> 1 </td>
+
    <td id="reglogr"> </td>
     <td> Dynamic input </td>
+
    <td id="coinsmadereglog"> </td>
 +
    <td> </td>
 +
     <td> </td>
 +
     <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </td>
+
     <td> 15 </td>
 
     <td>  
 
     <td>  
 
<img id="next" src="https://i.imgur.com/3x8RkX7.png">  Oak log </td>
 
<img id="next" src="https://i.imgur.com/3x8RkX7.png">  Oak log </td>
     <td> 15 </td>
+
    <td id="oakr"> </td>
     <td> Dynamic input </td>
+
    <td id="coinsmadeoak"> </td>
 +
    <td> </td>
 +
     <td> </td>
 +
     <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </td>
+
     <td> 30 </td>
 
     <td>  
 
     <td>  
 
<img id="next" src="https://i.imgur.com/mBqOisq.png">  Willow log </td>
 
<img id="next" src="https://i.imgur.com/mBqOisq.png">  Willow log </td>
     <td> 30 </td>
+
    <td id="willowr"> </td>
     <td> Dynamic input </td>
+
    <td id="coinsmadewillow"> </td>
 +
    <td> </td>
 +
     <td> </td>
 +
     <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </td>
+
     <td> 45 </td>
 
     <td>  
 
     <td>  
 
<img id="next" src="https://i.imgur.com/hU5Yezt.png">  Maple log </td>
 
<img id="next" src="https://i.imgur.com/hU5Yezt.png">  Maple log </td>
     <td> 45 </td>
+
    <td id="mapler"> </td>
     <td> Dynamic input </td>
+
    <td id="coinsmademaple"> </td>
 +
    <td> </td>
 +
     <td> </td>
 +
     <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </td>
+
     <td> 60 </td>
 
     <td>  
 
     <td>  
 
<img id="next" src="https://i.imgur.com/cdGjHSy.png">  Yew log </td>
 
<img id="next" src="https://i.imgur.com/cdGjHSy.png">  Yew log </td>
     <td> 60 </td>
+
    <td id="yewr"> </td>
     <td> Dynamic input </td>
+
    <td id="coinsmadeyew"> </td>
 +
    <td> </td>
 +
     <td> </td>
 +
     <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </td>
+
     <td> 75 </td>
 
     <td>  
 
     <td>  
 
<img id="next" src="https://i.imgur.com/H8nwdsU.png">  Magic log </td>
 
<img id="next" src="https://i.imgur.com/H8nwdsU.png">  Magic log </td>
     <td> 75 </td>
+
    <td id="magicr"> </td>
     <td> Dynamic input </td>
+
    <td id="coinsmademagic"> </td>
 +
    <td> </td>
 +
     <td> </td>
 +
     <td> </td>
 
   </tr>
 
   </tr>
 +
</table>
  
</table>
 
  
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 16:46, 25 January 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 Amount Coins made With Brawlers With Totem Brawerls & Totem
1 Regular log
15 Oak log
30 Willow log
45 Maple log
60 Yew log
75 Magic log