Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

AoDude

AoDude

Posts: 1,694 Mithril Posts by user Forum Profile RuneMetrics Profile
Ok, you inspired me to have a bit of fun!

[code]function decode() { return String.fromCharCode(message[1], message[2], message[3], message[4], message[5], message[6], message[7]); } var message = []; for(i=0; i<8; i++) { message[i] = Math.round(-0.533333488*Math.pow(i, 6) + 12.72500372*Math.pow(i, 5) - 119.6250353*Math.pow(i, 4) + 561.9585003*Math.pow(i, 3) - 1375.842075*Math.pow(i, 2) + 1645.317147*i - 641.0002156); } var theAnswer = decode(); console.log(theAnswer);[/code]
AO
Deputy-Owner :
The Nexus CC

18-Jun-2016 05:18:57 - Last edited on 18-Jun-2016 13:24:13 by AoDude

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
^Very nice, quite clever. I had no idea what the message was going to be from reading the code :)

Reminds me of the time I pushed out an update notification in binary with a link to decode.


Hmmm...

I notice the code block (depending on what's inside it) messes with avatar code. Also google CDN isn't delivering some files for the code block either.

I don't want to ship that code with RS Linkify as it's not something that gets much use. I might host it myself I think. It's better on a known CDN because there is much higher chance the scripts will be cached, but this isn't good when its not working properly and out of my hands.

Damn that means I have to dig through loads of code, oh the joys of programming :)

18-Jun-2016 07:07:20 - Last edited on 18-Jun-2016 07:08:35 by Indecent Act

AoDude

AoDude

Posts: 1,694 Mithril Posts by user Forum Profile RuneMetrics Profile
Sorry, I forgot to add a noparse. If linkify could automatically add that with the code tag (like how your * switches to the other char) it would keep things all nice and fixed with ava codes. I am 99% sure it is because of the array brackets that it failed.
AO
Deputy-Owner :
The Nexus CC

18-Jun-2016 13:25:39

Body btw

Body btw

Posts: 19,488 Opal Posts by user Forum Profile RuneMetrics Profile
Indy, I love this avatar for you. I'm not sure I noticed it until now.

HTTP://puu.sh/pzTyN/48da256b9e.jpg

and nice badge AoDude, thank you for helping make Linkify even better :)
"Why are you posting threads, asking questions and making discussion???"


All I do anymore is fish - 2017

20-Jun-2016 22:45:39 - Last edited on 20-Jun-2016 22:50:27 by Body btw

Quick find code: 261-262-33-65181208 Back to Top