Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ----------------------------------------------------------
- // ==UserScript==
- // @name Fejk edited by pm161@
- // @version 1.0
- // @author ExTaza?!
- // @include http*://pl*.plemiona.pl/game.php?village=*&screen=place*
- // @include http*://pl*.plemiona.pl/game.php?screen=place*
- // ==/UserScript==
- // --------------------------------------------------------------//
- javascript: var HermitowskieFejki = {
- omitNightBonus: 'true',
- coords: ' 555|451 553|454 551|456 551|455 550|455 549|454 548|453 547|454 547|452 546|451 547|450 '
- players: '',
- days: '1-31',
- intervals: '8:00-23:59',
- templates: [
- {spy: 5, catapult: 20},
- {spy: 5, catapult: 15},
- {spy: 5, catapult: 10},
- {spy: 5, catapult: 1}
- ],
- fillWith: 'catapult,spy',
- fillExact: 'false',
- skipVillages: 'true',
- safeguard: {spy:50},
- localContext: '5',
- customContexts: '',
- boundingBoxes: [],
- };
- function rand (min, max) {
- var argc = arguments.length;
- if (argc === 0) {
- min = 0;
- max = 2147483647; } else if (argc === 1) {
- throw new Error('Funkcja wymaga podania obu argumentów min i max');
- }
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- var czas = rand(500, 3000); // Losowy czas pomiędzy 1MS a 8 sek
- if(window.location.href.indexOf("confirm") > -1)
- {
- }
- else{
- eval(localStorage['Faking']) || $.getScript('https://media.innogamescdn.com/com_DS_PL/skrypty/Faking.js'); void(0);
- }
- setTimeout('$( "#target_attack" ).trigger( "click" );', czas);
- setInterval(function() {
- $(document).ready(function () {
- if(window.location.href.indexOf("confirm") > -1)
- {
- setTimeout('$( "#troop_confirm_go" ).trigger( "click" );', czas);
- }
- });
- }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement