Just letting you all know that you now have access to a log viewer.
It makes reading logs easier.
No, they aren't saved anywhere.
It makes reading logs easier.
No, they aren't saved anywhere.
Cheese!> :O P (DBot)>+14 RP: skullspace(27) [No flags: -50%] [Solo Lanc: +10%] Streak: 4 SECTOR HOLD: People's Republic of Misanthropy(0) - skullspace SECTOR HOLD: Intergalactic Planetary, Inc.(1) - Sketch_hs HOLD BROKEN: People's Republic of Misanthropy - H.M.S. Stargazer Reward: 1 points T Aquatis> ded C 4:duel pasta <ER>> nvm rofl, I was wrong The next battle is just beginning . . . C 4:duel pasta <ER>> I looke dup * MODERATOR WARNING: I gargle penis -LF P (DBot)>+34 RP: H.M.S. Stargazer(35) [High rank cap] [Solo Lanc: +10%] Pappa> pfft Pappa> www.ilovecats.com
<!DOCTYPE HTML> <html> <head> <title>Continuum Log Viewer</title> <link rel="stylesheet" type="text/css" href="logviewer.css"> <script src="logviewer.js"></script> </head> <body> <div class="container"> <div class="container2"> <h1>Continuum Log Viewer</h1> <div class="container3"> <div> <textarea id="input" class="input"></textarea><br> <div class="options"> <h2>Choose your weapons</h2> <input type="checkbox" name="option" id="pub" checked="checked">Pub<br /> <input type="checkbox" name="option" id="team" checked="checked">Team<br /> <input type="checkbox" name="option" id="freq" checked="checked">Freq Messages<br /> <input type="checkbox" name="option" id="arena" checked="checked">Arena Messages<br /> <input type="checkbox" name="option" id="chat" checked="checked">Chat<br /> <input type="checkbox" name="option" id="warn" checked="checked">Warnings<br /> <input type="checkbox" name="option" id="pink" checked="checked">Pink<br /> <input type="checkbox" name="option" id="grey" checked="checked">Grey<br /> <input type="checkbox" name="option" id="priv" checked="checked">Priv<br /> <br /> <div class="buttonwrap"><button type="button" onclick="changed()">Update</button></div> </div> </div> <div id="output" class="output"></div> </div> </div> </div> <img src="cheese64.png" style="position:fixed; margin: 10px; bottom: 0; right: 0;"> </body> </html>
// Log Viewer JS // By Cheese // The Great Cheese function encode(str) { return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); } function makeline(messagestyle, txt) { var buf = ""; if (messagestyle == "freq") buf += "<div class='line'>" + "<font class='priv'>" + encode(txt.split(">")[0]) + ">" + "</font>" + "<font class='pub'>" + encode(txt.split(">")[1]) + "</font>" + "</div>"; else buf += "<div class='" + messagestyle + " line'>" + encode(txt) + "</div>"; return buf; } function parseline(txt, options) { if(!txt[0] || !txt[1]) return ""; if(txt[1] != " ") return ""; var messagetype; switch(txt[0]) { case " ": if(txt.search(">") == -1) { if (!options[3].checked) return ""; messagetype="arena"; } else { if (!options[0].checked) return ""; messagetype="pub"; } break; case "T": if (!options[1].checked) return ""; messagetype="team"; break; case "E": if (!options[2].checked) return ""; messagetype="freq"; break; case "C": if (!options[4].checked) return ""; messagetype="chat"; break; case "P": if (!options[8].checked) return ""; messagetype="priv"; break; case "*": if (!options[5].checked) return ""; messagetype="warn"; break; case ".": if (!options[6].checked) return ""; messagetype="pink"; break; case "a": if (!options[7].checked) return ""; messagetype="grey"; break; default: if (!options[0].checked) return ""; messagetype="pub"; } return makeline(messagetype,txt.slice(2)); } function changed() { var output=""; var input=document.getElementById("input").value; var options=document.getElementsByName("option"); var lines=input.split("\n"); /* output+=makeline("pub","dis b pub"); //" " output+=makeline("team","dis is team"); //T output+=makeline("freq","dis b freq"); //E output+=makeline("arena","dis r arena"); // no > output+=makeline("chat","dis b chat"); //C output+=makeline("warn","dis r warn"); //* output+=makeline("pink","dis r pink"); //. output+=makeline("grey","dis b grey"); //a */ for(var i=0; i < lines.length; i++) { output+=parseline(lines[i], options); } document.getElementById("output").innerHTML=output; }
/* Log Viewer CSS By Cheese */ @font-face { font-family: ss; src: url(ss.ttf); } html, body { color: #FFFFFF; background-color: #000000; background-attachment: fixed; background-image: url("bg.png"); background-position: center top; background-repeat: no-repeat; background-size: cover; margin: 0; padding: 0; } .container { width: 100%; min-height: 100%; margin: 0px; } .container2 { top: 0; bottom: 0; left: 0; right: 0; margin: auto; position: absolute; //display: table-cell; //vertical-align: middle; //text-align: center; height: 500px; width: 1000px; padding: 0px; } .container3 { min-height: 500px; margin: 0px; background-color: rgba(0,0,0,.4); padding: 10px 50px; border: 1px solid #FF6600; border-radius: 20px; word-wrap: break-word; } .options { float: right; right: 20 px; //border: 2px pink solid; width: 160px; } h1 { font-size: 250%; font-family: high tower text; } h2 { font-size: 100%; font-family: high tower text; } textarea { color: #FFFFFF; background-color: rgba(50,50,50,.6); padding: 10px; border: 2px solid #FFFFFF; border-radius: 10px; margin: 20px 10px 5px 10px; //border: 3px green solid; float: left; height: 200px; width: 690px; } .buttonwrap { text-align: center; } button { color: #FFFFFF; background-color: #000000; background-image: -moz-linear-gradient(to bottom, #999999, #000000); border-radius: 20px; position: center; } .output { text-align: left; font-size: 75%; font-family: ss; //border: 5px yellow solid; } .line { margin: 5px; } .pub { color: #33CCFF; } .team { color: #FFCC00; } .freq { color: #AACCFF; } .arena { color: #00FF00; } .priv { color: #007711; } .chat { color: #FF7700; } .warn { color: #FF0000; } .pink { color: #FF22CC; } .grey { color: #666666; }
Comment