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
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 | ||
− | + | ||
<html> | <html> | ||
Line 18: | Line 18: | ||
<body> | <body> | ||
− | <h2 style="color: | + | <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"> | ||
+ | <input type="text" id="playername" name="players-name" placeholder="Your characters name" oninput="FunctionURLencode()"> <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"> | ||
+ | <input type="text" id="curxp" name="skill-xp" placeholder="Your XP" oninput="myFunction()"> <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"> | ||
+ | <input type="text" id="tarxp" name="skill-xp" value="200000000" oninput="myFunction()"> <img id="firemaking" src="https://imgur.com/baIMjWJ.gif"> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td>Use knowledge totem</td> | ||
<td> | <td> | ||
− | <input type=" | + | <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> | |
− | < | + | <td>Bonus days</td> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </td> | ||
− | |||
− | |||
− | <td> | ||
<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> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </td | ||
− | |||
</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> | + | <td> Level </td> |
<td> Name </td> | <td> Name </td> | ||
− | <td> | + | <td> Amount </td> |
− | <td> | + | <td> Coins made </td> |
+ | <td> With Brawlers </td> | ||
+ | <td> With Totem </td> | ||
+ | <td> Brawerls & Totem </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <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> | + | <td id="reglogr"> </td> |
− | <td> | + | <td id="coinsmadereglog"> </td> |
+ | <td> </td> | ||
+ | <td> </td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <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> | + | <td id="oakr"> </td> |
− | <td> | + | <td id="coinsmadeoak"> </td> |
+ | <td> </td> | ||
+ | <td> </td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <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> | + | <td id="willowr"> </td> |
− | <td> | + | <td id="coinsmadewillow"> </td> |
+ | <td> </td> | ||
+ | <td> </td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <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> | + | <td id="mapler"> </td> |
− | <td> | + | <td id="coinsmademaple"> </td> |
+ | <td> </td> | ||
+ | <td> </td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <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> | + | <td id="yewr"> </td> |
− | <td> | + | <td id="coinsmadeyew"> </td> |
+ | <td> </td> | ||
+ | <td> </td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <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> | + | <td id="magicr"> </td> |
− | <td> | + | <td id="coinsmademagic"> </td> |
+ | <td> </td> | ||
+ | <td> </td> | ||
+ | <td> </td> | ||
</tr> | </tr> | ||
+ | </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) |
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 |