Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. // ----------------------------------------------------------
  2. // ==UserScript==
  3. // @name Fejk edited by pm161@
  4. // @version 1.0
  5. // @author ExTaza?!
  6. // @include http*://pl*.plemiona.pl/game.php?village=*&screen=place*
  7. // @include http*://pl*.plemiona.pl/game.php?screen=place*
  8. // ==/UserScript==
  9. // --------------------------------------------------------------//
  10.  
  11.  
  12. javascript: var HermitowskieFejki = {
  13. omitNightBonus: 'true',
  14. coords: ' 555|451 553|454 551|456 551|455 550|455 549|454 548|453 547|454 547|452 546|451 547|450 '
  15. players: '',
  16. days: '1-31',
  17. intervals: '8:00-23:59',
  18. templates: [
  19. {spy: 5, catapult: 20},
  20. {spy: 5, catapult: 15},
  21. {spy: 5, catapult: 10},
  22. {spy: 5, catapult: 1}
  23. ],
  24. fillWith: 'catapult,spy',
  25. fillExact: 'false',
  26. skipVillages: 'true',
  27. safeguard: {spy:50},
  28. localContext: '5',
  29. customContexts: '',
  30. boundingBoxes: [],
  31. };
  32. function rand (min, max) {
  33. var argc = arguments.length;
  34. if (argc === 0) {
  35. min = 0;
  36. max = 2147483647; } else if (argc === 1) {
  37. throw new Error('Funkcja wymaga podania obu argumentów min i max');
  38. }
  39. return Math.floor(Math.random() * (max - min + 1)) + min;
  40. }
  41. var czas = rand(500, 3000); // Losowy czas pomiędzy 1MS a 8 sek
  42.  
  43. if(window.location.href.indexOf("confirm") > -1)
  44. {
  45. }
  46. else{
  47. eval(localStorage['Faking']) || $.getScript('https://media.innogamescdn.com/com_DS_PL/skrypty/Faking.js'); void(0);
  48. }
  49. setTimeout('$( "#target_attack" ).trigger( "click" );', czas);
  50. setInterval(function() {
  51. $(document).ready(function () {
  52. if(window.location.href.indexOf("confirm") > -1)
  53. {
  54. setTimeout('$( "#troop_confirm_go" ).trigger( "click" );', czas);
  55. }
  56. });
  57. }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement