CTRL-V

Various forum games (like counting)
Post Reply
User avatar
Red Bracket
Retired Staff
Posts: 78
Joined: Thu Aug 11, 2022 7:18 am
Location: Varrock West Bank
Has thanked: 40 times
Been thanked: 23 times
Contact:

CTRL-V

Post by Red Bracket »

Pretty simple - You visited this thread, you MUST hit ctrl-v and paste whatever is on your clipboard.

I'll begin.

---

https://2009scape.org/site/rules/rules.html
User avatar
ryannathans
Staff
Posts: 115
Joined: Thu Aug 11, 2022 12:25 am
Location: ɐᴉlɐɹʇsn∀
Has thanked: 9 times
Been thanked: 13 times

Re: CTRL-V

Post by ryannathans »

User avatar
Red Bracket
Retired Staff
Posts: 78
Joined: Thu Aug 11, 2022 7:18 am
Location: Varrock West Bank
Has thanked: 40 times
Been thanked: 23 times
Contact:

Re: CTRL-V

Post by Red Bracket »

"cet"
"ism"
["kid","tag","pup","ail","tun","woo","erg","luz","brr","gay","sip","kay","per","val","mes","ohs","now","boa","cet","pal","bar","die","war","hay","eco","pub","lob","rue","fry","lit","rex","jan","cot","bid","ali","pay","col","gum","ger","row","won","dan","rum","fad","tut","sag","yip","sui","ark","has","zip","fez","own","ump","dis","ads","max","jaw","out","btu","ana","gap","cry","led","abe","box","ore","pig","fie","toy","fat","cal","lie","noh","sew","ono","tam","flu","mgm","ply","awe","pry","tit","tie","yet","too","tax","jim","san","pan","map","ski","ova","wed","non","wac","nut","why","bye","lye","oct","old","fin","feb","chi","sap","owl","log","tod","dot","bow","fob","for","joe","ivy","fan","age","fax","hip","jib","mel","hus","sob","ifs","tab","ara","dab","jag","jar","arm","lot","tom","sax","tex","yum","pei","wen","wry","ire","irk","far","mew","wit","doe","gas","rte","ian","pot","ask","wag","hag","amy","nag","ron","soy","gin","don","tug","fay","vic","boo","nam","ave","buy","sop","but","orb","fen","paw","his","sub","bob","yea","oft","inn","rod","yam","pew","web","hod","hun","gyp","wei","wis","rob","gad","pie","mon","dog","bib","rub","ere","dig","era","cat","fox","bee","mod","day","apr","vie","nev","jam","pam","new","aye","ani","and","ibm","yap","can","pyx","tar","kin","fog","hum","pip","cup","dye","lyx","jog","nun","par","wan","fey","bus","oak","bad","ats","set","qom","vat","eat","pus","rev","axe","ion","six","ila","lao","mom","mas","pro","few","opt","poe","art","ash","oar","cap","lop","may","shy","rid","bat","sum","rim","fee","bmw","sky","maj","hue","thy","ava","rap","den","fla","auk","cox","ibo","hey","saw","vim","sec","ltd","you","its","tat","dew","eva","tog","ram","let","see","zit","maw","nix","ate","gig","rep","owe","ind","hog","eve","sam","zoo","any","dow","cod","bed","vet","ham","sis","hex","via","fir","nod","mao","aug","mum","hoe","bah","hal","keg","hew","zed","tow","gog","ass","dem","who","bet","gos","son","ear","spy","kit","boy","due","sen","oaf","mix","hep","fur","ada","bin","nil","mia","ewe","hit","fix","sad","rib","eye","hop","haw","wax","mid","tad","ken","wad","rye","pap","bog","gut","ito","woe","our","ado","sin","mad","ray","hon","roy","dip","hen","iva","lug","asp","hui","yak","bay","poi","yep","bun","try","lad","elm","nat","wyo","gym","dug","toe","dee","wig","sly","rip","geo","cog","pas","zen","odd","nan","lay","pod","fit","hem","joy","bum","rio","yon","dec","leg","put","sue","dim","pet","yaw","nub","bit","bur","sid","sun","oil","red","doc","moe","caw","eel","dix","cub","end","gem","off","yew","hug","pop","tub","sgt","lid","pun","ton","sol","din","yup","jab","pea","bug","gag","mil","jig","hub","low","did","tin","get","gte","sox","lei","mig","fig","lon","use","ban","flo","nov","jut","bag","mir","sty","lap","two","ins","con","ant","net","tux","ode","stu","mug","cad","nap","gun","fop","tot","sow","sal","sic","ted","wot","del","imp","cob","way","ann","tan","mci","job","wet","ism","err","him","all","pad","hah","hie","aim"]
User avatar
Ceikry
Site Admin
Posts: 184
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 9 times
Been thanked: 11 times

Re: CTRL-V

Post by Ceikry »

<canvas id="canvas" width="660" height="251">your canvas loads here</canvas>

<p>If the background doesn't load just submit again until it does.</p>
<br>
<p>If you don't want a background so you can edit in photoshop just delete the url.</p>
<br>

<input id="username" placeholder="username"></input>
<button id="submit">Submit</button>

<br>
<br>
Background
<input id="backgroundurl" placeholder="backgroundurl" value="https://i.imgur.com/ebzxEuF.jpeg"></input>
<br>
Font
<input id="fonttext" placeholder="fonttext" value="25px Helvetica"></input>
<br>
Font color
<input id="fontcolor" placeholder="fontcolor" value="#ffff"></input>
<br>
Dropshadow Text?
<input type="checkbox" id="shadowCheckbox" checked></input>

<script>
function lookupAndGen(){
let username = document.getElementById("username").value
fetch('http://api.2009scape.org:3000/hiscores/ ... '+username)
.then((response) => response.json())
.then((data) => {
var canvas=document.getElementById("canvas");
var context=canvas.getContext('2d');
var bg=new Image();
var fg=new Image();
fg.crossOrigin="anonymous"
bg.crossOrigin="anonymous"

fg.onload=function(){
context.drawImage(bg,0,0,canvas.width,canvas.height);
context.drawImage(fg,0,0,canvas.width,canvas.height);
context.fillStyle = document.getElementById("fontcolor").value
if(document.getElementById("shadowCheckbox").checked){
context.shadowColor="black";
context.shadowBlur=7;
}


console.log(data.skills[0].static)
// Write Text
context.font = document.getElementById("fonttext").value;

// Skill indexes in JSON https://gist.github.com/downthecrop/e9e ... e484be56db


// Col 1
context.fillText(calcTotal(data), 60, 40);
context.fillText(data.skills[3].static, 60, 80);
context.fillText(data.skills[0].static, 60, 120);
context.fillText(data.skills[2].static, 60, 160);
context.fillText(data.skills[1].static, 60, 200);

// Col 2
context.fillText(data.skills[4].static, 170, 40);
context.fillText(data.skills[5].static, 170, 80);
context.fillText(data.skills[6].static, 170, 120);
context.fillText(data.skills[20].static, 170, 160);
context.fillText(data.skills[22].static, 170, 200);

// Col 3
context.fillText(data.skills[16].static, 270, 40);
context.fillText(data.skills[15].static, 270, 80);
context.fillText(data.skills[17].static, 270, 120);
context.fillText(data.skills[12].static, 270, 160);
context.fillText(data.skills[9].static, 270, 200);

// Col 4
context.fillText(data.skills[18].static, 370, 40);
context.fillText(data.skills[21].static, 370, 80);
context.fillText(data.skills[14].static, 370, 120);
context.fillText(data.skills[13].static, 370, 160);
context.fillText(data.skills[10].static, 370, 200);

// Col 5
context.fillText(data.skills[7].static, 470, 40);
context.fillText(data.skills[11].static, 470, 80);
context.fillText(data.skills[8].static, 470, 120);
context.fillText(data.skills[19].static, 470, 160);
context.fillText(data.skills[23].static, 470, 200);

// Username & Footer
context.fillText(username, 20, 240);
};
fg.src="https://i.imgur.com/E6a94ft.png";
if(document.getElementById("backgroundurl").value != "")
bg.src=document.getElementById("backgroundurl").value
else
bg.src="https://i.imgur.com/wJ621Mr.png"

});
}

function debugBase64(base64URL){
document.write('<iframe src="' + base64URL + '" frameborder="0" style="border:0; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%;" allowfullscreen></iframe>');
}
function calcTotal(data){
console.log(data)
let total = 0
for(let i = 0; i < data.skills.length; i++){
total += parseInt(data.skills.static)
}
return total
}

document.getElementById("submit").addEventListener("click",function(){
lookupAndGen()
})

</script>
Image
User avatar
Red Bracket
Retired Staff
Posts: 78
Joined: Thu Aug 11, 2022 7:18 am
Location: Varrock West Bank
Has thanked: 40 times
Been thanked: 23 times
Contact:

Re: CTRL-V

Post by Red Bracket »

bc1qeqdv6xaprqs6z9rzy2vx0csur5w2rf0jk996sh
SZUMASTER
Noob
Posts: 48
Joined: Fri Aug 12, 2022 12:49 am
Location: Gielin'ore
Has thanked: 31 times
Been thanked: 20 times

Re: CTRL-V

Post by SZUMASTER »

2.0E8
User avatar
Red Bracket
Retired Staff
Posts: 78
Joined: Thu Aug 11, 2022 7:18 am
Location: Varrock West Bank
Has thanked: 40 times
Been thanked: 23 times
Contact:

Re: CTRL-V

Post by Red Bracket »

Generally held nutritional arguments suggest individuals need fewer calories, less meat, less sugar and more grain to stay fit.
User avatar
ryannathans
Staff
Posts: 115
Joined: Thu Aug 11, 2022 12:25 am
Location: ɐᴉlɐɹʇsn∀
Has thanked: 9 times
Been thanked: 13 times

Re: CTRL-V

Post by ryannathans »

Code: Select all

Upcoming weather alerts detected for Sydney,AU:
        Wed, 07 Sep 2022 01:00:
                (!) feels_like = 9.86
        Wed, 07 Sep 2022 04:00:
                (!) feels_like = 8.83
        Wed, 07 Sep 2022 07:00:
                (!) feels_like = 9.49
        Sat, 10 Sep 2022 13:00:
                (!) humidity = 41
        Sun, 11 Sep 2022 10:00:
                (!) humidity = 43
        Sun, 11 Sep 2022 13:00:
                (!) humidity = 37
Post Reply