Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ! function(e, o, t) {
- function a() {}
- function i(e, o, t, a, i) {
- this.id = e, this.nick = o, this.skinID = t, this.skinURL = a, 7 == i.length && (this.color = i)
- }
- function s() {}
- function n() {
- if (document.getElementById("canvas")) {
- var e = document.getElementById("canvas");
- return void e.addEventListener("mousemove", function(e) {
- o.play && o.cursorTracking && o.setCursorPosition && (o.clientX = e.clientX, o.clientY = e.clientY, o.setCursorPosition())
- }, !1)
- }
- setTimeout(n, 50)
- }
- function r() {
- return e.MC && e.MC.showNickDialog ? (e.MC._showNickDialog = e.MC.showNickDialog, e.MC.showNickDialog = function() {
- e.MC._showNickDialog.apply(this, arguments), t(".ogario-menu").show(), e.onkeydown = function() {}
- }, e.MC._showStatsDialog = e.MC.showStatsDialog, e.MC.showStatsDialog = function() {
- e.MC._showStatsDialog.apply(this, arguments), e.onkeydown = function() {}
- }, e.MC._onPlayerSpawn = e.MC.onPlayerSpawn, e.MC.onPlayerSpawn = function() {
- e.MC._onPlayerSpawn.apply(this, arguments), o.playerColor = null, M && M.onPlayerSpawn()
- }, e.MC._onPlayerDeath = e.MC.onPlayerDeath, e.MC.onPlayerDeath = function() {
- e.MC._onPlayerDeath.apply(this, arguments), M && M.onPlayerDeath()
- }, e.MC._onAgarioCoreLoaded = e.MC.onAgarioCoreLoaded, e.MC.onAgarioCoreLoaded = function() {
- e.MC._onAgarioCoreLoaded.apply(this, arguments), l()
- }, e.MC._wasInitialized = e.MC.wasInitialized, e.MC.wasInitialized = function() {
- e.MC._wasInitialized.apply(this, arguments), setTimeout(function() {
- l(), M && (M && M.getDefaultSettings(), t("#nick").val(w.nick).blur()), t(".btn-spectate").prop("disabled", !1), e.onkeydown = function() {}
- }, 1e3)
- }, void(e.MC.onPlayerBanned = function() {})) : void setTimeout(r, 50)
- }
- function l() {
- var a = 1 * e.innerWidth,
- i = 1 * e.innerHeight,
- s = t("#helloContainer"),
- n = s.innerHeight();
- n > 0 ? o.menuHeight = n : n = o.menuHeight || 618;
- var r = Math.min(1, i / n),
- l = n * r,
- c = Math.round(i / 2 - .5 * l),
- p = "translate(-50%, 0%) scale(" + r + ")";
- s.css("transform", p), s.css("-ms-transform", p), s.css("-webkit-transform", p), s.css("top", "" + c + "px"), o.innerW = a, o.innerH = i
- }
- function c() {
- return o.play ? u[d].exit : void 0
- }
- function p() {}
- /*var h = function() {
- var e = !0;
- return function(o, t) {
- var a = e ? function() {
- if (t) {
- var e = t.apply(o, arguments);
- return t = null, e
- }
- } : function() {};
- return e = !1, a
- }
- }();*/
- "/ogario" == e.location.pathname && e.history && e.history.replaceState && e.history.replaceState({}, e.document.title, "/" + e.location.hash),
- function() {
- /*var o = h(this, function() {
- var e = function() {
- return "dev"
- },
- o = function() {
- return "window"
- },
- t = function() {
- var o = RegExp("\\w+ *\\(\\) *{\\w+ *['|\"].+['|\"];? *}");
- return !o.test("" + e)
- },
- a = function() {
- var e = RegExp("(\\\\[x|u](\\w){2,4})+");
- return e.test("" + o)
- },
- i = function(e) {
- var o = 0;
- e.indexOf("i" === o) && s(e)
- },
- s = function(e) {
- var o = 3;
- e.indexOf((!0 + "")[3]) !== o && i(e)
- };
- i(t() ? "indеxOf" : a() ? "indexOf" : "indеxOf")
- });
- o(), */e.NREUM && (e.NREUM = null, delete e.NREUM), e.core && (e.core = null, delete e.core), t.ajax("http://agar.io/agario.core.js", {
- success: function(e) {
- var o = e;
- o = o.replace(/(\(function\(([\w$]+)\){)/i, "$1 var ogario=$2.ogario,gameCtx=null;"), o = o.replace(/(~~[\w]+)\+"px Ubuntu"/i, 'ogario.namesFontWeight+" "+$1+"px "+ogario.namesFontFamily'), o = o.replace(/(([\w$]+)=[\w$]+\.getContext\(\"2d\"\);)/i, 'if($2.id==="canvas"){$1 gameCtx=$2;}else{$1}'), o = o.replace(/(setTarget:function\((\w),(\w)\)\{)([\w$]+\(\w,\w\)})/i, "$1if(!ogario.play&&ogario.targeting){$2=ogario.targetX;$3=ogario.targetY;}if(ogario.pause){$2=ogario.innerW/2*ogario.canvasScale; $3=ogario.innerH/2*ogario.canvasScale;}$4"), o = o.replace(/(function\s*([\w$]+)\(\w\){return\s*[\w$]+\(\w,\w\)})/i, "$1 ogario.getString=$2;"), o = o.replace(/(\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);\w\[\w\+(\d+)>>3]=(\w);)/i, "$1 if(ogario.setMapCoords){ogario.setMapCoords($3,$5,$7,$9,$2,$8);}"), o = o.replace(/if\((\+\w\[\w>>3\])<1\.0\){/i, "if($1<ogario.zoomResetValue){"), o = o.replace(/(\w)(=\+(\w\[\w>>3\])\*\+\w\()(\.\d)(,\+\w\);)/i, "if(!ogario.autoZoom){$3=ogario.zoomValue;} $1$2 (ogario.zoomSpeedValue||0.9) $5 ogario.zoomValue=$1;"), o = o.replace(/(\w=\w\[\w>>2\]\|0;)((\w\[\w>>3\])=(\w);)(\w\[\w>>0\]=a\[\w>>0\];)/i, "$1 if(!ogario.autoZoom){$3=ogario.zoomValue;}else{$2}$5"), o = o.replace(/(do{\w=\+\w\[\(\w\[\w>>2\]\|0\)\+\d+>>2];\w=\w\+\s*)(\+\(~~\+\w\(\+\(\w\*\w\/100\.0\)\)\|0\))(;\w=\w\+4\|0}while\(\(\w\|0\)!=\(\w\|0\)\);(\w)=(\w);)/i, "ogario.playerCellsMass=[]; $1$2; ogario.playerCellsMass.push($2)$3 ogario.playerMass=$5; if(ogario.calculateMass){ogario.calculateMass();}"), o = o.replace(/([\w$]+\(\d+,\w\[\w>>2\]\|0,(\+\w),(\+\w)\)\|0;[\w$]+\(\d+,\w\[\w>>2\]\|0,\+-(\+\w\[\w\+\d+>>3\]),\+-(\+\w\[\w\+\d+>>3\])\)\|0;)/i, "$1 ogario.viewScale=$2; ogario.playerX=$4; ogario.playerY=$5; if(ogario.customDraw){ogario.customDraw(gameCtx);}"), o = o.replace(/(while\(0\);)([\w$]+\(\w,\w\);)([\w$]+\(\w,\w\);)([\w$]+\(\w,\w\);)([\w$]+\(\w,\w\);)(\w\[\w\+\d+>>0\]=1;\w=\w;return})/i, "$1$6"), o = o.replace(/[\w$]+\(\w,\d+,15\);else/i, "{}"), o = o.replace(/(\d\.\d;return}function\s*)([\w$]+\(.,.\)){/i, "$1$2{if(ogario.drawGrid){ogario.drawGrid(gameCtx);} return;"), o = o.replace(/(if\(\(\w\[\d+\]\|0\)!=0\?\(\w\[\d+\]\|\w\[(\w)\+\d+>>0\]\)<<24>>24==0:0\))((\w)=\w\[(\w)\+\d+>>2\]\|0;)else/i, "ogario.cellMemOffset=$2; $1 if(!ogario.vanillaSkins&&ogario.customSkins){$4=0;}else{$3}else"), o = o.replace(/if\((\(\w\|0\)!=0\?\(\w\[\w\+\d+>>2\]&2\|0\)!=0:0)\){/i, "if(($1)&&!ogario.customSkins){"), o = o.replace(/do\s*if\((\w)\){((\w)=!\((\+\w\[\w>>2\])<=20\.0\);)([\w$]+\(\d+,\w\[\w>>2]\|0\)\|0;[\w$]+\(\d+,\w\[\w>>2]\|0,(\+\(\+\w\[\w>>2\]\)),(\+\(\+\w\[\w>>2\]\)),\+\(\+\w\[\w>>2\])\+5\.0(\),0\.0,6\.283185307179586,0\)\|0;[\w$]+\(\d+,\w\[\w>>2]\|0\)\|0;\w=\w\[\w>>2\]\|0;)if\(\w\){([\w$]+\(\d+,\w\|0,(\w&255\|0),(\w&255\|0),(\w&255\|0)\)\|0;)([\w$]+\(\d+,\w\[\w>>2]\|0\)\|0;)/i, "var nick=null,color=null,skin=null,cellX=null,cellY=null,cellSize=null,isFood=false,isVirus=false,isPlayerCell=false,skipCell=false;do if($1=1,$1){cellSize=$4;$2 if(!$3){isFood=true;if(!ogario.showFood){break;} if(ogario.autoHideFood&&!ogario.foodIsHidden&&ogario.playerMass>1000){ogario.showFood=false;ogario.foodIsHidden=true;} if(!ogario.rainbowFood){ogario.foodCache.push({x:$6,y:$7,size:cellSize});break;}} if(ogario.hideSmallBots&&cellSize<=36){skipCell=true;break;}$5$8 if($3){if(gameCtx){ogario.globalApha=gameCtx.globalAlpha;cellX=$6;cellY=$7;if(gameCtx.lineJoin==='miter'){isVirus=true;if(ogario.play&&ogario.virColors&&ogario.setVirusColor&&ogario.setVirusStrokeColor){gameCtx.fillStyle=ogario.setVirusColor(cellSize);gameCtx.strokeStyle=ogario.setVirusStrokeColor(cellSize);}else{gameCtx.fillStyle=ogario.virusColor;gameCtx.strokeStyle=ogario.virusStrokeColor;} if(ogario.transparentViruses){gameCtx.globalAlpha*=ogario.virusAlpha;} if(ogario.virusesRange&&ogario.play){ogario.virusesCache.push({x:cellX,y:cellY,size:cellSize});}}else{if(ogario.nameMemOffset&&ogario.cellMemOffset&&ogario.getString){if((a[ogario.cellMemOffset+ogario.nameMemOffset+4>>0]&1)==0|0){nick=ogario.getString(ogario.cellMemOffset+ogario.nameMemOffset+5);}else{nick=ogario.getString(c[ogario.cellMemOffset+ogario.nameMemOffset+12>>2]|0);}} if(ogario.rgb2Hex){color=ogario.rgb2Hex($10,$11,$12);} if(nick&&nick.length>0&&color){if(ogario.showCustomSkins&&ogario.customSkins&&ogario.getCustomSkin){skin=ogario.getCustomSkin(nick,color);}} if(ogario.play){if(ogario.cellMemOffset&&ogario.idOffset&&ogario.idMemOffset){var idA=c[ogario.cellMemOffset+ogario.idOffset>>2]|0;var idB=c[ogario.idMemOffset]|0;var idC=c[ogario.idMemOffset+1]|0;loop:do{if((idB|0)!=(idC|0)){while(true){if((c[idB>>2]|0)==(idA|0)){break loop;}idB=idB+4|0;if((idB|0)==(idC|0)){idB=idC;break;}}}}while(false);isPlayerCell=(idB|0)!=(idC|0);} if(isPlayerCell&&ogario.playerCells){ogario.playerCells.push({x:cellX,y:cellY,size:cellSize});ogario.playerColor=color;} if(((ogario.oppColors&&!ogario.oppRings)||(ogario.myCustomColor&&isPlayerCell))&&ogario.setOppColor){gameCtx.fillStyle=ogario.setOppColor(cellSize,isPlayerCell);}else{$9} if(!isPlayerCell&&(ogario.splitRange||ogario.oppRings)&&ogario.cacheCells){ogario.cacheCells(cellX,cellY,cellSize);}}else{$9} if(ogario.transparentCells){gameCtx.globalAlpha*=ogario.cellsAlpha;}}$13gameCtx.globalAlpha=ogario.globalApha;if(isVirus){gameCtx.lineWidth=ogario.virusStrokeSize;gameCtx.stroke();}if(((ogario.transparentSkins||(ogario.play&&ogario.oppColors))&&!(isPlayerCell&&!ogario.myTransparentSkin))||isPlayerCell&&ogario.myTransparentSkin){gameCtx.globalAlpha*=ogario.skinsAlpha;} if(skin){gameCtx.save();gameCtx.clip();gameCtx.drawImage(skin,cellX-cellSize,cellY-cellSize,2*cellSize,2*cellSize);gameCtx.restore();}}else{$9$13}break;"), o = o.replace(/(if\(\(\w\[\w\+\d+>>0\]\|0\)==0\?\(\(\(\(\w\[\w\+\d+>>2\]\|0\)\+\(\w\[\d+\]\|0\)\|0\)>>>0\)%10\|0\|0\)!=0:0\){\w=\w\[\w>>2\]\|0;[\w$]+\(\d+,\w\|0\)\|0;\w=\w;return})([\w$]+\(\w,\w\);)/i, "if(gameCtx&&ogario){gameCtx.globalAlpha=ogario.globalApha; if(ogario.teammatesInd&&ogario.indicator&&skin&&!isPlayerCell&&cellSize<=200){gameCtx.drawImage(ogario.indicator,cellX-45,cellY-cellSize-90);}}$1 if(!(skipCell||(ogario.autoHideCellsInfo&&ogario.setAutoHideCellsInfo&&cellSize&&!isFood&&!isVirus&&!isPlayerCell&&ogario.setAutoHideCellsInfo(cellSize)))){$2}"), o = o.replace(/([\w$]+\(\d+\,\w\[\w>>2\]\|0\)\|0}}while\(0\);do\s*if\()(\w)\)/i, "$1$2&&ogario.vanillaSkins&&!skin)"), o = o.replace(/(\w=0;\w=\w\[\w\+(\d+)>>2\]\|0;\w=\w\[(\d+)\]\|0;\w=\w\[\d+\]\|0;)(\w:do)/i, "$1 ogario.idOffset=$2; ogario.idMemOffset=$3; $4"), o = o.replace(/(\w=\w\+5\+\(\(\w\|0\)\/)2(\|0\)\|0)/i, "$1 ogario.massScaleMargin $2"), o = o.replace(/((\w)=\+[\w$]+\(\+\(\+[\w$]+\(\d+\)\*10.0\)\)\/10.0;)/i, "$1 if($2<0.3){$2=0.3}"), o = o.replace(/((\w)=\(\w\|0\)<20\?20.0:\+\(\w\|0\);)/i, "$1 $2*=ogario.massScale;"), o = o.replace(/do\s+if\((\w)\|(\(\w\[\d+\]\|0\)\!=0)\){/i, "do if(($2&&!($1&&ogario.hideMyName))||!ogario.nameMemOffset){"), o = o.replace(/(\w=\w\+(\d+)\|0;\w=~~\(\+\w\[\w\+\d+>>2\]\*\.3\);)((\w)=\(\w\|0\)<26\?26.0:\+\(\w\|0\);)/i, "$1 ogario.nameMemOffset=$2; $3 $4*=ogario.nameScale;"), o = o.replace(/(if\(\w<=)(20\.0)(\){\w=\w;return})(if\(!(\w)\){if\(\(\w\[\d+\]\|0\)!=\(\w\[\d+\]\|0\)\){\w=\w;return}if\(\(\w\[\w\+\d+>>0\]\|0\)!=0\?\(\w\[\w>>0\]\|0\)==0:0\){\w=\w;return}})((\w\[\w>>2\])=~~\+[\w$]+\(\+\((\w)\*\w\/100\.0\)\);)/i, "$140.0||$5&&ogario.hideMyMass||!$5&&ogario.hideEnemiesMass$3$6");
- var t = document.createElement("script");
- t.textContent = o, t.async = !0, document.body.appendChild(t)
- },
- dataType: "text",
- method: "GET",
- cache: !1,
- crossDomain: !0
- })
- }();
- var d = "en",
- m = e.navigator.language || e.navigator.userLanguage;
- "pl" === m && (d = "pl");
- var u = {
- pl: {
- start: "Start",
- settings: "Ustawienia",
- restoreSettings: "Przywróc ustawienia domyślne",
- respGroup: "Odrodzenie",
- zoomGroup: "Zoom",
- namesGroup: "Nazwy",
- massGroup: "Masa",
- skinsGroup: "Skiny",
- foodGroup: "Pokarm",
- transparencyGroup: "Przezroczystość / kolory",
- gridGroup: "Siatka / sektory",
- miniMapGroup: "Minimapa",
- helpersGroup: "Wspomagacze",
- mouseGroup: "Sterowanie myszką",
- hudGroup: "HUD",
- chatGroup: "Czat",
- statsGroup: "Statystyki",
- extrasGroup: "Dodatkowe",
- noSkins: "Wyłącz skiny",
- noNames: "Wyłącz nazwy",
- noColors: "Wyłącz kolory",
- showMass: "Pokaż masę",
- skipStats: "Pomiń statystyki po śmierci",
- quickResp: "Szybkie odrodzenie (klawisz)",
- autoResp: "Auto odrodzenie",
- autoZoom: "Auto zoom",
- zoomSpeed: "Szybkość zoomu",
- autoHideCellsInfo: "Autoukrywanie nazw i masy",
- autoHideFood: "Autoukrywanie pokarmu",
- hideMyName: "Ukryj własną nazwę",
- hideMyMass: "Ukryj własną masę",
- hideEnemiesMass: "Ukryj masę przeciwników",
- vanillaSkins: "Podstawowe skiny",
- customSkins: "Własne skiny",
- myTransparentSkin: "Mój przezroczysty skin",
- myCustomColor: "Mój własny kolor",
- transparentCells: "Przezroczyste kulki",
- transparentViruses: "Przezroczyste wirusy",
- transparentSkins: "Przezroczyste skiny",
- showGrid: "Siatka",
- showBgSectors: "Sektory w tle",
- showMapBorders: "Granice mapy",
- showMiniMap: "Pokaż minimapę",
- showMiniMapGrid: "Pokaż siatkę minimapy",
- showMiniMapGuides: "Pokaż prowadnice na minimapie",
- oneColoredTeammates: "Jednokolorowi gracze",
- rainbowFood: "Kolorowy pokarm",
- oppColors: "Kolory przeciwników",
- oppRings: "Ringi przeciwników",
- virColors: "Kolory wirusów",
- splitRange: "Zasięg podziału",
- virusesRange: "Zasięg wirusów",
- textStroke: "Obwódki nazw i masy",
- cursorTracking: "Śledzenie kursora",
- teammatesInd: "Wskaźniki graczy",
- mouseSplit: "LPM - Split myszką",
- mouseFeed: "PPM - Feed myszką",
- mouseInvert: "Odwróć klawisze myszki",
- disableChat: "Wyłącz czat",
- hideChat: "Ukryj czat",
- showChatBox: "Czatbox zamiast wyskakujących wiadomości",
- showChatImages: "Pokaż obrazki na czacie",
- showChatVideos: "Pokaż filmiki na czacie",
- showTop5: "Pokaż top 5 teamu",
- showTargeting: "Pokaż namierzanie",
- showTime: "Pokaż aktualny czas",
- normalLb: 'Nagłówek "Topka"',
- centeredLb: "Wyśrodkowana topka",
- fpsAtTop: "Statystyki na górze",
- showStats: "Pokaż statystyki",
- showStatsMass: "Statystyki: Masa",
- showStatsSTE: "Statystyki: STE",
- showStatsN16: "Statystyki: n/16",
- showStatsFPS: "Statystyki: FPS",
- blockPopups: "Blokuj popupy (reklamy/sklep)",
- hotkeys: "Skróty klawiszowe",
- "hk-inst-assign": "Aby ustawić skrót klawiszowy kliknij na polu skrótu i naciśnij wybrany klawisz.",
- "hk-inst-delete": "Aby usunąć skrót klawiszowy kliknij na polu skrótu i naciśnij klawisz DELETE.",
- "hk-inst-keys": "Możliwe kombinacje skrótów klawiszowych z użyciem klawiszy CTRL oraz ALT.",
- "hk-feed": "Feed",
- "hk-macroFeed": "Szybki feed",
- "hk-split": "Podział",
- "hk-doubleSplit": "Podwójny podział",
- "hk-split16": "Podział na 16",
- "hk-pause": "Pauza kulki",
- "hk-showTop5": "Pokaż/ukryj top 5 teamu",
- "hk-showTime": "Pokaż/ukryj aktualny czas",
- "hk-showSplitRange": "Pokaż/ukryj zasięg podziału",
- "hk-showSplitInd": "Pokaż/ukryj zasięg podziału z ringami",
- "hk-showTeammatesInd": "Pokaż/ukryj wskaźniki graczy",
- "hk-showOppColors": "Pokaż/ukryj kolory przeciwników",
- "hk-toggleSkins": "Przełącz skiny (własne/standardowe)",
- "hk-showSkins": "Pokaż/ukryj skiny",
- "hk-showStats": "Pokaż/ukryj statystyki gry",
- "hk-toggleCells": "Przełącz kulkę (najmniejsza/największa)",
- "hk-showFood": "Pokaż/ukryj pokarm",
- "hk-showGrid": "Pokaż/ukryj siatkę",
- "hk-showMiniMapGuides": "Pokaż/ukryj prowadnice na minimapie",
- "hk-hideChat": "Pokaż/ukryj czat",
- "hk-showHUD": "Pokaż/ukryj HUD",
- "hk-copyLb": "Kopiuj topkę",
- "hk-showLb": "Pokaż/ukryj topkę",
- "hk-toggleAutoZoom": "Włącz/wyłącz auto zoom",
- "hk-resetZoom": "Reset zoomu",
- "hk-zoomLevel": "Zoom - poziom",
- "hk-toggleDeath": "Przełącz miejsce śmierci",
- "hk-clearChat": "Pokaż historię czatu / Czyść czat",
- "hk-showBgSectors": "Pokaż/ukryj sektory w tle",
- "hk-hideBots": "Pokaż/ukryj małe boty",
- "hk-showNames": "Pokaż/ukryj nazwy",
- "hk-showMass": "Pokaż/ukryj masę",
- "hk-showMiniMap": "Pokaż/ukryj minimapę",
- "hk-chatMessage": "Napisz wiadomość na czacie",
- "hk-quickResp": "Szybkie odrodzenie (respawn)",
- "hk-autoResp": "Włącz/wyłacz auto odrodzenie",
- "hk-switchServerMode": "Przełącz serwer [publiczny/prywatny]",
- "hk-showTargeting": "Pokaż/ukryj panel namierzania",
- "hk-setTargeting": "Włącz/wyłącz namierzanie (śledzenie)",
- "hk-cancelTargeting": "Zatrzymaj namierzanie",
- "hk-changeTarget": "Zmień cel",
- "hk-privateMiniMap": "Pokaż cel na minimapie",
- commands: "Komendy",
- comm1: "Feeduj!",
- comm2: "Dziel się!",
- comm3: "Pomocy na %currentSector%!",
- comm4: "Wróg na %currentSector%!",
- comm5: "Zabij pomocnika!",
- comm6: "Strzel z wirusa!",
- comm7: "Zjedz wirusa!",
- comm8: "Zjebałem, wybacz.",
- comm9: "Ja pierdolę...",
- comm0: "Kurwa mać!",
- comm10: "Trick!",
- comm11: "Lewo!",
- comm12: "Góra!",
- comm13: "Prawo!",
- comm14: "Dół!",
- saveComm: "Zapisz komendy",
- theme: "Wygląd",
- restoreThemeSettings: "Przywróc ustawienia domyślne wyglądu",
- basicTheming: "Podstawowy",
- themePreset: "Motyw",
- themeType: "Typ motywu",
- darkTheme: "Ciemny motyw",
- lightTheme: "Jasny motyw",
- mainColor: "Kolor główny",
- bgColor: "Tło",
- foodColor: "Pokarm",
- gridColor: "Siatka / sektory",
- bordersColor: "Granice mapy",
- virusColor: "Wirusy",
- virusStrokeColor: "Obwódki wirusów",
- namesFont: "Czcionka nazw i masy",
- sectorsFont: "Czcionka sektorów",
- nameScale: "Skala nazw",
- massScale: "Skala masy",
- foodSize: "Wielkość pokarmu",
- bordersWidth: "Grubość granic mapy",
- sectorsWidth: "Grubość siatki sektorów",
- sectorsFontSize: "Rozmiar czcionki sektorów",
- cellsAlpha: "Przezroczystość kulek",
- skinsAlpha: "Przezroczystość skinów",
- virusAlpha: "Przezroczystość wirusów",
- virusStrokeSize: "Grubość obwódki wirusów",
- cursorTrackingColor: "Śledzenie kursora",
- splitRangeColor: "Zasięg podziału",
- menuTheming: "Menu",
- menuPreset: "Motyw menu",
- menuMainColor: "Kolor główny",
- menuBtnTextColor: "Tekst przycisku",
- menuPanelColor: "Panel",
- menuPanelColor2: "Panel (2)",
- menuTextColor: "Tekst panelu",
- menuTextColor2: "Tekst panelu (2)",
- btn1Color: "Przycisk #1",
- btn1Color2: "Przycisk #1 (2)",
- btn2Color: "Przycisk #2",
- btn2Color2: "Przycisk #2 (2)",
- btn3Color: "Przycisk #3",
- btn3Color2: "Przycisk #3 (2)",
- btn4Color: "Przycisk #4",
- btn4Color2: "Przycisk #4 (2)",
- menuBg: "Grafika tła panelu",
- menuOpacity: "Przezroczystość",
- hudTheming: "HUD",
- hudMainColor: "Kolor główny",
- hudColor: "Tło",
- hudTextColor: "Tekst",
- statsHudColor: "Statystyki",
- timeHudColor: "Czas",
- top5MassColor: "Masa w top 5",
- lbMeColor: "Topka - ja",
- lbTeammateColor: "Topka - team",
- hudFont: "Czcionka HUD",
- hudScale: "Skala HUD",
- chatTheming: "Czat",
- messageColor: "Tło wiadomości",
- messageTextColor: "Tekst wiadomości",
- messageTimeColor: "Czas wiadomości",
- messageNickColor: "Nick wiadomości",
- commandsColor: "Tło komendy",
- commandsTextColor: "Tekst komendy",
- commandsTimeColor: "Czas komendy",
- commandsNickColor: "Nick komendy",
- chatBoxColor: "Tło czatboxu",
- chatScale: "Skala czatu",
- miniMapTheming: "Minimapa",
- miniMapSectorColor: "Sektor",
- miniMapGuidesColor: "Prowadnice",
- miniMapNickColor: "Nick",
- miniMapNickStrokeColor: "Obwódka nicku",
- miniMapMyCellColor: "Moja kulka",
- miniMapMyCellStrokeColor: "Obwódka mojej kulki",
- miniMapTeammatesColor: "Gracze",
- miniMapDeathLocationColor: "Miejsce śmierci",
- miniMapFont: "Czcionka minimapy",
- miniMapNickFont: "Czcionka nicku",
- miniMapWidth: "Szerokość minimapy",
- miniMapSectorsOpacity: "Przezroczystość sektorów",
- miniMapNickSize: "Rozmiar nicku",
- miniMapNickStrokeSize: "Grubość obwódki nicku",
- miniMapMyCellSize: "Wielkość mojej kulki",
- miniMapMyCellStrokeSize: "Grubość obwódki mojej kulki",
- miniMapTeammatesSize: "Wielkość graczy",
- imagesTheming: "Grafika / kursory",
- customBackground: "Grafika tła",
- customCursor: "Grafika kursora",
- hideChatMsgA: "Czat jest aktywny!",
- hideChatMsgB: "Czat został ukryty!",
- showSkinsMsgA: "Skiny są widoczne!",
- showSkinsMsgB: "Skiny zostały ukryte!",
- hideSmallBotsMsgA: "Małe boty są widoczne!",
- hideSmallBotsMsgB: "Małe boty zostały ukryte!",
- autoRespMsgA: "Auto odrodzenie zostało włączone!",
- autoRespMsgB: "Auto odrodzenie zostało wyłączone!",
- autoZoomMsgA: "Auto zoom został włączony!",
- autoZoomMsgB: "Auto zoom został wyłączony!",
- targetNotSet: "Brak celu",
- targetDead: "Nie żyje",
- targetDistance: "Dystans",
- targetMass: "Masa razem",
- totalPartyPlayers: "Aktywnych graczy",
- totalPartyMass: "Łącznie masy",
- exportImport: "Eksport / import ustawień",
- exportSettings: "Eksportuj ustawienia",
- exportInfo: "Aby wyeksportować wybrane ustawienia skopiuj poniższy kod i zapisz go w pliku tekstowym z kodowaniem Unicode.",
- importSettings: "Importuj ustawienia",
- importInfo: 'Aby zaimportować wybrane ustawienia wklej poniżej wyeksportowany wcześniej kod i naciśnij przycisk "Importuj ustawienia".',
- profile: "Profil",
- profiles: "Profile",
- skins: "Skiny",
- moreSkins: "Dodaj skiny",
- thanks: "Dzięki Awesome!",
- saveSett: "Zapisz ustawienia",
- saved: "Zapisano!",
- resetSett: "Resetuj ustawienia",
- close: "Zamknij",
- enterChatMsg: "Napisz wiadomość",
- activeParties: "Aktywne party",
- noActiveParties: "Brak aktywnych party ;(",
- playlist: "Playlista",
- pause: "PAUZA!",
- visit: "Odwiedź",
- exit: "OGARio by szymy: Czy na pewno chcesz opuścic grę?",
- blockWarn: "UWAGA! Popupy zostały zablokowane w ustawieniach.",
- unblockPopups: "Odblokuj tymczasowo",
- mass: "Masa",
- score: "Top",
- leaderboard: "Topka",
- page_back_button: "Wróć",
- page_create_party: "Stwórz party",
- page_join_party: "Dołącz",
- page_login_and_play: "Zaloguj",
- page_logout: "Wyloguj",
- page_menu_login_facebook: "Zaloguj z Facebook",
- page_menu_login_google: "Zaloguj z Google",
- page_menu_main_free_coins: "Darmowe Monety",
- page_menu_main_gifts: "Prezenty",
- page_party_join_error: "Nie można dołączyć do tego party. Upewnij się, że token jest prawidłowy lub stwórz nowy.",
- page_play: "Graj",
- page_play_as_guest: "Graj jako gość",
- page_shop: "Sklep",
- page_spectate: "Obserwuj",
- page_stats: "Statystyki"
- },
- en: {
- start: "Home",
- settings: "Settings",
- restoreSettings: "Restore default settings",
- respGroup: "Respawn",
- zoomGroup: "Zoom",
- namesGroup: "Names",
- massGroup: "Mass",
- skinsGroup: "Skins",
- foodGroup: "Food",
- transparencyGroup: "Transparency / colors",
- gridGroup: "Grid / sectors",
- miniMapGroup: "Minimap",
- helpersGroup: "Helpers",
- mouseGroup: "Mouse control",
- hudGroup: "HUD",
- chatGroup: "Chat",
- statsGroup: "Stats",
- extrasGroup: "Extras",
- noSkins: "No skins",
- noNames: "No names",
- noColors: "No colors",
- showMass: "Show mass",
- skipStats: "Skip stats after death",
- quickResp: "Quick respawn (hotkey)",
- autoResp: "Auto respawn",
- autoZoom: "Auto zoom",
- zoomSpeed: "Zoom speed",
- autoHideCellsInfo: "Auto hide names and mass",
- autoHideFood: "Auto hide food",
- hideMyName: "Hide my name",
- hideMyMass: "Hide my mass",
- hideEnemiesMass: "Hide enemies mass",
- vanillaSkins: "Vanilla skins",
- customSkins: "Custom skins",
- myTransparentSkin: "My transparent skin",
- myCustomColor: "My custom color",
- transparentCells: "Transparent cells",
- transparentViruses: "Transparent viruses",
- transparentSkins: "Transparent skins",
- showGrid: "Show grid",
- showBgSectors: "Show background sectors",
- showMapBorders: "Show map borders",
- showMiniMap: "Show minimap",
- showMiniMapGrid: "Show minimap grid",
- showMiniMapGuides: "Show minimap guides",
- oneColoredTeammates: "One-colored teammates",
- rainbowFood: "Rainbow food",
- oppColors: "Opponents colors",
- oppRings: "Opponents rings",
- virColors: "Viruses colors",
- splitRange: "Split range",
- virusesRange: "Viruses range",
- textStroke: "Names and mass stroke",
- cursorTracking: "Cursor tracking",
- teammatesInd: "Teammates indicators",
- mouseSplit: "LMB - Mouse split",
- mouseFeed: "RMB - Mouse feed",
- mouseInvert: "Invert mouse buttons",
- disableChat: "Disable chat",
- hideChat: "Hide chat",
- showChatBox: "Chatbox instead of popups",
- showChatImages: "Show images on chat",
- showChatVideos: "Show videos on chat",
- showTop5: "Show team top 5",
- showTargeting: "Show targeting",
- showTime: "Show current time",
- normalLb: '"Leaderboard" header',
- centeredLb: "Centered leaderboard",
- fpsAtTop: "Game stats at the top",
- showStats: "Show game stats",
- showStatsMass: "Game stats: Mass",
- showStatsSTE: "Game stats: STE",
- showStatsN16: "Game stats: n/16",
- showStatsFPS: "Game stats: FPS",
- blockPopups: "Block popups (ads/shop)",
- hotkeys: "Hotkeys",
- "hk-inst-assign": "To assign a hotkey click on the input field and press your chosen key.",
- "hk-inst-delete": "To delete a hotkey click on the input field and press the DELETE key.",
- "hk-inst-keys": "Possible key combinations with the CTRL and ALT keys.",
- "hk-feed": "Feed",
- "hk-macroFeed": "Macro feed",
- "hk-split": "Split",
- "hk-doubleSplit": "Double split",
- "hk-split16": "Split 16",
- "hk-pause": "Cell pause",
- "hk-showTop5": "Show/hide team top 5",
- "hk-showTime": "Show/hide current time",
- "hk-showSplitRange": "Show/hide split range",
- "hk-showSplitInd": "Show/hide split indicators",
- "hk-showTeammatesInd": "Show/hide teammates indicators",
- "hk-showOppColors": "Show/hide opponents colors",
- "hk-toggleSkins": "Toggle skins (custom/default)",
- "hk-showSkins": "Show/hide skins",
- "hk-showStats": "Show/hide game stats",
- "hk-toggleCells": "Toggle own cells (smallest/biggest)",
- "hk-showFood": "Show/hide food",
- "hk-showGrid": "Show/hide grid",
- "hk-showMiniMapGuides": "Show/hide minimap guides",
- "hk-hideChat": "Show/hide chat",
- "hk-showHUD": "Show/hide HUD",
- "hk-copyLb": "Copy leaderboard",
- "hk-showLb": "Show/hide leaderboard",
- "hk-toggleAutoZoom": "Toggle auto zoom",
- "hk-resetZoom": "Reset zoom",
- "hk-zoomLevel": "Zoom level",
- "hk-toggleDeath": "Toggle death location",
- "hk-clearChat": "Show chat history / Clear chat",
- "hk-showBgSectors": "Show/hide background sectors",
- "hk-hideBots": "Show/hide small bots",
- "hk-showNames": "Show/hide names",
- "hk-showMass": "Show/hide mass",
- "hk-showMiniMap": "Show/hide minimap",
- "hk-chatMessage": "Enter chat message",
- "hk-quickResp": "Quick respawn",
- "hk-autoResp": "Toggle auto respawn",
- "hk-switchServerMode": "Switch server [public/private]",
- "hk-showTargeting": "Show/hide targeting panel",
- "hk-setTargeting": "Start/stop targeting (following)",
- "hk-cancelTargeting": "Cancel targeting",
- "hk-changeTarget": "Change target",
- "hk-privateMiniMap": "Show target on the minimap",
- commands: "Commands",
- comm1: "Feed me!",
- comm2: "Split into me!",
- comm3: "Need backup at %currentSector%!",
- comm4: "Enemy spotted at %currentSector%!",
- comm5: "Need a teammate!",
- comm6: "Tank the virus!",
- comm7: "Eat the virus!",
- comm8: "Let's bait!",
- comm9: "Fake tricksplit!",
- comm0: "Fuck!",
- comm10: "Tricksplit!",
- comm11: "Left!",
- comm12: "Up!",
- comm13: "Right!",
- comm14: "Bottom!",
- saveComm: "Save commands",
- theme: "Theme",
- restoreThemeSettings: "Restore theme default settings",
- basicTheming: "Basic theming",
- themePreset: "Theme preset",
- themeType: "Theme type",
- darkTheme: "Dark theme",
- lightTheme: "Light theme",
- mainColor: "Main color",
- bgColor: "Background",
- foodColor: "Food",
- gridColor: "Grid / sectors",
- bordersColor: "Map borders",
- virusColor: "Virus",
- virusStrokeColor: "Virus stroke",
- namesFont: "Names & mass font",
- sectorsFont: "Sectors font",
- nameScale: "Name scale",
- massScale: "Mass scale",
- foodSize: "Food size",
- bordersWidth: "Map borders width",
- sectorsWidth: "Sectors grid width",
- sectorsFontSize: "Sectors font size",
- cellsAlpha: "Cells transparency",
- skinsAlpha: "Skins transparency",
- virusAlpha: "Virus transparency",
- virusStrokeSize: "Virus stroke size",
- cursorTrackingColor: "Cursor tracking",
- splitRangeColor: "Split range",
- menuTheming: "Menu",
- menuPreset: "Menu theme",
- menuMainColor: "Main color",
- menuBtnTextColor: "Button text",
- menuPanelColor: "Panel",
- menuPanelColor2: "Panel (2)",
- menuTextColor: "Panel text",
- menuTextColor2: "Panel text (2)",
- btn1Color: "Button #1",
- btn1Color2: "Button #1 (2)",
- btn2Color: "Button #2",
- btn2Color2: "Button #2 (2)",
- btn3Color: "Button #3",
- btn3Color2: "Button #3 (2)",
- btn4Color: "Button #4",
- btn4Color2: "Button #4 (2)",
- menuBg: "Panel background image",
- menuOpacity: "Transparency",
- hudTheming: "HUD",
- hudMainColor: "Main color",
- hudColor: "Background",
- hudTextColor: "Text",
- statsHudColor: "Stats",
- timeHudColor: "Time",
- top5MassColor: "Top 5 mass",
- lbMeColor: "Leaderboard - me",
- lbTeammateColor: "Leaderboard - teammate",
- hudFont: "HUD font",
- hudScale: "HUD scale",
- chatTheming: "Chat",
- messageColor: "Message background",
- messageTextColor: "Message text",
- messageTimeColor: "Message time",
- messageNickColor: "Message nick",
- commandsColor: "Command background",
- commandsTextColor: "Command text",
- commandsTimeColor: "Command time",
- commandsNickColor: "Command nick",
- chatBoxColor: "Chatbox color",
- chatScale: "Chat scale",
- miniMapTheming: "Minimap",
- miniMapSectorColor: "Sector",
- miniMapGuidesColor: "Guides",
- miniMapNickColor: "Nick",
- miniMapNickStrokeColor: "Nick stroke",
- miniMapMyCellColor: "My cell",
- miniMapMyCellStrokeColor: "My cell stroke",
- miniMapTeammatesColor: "Teammates",
- miniMapDeathLocationColor: "Death location",
- miniMapFont: "Minimap font",
- miniMapNickFont: "Nick font",
- miniMapWidth: "Minimap width",
- miniMapSectorsOpacity: "Sectors transparency",
- miniMapNickSize: "Nick size",
- miniMapNickStrokeSize: "Nick stroke size",
- miniMapMyCellSize: "My cell size",
- miniMapMyCellStrokeSize: "My cell stroke size",
- miniMapTeammatesSize: "Teammates size",
- imagesTheming: "Graphics / cursors",
- customBackground: "Custom background image",
- customCursor: "Custom cursor image",
- hideChatMsgA: "Chat is visible!",
- hideChatMsgB: "Chat is hidden!",
- showSkinsMsgA: "Skins are visible!",
- showSkinsMsgB: "Skins are hidden!",
- hideSmallBotsMsgA: "Small bots are visible!",
- hideSmallBotsMsgB: "Small bots are hidden!",
- autoRespMsgA: "Auto respawn is on!",
- autoRespMsgB: "Auto respawn is off!",
- autoZoomMsgA: "Auto zoom is on!",
- autoZoomMsgB: "Auto zoom is off!",
- targetNotSet: "Target not set",
- targetDead: "Dead",
- targetDistance: "Distance",
- targetMass: "Mass altogether",
- totalPartyPlayers: "Active players",
- totalPartyMass: "Total mass",
- exportImport: "Export / import settings",
- exportSettings: "Export settings",
- exportInfo: "To export selected settings copy the code below and save it to a text file encoded in Unicode.",
- importSettings: "Import settings",
- importInfo: 'To import selected settings paste an exported code below and press the "Import settings" button.',
- profile: "Profile",
- profiles: "Profiles",
- skins: "Skins",
- moreSkins: "Add skins",
- thanks: "Thanks to Awesome!",
- saveSett: "Save settings",
- saved: "Saved!",
- resetSett: "Reset to default",
- close: "Close",
- enterChatMsg: "Enter chat message",
- activeParties: "Active parties",
- noActiveParties: "No active parties ;(",
- playlist: "Playlist",
- pause: "PAUSE!",
- visit: "Visit",
- exit: "OGARio by szymy: Are you sure you want to quit the game?",
- blockWarn: "WARNING! Popups are blocked in the settings.",
- unblockPopups: "Temporary unblock",
- mass: "Mass",
- score: "Score",
- leaderboard: "Leaderboard",
- page_menu_main_free_coins: "Free Coins",
- page_menu_main_gifts: "Gifts",
- page_shop: "Shop"
- }
- },
- g = {
- comm1: u[d].comm1,
- comm2: u[d].comm2,
- comm3: u[d].comm3,
- comm4: u[d].comm4,
- comm5: u[d].comm5,
- comm6: u[d].comm6,
- comm7: u[d].comm7,
- comm8: u[d].comm8,
- comm9: u[d].comm9,
- comm0: u[d].comm0,
- comm10: u[d].comm10,
- comm11: u[d].comm11,
- comm12: u[d].comm12,
- comm13: u[d].comm13,
- comm14: u[d].comm14
- },
- f = {
- "&": "&",
- "<": "<",
- ">": ">",
- '"': """,
- "'": "'",
- "/": "/"
- },
- k = {
- "ogario-v3": {
- name: "OGARio v3",
- darkTheme: !0,
- mainColor: "#01d9cc",
- bgColor: "#000a11",
- gridColor: "#00243e",
- bordersColor: "#01d9cc",
- foodColor: "#5000ff",
- virusColor: "#002f52",
- virusStrokeColor: "#00b9e8",
- cursorTrackingColor: "#ffffff",
- splitRangeColor: "#ffffff",
- namesFont: "ubuntu-bold",
- sectorsFont: "ubuntu",
- nameScale: 1,
- massScale: 3,
- foodSize: 5,
- bordersWidth: 40,
- sectorsWidth: 40,
- sectorsFontSize: 1200,
- cellsAlpha: .9,
- skinsAlpha: .7,
- virusAlpha: .6,
- virusStrokeSize: 14,
- menuPreset: "ogario-v3",
- menuMainColor: "#01d9cc",
- menuBtnTextColor: "#ffffff",
- menuPanelColor: "#00243e",
- menuPanelColor2: "#002f52",
- menuTextColor: "#ffffff",
- menuTextColor2: "#8096a7",
- btn1Color: "#018cf6",
- btn1Color2: "#0176ce",
- btn2Color: "#00b9e8",
- btn2Color2: "#0099c0",
- btn3Color: "#8d5fe6",
- btn3Color2: "#814ee3",
- btn4Color: "#bf00aa",
- btn4Color2: "#a80096",
- menuBg: "http://cdn.ogario.ovh/static/img/pattern.png",
- menuOpacity: .96,
- hudMainColor: "#01d9cc",
- hudColor: "rgba(0,0,0,0.4)",
- hudTextColor: "#ffffff",
- statsHudColor: "#ffffff",
- timeHudColor: "#01d9cc",
- top5MassColor: "#bf00aa",
- lbMeColor: "#bf00aa",
- lbTeammateColor: "#018cf6",
- hudFont: "ubuntu-bold",
- hudScale: 1,
- messageColor: "rgba(0,0,0,0.4)",
- messageTextColor: "#ffffff",
- messageTimeColor: "#018cf6",
- messageNickColor: "#01d9cc",
- commandsColor: "rgba(191,0,170,0.9)",
- commandsTextColor: "#ffffff",
- commandsTimeColor: "#bf00aa",
- commandsNickColor: "#ffffff",
- chatBoxColor: "rgba(0,0,0,0.4)",
- chatScale: 1,
- miniMapSectorColor: "#01d9cc",
- miniMapGuidesColor: "#bf00aa",
- miniMapNickColor: "#ffffff",
- miniMapNickStrokeColor: "#000000",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#bf00aa",
- miniMapTeammatesColor: "#01d9cc",
- miniMapDeathLocationColor: "#bf00aa",
- miniMapFont: "ubuntu-bold",
- miniMapNickFont: "ubuntu-bold",
- miniMapWidth: 240,
- miniMapSectorsOpacity: .1,
- miniMapNickSize: 11,
- miniMapNickStrokeSize: 2,
- miniMapMyCellSize: 7.5,
- miniMapMyCellStrokeSize: 4,
- miniMapTeammatesSize: 5.5,
- customBackground: "",
- customCursor: "http://cdn.ogario.ovh/static/img/cursors/cursor_02.cur"
- },
- "ogario-orange": {
- name: "OGARio v2",
- darkTheme: !0,
- mainColor: "#ff7800",
- bgColor: "#111111",
- gridColor: "#292929",
- bordersColor: "#ff7800",
- foodColor: "#e16400",
- virusColor: "#666666",
- virusStrokeColor: "#666666",
- hudMainColor: "#ff7800",
- statsHudColor: "#ff7800",
- top5MassColor: "#ff7800",
- timeHudColor: "#ff7800",
- messageNickColor: "#ff7800",
- commandsColor: "rgba(255,120,0,0.9)",
- commandsTimeColor: "#ff7800",
- commandsTextColor: "#ffffff",
- miniMapSectorColor: "#ff7800",
- miniMapGuidesColor: "#ff7800",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#ff7800",
- miniMapTeammatesColor: "#ff7800",
- miniMapDeathLocationColor: "#ff7800",
- miniMapSectorsOpacity: .1
- },
- "ogario-gold": {
- name: "OGARio LE",
- darkTheme: !0,
- mainColor: "#b5a642",
- bgColor: "#000000",
- gridColor: "#111111",
- bordersColor: "#b5a642",
- foodColor: "#998c36",
- virusColor: "#666666",
- virusStrokeColor: "#666666",
- hudMainColor: "#b5a642",
- statsHudColor: "#b5a642",
- top5MassColor: "#b5a642",
- timeHudColor: "#b5a642",
- messageNickColor: "#b5a642",
- commandsColor: "rgba(181,166,66,0.9)",
- commandsTimeColor: "#b5a642",
- commandsTextColor: "#ffffff",
- miniMapSectorColor: "#b5a642",
- miniMapGuidesColor: "#b5a642",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#b5a642",
- miniMapTeammatesColor: "#b5a642",
- miniMapDeathLocationColor: "#b5a642",
- miniMapSectorsOpacity: .1
- },
- "sniikz-style": {
- name: "SniiKz's Style",
- darkTheme: !0,
- mainColor: "#01d9cc",
- bgColor: "#000000",
- gridColor: "#00243e",
- bordersColor: "#ffffff",
- foodColor: "#5000ff",
- virusColor: "#3b3b3b",
- virusStrokeColor: "#ffffff",
- cursorTrackingColor: "#ffffff",
- splitRangeColor: "#ffffff",
- massScale: 4,
- foodSize: 1,
- bordersWidth: 40,
- sectorsWidth: 40,
- sectorsFontSize: 1200,
- cellsAlpha: .99,
- skinsAlpha: .7,
- virusAlpha: .4,
- virusStrokeSize: 10,
- menuPreset: "ogario-v3",
- menuMainColor: "#fc0079",
- menuBtnTextColor: "#ffffff",
- menuPanelColor: "#050008",
- menuPanelColor2: "#1d0526",
- menuTextColor: "#ffffff",
- menuTextColor2: "#65458f",
- btn1Color: "#4f0242",
- btn1Color2: "#3b0431",
- btn2Color: "#6b0036",
- btn2Color2: "#4d0227",
- btn3Color: "#aa084e",
- btn3Color2: "#80063b",
- btn4Color: "#aa084e",
- btn4Color2: "#8a063f",
- menuBg: "http://cdn.ogario.ovh/static/img/pattern.png",
- menuOpacity: 1,
- hudMainColor: "#5974ff",
- hudColor: "rgba(36,36,36,0.49)",
- hudTextColor: "#ffffff",
- statsHudColor: "#ffffff",
- timeHudColor: "#737373",
- top5MassColor: "#1fe000",
- lbMeColor: "#bf00aa",
- lbTeammateColor: "#018cf6",
- hudScale: 1.15,
- messageColor: "rgba(0,0,0,0.4)",
- messageTextColor: "#e8e8e8",
- messageTimeColor: "#545454",
- messageNickColor: "#05ff00",
- commandsColor: "rgba(36,36,36,0.9)",
- commandsTextColor: "#ffffff",
- commandsTimeColor: "#545454",
- commandsNickColor: "#ffffff",
- chatBoxColor: "rgba(0,0,0,0.4)",
- chatScale: 1,
- miniMapSectorColor: "#000000",
- miniMapGuidesColor: "#ff00a8",
- miniMapNickColor: "#ffffff",
- miniMapNickStrokeColor: "#4d4d4d",
- miniMapMyCellColor: "#f0ff3d",
- miniMapMyCellStrokeColor: "#acba07",
- miniMapTeammatesColor: "#305eff",
- miniMapDeathLocationColor: "#2b2b2b",
- miniMapWidth: 250,
- miniMapSectorsOpacity: .1,
- miniMapNickSize: 9,
- miniMapNickStrokeSize: 0,
- miniMapMyCellSize: 5,
- miniMapMyCellStrokeSize: 0,
- miniMapTeammatesSize: 5,
- customBackground: "",
- customCursor: "http://cdn.ogario.ovh/static/img/cursors/cursor_01.cur"
- },
- "hkg-style": {
- name: "HKG Style",
- darkTheme: !0,
- mainColor: "#651fff",
- bgColor: "#000000",
- gridColor: "#111111",
- bordersColor: "#ffffff",
- foodColor: "#651fff",
- virusColor: "#666666",
- virusStrokeColor: "#666666",
- hudMainColor: "#651fff",
- statsHudColor: "#651fff",
- top5MassColor: "#651fff",
- timeHudColor: "#651fff",
- messageNickColor: "#651fff",
- commandsColor: "rgba(101,31,255,0.9)",
- commandsTimeColor: "#651fff",
- commandsTextColor: "#ffffff",
- miniMapSectorColor: "#651fff",
- miniMapGuidesColor: "#651fff",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#651fff",
- miniMapTeammatesColor: "#651fff",
- miniMapDeathLocationColor: "#651fff",
- miniMapSectorsOpacity: .1
- },
- "agario-light": {
- name: "Agar.io Light",
- darkTheme: !1,
- mainColor: "#ffffff",
- bgColor: "#f2fbff",
- gridColor: "#ced6d9",
- bordersColor: "#858a8c",
- foodColor: "#2de52d",
- virusColor: "#33ff33",
- virusStrokeColor: "#2de52d",
- hudMainColor: "#ffffff",
- statsHudColor: "#ffffff",
- top5MassColor: "#ffffff",
- timeHudColor: "#ffffff",
- messageNickColor: "#ffffff",
- commandsColor: "rgba(255,255,255,0.9)",
- commandsTimeColor: "#ffffff",
- commandsTextColor: "#000000",
- miniMapSectorColor: "#ffffff",
- miniMapGuidesColor: "#ffffff",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#ffffff",
- miniMapTeammatesColor: "#ffffff",
- miniMapDeathLocationColor: "#ffffff",
- miniMapSectorsOpacity: .25
- },
- "agario-dark": {
- name: "Agar.io Dark",
- darkTheme: !0,
- mainColor: "#ffffff",
- bgColor: "#111111",
- gridColor: "#333333",
- bordersColor: "#999999",
- foodColor: "#2de52d",
- virusColor: "#33ff33",
- virusStrokeColor: "#2de52d",
- hudMainColor: "#ffffff",
- statsHudColor: "#ffffff",
- top5MassColor: "#ffffff",
- timeHudColor: "#ffffff",
- messageNickColor: "#ffffff",
- commandsColor: "rgba(255,255,255,0.9)",
- commandsTimeColor: "#ffffff",
- commandsTextColor: "#ffffff",
- miniMapSectorColor: "#ffffff",
- miniMapGuidesColor: "#ffffff",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#ffffff",
- miniMapTeammatesColor: "#ffffff",
- miniMapDeathLocationColor: "#ffffff",
- miniMapSectorsOpacity: .1
- }
- },
- y = {
- "ogario-v3": {
- name: "OGARio v3",
- menuMainColor: "#01d9cc",
- menuBtnTextColor: "#ffffff",
- menuPanelColor: "#00243e",
- menuPanelColor2: "#002f52",
- menuTextColor: "#ffffff",
- menuTextColor2: "#8096a7",
- btn1Color: "#018cf6",
- btn1Color2: "#0176ce",
- btn2Color: "#00b9e8",
- btn2Color2: "#0099c0",
- btn3Color: "#8d5fe6",
- btn3Color2: "#814ee3",
- btn4Color: "#f300d8",
- btn4Color2: "#df00c6",
- menuBg: "http://cdn.ogario.ovh/static/img/pattern.png"
- },
- "ogario-v2": {
- name: "OGARio v2",
- menuMainColor: "#ff7800",
- menuBtnTextColor: "#ffffff",
- menuPanelColor: "#222222",
- menuPanelColor2: "#333333",
- menuTextColor: "#bbbbbb",
- menuTextColor2: "#bbbbbb",
- btn1Color: "#428bca",
- btn1Color2: "#3071a9",
- btn2Color: "#5cb85c",
- btn2Color2: "#449d44",
- btn3Color: "#f0ad4e",
- btn3Color2: "#ec971f",
- btn4Color: "#d9534f",
- btn4Color2: "#c9302c",
- menuBg: ""
- },
- agario: {
- name: "Agar.io",
- menuMainColor: "#5bc0de",
- menuBtnTextColor: "#ffffff",
- menuPanelColor: "#ffffff",
- menuPanelColor2: "#cccccc",
- menuTextColor: "#333333",
- menuTextColor2: "#999999",
- btn1Color: "#428bca",
- btn1Color2: "#3071a9",
- btn2Color: "#5cb85c",
- btn2Color2: "#449d44",
- btn3Color: "#f0ad4e",
- btn3Color2: "#ec971f",
- btn4Color: "#d9534f",
- btn4Color2: "#c9302c",
- menuBg: ""
- }
- },
- C = {
- preset: "ogario-v3",
- darkTheme: !0,
- mainColor: "#01d9cc",
- bgColor: "#000a11",
- gridColor: "#00243e",
- bordersColor: "#01d9cc",
- foodColor: "#5000ff",
- virusColor: "#002f52",
- virusStrokeColor: "#00b9e8",
- cursorTrackingColor: "#ffffff",
- splitRangeColor: "#ffffff",
- namesFont: "ubuntu-bold",
- namesFontFamily: "Ubuntu",
- namesFontWeight: 700,
- sectorsFont: "ubuntu",
- sectorsFontFamily: "Ubuntu",
- sectorsFontWeight: 400,
- sectorsX: 5,
- sectorsY: 5,
- nameScale: 1,
- massScale: 3,
- massScaleMargin: 1.25,
- foodSize: 5,
- bordersWidth: 40,
- sectorsWidth: 40,
- sectorsFontSize: 1200,
- cellsAlpha: .9,
- skinsAlpha: .7,
- virusAlpha: .6,
- virusStrokeSize: 14,
- menuPreset: "ogario-v3",
- menuMainColor: "#01d9cc",
- menuBtnTextColor: "#ffffff",
- menuPanelColor: "#00243e",
- menuPanelColor2: "#002f52",
- menuTextColor: "#ffffff",
- menuTextColor2: "#8096a7",
- btn1Color: "#018cf6",
- btn1Color2: "#0176ce",
- btn2Color: "#00b9e8",
- btn2Color2: "#0099c0",
- btn3Color: "#8d5fe6",
- btn3Color2: "#814ee3",
- btn4Color: "#bf00aa",
- btn4Color2: "#a80096",
- menuBg: "http://cdn.ogario.ovh/static/img/pattern.png",
- menuOpacity: .96,
- hudMainColor: "#01d9cc",
- hudColor: "rgba(0,0,0,0.4)",
- hudTextColor: "#ffffff",
- statsHudColor: "#ffffff",
- timeHudColor: "#01d9cc",
- top5MassColor: "#bf00aa",
- lbMeColor: "#bf00aa",
- lbTeammateColor: "#018cf6",
- hudFont: "ubuntu-bold",
- hudFontFamily: "Ubuntu",
- hudFontWeight: 700,
- hudScale: 1,
- messageColor: "rgba(0,0,0,0.4)",
- messageTextColor: "#ffffff",
- messageTimeColor: "#018cf6",
- messageNickColor: "#01d9cc",
- commandsColor: "rgba(191,0,170,0.9)",
- commandsTextColor: "#ffffff",
- commandsTimeColor: "#bf00aa",
- commandsNickColor: "#ffffff",
- chatBoxColor: "rgba(0,0,0,0.4)",
- chatScale: 1,
- miniMapSectorColor: "#01d9cc",
- miniMapGuidesColor: "#bf00aa",
- miniMapNickColor: "#ffffff",
- miniMapNickStrokeColor: "#000000",
- miniMapMyCellColor: "#ffffff",
- miniMapMyCellStrokeColor: "#bf00aa",
- miniMapTeammatesColor: "#01d9cc",
- miniMapDeathLocationColor: "#bf00aa",
- miniMapFont: "ubuntu-bold",
- miniMapFontFamily: "Ubuntu",
- miniMapFontWeight: 700,
- miniMapNickFont: "ubuntu-bold",
- miniMapNickFontFamily: "Ubuntu",
- miniMapNickFontWeight: 700,
- miniMapWidth: 240,
- miniMapTop: 24,
- miniMapSectorsOpacity: .1,
- miniMapNickSize: 11,
- miniMapNickStrokeSize: 2,
- miniMapMyCellSize: 7.5,
- miniMapMyCellStrokeSize: 4,
- miniMapTeammatesSize: 5.5,
- customBackground: "",
- customCursor: "http://cdn.ogario.ovh/static/img/cursors/cursor_02.cur"
- };
- a.prototype = {
- menuMainColorCSS: null,
- menuPanelColorCSS: null,
- menuTextlColorCSS: null,
- menuButtonsCSS: null,
- hudCSS: null,
- chatCSS: null,
- chatScaleCSS: null,
- cursorCSS: null,
- loadThemeSettings: function() {
- var t = null;
- null !== e.localStorage.getItem("ogarioThemeSettings") && (t = JSON.parse(e.localStorage.getItem("ogarioThemeSettings")));
- for (var a in C) C.hasOwnProperty(a) && (t && t.hasOwnProperty(a) && (C[a] = t[a]), o.hasOwnProperty(a) && (o[a] = C[a]))
- },
- saveThemeSettings: function() {
- e.localStorage.setItem("ogarioThemeSettings", JSON.stringify(C))
- },
- restoreThemeSettings: function() {
- null !== e.localStorage.getItem("ogarioThemeSettings") && (e.localStorage.removeItem("ogarioThemeSettings"), e.location.reload())
- },
- addCustomCSS: function(e, o) {
- this[e] || (this[e] = t("<style type='text/css'>").appendTo("head")), this[e].html(o)
- },
- addPresetBox: function(e, o, a, i, s) {
- t(e).append('<div class="preset-box"><span class="title">' + u[d][o] + '</span><div class="select-wrapper"><select id="' + o + '" class="form-control"></select></div></div>');
- for (var n in a) a.hasOwnProperty(n) && t("#" + o).append('<option value="' + n + '">' + a[n].name + "</option>");
- t("#" + o).val(C[i]);
- var r = this;
- t("#" + o).on("change", function() {
- var e = t(this).val();
- C[i] = e, r[s](e)
- })
- },
- addColorBox: function(e, a, i) {
- if (t(e).append('<div class="color-box"><span class="title">' + u[d][a] + '</span><div class="input-group ' + a + '-picker"><input type="text" value="' + C[a] + '" id="' + a + '" class="form-control" /><span class="input-group-addon"><i></i></span></div></div>'), i) {
- var s = this;
- t(e + " ." + a + "-picker").colorpicker({
- format: "hex"
- }).on("changeColor.colorpicker", function(e) {
- C[a] = e.color.toHex(), o.hasOwnProperty(a) && (o[a] = C[a]), s[i]()
- })
- } else t(e + " ." + a + "-picker").colorpicker({
- format: "hex"
- }).on("changeColor.colorpicker", function(e) {
- C[a] = e.color.toHex(), o.hasOwnProperty(a) && (o[a] = C[a])
- })
- },
- addRgbaColorBox: function(e, a, i) {
- if (t(e).append('<div class="color-box"><span class="title">' + u[d][a] + '</span><div class="input-group ' + a + '-picker"><input type="text" value="' + C[a] + '" id="' + a + '" class="form-control" /><span class="input-group-addon"><i></i></span></div></div>'), i) {
- var s = this;
- t(e + " ." + a + "-picker").colorpicker({
- format: "rgba"
- }).on("changeColor.colorpicker", function(e) {
- var t = e.color.toRGB();
- C[a] = "rgba(" + t.r + "," + t.g + "," + t.b + "," + t.a + ")", o.hasOwnProperty(a) && (o[a] = C[a]), s[i]()
- })
- } else t(e + " ." + a + "-picker").colorpicker({
- format: "rgba"
- }).on("changeColor.colorpicker", function(e) {
- var t = e.color.toRGB();
- C[a] = "rgba(" + t.r + "," + t.g + "," + t.b + "," + t.a + ")", o.hasOwnProperty(a) && (o[a] = C[a])
- })
- },
- addSliderBox: function(e, a, i, s, n, r) {
- if (t(e).append('<div class="slider-box"><div class="box-label"><span class="value-label">' + u[d][a] + ': </span><span id="' + a + '-value" class="value">' + C[a] + '</span></div><input id="' + a + '-slider" type="range" min="' + i + '" max="' + s + '" step="' + n + '" value="' + C[a] + '"></div>'), r) {
- var l = this;
- t("#" + a + "-slider").on("input", function() {
- var e = parseFloat(t(this).val());
- t("#" + a + "-value").text(e), C[a] = e, o.hasOwnProperty(a) && (o[a] = e), l[r]()
- })
- } else t("#" + a + "-slider").on("input", function() {
- var e = parseFloat(t(this).val());
- t("#" + a + "-value").text(e), C[a] = e, o.hasOwnProperty(a) && (o[a] = e)
- })
- },
- addInputBox: function(e, o, a, i) {
- t(e).append('<div class="input-box"><span class="title">' + u[d][o] + '</span><input id="' + o + '" class="form-control" placeholder="' + a + '" value="' + C[o] + '" /></div>');
- var s = this;
- t("#" + o).on("input", function() {
- var e = t(this).val();
- C[o] = e, s[i]()
- })
- },
- addCursorBox: function(e, o) {
- t(e).append(o === C.customCursor ? '<div class="cursor-box"><a href="#" class="active"><img src="' + o + '"></a></div>' : '<div class="cursor-box"><a href="#"><img src="' + o + '"></a></div>')
- },
- setFont: function(e, t) {
- C[e] = t, C[e + "Family"] = this.setFontFamily(t), C[e + "Weight"] = this.setFontWeight(t), o.hasOwnProperty(e + "Family") && (o[e + "Family"] = C[e + "Family"]), o.hasOwnProperty(e + "Weight") && (o[e + "Weight"] = C[e + "Weight"])
- },
- addFontBox: function(e, o, a) {
- t(e).append('<div class="font-box"><span class="title">' + u[d][o] + '</span><div class="select-wrapper"><select id="' + o + '" class="form-control"></select></div></div>'), t("#" + o).append('<option value="ubuntu">Ubuntu</option><option value="ubuntu-bold">Ubuntu Bold</option>'), t("#" + o).append('<option value="roboto">Roboto</option><option value="roboto-bold">Roboto Bold</option>'), t("#" + o).append('<option value="oswald">Oswald</option><option value="oswald-bold">Oswald Bold</option>'), t("#" + o).val(C[o]);
- var i = this;
- a ? t("#" + o).on("change", function() {
- var e = t(this).val();
- i.setFont(o, e), i[a]()
- }) : t("#" + o).on("change", function() {
- var e = t(this).val();
- i.setFont(o, e)
- })
- },
- setFontFamily: function(e) {
- return -1 != e.indexOf("roboto") ? "Roboto" : -1 != e.indexOf("oswald") ? "Oswald" : "Ubuntu"
- },
- setFontWeight: function(e) {
- return -1 != e.indexOf("bold") ? 700 : 400
- },
- setThemeMenu: function() {
- var e = this;
- t("#theme").append('<ul class="submenu-tabs"><li class="theme-main-tab active"><a href="#theme-main" class="active icon-paint-format" data-toggle="tab-tooltip" data-container="body" title="' + u[d].basicTheming + '"></a></li><li class="theme-menu-tab"><a href="#theme-menu" class="icon-menu" data-toggle="tab-tooltip" data-container="body" title="' + u[d].menuTheming + '"></a></li><li class="theme-hud-tab"><a href="#theme-hud" class="icon-display" data-toggle="tab-tooltip" data-container="body" title="' + u[d].hudTheming + '"></a></li><li class="theme-chat-tab"><a href="#theme-chat" class="icon-bubbles" data-toggle="tab-tooltip" data-container="body" title="' + u[d].chatTheming + '"></a></li><li class="theme-minimap-tab"><a href="#theme-minimap" class="icon-location2" data-toggle="tab-tooltip" data-container="body" title="' + u[d].miniMapTheming + '"></a></li><li class="theme-images-tab"><a href="#theme-images" class="icon-image" data-toggle="tab-tooltip" data-container="body" title="' + u[d].imagesTheming + '"></a></li></ul><div id="theme-main" class="submenu-panel"></div><div id="theme-menu" class="submenu-panel"></div><div id="theme-hud" class="submenu-panel"></div><div id="theme-chat" class="submenu-panel"></div><div id="theme-minimap" class="submenu-panel"></div><div id="theme-images" class="submenu-panel"></div>'), this.addPresetBox("#theme-main", "themePreset", k, "preset", "changeThemePreset"), this.addColorBox("#theme-main", "bgColor", "setBgColor"), this.addColorBox("#theme-main", "foodColor"), this.addColorBox("#theme-main", "gridColor"), this.addColorBox("#theme-main", "bordersColor"), this.addColorBox("#theme-main", "virusColor"), this.addColorBox("#theme-main", "virusStrokeColor"), this.addColorBox("#theme-main", "cursorTrackingColor"), this.addColorBox("#theme-main", "splitRangeColor"), this.addFontBox("#theme-main", "namesFont"), this.addFontBox("#theme-main", "sectorsFont"), this.addSliderBox("#theme-main", "sectorsFontSize", 200, 2e3, 10), this.addSliderBox("#theme-main", "nameScale", .5, 2, .1, "setMassScale"), this.addSliderBox("#theme-main", "massScale", 1, 5, 1, "setMassScale"), this.addSliderBox("#theme-main", "foodSize", 1, 50, 1), this.addSliderBox("#theme-main", "virusStrokeSize", 2, 40, 1), this.addSliderBox("#theme-main", "bordersWidth", 2, 200, 2), this.addSliderBox("#theme-main", "sectorsWidth", 2, 200, 2), this.addSliderBox("#theme-main", "cellsAlpha", .01, .99, .01), this.addSliderBox("#theme-main", "skinsAlpha", .01, .99, .01), this.addSliderBox("#theme-main", "virusAlpha", 0, 1, .01), this.addPresetBox("#theme-menu", "menuPreset", y, "menuPreset", "changeMenuPreset"), this.addSliderBox("#theme-menu", "menuOpacity", .1, 1, .01, "setMenuOpacity"), this.addColorBox("#theme-menu", "menuMainColor", "setMenuMainColor"), this.addColorBox("#theme-menu", "menuBtnTextColor", "setMenuButtons"), this.addColorBox("#theme-menu", "menuPanelColor", "setMenuPanelColor"), this.addColorBox("#theme-menu", "menuPanelColor2", "setMenuPanelColor"), this.addColorBox("#theme-menu", "menuTextColor", "setMenuTextColor"), this.addColorBox("#theme-menu", "menuTextColor2", "setMenuTextColor"), this.addColorBox("#theme-menu", "btn1Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn1Color2", "setMenuButtons"), this.addColorBox("#theme-menu", "btn2Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn2Color2", "setMenuButtons"), this.addColorBox("#theme-menu", "btn3Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn3Color2", "setMenuButtons"), this.addColorBox("#theme-menu", "btn4Color", "setMenuButtons"), this.addColorBox("#theme-menu", "btn4Color2", "setMenuButtons"), this.addInputBox("#theme-menu", "menuBg", "Image URL", "setMenuBg"), this.addColorBox("#theme-hud", "hudMainColor", "setHudColors"), this.addRgbaColorBox("#theme-hud", "hudColor", "setHudColors"), this.addColorBox("#theme-hud", "hudTextColor", "setHudColors"), this.addColorBox("#theme-hud", "statsHudColor", "setHudColors"), this.addColorBox("#theme-hud", "timeHudColor", "setHudColors"), this.addColorBox("#theme-hud", "top5MassColor", "setHudColors"), this.addColorBox("#theme-hud", "lbMeColor", "setHudColors"), this.addColorBox("#theme-hud", "lbTeammateColor", "setHudColors"), this.addFontBox("#theme-hud", "hudFont", "setHudFont"), this.addSliderBox("#theme-hud", "hudScale", 1, 2, .01, "setHudScale"), this.addRgbaColorBox("#theme-chat", "messageColor", "setChatColors"), this.addColorBox("#theme-chat", "messageTextColor", "setChatColors"), this.addColorBox("#theme-chat", "messageTimeColor", "setChatColors"), this.addColorBox("#theme-chat", "messageNickColor", "setChatColors"), this.addRgbaColorBox("#theme-chat", "commandsColor", "setChatColors"), this.addColorBox("#theme-chat", "commandsTextColor", "setChatColors"), this.addColorBox("#theme-chat", "commandsTimeColor", "setChatColors"), this.addColorBox("#theme-chat", "commandsNickColor", "setChatColors"), this.addRgbaColorBox("#theme-chat", "chatBoxColor", "setChatColors"), this.addSliderBox("#theme-chat", "chatScale", 1, 2, .01, "setChatScale"), this.addColorBox("#theme-minimap", "miniMapSectorColor"), this.addColorBox("#theme-minimap", "miniMapGuidesColor"), this.addColorBox("#theme-minimap", "miniMapNickColor"), this.addColorBox("#theme-minimap", "miniMapNickStrokeColor"), this.addColorBox("#theme-minimap", "miniMapMyCellColor"), this.addColorBox("#theme-minimap", "miniMapMyCellStrokeColor"), this.addColorBox("#theme-minimap", "miniMapTeammatesColor"), this.addColorBox("#theme-minimap", "miniMapDeathLocationColor"), this.addFontBox("#theme-minimap", "miniMapFont", "setMiniMapFont"), this.addFontBox("#theme-minimap", "miniMapNickFont"), this.addSliderBox("#theme-minimap", "miniMapWidth", 200, 400, 2, "setMiniMapWidth"), this.addSliderBox("#theme-minimap", "miniMapSectorsOpacity", 0, 1, .01, "setMiniMapSectorsOpacity"), this.addSliderBox("#theme-minimap", "miniMapNickSize", 8, 16, 1), this.addSliderBox("#theme-minimap", "miniMapNickStrokeSize", 0, 6, 1), this.addSliderBox("#theme-minimap", "miniMapMyCellSize", 4, 10, .5), this.addSliderBox("#theme-minimap", "miniMapMyCellStrokeSize", 0, 10, 1), this.addSliderBox("#theme-minimap", "miniMapTeammatesSize", 4, 10, .5), this.addInputBox("#theme-images", "customBackground", "Image URL", "setCustomBackground"), this.addInputBox("#theme-images", "customCursor", "Cursor image URL", "setCustomCursor");
- for (var o = "http://cdn.ogario.ovh/static/img/cursors/cursor_", a = 0; 35 > a; a++) 9 > a ? this.addCursorBox("#theme-images", o + "0" + (a + 1) + ".cur") : this.addCursorBox("#theme-images", o + "" + (a + 1) + ".cur");
- t("#theme-images .cursor-box a").on("click", function(o) {
- o.preventDefault();
- var a = t("img", this).attr("src");
- C.customCursor = a, e.setCustomCursor(), t("#customCursor").val(a), t("#theme-images .cursor-box a").removeClass("active"), t(this).addClass("active")
- }), t("#theme").append('<button class="btn btn-block btn-success btn-save"">' + u[d].saveSett + "</button>"), t("#theme .btn-save").on("click", function(o) {
- o.preventDefault();
- var a = t(this);
- a.text(u[d].saved), e.saveThemeSettings(), setTimeout(function() {
- a.text(u[d].saveSett)
- }, 500)
- }), t("#theme").append('<div class="restore-settings"><a href="#">' + u[d].restoreThemeSettings + "</a></div>"), t("#theme .restore-settings a").on("click", function(o) {
- o.preventDefault(), e.restoreThemeSettings()
- }), t(".skin").colorpicker({
- format: "hex",
- input: "#color"
- })
- },
- changePreset: function(e, a) {
- if (a[e]) {
- C[e] = e;
- var e = a[e];
- for (var i in e) e.hasOwnProperty(i) && C.hasOwnProperty(i) && (C[i] = e[i], o.hasOwnProperty(i) && (o[i] = C[i]), t("#theme ." + i + "-picker") && t("#theme ." + i + "-picker").colorpicker("setValue", C[i]), t("#" + i + "-slider") && t("#" + i + "-slider").val(C[i]).change(), (t("input[type=text]#" + i) || t("select#" + i)) && t("#" + i).val(C[i]))
- }
- },
- changeThemePreset: function(e) {
- this.changePreset(e, k), this.setTheme()
- },
- setFonts: function() {
- this.setFont("namesFont", C.namesFont), this.setFont("sectorsFont", C.sectorsFont)
- },
- setMassScale: function() {
- switch (C.massScale) {
- case 5:
- o.massScaleMargin = C.massScaleMargin = 1 * C.nameScale;
- break;
- case 4:
- o.massScaleMargin = C.massScaleMargin = 1.125 * C.nameScale;
- break;
- case 3:
- o.massScaleMargin = C.massScaleMargin = 1.25 * C.nameScale;
- break;
- case 2:
- o.massScaleMargin = C.massScaleMargin = 1.5 * C.nameScale;
- break;
- default:
- o.massScaleMargin = C.massScaleMargin = 2 * C.nameScale
- }
- },
- setBgColor: function() {
- t("body").css("background-color", C.bgColor)
- },
- setCustomBackground: function() {
- C.customBackground ? t("body").css("background-image", "url(" + C.customBackground + ")") : t("body").css("background-image", "none")
- },
- setCustomCursor: function() {
- if (C.customCursor) var e = "*{cursor:url(" + C.customCursor + "), auto !important}";
- else var e = "*{cursor: auto}";
- this.addCustomCSS("cursorCSS", e)
- },
- setMenu: function() {
- this.setMenuOpacity(), this.setMenuMainColor(), this.setMenuPanelColor(), this.setMenuTextColor(), this.setMenuButtons(), this.setMenuBg()
- },
- changeMenuPreset: function(e) {
- this.changePreset(e, y), this.setMenu()
- },
- setMenuOpacity: function() {
- t("#helloContainer, #hotkeys, #exp-imp").css("opacity", C.menuOpacity)
- },
- setMenuMainColor: function() {
- var e = "::-moz-selection{background-color:" + C.menuMainColor + "!important}::selection{background-color:" + C.menuMainColor + "!important}.menu-main-color,#quick-menu a:hover,.quick,.quick:focus,.menu-tabs a:hover,.menu-tabs .active,.submenu-tabs a:hover,.submenu-tabs .active,#stats center,#exp-imp h1{color:" + C.menuMainColor + "}#exp-bar .progress-bar-striped,.quick:hover,.rangeslider__fill{background-color:" + C.menuMainColor + "}#main-menu,.agario-side-panel,#hotkeys,#exp-imp{border-color:" + C.menuMainColor + "}.ps-scrollbar-y{background-color:" + C.menuMainColor + "!important}";
- this.addCustomCSS("menuMainColorCSS", e)
- },
- setMenuPanelColor: function() {
- var e = "#main-menu,.agario-side-panel,#hotkeys,#exp-imp{background-color: " + C.menuPanelColor + "}label:hover,.agario-panel input,.agario-panel select,.agario-side-panel input,.agario-side-panel select,.input-group-addon,.nick .input-group-btn,.skin .input-group-btn,#stream-mode,#hide-url,.menu-tabs a:hover,.menu-tabs .active,.submenu-tabs,#exp-bar .progress,#quick-menu a:hover,.quick,.select-wrapper,#hotkeys-cfg div.row:hover,#hotkeys-cfg .command-in,#exp-imp-settings textarea,.restore-settings{background-color: " + C.menuPanelColor2 + "}.agario-panel h5,.agario-side-panel h5,#stats h2,.menu-tabs,.submenu-tabs,#skins a.default,#stats hr,#hotkeys-cfg div.row, #exp-imp h1{border-color: " + C.menuPanelColor2 + "}.quick:hover,#skins a,#profiles{color:" + C.menuPanelColor2 + "}input.stream-mode,input.hide-url{color:" + C.menuPanelColor2 + "!important}";
- this.addCustomCSS("menuPanelColorCSS", e)
- },
- setMenuTextColor: function() {
- var e = ".agario-panel,.agario-side-panel,.agario-panel input,.agario-panel select,.agario-side-panel input,.agario-side-panel select,.input-group-addon,.dark .yt-username,#stream-mode,#hide-url,.menu-tabs a,.submenu-tabs a,#skins a.default:hover,#quick-menu a,#prev-profile.default:hover,#next-profile.default:hover,#statsText,#hotkeys,#hotkeys-cfg .command-in,#exp-imp{color:" + C.menuTextColor + "}#skins a.default:hover{border-color:" + C.menuTextColor + "}::-webkit-input-placeholder{color:" + C.menuTextColor2 + "!important}::-moz-placeholder{color:" + C.menuTextColor2 + "!important}#user-id-tag, #version-tag,#statsSubtext,#hotkeys-inst,#exp-imp textarea,.restore-settings a,.restore-settings a:hover{color:" + C.menuTextColor2 + "}#hotkeys-cfg .command-in,#theme .color-box{border-color:" + C.menuTextColor2 + "}";
- this.addCustomCSS("menuTextColorCSS", e)
- },
- setMenuButtons: function() {
- var e = "a,a:hover{color:" + C.btn1Color + "}.btn,#hotkeys-cfg .custom-key-in{color:" + C.menuBtnTextColor + "}.btn-primary{background-color:" + C.btn1Color + "!important}.btn-primary:active,.btn-primary:disabled,.btn-primary:focus,.btn-primary:hover{background-color:" + C.btn1Color2 + "!important}.btn-success{background-color:" + C.btn2Color + "!important}.btn-success:active,.btn-success:disabled,.btn-success:focus,.btn-success:hover{background-color:" + C.btn2Color2 + "!important}.btn-warning{background-color:" + C.btn3Color + "!important}.btn-warning:active,.btn-warning:disabled,.btn-warning:focus,.btn-warning:hover{background-color:" + C.btn3Color2 + "!important}.btn-danger{background-color:" + C.btn4Color + "!important}.btn-danger:active,.btn-danger:disabled,.btn-danger:focus,.btn-danger:hover{background-color:" + C.btn4Color2 + "!important}#hotkeys-cfg .custom-key-in{background-color:" + C.btn4Color2 + ";border-color:" + C.btn4Color2 + "}";
- this.addCustomCSS("menuButtonsCSS", e)
- },
- setMenuBg: function() {
- t("#menuBg").val(C.menuBg), C.menuBg ? t(".menu-panel, .agario-side-panel, #hotkeys, #exp-imp").css("background-image", "url(" + C.menuBg + ")") : t(".menu-panel, .agario-side-panel, #hotkeys, #exp-imp").css("background-image", "none")
- },
- setHud: function() {
- this.setHudColors(), this.setHudFont(), this.setHudScale()
- },
- setHudColors: function() {
- var e = ".hud-main-color,#top5-pos a,#target-panel-hud a:hover,#target-panel-hud a.active{color:" + C.hudMainColor + "}.hud,.hud-b{color:" + C.hudTextColor + ";background-color:" + C.hudColor + "}#top5-pos a:hover,#target-panel-hud a{color:" + C.hudTextColor + "}.stats-hud-color{color:" + C.statsHudColor + "}.time-hud-color{color:" + C.timeHudColor + "}.top5-mass-color{color:" + C.top5MassColor + "}#leaderboard-positions .me{color:" + C.lbMeColor + "}#leaderboard-positions .teammate{color:" + C.lbTeammateColor + "}";
- this.addCustomCSS("hudCSS", e)
- },
- setHudFont: function() {
- this.setFont("hudFont", C.hudFont), t("#overlays-hud").css({
- "font-family": C.hudFontFamily,
- "font-weight": C.hudFontWeight
- })
- },
- setHudScale: function() {
- var e = Math.round(20 * C.hudScale),
- o = Math.round(200 * C.hudScale),
- a = Math.floor(55 * C.hudScale),
- i = Math.floor(15 * C.hudScale),
- s = Math.floor(260 * C.hudScale),
- n = Math.floor(85 * C.hudScale),
- r = Math.floor(20 * C.hudScale);
- t("#overlays-hud").css("font-size", e + "px"), t("#top5-hud, #leaderboard-hud, #time-hud").width(o), t("#top5-hud").css("top", a + "px"), t("#top5-pos").css("padding-left", i + "px"), t("#time-hud").css("top", s + "px"), t("#pause-hud").css("top", n + "px"), t("#target-hud").css("padding-top", r + "px")
- },
- setChat: function() {
- this.setChatColors(), this.setChatScale()
- },
- setChatColors: function() {
- var e = "#message,.toast-success{background-color:" + C.messageColor + "}.message-text,.toast-success .message-text{color:" + C.messageTextColor + "}.message-nick,.toast-success .message-nick{color:" + C.messageNickColor + "}.message-time{color:" + C.messageTimeColor + "}.toast-warning{background-color:" + C.commandsColor + "}.command-text,.toast-warning .command-text{color:" + C.commandsTextColor + "}.command-nick,.toast-warning .command-nick{color:" + C.commandsNickColor + "}.command-time{color:" + C.commandsTimeColor + "}#chat-box{background-color:" + C.chatBoxColor + "}";
- this.addCustomCSS("chatCSS", e)
- },
- setChatScale: function() {
- var e = Math.round(14 * C.chatScale),
- o = Math.round(280 * C.chatScale),
- a = Math.round(350 * C.chatScale),
- i = Math.round(300 * C.chatScale);
- t("#message, #messages, #toast-container, #chat-box").css("font-size", e + "px"), t("#messages, #toast-container, #chat-box").width(o), t("#message").width(a), t("#chat-box").height(i);
- var s = "#toast-container{width:" + o + "px;font-size:" + e + "px}";
- this.addCustomCSS("chatScaleCSS", s)
- },
- setMiniMap: function() {
- this.setMiniMapFont(), this.setMiniMapWidth(), this.setMiniMapSectorsOpacity()
- },
- setMiniMapFont: function() {
- this.setFont("miniMapFont", C.miniMapFont), M && M.resetMiniMapSectors()
- },
- setMiniMapWidth: function() {
- var e = C.miniMapWidth / 200;
- C.miniMapTop = Math.round(20 * e), t("#minimap-hud").css({
- width: C.miniMapWidth,
- height: C.miniMapWidth + C.miniMapTop
- }), M && M.resetMiniMapSectors()
- },
- setMiniMapSectorsOpacity: function() {
- t("#minimap-sectors").css("opacity", C.miniMapSectorsOpacity)
- },
- setTheme: function() {
- this.setFonts(), this.setMassScale(), this.setBgColor(), this.setCustomBackground(), this.setCustomCursor(), this.setMenu(), this.setHud(), this.setChat(), this.setMiniMap()
- },
- init: function() {
- this.loadThemeSettings()
- }
- };
- var b = new a;
- b.init();
- var S = [],
- w = {
- nick: "I <3 OGARio",
- clanTag: "Ⓜ",
- skinURL: "",
- color: C.mainColor
- },
- v = {
- quickResp: !0,
- autoResp: !1,
- autoZoom: !0,
- autoHideCellsInfo: !0,
- autoHideFood: !1,
- hideMyName: !0,
- hideMyMass: !1,
- hideEnemiesMass: !1,
- vanillaSkins: !1,
- customSkins: !0,
- myTransparentSkin: !1,
- myCustomColor: !1,
- transparentCells: !1,
- transparentViruses: !0,
- transparentSkins: !1,
- showGrid: !1,
- showBgSectors: !1,
- showMapBorders: !0,
- showMiniMap: !0,
- showMiniMapGrid: !1,
- showMiniMapGuides: !0,
- oneColoredTeammates: !1,
- rainbowFood: !1,
- oppColors: !1,
- oppRings: !1,
- virColors: !1,
- splitRange: !1,
- virusesRange: !1,
- textStroke: !1,
- cursorTracking: !0,
- teammatesInd: !1,
- mouseSplit: !1,
- mouseFeed: !1,
- mouseInvert: !1,
- disableChat: !1,
- hideChat: !1,
- showChatBox: !1,
- showChatImages: !0,
- showChatVideos: !0,
- showTop5: !0,
- showTargeting: !0,
- showTime: !0,
- normalLb: !1,
- centeredLb: !0,
- fpsAtTop: !0,
- showStats: !0,
- showStatsMass: !0,
- showStatsSTE: !1,
- showStatsN16: !1,
- showStatsFPS: !0,
- blockPopups: !1,
- streamMode: !1,
- hideSkinUrl: !1,
- showQuickMenu: !0,
- showSkinsPanel: !0,
- zoomSpeedValue: .9
- };
- i.prototype = {
- id: 0,
- skinID: "",
- x: 0,
- y: 0,
- lastX: 0,
- lastY: 0,
- mass: 0,
- nick: "",
- clanTag: "",
- skinURL: "",
- color: C.miniMapTeammatesColor,
- alive: !1,
- updateTime: null,
- pi2: 2 * Math.PI,
- drawPosition: function(e, o, t, a, i) {
- if (!(!this.alive || a && i && this.id != i)) {
- this.lastX = (29 * this.lastX + this.x) / 30, this.lastY = (29 * this.lastY + this.y) / 30;
- var s = (this.lastX + o) * t,
- n = (this.lastY + o) * t;
- this.nick.length > 0 && (e.font = C.miniMapNickFontWeight + " " + C.miniMapNickSize + "px " + C.miniMapNickFontFamily, e.textAlign = "center", C.miniMapNickStrokeSize > 0 && (e.lineWidth = C.miniMapNickStrokeSize, e.strokeStyle = C.miniMapNickStrokeColor, e.strokeText(this.nick, s, n - (2 * C.miniMapTeammatesSize + 2))), e.fillStyle = C.miniMapNickColor, e.fillText(this.nick, s, n - (2 * C.miniMapTeammatesSize + 2))), e.beginPath(), e.arc(s, n, C.miniMapTeammatesSize, 0, this.pi2, !1), e.closePath(), e.fillStyle = v.oneColoredTeammates ? C.miniMapTeammatesColor : this.color, e.fill()
- }
- }
- }, s.prototype = {
- name: "OGARio by szymy v3",
- version: "v3 (3.0.2)",
- privateMode: !1,
- publicIP: "ws://164.132.227.101:3000",
- privateIP: null,
- updateInterval: 1e3,
- updateTick: 0,
- updateMaxTick: 2,
- currentSector: "",
- miniMap: null,
- miniMapCtx: null,
- miniMapSectors: null,
- pi2: 2 * Math.PI,
- socket: null,
- teamPlayers: [],
- parties: [],
- chatHistory: [],
- customSkinsCache: {},
- customSkinsMap: {},
- deathLocations: [],
- playerID: null,
- playerMass: 0,
- selectedProfile: 0,
- lastDeath: 0,
- gameMode: "",
- partyToken: "",
- lastSentNick: "",
- lastSentClanTag: null,
- lastSentSkinURL: "",
- lastSentCustomColor: "",
- lastSentPartyToken: "",
- lastMessageSentTime: Date.now(),
- rFps: 0,
- renderedFrames: 0,
- fpsLastRequest: null,
- statsHUD: null,
- leaderboardPositionsHUD: null,
- activeParties: null,
- top5pos: null,
- top5total: null,
- timeHUD: null,
- retryResp: 0,
- token: "b2dhcmlvLm92aA==",
- canvasScale: 1,
- selectBiggestCell: !0,
- noSkins: !1,
- noNames: !1,
- noColors: !1,
- showMass: !0,
- skipStats: !1,
- showSplitInd: !1,
- pause: !1,
- targetID: 0,
- targetStatus: 0,
- targetNick: "",
- targetSkinURL: "",
- targeting: !1,
- privateChat: !1,
- privateMiniMap: !1,
- feedInterval: null,
- getPlayerX: function() {
- return o.playerX + o.mapOffsetX
- },
- getPlayerY: function() {
- return o.playerY + o.mapOffsetY
- },
- feed: function() {
- e.core && e.core.eject && e.core.eject()
- },
- macroFeed: function(e) {
- if (e) {
- if (this.feedInterval) return;
- var o = this;
- this.feed(), this.feedInterval = setInterval(function() {
- o.feed()
- }, 80)
- } else this.feedInterval && (clearInterval(this.feedInterval), this.feedInterval = null)
- },
- split: function() {
- e.core && e.core.split && e.core.split()
- },
- doubleSplit: function() {
- var e = this;
- e.split(), setTimeout(function() {
- e.split()
- }, 40)
- },
- popSplit: function() {
- var e = this;
- e.split(), setTimeout(function() {
- e.split()
- }, 200)
- },
- split16: function() {
- var e = this;
- e.split(), setTimeout(function() {
- e.split()
- }, 40), setTimeout(function() {
- e.split()
- }, 80), setTimeout(function() {
- e.split()
- }, 120)
- },
- toggleSkins: function() {
- o.vanillaSkins && o.customSkins ? o.vanillaSkins = !1 : !o.vannillaSkins && o.customSkins ? (o.vanillaSkins = !0, o.customSkins = !1) : (o.vanillaSkins = !0, o.customSkins = !0)
- },
- toggleCells: function() {
- this.selectBiggestCell = !this.selectBiggestCell, o.selectBiggestCell = this.selectBiggestCell
- },
- setShowTop5: function() {
- ":party" === this.gameMode && (v.showTop5 = !v.showTop5, this.setTop5())
- },
- setTop5: function() {
- v.showTop5 && ":party" === this.gameMode ? t("#top5-hud").show() : t("#top5-hud").hide()
- },
- setShowTargeting: function() {
- ":party" === this.gameMode && (v.showTargeting = !v.showTargeting, this.setTargetingHUD())
- },
- setTargetingHUD: function() {
- v.showTargeti
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement