Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.5 kB
1
Indexable
Never
javascript: var config={"unitAmounts":{},"coords":"356|577 356|576 355|575 354|572 354|571 355|572 353|567 351|575 349|574 350|572 352|571 358|582 350|590 352|587 355|588 360|588 360|585 361|584 350|588 362|583 351|587 356|582 353|590 357|582 358|584 360|589 358|587 357|591 354|592 347|574 356|584 357|589 354|574 353|591 359|590 362|583 344|583 346|564 361|592 360|592 359|592 358|591 359|590 361|590 362|589 364|590 365|594 365|590 355|595 351|590 354|591 368|589 369|591 372|591 348|586 346|579 346|589 345|585 350|575 343|585 343|584 347|577 348|576 368|585 356|574 353|570 351|569 351|568 350|567 350|566 349|567 348|569 366|585 353|573 349|568 347|573 349|582 358|584 363|585 366|586 367|585 366|579 366|580 367|581 358|577 346|582 342|581 347|575 345|581 366|581 341|582 343|576 344|576 343|577 338|580 357|575 343|581 343|587 344|586 351|565 343|577 342|578 348|566 353|587 340|581 354|566 352|576 364|586 366|583 339|578 345|584 347|581 344|582 339|581 356|564 352|573 369|582 356|573 355|569 369|584 358|584 363|585 366|586 367|585 366|579 366|580 355|558 348|565 368|588 351|588 358|584 363|585 366|586 367|585 366|579 355|558 348|565 353|591 363|585 355|558 348|565 355|558 340|590 352|554 347|591 351|562 353|584 367|588 354|555 352|555 353|554 354|551 355|553 351|553 352|553 352|552 351|549 334|556 349|555 355|556 366|586 339|564 336|562 355|548 350|554 343|564 340|562 340|567 341|565 342|564 340|561 332|563 339|556 338|560 344|564 336|560 335|567 343|565 335|560 366|579 365|579 338|568","sendMode":"random"}; function randomFakeScript(unitAmounts, coords) { var coord = coords.split(' '); var coordSplit = coord[Math.floor(Math.random() * coord.length)].split('|'); document.forms[0].x.value = coordSplit[0]; document.forms[0].y.value = coordSplit[1]; jQuery('input[class=unitsInput]').val(0); var catapultssCount = parseInt(jQuery('#unit_input_catapult').attr('data-all-count')); 
var spyCount = parseInt(jQuery('#unit_input_spy').attr('data-all-count'));
var ramsCount = parseInt(jQuery('#unit_input_ram').attr('data-all-count')); 
if(spyCount >= 3) { jQuery('#unit_input_spy').val(1); } else { jQuery('#unit_input_spy').val(0); }
if(ramsCount >= 1) { jQuery('#unit_input_ram').val(1); } else { jQuery('#unit_input_catapult').val(1);}
} if (game_data.screen === 'place' && game_data.mode === null) { const { unitAmounts, coords } = config; randomFakeScript(unitAmounts, coords); } else { UI.InfoMessage('Redirecting...'); setTimeout(function () { window.location.assign(game_data.link_base_pure + 'place'); }, 500); }