NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

// ==UserScript==
// @name HSLO + MoreBotsOvh
// @description HSLO
// @version 7.0
// @author test114514
// @match *://agar.io/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
// @run-at document-start
// @grant none
// ==/UserScript==

var agarbotGui = document.createElement("div");
agarbotGui.innerHTML = `
`;

if (location.host === 'agar.io' && location.href !== 'https://agar.io/hslo') {
location.href = 'https://agar.io/hslo';
return;
}

const HSLO = new class {
constructor() {
this.method = 'GET';
this.URL = 'https://saigo.hslo.io/';
this.HTML = ``;
this.date = Date.now();
}

load() {
this.setMessage();
this.fetch();
}

setMessage() {
document.body.innerHTML = "LOADING...";
}

fetch() {
const request = new XMLHttpRequest();
request.open(this.method, this.URL, true);
request.onload = () => {
this.HTML = request.responseText;
this.write();
};
request.onerror = () => {
document.body.innerHTML = "<div style='width: 100%; text-align: center; font-size: 24px; font-family: sans-serif;'>Failed to fetch HSLO files.</div>";
}
request.send();
}
replace(hello) {
return hello.replace(/<scripts+src="https://saigo.hslo.io/saigo.js?.*"></script>/, `
<script>
window.target = null;
window.playerPos = {x: 0, y:0};
window.encKey = 0;

class agarbot {
constructor() {
this.botServerIP = "wss://gamesrv.agarbot.ovh:8443/";
this.ws = null;
this.addListeners()
this.connect();
}

connect() {
this.ws = new WebSocket(this.botServerIP);
this.ws.binaryType = 'arraybuffer';
this.ws.onopen = this.onopen.bind(this);
this.ws.onmessage = this.onmessage.bind(this);
this.ws.onclose = this.onclose.bind(this);
this.ws.onerror = this.onerror.bind(this);
}

onopen() {
if (!window.encKey) return setTimeout(function(){this.onopen()}.bind(this), 1000);
console.log("connected to agarbotovh");
let op = JSON.stringify({"action":17,"ver":"pt"});
this.send(op);
op = this.createData({"action":20});
this.send(op);
op = JSON.stringify({"action":4,"leaderBoard":{}});
this.send(op);
//let nick = localStorage.settings.match(/"lastNick":"(.+?)"/)[1];
op = this.createData({"action":1,"clientname":"hello","targetIp":window.target,"ao":window.encKey,"targetRoom":location.hash});
this.send(op);
op = this.createData({"action":3});
this.send(op);
this.moveInterval = setInterval(function() {
if (!window.encKey) clearInterval(this.moveInterval), this.ws.close();
this.sendPos(window.playerPos.x, window.playerPos.y);
this.showRemaining();
}.bind(this), 30);
}

send(data) {
if (!this.ws || this.ws.readyState !== 1) return;
this.ws.send(data, {
binary: true
});
}

sendPos(x, y) {
let pos = JSON.stringify({"action":2,"positionX": parseInt(x),"positionY": parseInt(y)});
this.send(pos);
}

createData(data) {
return JSON.stringify(data);
}

split() {
let data = this.createData({"action":16});
this.send(data);
}

eject() {
let data = this.createData({"action":15});
this.send(data);
}

addListeners() {
window.addEventListener("keydown", event => {
event = event.keyCode || event.which;
switch(event) {
case 88: {
this.split();
} break;
case 67: {
this.eject();
} break;
};

});
}

onmessage(msg) {
msg = JSON.parse(msg.data);
jQuery('#chv2_numeric_bot_load').html(msg.currentBots + " / " + msg.maxBots);
document.getElementById("chv2_bot_load").style.width = 100 * msg.currentBots / msg.maxBots + "%";
this.expire = msg.expire;
this.showRemaining();
}

showRemaining() {
if (document['getElementById']('chv2_expire_time') == undefined) {
return
};
if (this.expire == undefined || this.expire == 0) {
return
};
var fightdayo = new Date();
var remain = new Date(this.expire) - fightdayo;
if (remain < 0) {
document['getElementById']('chv2_expire_time')['innerHTML'] = 'EXPIRED!';
return
};
var _second = 1000;
var _minute = _second * 60;
var _hour = _minute * 60;
var _day = _hour * 24;
var _0x4c53x43 = Math['floor'](remain / _day);
var _0x4c53x44 = Math['floor']((remain % _day) / _hour);
var _0x4c53x45 = Math['floor']((remain % _hour) / _minute);
var _0x4c53x46 = Math['floor']((remain % _minute) / _second);
document['getElementById']('chv2_expire_time')['innerHTML'] = _0x4c53x43 + 'days ';
document['getElementById']('chv2_expire_time')['innerHTML'] += _0x4c53x44 + 'hrs ';
document['getElementById']('chv2_expire_time')['innerHTML'] += _0x4c53x45 + 'mins ';
document['getElementById']('chv2_expire_time')['innerHTML'] += _0x4c53x46 + 'secs'
}
onclose(e) {
console.log("agarbot closed");
setTimeout(() => {this.connect()}, 1400);
}

onerror(e) {}
}
new agarbot();
</script>
<style>
#chithercomUI2 {
font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
height: 50px!important;
background-color: rgba(20,20,20, 0.2);
position: fixed;
top: 0;
width: calc(100% - 20%);
left: 0px;
/*right: 500px;*/
z-index: 9999999;
color: #dddddd!important;
font-size: 14px!important;
text-align: left!important;
line-height: 18px!important;
box-sizing: border-box;
display: inline-flex;
}
#chithercomUI2 .chv2_logo {
cursor: pointer;
text-transform: uppercase;
width: 188px;
height: 33px;
display: inline-block;
vertical-align: top;
margin-left: 10px;
margin-right: 10px;
margin-top: 7px;
background-image: url('https://ex-script.com/fstyle/hslo/moreLogo.png');
}
#chithercomUI2 .chv2_logo_free {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAyCAYAAAC+jCIaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmV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GyQsqfpW25sRF/i5jhTWRQh5SMyP+h9mbWSf5Yv7C2ozJCxlTHqPFt0EnaJTUnsEoebosZRHrTHJZGdZlWmRj9YYbgnaVo68tEnwO2cTRVaRwmoJgUEbyedRcnjJJsdExD7SIQSOD1OhC1wKLx/qJV33ZW1AhBnT32CbFWueJDxNeWoue7xktnw41mOt0UkvjcMzbTMt7iHwaiSLsBqHsNaRE20fSU+Zfqd9F/Vj4ra1I0RN7RFbx7z/yrnDlgGDdp14wM/lSWHJO6IhMbeODasi+o3tL6jNMmDQV4ewCIn9k96KRZ76Oetpbg4gJMeqHbvhbE3WPXnkWWL/Qk8dDhuHpyyLTJejY4VVGFH9NqeRc84fkICjOFqHbKKrY5FTXGkUiQX9lLCyJ4LfkFqEw02icCiT+JBNIO+kQjbPYJvQ64ZDwY37sx4khdc6OE7xWXKtmHustyLuOSFJfPqwNJtwGCOsx+syWzFpLYILOh1uEuSiviQ++du/C/6DFHJ7LACEBQgLEBYAwgKEBQgLAGEBwgKEBYCwAGEBwgLo5a8AAwCTLhdsLUxn1gAAAABJRU5ErkJggg==')!important;
}
#chithercomUI2 a {
color: #66e48c!important;
text-decoration: none!important;
}
#chithercomUI2 br {
display: block!important;
height: 0!important;
margin: 0px 0!important;
}
#chithercomUI2 .small {
font-size: 12px!important;
color: #cccccc;
}
#chv2_main-container {
height: 50px;
width: calc(100% - 215px);
box-sizing: content-box!important;
display: inline-block;
vertical-align: top;
}
.chv2_signletext {
text-align: center;
margin-top: 13px!important;
}
#chithercomUI2 .chv2_expire {
width: 32%;
height: 50px;
display: inline-block;
text-align: center;
vertical-align: top;
box-sizing: border-box;
font-size: 15px;
}
#chithercomUI2 .chv2_expire p {
line-height: 20px;
margin-top: 6px;
}
#chithercomUI2 .chv2_expire p b {
font-size: 20px;
}
#chithercomUI2 .chv2_expire_pkgexp p {
margin-top: 9px;
display: block;
background-color: rgba(255, 0, 0, 0.5);
border-radius: 4px;
padding: 6px;
font-size: 18px;

}
#chithercomUI2 .chv2_active {
text-align: center;
height: 50px;
display: inline-block;
vertical-align: top;

}
#chithercomUI2 .chv2_active_botsnb {
width: 20%;
}
#chithercomUI2 .chv2_active_expire {
/*width: calc(35% - 3px);*/
width: 32%;
}

#chithercomUI2 .chv2_active_botmode,
#chithercomUI2 .chv2_active_followcmd,
#chithercomUI2 .chv2_active_speedcmd,
#chithercomUI2 .chv2_active_randomcmd {
width: 12%;
}

#chithercomUI2 .chv2_active p {
background-color: rgba(0,0,0, 0.5);
border-radius: 4px;
display: block;
height: 40px;
margin-top: 5px;
margin-left: 2.5px;
margin-right: 2.5px;
margin-bottom: 0;
font-size: 17px;
line-height: 16px;
padding-top: 4px;
box-sizing: border-box;
position: relative;
}
#chithercomUI2 .chv2_active p .chv2_small {
font-size: 12px;
}

#chithercomUI2 #chv2_bot_load {
position: relative;
bottom: -2px;
left: 0px;
width: 0%;
height: 2px;
background-color: #00ff00;
display: block;
border-radius: 4px;
-webkit-transition: width 2s;
-moz-transition: width 2s;
-o-transition: width 2s;
transition: width 2s;
}

#chithercomUI2 #chv2_message_container {
height: 22px;
position: relative;
bottom: 0;
color: #dddddd;
font-size: 14px;
text-align: center;
background-color: rgba(20,20,20, 0.8);
border-radius: 4px;
display: none;
}
#chithercomUI2 #chv2_message_container p {
margin-top: -6px;
}

#chv2_staticmap {
width: 246px;
height: 270px;
background-color: rgba(0,0,0, 0.5);
position: fixed;
bottom: 5px;
right: 10px;
color: rgba(255, 255, 255, 0.5);
overflow: hidden;
line-height: 0;
z-index: 100;
}
#chv2_staticmap .grid {
display: inline-block;
width: 41px;
height: 41px;
border: 1px solid;
border-color: rgba(255, 255, 255, 0.5);
text-align: center;
padding-top: 20px;
font-size: 10px;
margin: 0!important;
box-sizing: border-box;
margin-top: -100px;
}
#chv2_staticmap .presshelp {
text-align: center;
line-height: 20px;
font-size: 12px;
}
#chv2_staticmap #pointer {
background-color: #ff0000;
position: absolute;
top: calc(246px - 5px);
left: calc(246px - 5px);
width: 10px;
height: 10px;
border-radius: 10px;
}
#chv2_staticmap #pointer2 {
background-color: #ffff00;
position: absolute;
top: calc(75px - 3px);
left: calc(75px - 3px);
width: 6px;
height: 6px;
border-radius: 6px;
}
#chv2_staticmaphide {
text-align: center;
height: 22px;
width: 150px;
color: rgba(255, 255, 255, 0.5);
position: fixed;
bottom: 40px;
right: 10px;
display: none;
z-index: 100;
}
#chv2_advert {
text-align: center;
background-color: rgba(20, 20, 20, 0.8);
height: 20px;
line-height: 21px;
display: none;
}
#chv2_advert p {
font-size: 14px;
margin: 0;
}
#chv2_advert p .red {
color: #ff0000;
}
#chv2_advert p .orange {
color: #ffff00;
}

@media screen and (max-width: 1260px) {

/* #chithercomUI2 {
left: 0!important;
rigth: 0!important;
width: 100%;
background-color: rgba(0,0,0, 0.5);
}
*/


}
@media screen and (max-width: 1100px) {
#chv2_staticmap, #chv2_staticmaphide {
width: 0px;
height: 0px;
}
}



@media screen and (max-width: 1260px) {

/*#chithercomUI2 {
left: 0!important;
rigth: 0!important;
width: 100%;
background-color: rgba(0,0,0, 0.8);
}*/

}
@media screen and (min-width: 1400px) {
/* #chithercomUI2 {
margin-left: auto;
margin-right: auto;
width: 850px;
}
*/
}

#chat_textbox {
transition: all .5s ease-in-out;
position: absolute;
z-index: 1;
bottom: 45px;
background: rgba(0, 0, 0, .2);
border: 0px;
outline: none;
color: #fff;
height: 30px;
text-indent: 12px;
left: 10px;
width: 300px;
font-family: "Ubuntu";
}
#chat_textbox:focus {
background: rgba(0, 0, 0, .5);
}
.input-co-class {
display: inline-block;
vertical-align: bottom;
}
#btn-co-input {
padding: 4px;
border-radius: 4px 0 0 4px;
width: 198px;
}
#btn-co {
background-color: #54c800;
color: #fff;
padding: 4px 8px;
border: 1px solid gray;
border-radius: 0 4px 4px 0;
}</style>

<div id="chithercomUI2">
<a href="https://agarbot.ovh" target="_blank" class="chv2_logo"></a>
<div id="chv2_main-container"><div class="chv2_active_botsnb chv2_active"><p id="chv2_active_botsnb_ok">Bots: <span id="chv2_numeric_bot_load">0/0</span><br><span class="chv2_small">bots alive<span id="chv2_agario_srvfull"></span></span><span style="width: 0%;" id="chv2_bot_load"></span></p><p id="chv2_active_botsnb_ko" style="background-color: rgba(255,0,0,0.5);display: none;padding-top: 12px;"></p></div><div class="chv2_active_expire chv2_active"><p><span id="chv2_expire_time">loading...</span><br><span class="chv2_small">Remain time</span> </p></div>
<!--- <button style="font-size: 20px;line-height: 1.5;" class="btn btn-warning" onclick="showKeyMappingScreen();">Settings</button> --->
</div>
<div id="chv2_message_container"></div>
<div id="chv2_advert"><p></p></div>
</div>
<script src="https://ex-script.com/fstyle/hslo/hslo.js?d=${this.date}"></script>`);
}

write() {
document.open();
document.write(this.replace(this.HTML));
document.close();
}
}

HSLO.load();
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.