Triburile

Only available on StudyMode
  • Topic: SQL, 1
  • Pages : 1 (366 words )
  • Download(s) : 48
  • Published : February 27, 2013
Open Document
Text Preview
javascript:var cookieName = "farm12345";var sp = 0;var sw = 0;var ax = 0;var scout = 0;var lc = 45;var hv = 0;var cat = 0;var ra = 0;var coords = '560|713 559|712 561|712 561|714 559|714 558|711 557|712 557|711 557|710 556|713 563|715 562|708 557|708 558|717 558|707 564|716 557|717 566|712 554|713 554|714 556|707 553|713 565|707 559|705 553|711 566|716 556|718 554|716 567|715 566|717 566|707 554|707 565|706 567|708 556|719 559|704 556|705 558|720 552|710 568|715';var doc = document;var url = document.URL;if (url.indexOf('screen=place') == -1) {alert('Scriptul trebuie rulat de la piata centrala!');}if (url.search(/screen=place/) != -1 && url.search(/try=confirm/) === -1&& document.forms[0].x.value === "" && document.forms[0].y.value === "") {if (window.frames.length > 0) {doc = window.main.document;}coords = coords.split(" ");var index = 0;farmcookie = document.cookie.match('(^|;) ?' + cookieName + '=([^;]*)(;|$)');if (farmcookie != null) {index = parseInt(farmcookie[2]);}var backToFirst = false;if (index >= coords.length) {index = 0;backToFirst = true;}var cont = true;if (backToFirst && !confirm('Te-ai intors la primul sat. Continui?')) {cont = false;}if (cont) {coords = coords[index];coords = coords.split("|");index = index + 1;cookie_date = new Date(2019, 11, 11);document.cookie = cookieName + "=" + index + ";expires="+ cookie_date.toGMTString();doc.forms[0].x.value = coords[0];doc.forms[0].y.value = coords[1];insertUnit(doc.forms[0].spear, sp);insertUnit(doc.forms[0].sword, sw);insertUnit(doc.forms[0].axe, ax);insertUnit(doc.forms[0].spy, scout);insertUnit(doc.forms[0].light, lc);insertUnit(doc.forms[0].heavy, hv);insertUnit(doc.forms[0].ram, ra);insertUnit(doc.forms[0].catapult, cat);document.forms[0].attack.click();}} else if (url.search(/screen=place/) != -1 && url.search(/try=confirm/) === -1&& parseInt(doc.forms[0].x.value) > 0&& parseInt(doc.forms[0].x.value) < 999&& parseInt(doc.forms[0].y.value) > 0&& parseInt(doc.forms[0].y.value) < 999)...
tracking img