Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name RSAgarBotz Helper[REQUIRE]
- // @namespace RSAgarToolz.tk
- // @version 2.0.0_Beta1
- // @description RSAgarBotz Premium Package (PAID) Helper!
- // @author MrSonic
- // @match http://agar.io/*
- // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
- // @require http://pastebin.com/raw/QrMULMQV
- // @run-at document-start
- // @grant GM_setClipboard
- // @grant none
- // ==/UserScript==
- setTimeout(function() {
- var real_minx = -7071;
- var real_miny = -7071;
- var real_maxx = 7071;
- var real_maxy = 7071;
- var lastsent = {
- minx: 0,
- miny: 0,
- maxx: 0,
- maxy: 0
- };
- function valcompare(Y, Z) {
- return 0.01 > Y - Z && -0.01 < Y - Z
- }
- window.agar.hooks.dimensionsUpdated = function(server_minx, server_miny, server_maxx, server_maxy) {
- if (valcompare(server_maxx - server_minx, server_maxy - server_miny)) {
- real_minx = server_minx;
- real_miny = server_miny;
- real_maxx = server_maxx;
- real_maxy = server_maxy
- } else {
- if (valcompare(server_minx, lastsent.minx)) {
- if (0.01 < server_maxx - lastsent.maxx || -0.01 > server_maxx - lastsent.maxx) {
- real_minx = server_minx;
- real_maxx = server_minx + 14142.135623730952
- }
- }
- if (0.01 < server_minx - lastsent.minx || -0.01 > server_minx - lastsent.minx) {
- if (valcompare(server_maxx, lastsent.maxx)) {
- real_maxx = server_maxx;
- real_minx = server_maxx - 14142.135623730952
- }
- }
- if (0.01 < server_miny - lastsent.miny || -0.01 > server_miny - lastsent.miny) {
- if (valcompare(server_maxy, lastsent.maxy)) {
- real_maxy = server_maxy;
- real_miny = server_maxy - 14142.135623730952
- }
- }
- if (valcompare(server_miny, lastsent.miny)) {
- if (0.01 < server_maxy - lastsent.maxy || -0.01 > server_maxy - lastsent.maxy) {
- real_miny = server_miny;
- real_maxy = server_miny + 14142.135623730952
- }
- }
- if (server_minx < real_minx) {
- real_minx = server_minx;
- real_maxx = server_minx + 14142.135623730952
- }
- if (server_maxx > real_maxx) {
- real_maxx = server_maxx;
- real_minx = server_maxx - 14142.135623730952
- }
- if (server_miny < real_miny) {
- real_miny = server_miny;
- real_maxy = server_miny + 14142.135623730952
- }
- if (server_maxy > real_maxy) {
- real_maxy = server_maxy;
- real_miny = server_maxy - 14142.135623730952
- }
- lastsent.minx = server_minx;
- lastsent.miny = server_miny;
- lastsent.maxy = server_maxy;
- lastsent.maxx = server_maxx
- }
- offset_x = real_minx || -7071;
- offset_y = real_miny || -7071
- };
- }, 100);
- document.title = 'Loading RSBotzv2...';
- window.onload = function() {
- $("h2").replaceWith('<h2 class="title">Loading RSBotz...</h2>');
- };
- botServerIP = "ws://localhost";
- getInitBotServer = "ws://localhost";
- accountServerIp = "ws://localhost";
- port = 1100;
- var ws1 = new WebSocket("ws://localhost:8721");
- ws1.onmessage = function (msg) {
- console.log(msg.data);
- alert(msg.data);
- }
- function getInit() {
- console.log('Requesting up-to-date init_key...');
- var getinit_init_key = "jN*&gbhh*&G8ihae8rwgh78g&*G&*G&GFUibg&GB*&GVBWG";
- var getINITKey = JSON.stringify({ init: getinit_init_key, userip: ipOfUser, reason: 'init' });
- var ws = new WebSocket(getInitBotServer+':'+8721);
- setTimeout(function() {
- ws.send(getINITKey);
- }, 1000);
- ws.onmessage = function(msg) {
- d = JSON.parse(msg.data);
- console.log('Server returned init_key!');
- init_key = d.init;
- ws.close();
- setTimeout(function() {
- connected = 1;
- cBserver = 1;
- console.log('Connected to ' + 'Init Servers' +', got updated init_key!');
- //alert('Connected to init servers and got correct key!')
- ws.close();
- }, 1000);
- };
- ws.onerror = function(error) {
- alert('Init Servers Are Down, Sorry, No Bots For Now :C');
- connected = 0;
- ws.close();
- };
- }
- ipOfUser = "couldn't verify...";
- play = 0;
- tgl3 = "off";
- x = 0;
- y = 0;
- draw = "no";
- connected = 0;
- key = "null"
- cBserver = 0;
- isAdmin = "h7nthjmf7h35tj3nmdfh78hm78MGH7MHN67H,87mg67mh8,GM^&h^&gH8MQ7";
- window.onload = function() {
- c = window.agar;
- $.get("http://ipinfo.io", function(response) {
- getIP(response.ip);
- }, "jsonp");
- function getIP(ip) {
- ipOfUser = ip;
- }
- nickOfPlayer = localStorage.getItem('nick');
- nick = $("#nick").val(nickOfPlayer);
- function refresh() {
- timeOut = 500;
- var nick = $("#nick").val();
- localStorage.setItem('nick', nick);
- setTimeout(refresh,timeOut);
- }
- refresh();
- c.showStartupBg = false;
- botServer = botServerIP +":"+port;
- $("small.text-muted").remove();
- $("span.text-muted").remove();
- $("hr").remove();
- $("h2").replaceWith('<h2 class="title">RSBOTZv2</h2>');
- $('#version-tag').replaceWith('<span id="user-client-version">RSAgarToolz RSBots v2.3.1</span>');
- nickname = "no_new";
- eject = "no";
- split = "no";
- authkey = "sent";
- discon = "no";
- ipaddress = "sent";
- serverkey = "sent";
- init_key = "sent";
- function reconnect(server) {
- ws = new WebSocket(server);
- console.log('Reconnecting to bot server: ' +server);
- getInit();
- ws.onerror = function() {
- alert('Bots Servers Are Down, Even If Init_Key was Recieved Correctly, Connection was Rejected by All Servers!');
- setTimeout(function() {
- ws.close();
- },1000);
- connected = 0;
- };
- ws.onclose = function(e) {
- //alert('Server has Shutdown, Sorry!!');
- ws.close();
- connected = 0;
- };
- setTimeout(function() {
- ws.onmessage = function(msg) {
- try{
- d = JSON.parse(msg.data)
- max = d.max;
- get = d.get;
- $('#botAmount').replaceWith('<li id="botAmount"><span class="label label-info">RSBots:</span>' +get +'/' +max +'</li>')
- }
- catch(e) {
- console.log(e);
- }
- };
- },1000);
- }
- tg = "on";
- $("body").append('<div id="blahblah"><ul id="pie11" id="shortcutsWindow"><li id="botAmount"><span class="label label-info">RSBots:</span> 0/0 </li><li><span class="label label-info">E</span> Split bots</li><li><span class="label label-info">R</span> Bots\' ejecting mass</li><li><span class="label label-info">Q</span> Mass Macro</li><li><span class="label label-info">L</span> Copy Leaders</li><li><span class="label label-info">`</span> Auto Spawn</li><li><span class="label label-info">Z</span> Zoom Reset</li></ul></div>')
- $("#options").append('<label><input type="checkbox" onchange=""><span id="zoom"data-itr="option_extra_zoom">Extra Zoom</span></label>');
- $("#options").append('<label><input type="checkbox" onchange=""><span id="grid"data-itr="option_show_grid">No Grid</span></label>');
- //$("#options").append('<label><input type="checkbox" onchange=""><span id="control"data-itr="option_control">BETA: Mouse control</span></label>');
- $("#options").append('<label><input type="checkbox" onchange=""><span id="otherMass"data-itr="option_other_mass">Show Others Mass</span></label>');
- $("#options").append('<label><input type="checkbox" onchange=""><span id="simple"data-itr="option_simple_draw">Less Lag</span></label>');
- $("#options").append('<label><input type="checkbox" onchange=""><span id="border" data-itr="option_draw_border">Draw Borders</span></label>');
- $("#options").append('<label><input type="checkbox" onchange=""><span id="virus"data-itr="option_transparent_virus">Transparent Virus</span></label>');
- $("#options").append('<input id="command" class="form-control" placeholder="Enter Command"</input>');
- $("#options").append('<button id="submit" class="btn-success" style="line-height: 10px;" data-itr="Shop">Submit</button>');
- $(".agario-promo").replaceWith('<div class="agario-panel"> <button id="startBots" class="btn btn-success " style="line-height: 10px;" data-itr="Shop">Start</button></br></br><button id="stopBots" class="btn btn-danger" style="line-height: 10px;" data-itr="Shop">Stop</button></br></br><button id="close" class="btn btn-info " style="line-height: 10px;" data-itr="Shop">Close Connection</button></br></br><input id="username" class="form-control" placeholder="Enter Username"</input></br><input id="password" class="form-control" placeholder="Enter Password"</input><button id="submit1" class="btn-success" style="line-height: 10px;" data-itr="Shop">Submit</button></div>');
- $("#startBots").css({"width": "275px", "height": "35px", "margin-left": "5px"});
- $("#stopBots").css({"width": "275px", "height": "35px", "margin-left": "5px"});
- $("#close").css({"width": "275px", "height": "35px", "margin-left": "5px"});
- $("#blahblah").css("position", "absolute");
- $("#blahblah").css("opacity", ".6");
- $("#blahblah").css("background-color", "rgb(128,128,128)");
- $("#pie11").css("opacity", "1");
- $("#pie11").css("color", "rgb(50,205,50)");
- $("#startBots").on( "click", function() {
- if(connected !== 1 && connected === 0) {
- reconnect(botServer);
- }
- already = 0;
- function refreshData() {
- timeOut = 600;
- if (connected === 1 && connected !== 0 && already !== 1 && already === 0) {
- console.log('Has Connected Now!');
- send();
- already = 1;
- } else {
- }
- setTimeout(refreshData, timeOut);
- }
- refreshData();
- });
- $("#stopBots").on( "click", function() {
- disconct();
- });
- $("#close").on( "click", function() {
- closeWebsocket();
- connected = 0;
- });
- $("#zoom").on( "click", function() {
- if (tgl == "on") {
- ToggleON();
- } else {
- ToggleOFF();
- }
- });
- $('#border').on( "click", function() {
- if (draw == "no") {
- draw = "yes";
- console.log('on');
- } else {
- draw = "no";
- console.log('off');
- }
- });
- $("#grid").on( "click", function() {
- if (tgl2 == "on") {
- ToggleON2();
- } else {
- ToggleOFF2();
- }
- });
- $("#control").on( "click", function() {
- if (tgl3 == "on") {
- ToggleON3();
- } else {
- ToggleOFF3();
- }
- });
- $("#otherMass").on( "click", function() {
- if (tgl9 == "on") {
- ToggleON9();
- } else {
- ToggleOFF9();
- }
- });
- $("#submit").on( "click", function() {
- var cmd = $('#command').val();
- command(cmd);
- });
- $("#simple").on( "click", function() {
- if (tg == "on") {
- ToggleO();
- } else {
- ToggleOF();
- }
- });
- $("#submit1").on( "click", function() {
- var u = $('#username').val();
- var p = $('#password').val();
- login(u,p);
- });
- $("#virus").on( "click", function() {
- if (tV == "on") {
- tv1();
- } else {
- tv0();
- }
- });
- setTimeout(function() {
- $('[data-itr="option_dark_theme"]').click();
- $('[data-itr="option_show_mass"]').click();
- $('[data-itr="option_skip_stats"]').click();
- $('[data-itr="option_extra_zoom"]').click();
- $('[data-itr="option_other_mass"]').click();
- $('[data-itr="option_no_grid"]').click();
- $('[data-itr="option_draw_border"]').click();
- $('[data-itr="option_transparent_virus"]').click();
- document.title = "RSAgarToolz";
- },600);
- c.hooks.beforeDraw = function() {
- var ctx = document.getElementById("canvas").getContext("2d");
- cell = c.rawViewport;
- ctx.strokeStyle = "#0000FF";
- ctx.lineWidth = 2;
- ctx.beginPath();
- ctx.stroke();
- if (draw == "yes") {
- hello();
- }
- function hello() {
- dims = c.dimensions;
- dim = {minX:dims[0], minY:dims[1], maxX:dims[2], maxY:dims[3]};
- width = 20;
- ctx.beginPath();
- ctx.strokeStyle = "#0000FF";
- ctx.lineWidth = width;
- ctx.strokeRect(dim.minX - width/2,
- dim.minY - width/2,
- dim.maxX - dim.minX + width,
- dim.maxY - dim.minY + width);
- ctx.fillText(cell.x, 0, 0);
- }
- };
- (function() {
- var amount = 5;
- var duration = 50;
- var overwriting = function(evt) {
- if (evt.keyCode === 81) {
- for (var i = 0; i < amount; ++i) {
- setTimeout(function() {
- window.onkeydown({
- keyCode: 87
- });
- window.onkeyup({
- keyCode: 87
- });
- }, i * duration);
- }
- }
- };
- window.addEventListener('keydown', overwriting);
- })();
- document.addEventListener('keydown',function(e){
- var key = e.keyCode || e.which;
- if(key == 82){
- if(play === 1) {
- ejectMass();
- } else{}
- }
- if(key == 69){
- if(play === 1) {
- splitBots();
- } else {}
- }
- if(key == 90) {
- if(play === 1) {
- c.scale = 1;
- } else {}
- }
- if(key == 192) {
- if (ggg == "on") {
- pi();
- } else {
- po();
- }
- }
- if(key == 76){
- if(play === 1) {
- allcells = c.allCells;
- h = c.myCells;
- console.log(h);
- leaderboard = c.top;
- var a = [];
- for(var i=0; i<leaderboard.length; i++)
- a.push(leaderboard[i].name);
- if(a[0] === "") {
- a[0] = "An unnamed Cell";
- } else if (a[1] === "") {
- a[1] = "An unnamed Cell";
- } else if (a[2] === "") {
- a[2] = "An unnamed Cell";
- } else if (a[3] === "") {
- a[3] = "An Unnamed Cell";
- } else if (a[4] === "") {
- a[4] = "An Unnamed Cell";
- } else if (a[5] === "") {
- a[5] = "An Unnamed Cell";
- } else if (a[6] === "") {
- a[6] = "An Unnamed Cell";
- } else if (a[7] === "") {
- a[7] = "An Unnamed Cell";
- } else if (a[8] === "") {
- a[8] = "An Unnamed Cell";
- } else if (a[9] === "") {
- a[9] = "An Unnamed Cell";
- }
- alert('leaders:\n' +
- '1. '+a[0] +
- '\n2. '+a[1] +
- '\n3. '+a[2] +
- '\n4. '+a[3] +
- '\n5. '+a[4] +
- '\n6. '+a[5] +
- '\n7. '+a[6] +
- '\n8. '+a[7] +
- '\n9. '+a[8] +
- '\n10. '+a[9]);
- GM_setClipboard ('leaders:\n' +
- '1. '+a[0] +
- '\n2. '+a[1] +
- '\n3. '+a[2] +
- '\n4. '+a[3] +
- '\n5. '+a[4] +
- '\n6. '+a[5] +
- '\n7. '+a[6] +
- '\n8. '+a[7] +
- '\n9. '+a[8] +
- '\n10. '+a[9]);
- }
- } else {}
- });
- tgl = "off";
- function ToggleON() {
- tgl = "off";
- c.minScale = 1;
- c.scale = 1;
- console.log('Turned Off Extra Zoom');
- }
- function ToggleOFF() {
- tgl = "on";
- c.minScale = -30;
- console.log('Turned On Extra Zoom');
- }
- ggg = "on";
- function pi() {
- ggg = "off";
- setInterval(function() {
- if(ggg == 'on' && ggg !== 'off')
- $('[data-itr="play"]').click();
- },100);
- }
- function po() {
- ggg = "on";
- }
- tgl9 = "on";
- function ToggleON9() {
- tgl9 = "off";
- console.log('Showing Other Players Mass');
- c.hooks.drawCellMass = function(cell, old_draw) {
- if (old_draw) return old_draw;
- if(cell.size > 20) {
- return cell;
- }
- return null;
- };
- }
- function ToggleOFF9() {
- tgl9 = "on";
- console.log('Hiding Other Players Mass');
- c.hooks.drawCellMass = function(cell, old_draw) {
- if (old_draw) return old_draw;
- return old_draw;
- return null;
- };
- }
- tgl2 = "off";
- function ToggleON2() {
- tgl2 = "off";
- c.drawGrid = true;
- console.log('Turned On Grid');
- }
- function ToggleOFF2() {
- tgl2 = "on";
- c.drawGrid = false;
- console.log('Turned Off Grid');
- }
- function ToggleO() {
- tg = "off";
- window.agar.simpleCellDraw = true;
- console.log('Turned On Simple Cell Draw');
- }
- function ToggleOF() {
- tg = "on";
- window.agar.simpleCellDraw = false;
- console.log('Turned Off Simple Cell Draw');
- }
- function ToggleON3() {
- mouseC = 1;
- console.log('Switching to Cell Control!');
- tgl3 = "off";
- }
- function ToggleOFF3() {
- mouseC = 0;
- tgl3 = "on";
- console.log('Switching to Mouse Control!');
- }
- tV = 'on';
- function tv0() {
- tV = "on";
- console.log('v0!')
- window.agar.hooks.cellColor = function (cell, old_color) {
- if (cell.isVirus) {
- return old_color
- }
- };
- }
- function tv1() {
- tV = "off";
- console.log('v1!!!')
- window.agar.hooks.cellColor = function (cell, old_color) {
- if (cell.isVirus) {
- return "rgba(0, 255, 64,0.6)";
- }
- };
- }
- function setCoords() {
- if (tgl3 == "off" && tgl3 !== "on") {
- x = c.rawViewport.x.toFixed(0);
- y = c.rawViewport.y.toFixed(0);
- }
- if (tgl3 == "on" && tgl3 !== "off") {
- var transform
- var coords
- function toWorldCoords(pixelCoords) {
- x = (pixelCoords.x - transform.x) / transform.scale
- y = (pixelCoords.y - transform.y) / transform.scale
- }
- window.agar.hooks.beforeTransform = (ctx, t1x, t1y, s, t2x, t2y) =>
- transform = {scale:s, x:t2x*s + t1x, y:t2y*s + t1y}
- canvas.addEventListener("mousemove", e => coords = {x:e.x, y:e.y});
- setInterval(() => toWorldCoords(coords), 100);
- }
- }
- function send() {
- if(cBserver === 1) {
- disconct();
- key1 = $('.partyToken').val();
- key2 = key1.split('#')
- key = key2[1]
- ipaddress = c.ws;
- console.log("Sent ip: " +ipaddress +" to botServer");
- } else {
- connected = 0;
- alert('You have attempted to connect the bots before you have connected to the botServer!');
- }
- }
- function splitBots() {
- if(cBserver === 1) {
- split = "yes";
- console.log('Splitting!');
- } else {
- connected = 0;
- alert('You have attempted to make the bots Split before you have connected/started bots!');
- }
- }
- function ejectMass() {
- if(cBserver === 1) {
- console.log('Ejecting!');
- eject = "yes";
- } else {
- connected = 0;
- alert('You have attempted to make the bots eject mass before you have connected/started bots!');
- }
- }
- function closeWebsocket() {
- if (connected === 1 && connected !== 0) {
- if(cBserver === 1) {
- ws.close();
- connected = 0;
- console.log("Connection to botServer Closed!");
- } else {
- connected = 0;
- alert('You have attempted to close connection before you have connected/started bots!');
- }
- } else {
- alert('You are not conected to a botServer!');
- connected = 0;
- }
- }
- function changeBotServer() {
- var botServer = prompt('Enter new BotServer IP and Port: ');
- disconct();
- reconnect(botServer);
- }
- function disconct() {
- if(cBserver === 1) {
- console.log('Disconnecting!');
- discon = "yes";
- } else {
- connected = 0;
- alert('You have attempted to make the bots eject mass before you have connected/started bots!');
- }
- }
- function login(user, pswd) {
- var password_init_key = "nob&GFhf67GH&*Ghfn8b&G78";
- var account = JSON.stringify({ init: password_init_key, user: user, pass: pswd, userip: ipOfUser });
- var ws = new WebSocket(accountServerIp+':'+8721);
- setTimeout(function() {
- ws.send(account);
- }, 1000);
- ws.onmessage = function(msg) {
- d = JSON.parse(msg.data);
- var isCorrect = d.isCorrect;
- if (isCorrect === true) {
- var usersName = d.userName;
- alert('Welcome Back, ' +usersName);
- isAdmin = "h7nthjmf7h35tj3nmdfh78hm78MGH7MHN67H,87mg67mh8,GM^&h^&gH8MQ7";
- } else if (isCorrect !== true) {
- alert("Server returned: Invalid Password or Username!");
- isAdmin = 'no';
- }
- };
- ws.onerror = function(error) {
- alert('Auth Servers Are Down, Sorry!');
- };
- }
- function changeNick() {
- nickname = prompt("What Would You Like Your Bots Nick To Be?", "RSAgarToolz.tk") || "RSAgarToolz.tk";
- console.log("Changing Bot Nick to" + nick);
- }
- function help() {
- alert('Help:\n' +
- '1. help -- opens this help menu\n' +
- '2. help_2 -- opens help for other things.\n' +
- '3. keybinds -- opens the keybind list');
- }
- function helpAdmin() {
- alert('Help:\n' +
- '1. help -- opens this help menu\n' +
- '2. help_2 -- opens help for other things.\n' +
- '3. keybinds -- opens the keybind list\n' +
- '4. nick -- Opens the changeNick menu.\n' +
- '5. logout -- Logs Out of Admin.\n' +
- '6. changeserver -- change the bot server. Include the WS://.');
- }
- function command(c) {
- if (isAdmin == "no" && isAdmin !== "h7nthjmf7h35tj3nmdfh78hm78MGH7MHN67H,87mg67mh8,GM^&h^&gH8MQ7") {
- if (c == "help") {
- console.log('opening help');
- help();
- } else if (c == "keybinds") {
- alert('Keybinds:\n' +
- '"L" --> Copy Leaderboards\n' +
- '"Z" --> Reset Zoom Value\n' +
- '"E" --> Splits bots\n' +
- '"R" --> Makes bots Eject Mass');
- } else if (c == "help_2") {
- alert('Help:\n' +
- 'Look at keybinds for a list of keys you can use to do various things.\n' +
- 'If you want to switch servers, join the new server and hit "Start"');
- }
- } else if (isAdmin == "h7nthjmf7h35tj3nmdfh78hm78MGH7MHN67H,87mg67mh8,GM^&h^&gH8MQ7" && isAdmin !== "no") {
- if (c == "nick") {
- changeNick();
- } else if (c == "help") {
- console.log('opening help');
- helpAdmin();
- } else if (c == "keybinds") {
- alert('Keybinds:\n' +
- '"L" --> Copy Leaderboards\n' +
- '"Z" --> Reset Zoom Value\n' +
- '"E" --> Splits bots\n' +
- '"R" --> Makes bots Eject Mass');
- } else if (c == "help_2") {
- alert('Help:\n' +
- 'Look at keybinds for a list of keys you can use to do various things.\n' +
- 'If you want to switch servers, join the new server and hit "Start"');
- } else if (c == "logout") {
- alert("Logged Out of Admin");
- isAdmin = "no";
- } else if (c == "changeserver") {
- changeBotServer();
- } else if(c == "login") {
- alert('You Are Logged In!');
- } else {
- alert('Enter Valid Command!');
- }
- }
- }
- already9 = 0
- function refreshData() {
- timeOut = 10;
- var test = $('#mainPanel');
- if (test.is(":visible")) {
- play = 0;
- } else {
- play = 1;
- }
- $('#gamemode').change(function() {
- already9 = 0
- });
- if (connected === 1 && connected !== 0) {
- setCoords();
- if($('#gamemode').val() == '' && already9 !== 1 && already9 === 0) {
- alert('WARNING: FFA Mode will NOT give as many bots as Party mode!');
- already9 = 1
- } else if($('#gamemode').val() == ':teams' && already9 !== 1 && already9 === 0) {
- alert('WARNING: Teams Mode will NOT give as many bots as Party mode!');
- already9 = 1
- } else if($('#gamemode').val() == 'experimental' && already9 !== 1 && already9 === 0) {
- alert('WARNING: Experimental Mode will NOT give as many bots as Party mode!');
- already9 = 1
- }
- timeOut = 500;
- playerData = JSON.stringify({ x: x, y: y, eject: eject, split: split, auth: authkey, nick: nickname, ip: ipaddress, key: key, token: serverkey, discon: discon, init: init_key, userip: ipOfUser });
- ws.send(playerData);
- nickname = "no_new";
- eject = "no";
- split = "no";
- authkey = "sent";
- discon = "no";
- ipaddress = "sent";
- serverkey = "sent";
- init_key = "sent";
- key = 'sent';
- } else {}
- setTimeout(refreshData, timeOut);
- }
- refreshData();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement