SHARE
TWEET

FakeV2

SophieDebleeckere Jun 3rd, 2020 857 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:
  2.  
  3.  
  4. var coords = "ENTER COORDINATES HERE SEPERATED WITH SPACES";
  5.  
  6. if (window.location.href.indexOf('&screen=place') < 0) {
  7.     //relocate
  8.     window.location.assign(game_data.link_base_pure + "place");
  9. }
  10. var name = 'fakes1';
  11. var d = (window.frames.length > 0) ? window.main.document : document;
  12. var u = document.URL;
  13. if (u.match(/screen=place/)) {
  14.     if (coords != null) {
  15.         coords = coords.split(" ");
  16.         var index = Math.round(Math.random() * (coords.length - 1));
  17.         coords = coords[index];
  18.         /*coords = coords.split("|");
  19.         d.forms[0].x.value = coords[0];
  20.         d.forms[0].y.value = coords[1];*/
  21. let $coordsInput = $('input[data-type=player]');
  22.     $coordsInput.val(coords);
  23.     $coordsInput.submit();
  24.         selectAllUnits(false);
  25.         tcat = getTroop("catapult");
  26.         tram = getTroop("ram");
  27.         theavy = getTroop("heavy");
  28.         tlight = getTroop("light");
  29.         tsword = getTroop("sword");
  30.         tarcher = getTroop("archer");
  31.         tspear = getTroop("spear");
  32.         taxe = getTroop("axe");
  33.         tscout = getTroop("spy");
  34.         if (tscout > 10) {
  35.             d.forms[0].spy.value = 1;
  36.         }
  37.         if (tcat > 0) {
  38.             d.forms[0].catapult.value = 1;
  39.         } else if (tram > 0) {
  40.             d.forms[0].ram.value = 1;
  41.         } else if (tsword > 0) {
  42.             d.forms[0].sword.value = 1;
  43.         } else if (tspear > 0) {
  44.             d.forms[0].spear.value = 1;
  45.         } else if (taxe > 0) {
  46.             d.forms[0].axe.value = 1;
  47.         } else if (tarcher > 0) {
  48.             d.forms[0].archer.value = 1;
  49.         } else if (theavy > 0) {
  50.             d.forms[0].heavy.value = 1;
  51.         } else if (tlight > 0) {
  52.             d.forms[0].light.value = 1;
  53.         }
  54.     }
  55. }
  56. void(0);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top