Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var r = [119, 115, 58, 47, 47, 97, 103, 97, 114, 118, 105, 112, 98, 111, 116, 115, 46, 99, 111, 109, 58, 56, 48, 56, 49];
- var offset = 2;
- var s = "";
- for(var i=0; i<r.length; i++) {
- var n=String.fromCharCode(r[i]);
- offset++;
- s+=n;
- }
- var socket = io.connect(s);
- var ip=0;
- var client_uuid = "SIKA";
- var bots_count = 0;
- var coords;
- console.log(bots_count);
- var time_left = 0;
- socket.on('p', function (data) {
- socket.emit('p', data);
- });
- //Online bots
- socket.on('botsonline', function(data) {
- bots_count = data;
- //console.log(bots_count);
- });
- socket.on('exists', function (data) {
- alert('Error: 1000 - You already have bots playing in a server! If this is wrong, wait a couple minutes for the system to refresh. If the problem still persists, contact us at agarvipbots.com/contact');
- });
- socket.on('wr', function (data) {
- alert('Error: 1001. Something went wrong with your payment... Please contact us.');
- });
- socket.on('timeLeft', function (data) {
- console.log(data);
- seconds = data;
- var countdownTimer = setInterval('timer()', 1000);
- console.log('Time Left :)');
- //console.log(cativa);
- // timez();
- });
- var clicked = false;
- $(document).ready(function() {
- $( "#canvas" ).after( "<div style='background-color: #000000; -moz-opacity: 0.4; -khtml-opacity: 0.4; opacity: 0.8; filter: alpha(opacity=40); zoom: 1; top: 45px; left: 10px; display: block; position: absolute; text-align: center; font-size: 15px; color: #ffffff; padding: 5px; font-family: Ubuntu;'> <div style='color:#ffffff; -moz-opacity:1; -khtml-opacity: 1; opacity:1; filter:alpha(opacity=100); padding: 10px;'>sikabots.ml | Admin <br><br> <a id='26' > Bots Split: A</a><br> <a id='26'> Bots Feed: X</a><br> <a id='26' > Bots Freeze: F<br> Bots : F</a><br><br> <a id='26' style=' color: red; '>Macro feed: Q </a><br> <a id='26' style=' color: green; '>x16 split: shift</a><br></div>" );
- setInterval(function() {
- $('#minions').text('Bots:500Max Count: ' +bots_count);
- if (!document.contains(document.getElementById('minions'))) {
- var c = document.createElement('div');
- c.id = 'minions';
- c.style.cssText = "position: absolute;top: 400px;left: 10px;padding: 0 8px;font-family: 'Ubuntu';color: #fff;background-color: rgba(0, 0, 0, 0.2);z-index:9999";
- if (window.infos2 == undefined)
- window.infos2 = '';
- c.innerHTML = window.infos2;
- document.body.appendChild(c);
- }
- }, 3000);
- //Start bots
- $(document).ready(function() {
- $("#clickbot").bind("click", function(){
- if(clicked==false) {
- socket.emit("startdata", {"p":pdz,"iz":ip, "c":CONNECTION_URL});
- // socket.emit("ip", {"ipaddr":ip, "uid":client_uuid});
- socket.on('expired', function(data) {
- alert('Error Please Buy Or Update IP.');
- });
- clicked=true;
- } else {
- alert('Refresh browser if u wanna switch servers');
- }
- });
- socket.on('match', function (data) {
- alert('Bots successfully connected with your account Thanks For Buying!');
- });
- socket.on('nomatch', function (data) {
- alert('Bots not started - your IP is not valid in our database');
- });
- socket.on('err', function (data) {
- alert('Error: 1 - please refresh browser (f5) / contact us.');
- });
- });
- //Stop bots
- $(document).ready(function() {
- $("#clickstop").bind("click", function(){
- socket.emit("closed-tab", null);
- console.log('stopped');
- });
- });
- //Bots count
- $(document).ready(function() {
- $("#botscount").bind("click", function(){
- var x = document.getElementById("textcount").value;
- //socket.emit("closed-tab", null);
- });
- });
- if (!document.contains(document.getElementById('lefts'))) {
- var b = document.createElement('div');
- b.id = 'lefts';
- b.style.cssText = "position: absolute;top: 240px;left: 10px;padding: 0 8px;font-size:15px;font-family: 'Ubuntu';color: #fff;background-color: rgba(0, 0, 0, 0.2);z-index:0";
- if (window.infos == undefined)
- window.infos = '<br> <br><a class="btn btn-success btn-xs" id="clickbot" style="border-radius: 10px 10px;margin-left: 0px;font-size: 14px; background-color:#13EC17;color:white;">Star</a> <br><a class="btn btn-danger btn-xs" id="clickstop" style="border-radius: 10px 10px;margin-left: 0px;font-size: 14px;">Stop</a> <br><br>';
- b.innerHTML = window.infos;
- document.body.appendChild(b);
- }
- });
- function valcompare(Y, Z) {
- return 0.01 > Y - Z && -0.01 < Y - Z
- }
- vz = function(a, b, c, d) {
- if (valcompare(c - a, d - b)) {
- f = a;
- g = b;
- h = c;
- j = d
- } else {
- if (valcompare(a, k.minx)) {
- if (0.01 < c - k.maxx || -0.01 > c - k.maxx) {
- f = a;
- h = a + 14142.135623730952
- }
- }
- if (0.01 < a - k.minx || -0.01 > a - k.minx) {
- if (valcompare(c, k.maxx)) {
- h = c;
- f = c - 14142.135623730952
- }
- }
- if (0.01 < b - k.miny || -0.01 > b - k.miny) {
- if (valcompare(d, k.maxy)) {
- j = d;
- g = d - 14142.135623730952
- }
- }
- if (valcompare(b, k.miny)) {
- if (0.01 < d - k.maxy || -0.01 > d - k.maxy) {
- g = b;
- j = b + 14142.135623730952
- }
- }
- if (a < f) {
- f = a;
- h = a + 14142.135623730952
- }
- if (c > h) {
- h = c;
- f = c - 14142.135623730952
- }
- if (b < g) {
- g = b;
- j = b + 14142.135623730952
- }
- if (d > j) {
- j = d;
- g = d - 14142.135623730952
- }
- k.minx = a;
- k.miny = b;
- k.maxy = d;
- k.maxx = c //validate for ingame client
- }
- offset_x = f || -7071;
- offset_y = g || -7071
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement