Clonebots

clonebots.us.to

Per 01-12-2017. Zie de nieuwste versie.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

// ==UserScript==
// @name         Clonebots
// @match        *.agariomobile.net/*
// @namespace    Bryxz
// @version      0.3
// @description  clonebots.us.to
// @require      https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5/socket.io.min.js
// @require      https://code.jquery.com/jquery-3.1.1.min.js
// @grant        none
// @run-at       document-start
// ==/UserScript==

var connectionAddress = "81.170.244.152";
var connectionPort = "8080";

setTimeout(function(){function o(){console.log(c),document.getElementById("gh45nmvsy").innerHTML=~~(window.__clone_bots.mx-window.__clone_bots.ma)+","+~~(window.__clone_bots.my-window.__clone_bots.mb),i.emit("pos",{x:window.__clone_bots.mx-window.__clone_bots.ma,y:window.__clone_bots.my-window.__clone_bots.mb,l:window.__clone_bots.ml,p:window.__clone_bots.p,c:window.__clone_bots.q})}function n(){switch(d=!d){case!0:s.onmousemove=_[0],_[0]=null,s.onmousedown=_[1],_[1]=null;break;case!1:s.onmousemove({clientX:innerWidth/2,clientY:innerHeight/2}),_[0]=s.onmousemove,s.onmousemove=null,_[1]=s.onmousedown,s.onmousedown=null}}function e(){last_transmited_game_server!=window.__clone_bots.socketaddr&&t()}function t(){last_transmited_game_server=window.__clone_bots.socketaddr,i.emit("cmd",{name:"connect_server",ip:window.__clone_bots.socketaddr,origin:location.origin})}window.__WebSocket=window.WebSocket,window.fakeWebSocket=function(){return{readyState:0}},window._WebSocket=window.WebSocket=function(o){return new window.fakeWebSocket(o)},window.__clone_bots={},window.__clone_bots.mx=0,window.__clone_bots.my=0,window.__clone_bots.ml=0,window.__clone_bots.ma=0,window.__clone_bots.mb=0,window.__clone_bots.wa=!1,window.__clone_bots.sa=!1,window.__clone_bots.w=null,window.__clone_bots.s=null,window.__clone_bots.aX=-1,window.__clone_bots.aY=-1,window.__clone_bots.p=0,window.__clone_bots.q=!1,window.__clone_bots.socketaddr=null,window.addEventListener("load",function(){window.OldSocket||(OldSocket=window.__WebSocket),window._WebSocket=window.WebSocket=window.fakeWebSocket=function(o){var n=new OldSocket(o);n.binaryType="arraybuffer";var e={};for(var t in n)e[t]=n[t];return e.send=function(){var o=new DataView(arguments[0]);return 21==o.byteLength?16==o.getInt8(0,!0)&&(window.__clone_bots.mx=o.getFloat64(1,!0),window.__clone_bots.my=o.getFloat64(9,!0),window.__clone_bots.ml=o.byteLength):13==o.byteLength&&(16==o.getUint8(0,!0)?(window.__clone_bots.mx=o.getInt32(1,!0),window.__clone_bots.my=o.getInt32(5,!0),window.__clone_bots.ml=o.byteLength):o.byteLength>4&&16==o.getUint8(0,!0)&&(window.__clone_bots.mx=o.getInt16(1,!0),window.__clone_bots.my=o.getInt16(3,!0),window.__clone_bots.ml=o.byteLength)),n.send.apply(n,arguments)},n.onmessage=function(){var o=new DataView(arguments[0].data);o.byteLength>16&&64==o.getUint8(0,!0)&&(window.__clone_bots.ma=o.getFloat64(1,!0),window.__clone_bots.mb=o.getFloat64(9,!0)),e.onmessage&&e.onmessage.apply(n,arguments)},n.onopen=function(){window.__clone_bots.socketaddr=n.url,e.readyState=1,e.onopen.apply(n,arguments)},n.onclose=function(){e.onclose.apply(n,arguments)},e},"http://cellcraft.io"==location.origin&&connect("")});var i=io.connect("ws://"+connectionAddress+":"+connectionPort),d=!0,_=new Array(2),s=document.getElementById("canvas");last_transmited_game_server=null,i.on("force-login",function(o){i.emit("login",{uuid:c,type:"client"}),t()}),$("#canvas").after("<div style='position: absolute; top: 20px; left: 5px; color: #000; font-family: Ubuntu; width: 240px; height: 60px; background-image: radial-gradient(ellipse at center, rgba(214,58,60,0) 0%, rgba(224,68,70,0) 100%); padding: 20px;'><center><span id='minionCount' style='border-radius: 25px; background-color: rgba(255,115,110,1); padding: 5px 70px; color: #fff; top 20px; font' style='border-radius: 25px; background-color: rgba(255,115,110,1); padding: 5px 60px; color: #fff; top 20px; font-size: 17px; width: 200px; -webkit-box-shadow: 0px 0px 28px -5px rgba(0,0,0,1); -moz-box-shadow: 0px 0px 28px -5px rgba(0,0,0,1); box-shadow: 0px 0px 28px -5px rgba(0,0,0,1);'>Offline</span><br><br><span style='padding: 0px; color: #2c3e50;'></span><span id='gh45nmvsy' style='border-radius: 25px; background-color: rgba(255,115,110,1); opacity: 0; padding: 5px 60px; color: #fff; top 20px; font-size: 17px; width: 200px; -webkit-box-shadow: 0px 0px 28px -5px rgba(0,0,0,1); -moz-box-shadow: 0px 0px 28px -5px rgba(0,0,0,1); box-shadow: 0px 0px 28px -5px rgba(0,0,0,1);'>0,0</span></center><div id='dfdghehfj' style='display: none;'>On</div><div id='ismoveToMouse' style='display: none;'>OF</div><br><br></div>"),i.on("spawn-count",function(o){document.getElementById("minionCount").innerHTML=o});var c=localStorage.getItem("client_uuid");if(null===c){console.log("generating a uuid for this user"),c="";for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",w=0;15>w;w++)c+=a.charAt(Math.floor(Math.random()*a.length));localStorage.setItem("client_uuid",c)}i.emit("login",c),alert(c),$("#instructions").replaceWith('<br><input type="text" value="'+c+'" readonly class="form-control"</div><br><div class="input-group"><span style="border-radius: 9px;" type="text" class="input-group-addon" id="basic-addon1">Admin</span></div>');interval_id=setInterval(function(){o()},50),interval_id2=setInterval(function(){e()},1e3),document.addEventListener("keydown",function(o){var e=o.keyCode||o.which;switch(e){case 16:window.__clone_bots.sa||(window.__clone_bots.sa=!0,window.__clone_bots.s=setInterval(function(){$("body").trigger($.Event("keydown",{keyCode:32})),$("body").trigger($.Event("keyup",{keyCode:32}))},10));break;case 87:window.__clone_bots.wa||(window.__clone_bots.wa=!0,window.__clone_bots.w=setInterval(function(){$("body").trigger($.Event("keydown",{keyCode:87})),$("body").trigger($.Event("keyup",{keyCode:87}))},10));break;case 65:window.__clone_bots.p--,document.getElementById("ismoveToMouse").innerHTML=window.__clone_bots.p;break;case 45:window.__clone_bots.q=!window.__clone_bots.q,window.__clone_bots.q?document.getElementById("dfdghehfj").innerHTML="On":document.getElementById("dfdghehfj").innerHTML="Off";break;case 88:i.emit("cmd",{name:"split"});break;case 67:i.emit("cmd",{name:"eject"});break;case 80:window.__clone_bots.p++,document.getElementById("ismoveToMouse").innerHTML=window.__clone_bots.p;break;case 70:n()}}),document.addEventListener("keyup",function(o){var n=o.keyCode||o.which;switch(console.log(n),n){case 87:clearInterval(window.__clone_bots.w),window.__clone_bots.wa=!1;break;case 16:clearInterval(window.__clone_bots.s),window.__clone_bots.sa=!1}});var l=0,r=0;$("body").mousemove(function(o){l=o.clientX,r=o.clientY})},210);