farm

DeletedUser

Guest
someone can tell me what the script farm here in this forum? :D
 

DeletedUser1327

Guest
Here it is:

javascript:sp=00;sw=0;ax=00;scout=01;lc=500;hv=0;cat=0;ra=0;coords='376|423 379|423 380|423 366|424 367|424 374|424 375|424 377|424 378|424 379|424 367|425 369|425 370|425 371|425 372|425 377|425 378|425 369|426 371|426 368|427 369|427 370|427 372|427 373|427 374|427 375|427 371|428 372|428 378|428 366|429 373|429 374|429 380|430 366|431 367|431 369|431 380|431 366|432 367|432 372|432 380|432 367|433 370|433 372|433 379|433 380|433 367|434 373|434 377|434 378|434 368|435 374|435 375|435 369|436 371|436 372|436 373|436 374|436 375|436 376|436 377|436 378|436 379|436 380|436 367|437 368|437 371|437 375|437 376|437 378|437 379|437';var%20doc=document;if(window.frames.length>0)doc=window.main.document;url=document.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');coords=coords.split("%20");index=0;farmcookie=document.cookie.match('(^|;) ?farm=([^;]*)(;|$)');if(farmcookie!=null)index=parseInt(farmcookie[2]);if(index>=coords.length)alert('last village');if(index>=coords.length)index=0;coords=coords[index];coords=coords.split("|");index=index+1;cookie_date=new%20Date(2050,11,11);document.cookie ="farm="+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);end();
 

DeletedUser

Guest
you need to change anything?



javascript:sp=00;sw=0;ax=00;scout=01;lc=500;hv=0;cat=0;ra=0;

Change this part to include the values you want (for lc, scouts etc). That bit should be edited based on your troop-count and farming preference.
 

DeletedUser

Guest
it does not automatically send attacks, but rather input coords and troop values. the user still has to hit attack and then confirm the attack... since user has to take action, its legal
 
Top