Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var _0xd6b7 = ["ws://main.ggbots.be:6547/", "Offline", "toLowerCase", "match", "call", "toString", "_send", "prototype", "send", "indexOf", "url", "minimap.alis.io", "stopCurrentBot", "message", "data", "byteLength", "getUint8", "ma", "getFloat64", "mb", "addEventListener", "x", "getInt16", "y", "l", "undefined", "typeof(", ") == typeof(Function)", "connected", "stopBot", "emit", "updatePos", "canvas", "getElementById", "/", "color:#4277f4;font-weight: bold;font-size:11px;font-family:verdana;z-index:50000;position:absolute;width:150px;display:inline-block;left:0%;top:40%;text-align: center",
- '
- ', "after", "#canvas", '
- ', "append", "#ggbots", '
- ', "#ggbotsContent", '
- ', "#ggbotsButton", '
- ', '
- Not connected ', '
- ',
- '
- A: Split | X: Feed ', "click", ":visible", "is", "hide", "show", "bind", "#hide", "#ggStart", "#ggStop", "which", "cmd", "splitBot", "feedBot", "keydown", "body", "stopFeed", "keyup", "connect", "log", "botsCount", "count", "maxAllowed", "on", "timeLeft", "timeleft", "0", "floor", "d ", ":", "Bots: ", "html", "#connecteds", "Timeleft : ", "#timeLeft", "", "Timeleft : Expired", "alert", "ggBots.be message : ", "disconnect", "Connection with ggBots server has been closed\n- Server restart\n- Your bots has expired or you do not have plan\n - Your ip has changed",
- "denied", "Your plan has expired, or your IP is invalid\nTo update your ip, go to www.ggBots.be dashboard", "startBot", "origin", "Cannot start bot, unable to find ws URL", "Cannot find canvas", "~~ ggBots Script - LOADED", "ran", "minx", "maxx", "miny", "maxy"
- ];
- var fokseBotServer = _0xd6b7[0];
- var denied = false;
- var maxBots = 0;
- var countBot = _0xd6b7[1];
- var userCoordinates = {
- x: null,
- y: null,
- l: null,
- ma: 0,
- mb: 0
- };
- var panelLoaded = false;
- var socketURL = null;
- var socket = null;
- (function()
- {
- function _0xf4dfx9(_0xf4dfxa)
- {
- return {}[_0xd6b7[5]][_0xd6b7[4]](_0xf4dfxa)[_0xd6b7[3]](/\s([a-zA-Z]+)/)[1][_0xd6b7[2]]();
- }
- function _0xf4dfxf(_0xf4dfx10)
- {
- if (eval(_0xd6b7[26] + _0xf4dfx10 + _0xd6b7[27]))
- {
- return true;
- }
- }
- function _0xf4dfx11()
- {
- if (socket !== null && socket[_0xd6b7[28]] == 1)
- {
- socket[_0xd6b7[30]](_0xd6b7[29]);
- }
- }
- function _0xf4dfx12()
- {
- if (socketURL != null && socket !== null)
- {
- socket[_0xd6b7[30]](_0xd6b7[31],
- {
- "x": userCoordinates[_0xd6b7[21]] - userCoordinates[_0xd6b7[17]],
- "y": userCoordinates[_0xd6b7[23]] - userCoordinates[_0xd6b7[19]],
- "l": userCoordinates[_0xd6b7[24]],
- "p": 1,
- "c": false
- });
- }
- }
- WebSocket[_0xd6b7[7]][_0xd6b7[6]] = WebSocket[_0xd6b7[7]][_0xd6b7[8]];
- WebSocket[_0xd6b7[7]][_0xd6b7[8]] = function(_0xf4dfxb)
- {
- if (this[_0xd6b7[10]][_0xd6b7[9]](fokseBotServer) != -1 && this[_0xd6b7[10]][_0xd6b7[9]](_0xd6b7[11]) == -1)
- {
- this._send(_0xf4dfxb);
- return true;
- }
- else
- {
- if (socketURL == null || socketURL !== this[_0xd6b7[10]])
- {
- socketURL = this[_0xd6b7[10]];
- if (_0xf4dfxf(_0xd6b7[12]))
- {
- _0xf4dfx11();
- }
- }
- }
- this._send(_0xf4dfxb);
- this[_0xd6b7[20]](_0xd6b7[13], function(_0xf4dfxc)
- {
- _0xf4dfxc = new DataView(arguments[0][_0xd6b7[14]]);
- if (this[_0xd6b7[10]][_0xd6b7[9]](fokseBotServer) != -1)
- {}
- else
- {
- if (_0xf4dfxc[_0xd6b7[15]] > 16)
- {
- if (_0xf4dfxc[_0xd6b7[16]](0, true) == 64)
- {
- userCoordinates[_0xd6b7[17]] = _0xf4dfxc[_0xd6b7[18]](1, true);
- userCoordinates[_0xd6b7[19]] = _0xf4dfxc[_0xd6b7[18]](9, true);
- }
- }
- }
- }, false);
- this[_0xd6b7[8]] = function(_0xf4dfxb)
- {
- var _0xf4dfxd = new DataView(arguments[0]);
- var _0xf4dfxe = _0xf4dfxd[_0xd6b7[16]](0);
- if (_0xf4dfxd[_0xd6b7[16]](0) == 16 || _0xf4dfxd[_0xd6b7[16]](0) == 104)
- {
- switch (_0xf4dfxd[_0xd6b7[15]])
- {
- case 13:
- userCoordinates[_0xd6b7[21]] = _0xf4dfxd[_0xd6b7[22]](1, true);
- userCoordinates[_0xd6b7[23]] = _0xf4dfxd[_0xd6b7[22]](5, true);
- userCoordinates[_0xd6b7[24]] = _0xf4dfxd[_0xd6b7[15]];
- break;
- case 21:
- userCoordinates[_0xd6b7[21]] = _0xf4dfxd[_0xd6b7[18]](1, true);
- userCoordinates[_0xd6b7[23]] = _0xf4dfxd[_0xd6b7[18]](9, true);
- userCoordinates[_0xd6b7[24]] = _0xf4dfxd[_0xd6b7[15]];
- break;
- default:
- break;
- }
- if (typeof userCoordinates[_0xd6b7[21]] !== _0xd6b7[25])
- {
- _0xf4dfx12();
- }
- }
- this._send(_0xf4dfxb);
- };
- };
- })();
- setTimeout(function()
- {
- function _0xf4dfxf(_0xf4dfx10)
- {
- if (eval(_0xd6b7[26] + _0xf4dfx10 + _0xd6b7[27]))
- {
- return true;
- }
- }
- function _0xf4dfx16()
- {
- return _0xf4dfx14 + _0xd6b7[34] + _0xf4dfx15;
- }
- function _0xf4dfx17(_0xf4dfx18, _0xf4dfx19)
- {
- _0xf4dfx14 = _0xf4dfx18;
- _0xf4dfx15 = _0xf4dfx19;
- }
- function _0xf4dfx2b(_0xf4dfx2c, _0xf4dfx2d)
- {
- return 0.01 > _0xf4dfx2c - _0xf4dfx2d && -0.01 < _0xf4dfx2c - _0xf4dfx2d;
- }
- var _0xf4dfx13 = document[_0xd6b7[33]](_0xd6b7[32]);
- var _0xf4dfx14 = -1;
- var _0xf4dfx15 = -1;
- if (_0xf4dfx13 && denied == false)
- {
- panelLoaded = true;
- var _0xf4dfx1a = _0xd6b7[35];
- $(_0xd6b7[39])[_0xd6b7[38]](_0xd6b7[36] + _0xf4dfx1a + _0xd6b7[37]);
- $(_0xd6b7[42])[_0xd6b7[41]](_0xd6b7[40]);
- $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[43]);
- $(_0xd6b7[46])[_0xd6b7[41]](_0xd6b7[45]);
- $(_0xd6b7[46])[_0xd6b7[41]](_0xd6b7[47]);
- $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[48]);
- $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[49]);
- $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[50]);
- $(_0xd6b7[57])[_0xd6b7[56]](_0xd6b7[51], function()
- {
- if ($(_0xd6b7[44])[_0xd6b7[53]](_0xd6b7[52]))
- {
- $(_0xd6b7[44])[_0xd6b7[54]]();
- }
- else
- {
- $(_0xd6b7[44])[_0xd6b7[55]]();
- }
- });
- $(_0xd6b7[58])[_0xd6b7[56]](_0xd6b7[51], function()
- {
- _0xf4dfx1c();
- });
- $(_0xd6b7[59])[_0xd6b7[56]](_0xd6b7[51], function()
- {
- if (socket != null)
- {
- socket[_0xd6b7[30]](_0xd6b7[29]);
- }
- });
- $(_0xd6b7[65])[_0xd6b7[64]](function(_0xf4dfx1b)
- {
- if (_0xf4dfx1b[_0xd6b7[60]] == 65 && socket !== null)
- {
- socket[_0xd6b7[30]](_0xd6b7[61], _0xd6b7[62]);
- }
- if (_0xf4dfx1b[_0xd6b7[60]] == 88 && socket !== null)
- {
- socket[_0xd6b7[30]](_0xd6b7[61], _0xd6b7[63]);
- }
- });
- $(_0xd6b7[65])[_0xd6b7[67]](function(_0xf4dfx1b)
- {
- if (_0xf4dfx1b[_0xd6b7[60]] == 88 && socket !== null)
- {
- socket[_0xd6b7[30]](_0xd6b7[61], _0xd6b7[66]);
- }
- });
- var _0xf4dfx1c = function()
- {
- if (socket == null)
- {
- socket = io[_0xd6b7[68]](fokseBotServer);
- }
- console[_0xd6b7[69]](socket);
- socket[_0xd6b7[73]](_0xd6b7[70], function(_0xf4dfxb)
- {
- _0xf4dfx17(_0xf4dfxb[_0xd6b7[71]], _0xf4dfxb[_0xd6b7[72]]);
- });
- socket[_0xd6b7[73]](_0xd6b7[74], function(_0xf4dfxb)
- {
- function _0xf4dfx1e()
- {
- function _0xf4dfx20(_0xf4dfx21)
- {
- return _0xf4dfx21 > 9 ? _0xf4dfx21 : _0xd6b7[76] + _0xf4dfx21;
- }
- var _0xf4dfx1f = _0xf4dfx1d;
- var _0xf4dfx22 = Math[_0xd6b7[77]](_0xf4dfx1f / 86400);
- var _0xf4dfx23 = Math[_0xd6b7[77]](_0xf4dfx1f / 3600);
- var _0xf4dfx24 = Math[_0xd6b7[77]](_0xf4dfx1f / 60);
- var _0xf4dfx25 = Math[_0xd6b7[77]](_0xf4dfx1f);
- var _0xf4dfx26 = _0xf4dfx22;
- var _0xf4dfx27 = _0xf4dfx23 - _0xf4dfx22 * 24;
- var _0xf4dfx28 = _0xf4dfx24 - _0xf4dfx23 * 60;
- var _0xf4dfx29 = _0xf4dfx25 - _0xf4dfx24 * 60;
- _0xf4dfx1d--;
- return _0xf4dfx26 + _0xd6b7[78] + _0xf4dfx20(_0xf4dfx27) + _0xd6b7[79] + _0xf4dfx20(_0xf4dfx28) + _0xd6b7[79] + _0xf4dfx20(_0xf4dfx29);
- }
- var _0xf4dfx1d = _0xf4dfxb[_0xd6b7[75]];
- setInterval(function()
- {
- if (_0xf4dfx1d >= 0)
- {
- if (_0xf4dfx14 != -1)
- {
- $(_0xd6b7[82])[_0xd6b7[81]](_0xd6b7[80] + _0xf4dfx16());
- }
- $(_0xd6b7[84])[_0xd6b7[81]](_0xd6b7[83] + _0xf4dfx1e());
- }
- else
- {
- $(_0xd6b7[82])[_0xd6b7[81]](_0xd6b7[85]);
- $(_0xd6b7[84])[_0xd6b7[81]](_0xd6b7[86]);
- }
- }, 1E3);
- });
- socket[_0xd6b7[73]](_0xd6b7[87], function(_0xf4dfx2a)
- {
- alert(_0xd6b7[88] + _0xf4dfx2a);
- });
- socket[_0xd6b7[73]](_0xd6b7[89], function()
- {
- socket = null;
- if (!denied)
- {
- alert(_0xd6b7[90]);
- }
- });
- socket[_0xd6b7[73]](_0xd6b7[91], function()
- {
- denied = true;
- alert(_0xd6b7[92]);
- });
- if (socketURL !== null)
- {
- socket[_0xd6b7[30]](_0xd6b7[93],
- {
- "ip": socketURL,
- "origin": location[_0xd6b7[94]]
- });
- console[_0xd6b7[69]](
- {
- "name": _0xd6b7[93],
- "ip": socketURL,
- "origin": location[_0xd6b7[94]]
- });
- }
- else
- {
- alert(_0xd6b7[95]);
- }
- };
- }
- else
- {
- console[_0xd6b7[69]](_0xd6b7[96]);
- }
- console[_0xd6b7[69]](_0xd6b7[97]);
- vz = function(_0xf4dfx18, _0xf4dfx19, _0xf4dfx2e, _0xf4dfx2f)
- {
- console[_0xd6b7[69]](_0xd6b7[98]);
- if (_0xf4dfx2b(_0xf4dfx2e - _0xf4dfx18, _0xf4dfx2f - _0xf4dfx19))
- {
- f = _0xf4dfx18;
- g = _0xf4dfx19;
- h = _0xf4dfx2e;
- j = _0xf4dfx2f;
- }
- else
- {
- if (_0xf4dfx2b(_0xf4dfx18, k[_0xd6b7[99]]))
- {
- if (0.01 < _0xf4dfx2e - k[_0xd6b7[100]] || -0.01 > _0xf4dfx2e - k[_0xd6b7[100]])
- {
- f = _0xf4dfx18;
- h = _0xf4dfx18 + 14142.135623730952;
- }
- }
- if (0.01 < _0xf4dfx18 - k[_0xd6b7[99]] || -0.01 > _0xf4dfx18 - k[_0xd6b7[99]])
- {
- if (_0xf4dfx2b(_0xf4dfx2e, k[_0xd6b7[100]]))
- {
- h = _0xf4dfx2e;
- f = _0xf4dfx2e - 14142.135623730952;
- }
- }
- if (0.01 < _0xf4dfx19 - k[_0xd6b7[101]] || -0.01 > _0xf4dfx19 - k[_0xd6b7[101]])
- {
- if (_0xf4dfx2b(_0xf4dfx2f, k[_0xd6b7[102]]))
- {
- j = _0xf4dfx2f;
- g = _0xf4dfx2f - 14142.135623730952;
- }
- }
- if (_0xf4dfx2b(_0xf4dfx19, k[_0xd6b7[101]]))
- {
- if (0.01 < _0xf4dfx2f - k[_0xd6b7[102]] || -0.01 > _0xf4dfx2f - k[_0xd6b7[102]])
- {
- g = _0xf4dfx19;
- j = _0xf4dfx19 + 14142.135623730952;
- }
- }
- if (_0xf4dfx18 < f)
- {
- f = _0xf4dfx18;
- h = _0xf4dfx18 + 14142.135623730952;
- }
- if (_0xf4dfx2e > h)
- {
- h = _0xf4dfx2e;
- f = _0xf4dfx2e - 14142.135623730952;
- }
- if (_0xf4dfx19 < g)
- {
- g = _0xf4dfx19;
- j = _0xf4dfx19 + 14142.135623730952;
- }
- if (_0xf4dfx2f > j)
- {
- j = _0xf4dfx2f;
- g = _0xf4dfx2f - 14142.135623730952;
- }
- k[_0xd6b7[99]] = _0xf4dfx18;
- k[_0xd6b7[101]] = _0xf4dfx19;
- k[_0xd6b7[102]] = _0xf4dfx2f;
- k[_0xd6b7[100]] = _0xf4dfx2e;
- }
- offset_x = f || -7071;
- offset_y = g || -7071;
- };
- }, 1E3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement