Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
5.7 kB
3
Indexable
Never
// USTAWIENIA ZBIERAKA MASOWEGO
// PRZED PIERWSZYM URUCHOMIENIEM USTAW 60, BY ZDĄŻYĆ WYBRAĆ CZAS RUNU
//
var zmass =2; //CZAS W SEKUNDACH OD KLIKANIA PRZYCISKOW AUTOMATYCZNIE
//
// ZBIERAK SINGLE
// DODAJ TEN SKRYPT: https://greasyfork.org/en/scripts/453881-auto-zbierak-single
 
 
// ==UserScript==
// @name         Pasek Skrótów Tamper v3
// @namespace    http://tampermonkey.net/
// @version      0.9
// @description  try to take over the world!
// @author       Perlito x Panoramix
// @match        https://*.plemiona.pl/game.php?*
// @match        https://*.plemiona.pl/game.php?village=*&screen=place&mode=scavenge_mass
// @match        https://*.plemiona.pl/game.php?village=*&screen=overview_villages&mode=combined
// @match        https://*.plemiona.pl/game.php?screen=overview_villages&screen=overview_villages&mode=combined
// @match        https://*.plemiona.pl/game.php?village=*&screen=storage
// @match        https://*.plemiona.pl/game.php?screen=overview_villages&&screen=storage
// @match        https://*.plemiona.pl/game.php?village=*&screen=ranking
// @match        https://*.plemiona.pl/game.php?screen=overview_villages&screen=ranking
// @match        https://*.plemiona.pl/game.php?village=*&screen=am_troops&mode=template
// @match        https://*.plemiona.pl/game.php?village=*&screen=ranking&mode=player&offset
// @include      **mode=scavenge_mass*
// @icon         https://www.google.com/s2/favicons?domain=plemiona.pl
// @grant        none
// ==/UserScript==
 
var gui_content;
var start = window.localStorage.getItem("zb");
var guwno = window.localStorage.getItem("zb1");
var seks = window.localStorage.getItem("zb2");
var tymek = window.localStorage.getItem("zb3");
var aneta = window.localStorage.getItem("zb4");
var tatanatana = window.localStorage.getItem("zb5");
var template = window.localStorage.getItem("zb7");
var ranking = window.localStorage.getItem("zb8");
var swiat = document.location.toString();
var premiumBtnEnabled=false
 
swiat = swiat.substring(0, swiat.indexOf("&"));
//prompt(typeof (swiat),swiat);
gui_content =`<tr>
   <button id="A" class="btn" onclick="window.location='` + swiat + `&amp;screen=place&mode=scavenge_mass'; window.localStorage.setItem('zb','1')">ZBIERAKMASS</button>
   <button id="G" class="btn" onclick="window.location='` + swiat + `&amp;&screen=place&mode=scavenge'; window.localStorage.setItem('zb6','1')">ZBIERAKSINGLE</button>
   <button id="B" class="btn" onclick="window.location='` + swiat + `&amp;screen=overview_villages&mode=combined'; window.localStorage.setItem('zb1','1')">PLANER</button>
   <button id="C" class="btn" onclick="window.location='` + swiat + `&amp;&screen=storage'; window.localStorage.setItem('zb2','1')">SURKI</button>
   <button id="D" class="btn" onclick="window.location='` + swiat + `&amp;&screen=overview_villages&mode=prod'; window.localStorage.setItem('zb3','1')">BALANS</button>
   <button id="E" class="btn" onclick="window.location='` + swiat + `&amp;&screen=place&mode=scavenge_mass'; window.localStorage.setItem('zb4','1')">UNLOCK</button>
   <button id="F" class="btn" onclick="window.location='` + swiat + `&amp;&screen=ranking'; window.localStorage.setItem('zb5','1')">PODGLAD</button>
   <button id="H" class="btn" onclick="window.location='` + swiat + `&amp;&screen=am_troops&mode=template'; window.localStorage.setItem('zb7','1')">REKRU</button>
   <button id="I" class="btn" onclick="window.location='` + swiat + `&amp;&screen=ranking&mode=player'; window.localStorage.setItem('zb8','1')">P-STATY</button>
   </tr>`;
//alert(document.querySelector("#header_info > tbody").innerHTML);
    document.querySelector("#header_info > tbody").innerHTML = document.querySelector("#header_info > tbody").innerHTML + gui_content;
 
window.localStorage.setItem("zb","0");
//alert(window.localStorage.getItem("zb"));
if(start=="1"){
         $.getScript('https://shinko-to-kuma.com/scripts/massScavenge.js')
}
 
window.localStorage.setItem("zb1","0");
//alert(window.localStorage.getItem("zb"));
if(guwno=="1"){
         javascript:$.getScript('https://twscripts.dev/scripts/massCommandTimer.js')
}
 
window.localStorage.setItem("zb2","0");
//alert(window.localStorage.getItem("zb"));
if(seks=="1"){
         javascript:$.getScript('https://shinko-to-kuma.com/scripts/res-senderV2.js')
}
 
window.localStorage.setItem("zb3","0");
//alert(window.localStorage.getItem("zb"));
if(tymek=="1"){
         javascript:$.getScript("https://shinko-to-kuma.com/scripts/WHBalancerShinkoToKuma.js");
}
 
window.localStorage.setItem("zb4","0");
//alert(window.localStorage.getItem("zb"));
if(aneta=="1"){
         javascript:$.getScript('https://twscripts.dev/scripts/massUnlockScav.js');
}
 
window.localStorage.setItem("zb5","0");
//alert(window.localStorage.getItem("zb"));
if(tatanatana=="1"){
         javascript:$.getScript('https://shinko-to-kuma.com/scripts/scavengingOverview.js');
}
 
window.localStorage.setItem("zb7","0");
//alert(window.localStorage.getItem("zb"));
if(template=="1"){
         javascript:$.getScript('https://twscripts.dev/scripts/troopTemplatesManager.js');
}
 
window.localStorage.setItem("zb8","0");
//alert(window.localStorage.getItem("zb"));
if(ranking=="1"){
         javascript:$.getScript('https://twscripts.dev/scripts/tribeStatsTool.js');
}
 
setTimeout(()=>$("#sendMass").click(), zmass*1000*(1+0.2*Math.random()));
 
setTimeout(()=>{
    $("[id=sendMass]").each((i, btn)=>{
        setTimeout(()=>sendGroup(i, false),1000*(i*zmass/3 + Math.random()*zmass/6))
    })
}, zmass*2000*(1+0.2*Math.random()));