Farming Guide for W43

DeletedUser45123

Guest
nMe... n@me?'s Newbies Farming Guide for World 43.

Alot of people farm by hand, and when you get to a certain amount of Light Cavalry it starts to become a pain farming by hand, so here is a quick guide to help you with farming.


Firstly go to: http://spole.pbf.hr/tw/farm_finder/, and type in your co-ordinates, world and radius. Put the radius to 30, and tick 'Scrupt output', then click find farms. You maybe thinking that too many villages to farm, but the villages are in order from the closest to farthest away, and when placing them in the script I'll show you how to reset it, so it starts farming from the closest village again.

Now you've got all the co-ordinates... you need to place them into a farming/fake script.

Code:
javascript:function end(){var a=0,sw=0,ax=0,ar=0,scout=1,lc=0,mount=0,hv=0,cat=0,ra=0,pa=0,no=0;coords='394|570 393|567 392|571 393|573 389|567 389|571 392|564 391|564 395|564';var b=document;if(window.frames.length>0)b=window.main.document;coords=coords.split(" ");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 Date(2009,11,11);document.cookie="farm="+index+";expires="+cookie_date.toGMTString();b.forms[0].x.value=coords[0];b.forms[0].y.value=coords[1];b.forms[0].spear.value=a;b.forms[0].sword.value=sw;b.forms[0].axe.value=ax;b.forms[0].spy.value=scout;b.forms[0].light.value=lc;b.forms[0].heavy.value=hv;b.forms[0].ram.value=ra;b.forms[0].catapult.value=cat;b.forms[0].archer.value=ar;b.forms[0].marcher.value=mount;b.forms[0].knight.value=pa;b.forms[0].snob.value=no}end()

Where I've put some co-ordinates, you've just go to delete them, and put all your co-ordinates you got from http://spole.pbf.hr/tw/farm_finder/.

Now put the script into your quickbar, and name it 'Spy', then go to rally point and click the script once, then click 'attack', and 'ok'. Repeat this until you've sent out around 80 scouts.

What to do with the scout reports? Nothing. Don't delete any reports.

Now put this script into your quickbar, and name it 'LC Calc'.

Code:
javascript:var%20timeDifference=-1;var%20worldSpeed=1;var%20unitSpeed=1;var%20farmingUnit='Light%20Cavalry';var%20units%3Dnew%20Array()%3B%0Aunits%5B'Light%20Cavalry'%5D%3Dnew%20Array(600%2C80%2C'light')%3B%0Aunits%5B'Axe'%5D%3Dnew%20Array(1080%2C10%2C'axe')%3B%0Aunits%5B'Heavy%20Cavalry'%5D%3Dnew%20Array(660%2C50%2C'heavy')%3B%0Aunits%5B'Mounted%20Archer'%5D%3Dnew%20Array(660%2C50%2C'marcher')%3B%0Aunits%5B'Spear'%5D%3Dnew%20Array(1080%2C25%2C'spear')%3B%0Aunits%5B'Paladin'%5D%3Dnew%20Array(600%2C100%2C'knight')%3B%0AunitOfChoice%3Dunits%5BfarmingUnit%5D%3B%0Avar%20warehouseMax%3Dnew%20Array(1000%2C1229%2C1512%2C1859%2C2285%2C2810%2C3454%2C4247%2C5222%2C6420%2C7893%2C9705%2C11932%2C14670%2C18037%2C22177%2C27266%2C33523%2C41217%2C50675%2C62305%2C76604%2C94184%2C115798%2C142373%2C175047%2C215219%2C264611%2C325337%2C400000)%3B%0Avar%20productionPerHour%3Dnew%20Array(30%2C35%2C41%2C47%2C55%2C64%2C74%2C86%2C100%2C117%2C136%2C158%2C184%2C214%2C249%2C289%2C337%2C391%2C455%2C530%2C616%2C717%2C833%2C959%2C1127%2C1311%2C1525%2C1774%2C2063%2C2400)%3B%0Avar%20hidingPlace%3Dnew%20Array(150%2C200%2C267%2C356%2C474%2C632%2C843%2C1125%2C1500%2C2000)%3B%0A%0Avar%20months%3Dnew%20Array(%22January%22%2C%22February%22%2C%22March%22%2C%22April%22%2C%22May%22%2C%22June%22%2C%22July%22%2C%22August%22%2C%22September%22%2C%22October%22%2C%22November%22%2C%22December%22)%3B%0A%0Afunction%20createCookie(name%2Cvalue%2Cdays)%20%7B%0A%09if%20(days)%20%7B%0A%09%09var%20date%20%3D%20new%20Date()%3B%0A%09%09date.setTime(date.getTime()+(days*24*60*60*1000))%3B%0A%09%09var%20expires%20%3D%20%22%3B%20expires%3D%22+date.toGMTString()%3B%0A%09%7D%0A%09else%20var%20expires%20%3D%20%22%22%3B%0A%09document.cookie%20%3D%20name+%22%3D%22+value+expires+%22%3B%20path%3D/%22%3B%0A%7D%0A%0Afunction%20readCookie(name)%20%7B%0A%09var%20nameEQ%20%3D%20name%20+%20%22%3D%22%3B%0A%09var%20ca%20%3D%20document.cookie.split('%3B')%3B%0A%09for(var%20i%3D0%3Bi%20%3C%20ca.length%3Bi++)%20%7B%0A%09%09var%20c%20%3D%20ca%5Bi%5D%3B%0A%09%09while%20(c.charAt(0)%3D%3D'%20')%20c%20%3D%20c.substring(1%2Cc.length)%3B%0A%09%09if%20(c.indexOf(nameEQ)%20%3D%3D%200)%20return%20c.substring(nameEQ.length%2Cc.length)%3B%0A%09%7D%0A%09return%20null%3B%0A%7D%0A%0Afunction%20getCoordinates(theString)%0A%7B%0A%09theString%3DtheString.split(%22%7C%22)%3B%0A%09var%20x%3DtheString%5BtheString.length-2%5D%3B%0A%09var%20y%3DtheString%5BtheString.length-1%5D%3B%0A%0A%09x%3Dx.split(%22(%22)%3B%0A%09x%3Dx%5Bx.length-1%5D%3B%0A%09y%3Dy.split(%22)%22)%3B%0A%09y%3Dy%5B0%5D%3B%0A%09var%20coordinates%3Dnew%20Array(x%2Cy)%3B%0A%09return%20coordinates%3B%0A%7D%0A%0Afunction%20getLevel(building)%0A%7B%0A%0A%09var%20tRow%3Ddocument.getElementsByTagName('tr')%3B%0A%09for(i%3D0%3Bi%3CtRow.length%3Bi++)%0A%09%7B%0A%09%09var%20thead%3DtRow%5Bi%5D.getElementsByTagName('th')%5B0%5D%3B%0A%09%09if(thead)%0A%09%09%7B%0A%09%09%09if(thead.firstChild.nodeValue%3D%3D%3D'Buildings%3A')%0A%09%09%09%7B%0A%09%09%09%09%0A%09%09%09%09var%20text%3DtRow%5Bi%5D.getElementsByTagName('td')%5B0%5D%3B%0A%09%09%09%09text%3Dtext.innerHTML%3B%0A%09%09%09%09text%3Dtext.split(%22%3Cbr%3E%22)%3B%0A%09%09%09%09for(j%3D0%3Bj%3Ctext.length%3Bj++)%0A%09%09%09%09%7B%0A%09%09%09%09%09var%20line%3Dtext%5Bj%5D%3B%0A%09%09%09%09%09%0A%09%09%09%09%09if(line.search(building)!%3D%20-1)%0A%09%09%09%09%09%7B%0A%09%09%09%09%09%09%0A%09%09%09%09%09%09var%20level%3Dline.split(%22)%22)%3B%0A%09%09%09%09%09%09%0A%09%09%09%09%09%09level%3Dlevel%5B0%5D.split(%22%20%22)%3B%0A%09%09%09%09%09%09level%3Dlevel%5Blevel.length-1%5D%3B%0A%09%09%09%09%09%09return%20level%3B%0A%09%09%09%09%09%09break%3B%0A%09%09%09%09%09%09%0A%09%09%09%09%09%7D%0A%09%09%09%09%09%0A%09%09%09%09%7D%0A%09%09%09%09return%200%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%09%0A%09%09%0A%7D%0A%0Afunction%20checkOverflow(amount)%0A%7B%0A%09var%20warehouse%3DwarehouseMax%5B(getLevel(/warehouse/i))-1%5D%3B%0A%09var%20hiding%3DhidingPlace%5B(getLevel(/hiding%20place/i))-1%5D%3B%0A%09if(amount%3E(warehouse-hiding))%0A%09%7B%0A%09%09return%20warehouse-hiding%3B%0A%09%7D%0A%09else%0A%09%7B%0A%09%09return%20amount%3B%0A%09%7D%0A%7D%0A%0Afunction%20getDurationInSeconds(originX%2C%20originY%2C%20targetX%2C%20targetY%2C%20speed%2C%20unitSpeed%2C%20unit)%0A%7B%0Avar%20x%3DoriginX-targetX%3B%0Avar%20y%3DoriginY-targetY%3B%0Avar%20fields%3DMath.sqrt((x*x)+(y*y))%3B%0Avar%20overallSpeed%3Dspeed*unitSpeed%3B%0Avar%20secondsPerField%3Dunit/overallSpeed%3B%0A%0Avar%20duration%3DMath.round(secondsPerField*fields)%3B%0Areturn%20duration%3B%0A%7D%0A%0Afunction%20getInnerHTMLString(tableHeader)%0A%7B%0A%09var%20tbls%3Ddocument.getElementsByTagName('table')%3B%0A%09for(var%20i%3D0%3Bi%3Ctbls.length%3Bi++)%0A%09%7B%0A%09%09var%20thead%3Dtbls%5Bi%5D.getElementsByTagName('th')%5B0%5D%3B%0A%09%09if(thead)%0A%09%09%7B%0A%09%09%09if(thead.firstChild.nodeValue%3D%3D%3DtableHeader)%0A%09%09%09%7B%0A%09%09%09%09var%20village%3Dtbls%5Bi%5D%3B%0A%09%09%09%09var%20row%3Dvillage.getElementsByTagName('tr')%5B1%5D%3B%0A%09%09%09%09var%20cell%3Drow.getElementsByTagName('td')%5B1%5D%3B%0A%09%09%09%09cell%3Dcell.innerHTML%3B%0A%09%09%09%09return%20cell%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A%0A%0Afunction%20elapsedTime(dateString%2C%20timeDifference)%0A%7B%0A%09%0A%09var%20dThen%3DDate.parse(dateString)%3B%0A%09var%20dNow%3Dnew%20Date()%3B%0A%09dNow%3DdNow.getTime()%3B%0A%09dNow%3DdNow-((timeDifference*3600)*1000)%3B%0A%09%0A%09var%20minutes%3D((dNow-dThen)/1000)/60%3B%0A%09var%20elapsedHours%3DMath.floor(minutes/60)%3B%0A%09var%20elapsedMinutes%3Dminutes%2560%3B%0A%09%0A%09return%20minutes%3B%0A%09%0A%09%0A%7D%0A%0A%0Afunction%20timeOfReport()%0A%7B%0A%09%0A%09var%20tRow%3Ddocument.getElementsByTagName('tr')%3B%0A%09for(i%3D0%3Bi%3CtRow.length%3Bi++)%0A%09%7B%0A%09%09var%20tCell%3DtRow%5Bi%5D.getElementsByTagName('td')%3B%0A%09%09if(tCell%5B0%5D)%0A%09%09%7B%0A%09%09%09if(tCell%5B0%5D.innerHTML%3D%3D%3D%22Sent%22)%0A%09%09%09%7B%0A%09%09%09%09sentTime%3DtCell%5B1%5D.innerHTML%3B%0A%09%09%09%09return%20sentTime%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%7D%0A%7D%0A%0Afunction%20sameVillage()%0A%7B%0A%09var%20anchors%3Ddocument.getElementsByTagName('a')%3B%0A%09for(i%3D0%3Bi%3Canchors.length%3Bi++)%0A%09%7B%0A%09%09if(anchors%5Bi%5D.firstChild.nodeValue%3D%3D%3D'Paste%20quantities%20of%20surviving%20troops%20into%20simulator')%0A%09%09%7B%0A%09%09%09var%20theLink%3Danchors%5Bi%5D.getAttribute('href')%3B%0A%09%09%09theLink%3DtheLink.split(%22%26%22)%3B%0A%09%09%09return%20theLink%5B0%5D%3B%0A%09%09%7D%0A%09%7D%0A%7D%0A%0Afunction%20originalVillage()%0A%7B%0A%09var%20tbls%3Ddocument.getElementsByTagName('table')%3B%0A%09for(var%20i%3D0%3Bi%3Ctbls.length%3Bi++)%0A%09%7B%0A%09%09var%20thead%3Dtbls%5Bi%5D.getElementsByTagName('th')%5B0%5D%3B%0A%09%09if(thead)%0A%09%09%7B%0A%09%09%09if(thead.firstChild.nodeValue%3D%3D%3D'Attacker%3A')%0A%09%09%09%7B%0A%09%09%09%09var%20defVill%3Dtbls%5Bi%5D%3B%0A%09%09%09%09var%20anchor%3DdefVill.getElementsByTagName('a')%3B%0A%09%09%09%09anchor%3Danchor%5Banchor.length-1%5D%3B%0A%09%09%09%09var%20link%3Danchor.getAttribute('href')%3B%0A%09%09%09%09link%3Dlink.split(%22%3D%22)%3B%0A%09%09%09%09link%3Dlink%5Blink.length-1%5D%3B%0A%09%09%09%09return%20%22/game.php%3Fvillage%3D%22+link%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A%0A%0Afunction%20targety()%0A%7B%0A%09var%20tbls%3Ddocument.getElementsByTagName('table')%3B%0A%09for(var%20i%3D0%3Bi%3Ctbls.length%3Bi++)%0A%09%7B%0A%09%09var%20thead%3Dtbls%5Bi%5D.getElementsByTagName('th')%5B0%5D%3B%0A%09%09if(thead)%0A%09%09%7B%0A%09%09%09if(thead.firstChild.nodeValue%3D%3D%3D'Defender%3A')%0A%09%09%09%7B%0A%09%09%09%09var%20defVill%3Dtbls%5Bi%5D%3B%0A%09%09%09%09var%20anchor%3DdefVill.getElementsByTagName('a')%3B%0A%09%09%09%09anchor%3Danchor%5Banchor.length-1%5D%3B%0A%09%09%09%09var%20link%3Danchor.getAttribute('href')%3B%0A%09%09%09%09link%3Dlink.split(%22%3D%22)%3B%0A%09%09%09%09link%3Dlink%5Blink.length-1%5D%3B%0A%09%09%09%09return%20link%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%09%0A%0Afunction%20removeHTMLTags(strInputCode)%7Breturn%20strInputCode.replace(/%3C%5C/%3F%5B%5E%3E%5D+(%3E%7C%24)/g%2C%22%22)%3B%7D%0A%0A%0Afunction%20production(mine)%0A%7B%0A%09if(mine%3D%3D%3D0)%0A%09%7B%0A%09return%205/60%3B%09%0A%09%7D%0A%09else%0A%09%7B%0A%09%09return%20productionPerHour%5Bmine-1%5D/60%3B%0A%09%7D%0A%7D%0A%0Afunction%20scoutReportClick()%0A%7B%0A%09%0A%09var%20target%3DgetCoordinates(getInnerHTMLString(%22Defender%3A%22))%3B%0A%09var%20targetX%3Dtarget%5B0%5D%3B%0A%09var%20targetY%3Dtarget%5B1%5D%3B%0A%09%0A%09var%20warehouse%3DgetLevel(/warehouse/i)%3B%0A%09var%20hidingPlace%3DgetLevel(/hiding%20place/i)%3B%0A%09%0A%09%0A%09var%20timberCamp%3DgetLevel(/timber%20camp/i)%3B%0A%09var%20woodPerMin%3D(production(timberCamp)*worldSpeed)%3B%0A%09var%20clayPit%3DgetLevel(/clay%20pit/i)%3B%0A%09var%20clayPerMin%3D(production(clayPit)*worldSpeed)%3B%0A%09var%20ironMine%3DgetLevel(/iron%20mine/i)%3B%0A%09var%20ironPerMin%3D(production(ironMine)*worldSpeed)%3B%0A%09%0A%09var%20elapsedTimeInMins%3DMath.ceil(elapsedTime(timeOfReport()%2C%20timeDifference))%3B%0A%09%0A%09var%20trow%3Ddocument.getElementsByTagName('tr')%3B%0A%09for(var%20i%3D0%3Bi%3Ctrow.length%3Bi++)%0A%09%7B%0A%09%09var%20thead%3Dtrow%5Bi%5D.getElementsByTagName('th')%5B0%5D%3B%0A%09%09if(thead)%0A%09%09%7B%0A%09%09%09if(thead.firstChild.nodeValue%3D%3D%3D'Resources%20scouted%3A')%0A%09%09%09%7B%0A%09%09%09%09var%20tcell%3Dtrow%5Bi%5D.getElementsByTagName('td')%5B0%5D%3B%0A%09%09%09%09var%20finText%3DremoveHTMLTags(tcell.innerHTML)%3B%0A%09%09%09%09finText%3DfinText.replace(/%5C./gi%2C%22%22)%3B%0A%09%09%09%09finText%3DfinText.split(%22%20%22)%3B%0A%09%09%09%09var%20wood%3DparseInt(finText%5B0%5D)%3B%0A%09%09%09%09var%20clay%3DparseInt(finText%5B1%5D)%3B%0A%09%09%09%09var%20iron%3DparseInt(finText%5B2%5D)%3B%0A%09%09%09%09var%20cookieValue%3DelapsedTimeInMins+%22%7C%22+wood+%22%7C%22+clay+%22%7C%22+iron+%22%7C%22+warehouse+%22%7C%22+hidingPlace+%22%7C%22+woodPerMin+%22%7C%22+clayPerMin+%22%7C%22+ironPerMin+%22%7C%22+targetX+%22%7C%22+targetY%3B%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%09createCookie(%22booreporter%22%2C%20cookieValue%2C%201)%3B%0A%09%09%09%09%09var%20targ%3Dtargety()%3B%0A%09%09%09%09%09var%20link%3DoriginalVillage()%3B%0A%09%09%09%09%09var%20url%3Dlink+%22%26screen%3Dplace%26mode%3Dcommand%26target%3D%22+targ%3B%0A%09%09%09%09%09window.open(url%2C'newwindow'%2C%20config%3D'height%3D650%2Cwidth%3D950%2C%20toolbar%3Dno%2C%20menubar%3Dno%2C%20scrollbars%3Dno%2C%20resizable%3Dyes%2Clocation%3Dno%2Cdirectories%3Dno%2C%20status%3Dno')%3B%0A%09%09%09%09%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%09%0A%7D%0A%0Afunction%20getRallyPointCoords()%0A%7B%0A%09var%20titleString%3Ddocument.getElementsByTagName('title')%5B0%5D%3B%0A%09titleString%3DtitleString.innerHTML%3B%0A%09titleString%3DtitleString.split(%22)%22)%3B%0A%09titleString%3DtitleString%5BtitleString.length-2%5D%3B%0A%09titleString%3DtitleString.split(%22(%22)%3B%0A%09titleString%3DtitleString%5BtitleString.length-1%5D%3B%0A%09var%20origin%3DtitleString.split(%22%7C%22)%3B%0A%09return%20origin%3B%0A%7D%0A%0Afunction%20checkTarget(targetX%2C%20targetY)%0A%7B%0A%09var%20inputs%3Ddocument.getElementsByTagName('input')%3B%0A%09for(i%3D0%3Bi%3Cinputs.length%3Bi++)%0A%09%7B%0A%09%09var%20name%3Dinputs%5Bi%5D.getAttribute('name')%3B%0A%09%09if(name%3D%3D%3D'x')%0A%09%09%7B%0A%09%09%09var%20x%3Dinputs%5Bi%5D.value%3B%0A%09%09%7D%0A%09%09if(name%3D%3D%3D'y')%0A%09%09%7B%0A%09%09%09var%20y%3Dinputs%5Bi%5D.value%3B%0A%09%09%7D%0A%09%7D%0A%09if((parseInt(targetX)%3D%3Dx)%20%26%26%20(parseInt(targetY)%3D%3Dy))%0A%09%7Breturn%201%3B%7D%0A%09else%7Breturn%20-1%3B%7D%0A%7D%0A%0Afunction%20fillUnits(unit%2Cunitformname%2Camount)%0A%7B%0A%09var%20fields%3Ddocument.getElementsByTagName('input')%3B%0A%09for(var%20i%3D0%3Bi%3Cfields.length%3Bi++)%0A%09%7B%0A%09%09var%20thename%3Dfields%5Bi%5D.getAttribute('name')%3B%0A%09%09if(thename)%0A%09%09%7B%0A%09%09%09if%20(thename%3D%3D%3Dunitformname)%20%0A%09%09%09%7B%0A%0A%09%09%09%09next%20%3D%20fields%5Bi%5D.nextSibling%3B%0A%09%09%09%09next%20%3D%20next.nextSibling%3B%0A%09%09%09%09s%20%3D%20next.firstChild.nodeValue%3B%0A%09%09%09%09s%3Ds.split(%22(%22)%3B%0A%09%09%09%09s%3Ds%5Bs.length-1%5D%3B%0A%09%09%09%09s%3Ds.replace(/%5C)/g%2C%20%22%22)%3B%0A%09%09%09%09if(parseInt(s)%3Camount)%0A%09%09%09%09%7B%0A%09%09%09%09%09alert(%22Not%20enough%20units.%20You%20need%20%22+amount+%22%20%22+unit)%3B%0A%09%09%09%09%7D%0A%09%09%09%09else%0A%09%09%09%09%7B%0A%0A%09%09%09%09%09document.forms%5B0%5D%5Bunitformname%5D.value%3Damount%3B%0A%09%09%09%09%09%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%09%0A%7D%0A%0Afunction%20rallyPointClick()%0A%7B%0A%09var%20cookieValue%3DreadCookie(%22booreporter%22)%3B%0A%09cookieValue%3DcookieValue.split(%22%7C%22)%3B%0A%09%0A%09var%20elapsedTimeInMins%3DparseInt(cookieValue%5B0%5D)%3B%0A%09var%20wood%3DparseInt(cookieValue%5B1%5D)%3B%0A%09var%20clay%3DparseInt(cookieValue%5B2%5D)%3B%0A%09var%20iron%3DparseInt(cookieValue%5B3%5D)%3B%0A%09var%20warehouse%3DparseInt(cookieValue%5B4%5D)%3B%0A%09var%20hidingPlace%3DparseInt(cookieValue%5B5%5D)%3B%0A%09var%20woodPerMin%3DparseFloat(cookieValue%5B6%5D)%3B%0A%09var%20clayPerMin%3DparseFloat(cookieValue%5B7%5D)%3B%0A%09var%20ironPerMin%3DparseFloat(cookieValue%5B8%5D)%3B%0A%09var%20targetX%3DparseInt(cookieValue%5B9%5D)%3B%0A%09var%20targetY%3DparseInt(cookieValue%5B10%5D)%3B%0A%09%0A%09var%20check%3DcheckTarget(targetX%2C%20targetY)%3B%0A%09if(check%3D%3D-1)%0A%09%7Balert(%22Warning%3A%20You%20have%20switched%20target%20since%20last%20using%20this%20script.%20Unable%20to%20compute%20units%20needed.%22)%3B%7D%0A%09%0A%09var%20origin%3DgetRallyPointCoords()%3B%0A%09var%20originX%3Dorigin%5B0%5D%3B%0A%09var%20originY%3Dorigin%5B1%5D%3B%0A%09%0A%09var%20durationInMinutes%3D(Math.ceil(getDurationInSeconds(originX%2C%20originY%2C%20targetX%2C%20targetY%2C%20worldSpeed%2C%20unitSpeed%2C%20unitOfChoice%5B0%5D)/60))%3B%0A%09%0A%09var%20totalTimeInMinutes%3DelapsedTimeInMins+parseInt(durationInMinutes)%3B%0A%09var%20excessWood%3DparseInt(Math.floor(totalTimeInMinutes*woodPerMin))%3B%0A%09var%20excessClay%3DparseInt(Math.floor(totalTimeInMinutes*clayPerMin))%3B%0A%09var%20excessIron%3DparseInt(Math.floor(totalTimeInMinutes*ironPerMin))%3B%0A%09wood%3DparseInt(checkOverflow(wood+excessWood))%3B%0A%09clay%3DparseInt(checkOverflow(clay+excessClay))%3B%0A%09iron%3DparseInt(checkOverflow(iron+excessIron))%3B%0A%09var%20resources%3Dwood+clay+iron%3B%0A%09var%20numberOfUnits%3DMath.ceil(resources/unitOfChoice%5B1%5D)%3B%0A%09fillUnits(farmingUnit%2CunitOfChoice%5B2%5D%2CnumberOfUnits)%3B%0A%7D%0A%0Afunction%20main()%0A%7B%0A%09var%20url%3Ddocument.URL%3B%0A%09if(url.search(/screen%3Dreport/)!%3D%20-1)%0A%09%7B%0A%09scoutReportClick()%3B%0A%09%7D%0A%09if(url.search(/mode%3Dcommand%26target/)!%3D%20-1)%0A%09%7B%0A%09rallyPointClick()%3B%0A%09%7D%0A%7D%0Amain()%3B

If you live in England, and are playing World 43 or the same as world 43 setting, then there is no need to edit the script. If you don't then go to the scripts forum, and ask how to edit it to your timezone.

Now you've scout alot of the villages, go to top of Opera(Opera web browser), and click tools > advanced > cookies then type in 'en43', and under that you will see something that says 'farm:#' click it, then click edit. Now look for something on there called Value, and change it to '0', and it will make the spy script start from the closest village to you again.

Go to your rally point, and click the spy script once, then click 'attack' (in the red box) DON't CLICK 'OK' AFTER!

farm111.png


Now click the village destination (in the red box).

farm222.png


Now you will see your scout report or another report here, and click the latest report you've got on that village.

farm333.png


Now you're on the report page of that village you can click the 'Lc Calc' script. Click it two times, then add 1 scout in there, and then click 'attack', then click 'ok'

After 4 hours of hitting the closest barbarian to you reset the value; go to top of Opera(Opera web browser), and click tools > advanced > cookies then type in 'en43', and under that you will see something that says 'farm:#' click it, then click edit. Now look for something on there called Value, and change it to '0', and it will make the spy script start from the closest village to you again.

Keep repeating this 15/7, and you'll end up in the top easy.

Don't know if I've missed anything, but Happy Farming :)
 
Last edited by a moderator:

DeletedUser

Guest
I've always been a lazy farmer, and never used anything like this, hence why i've never been top 20 :D.

Thanks.
 

DeletedUser

Guest
Interesting. I use a semi-similar method although I can see where yours may be more efficient.

Where you use the script to send out only the scouts initially, I also include a number of LC with the scout then proceed to use a scout report evaluator script to pick up the remains. Not much difference but you won't end up with the empty hauls I get if there isn't enough resources for the initial amount of LC I send to pick up.

Thanks for sharing
 

DeletedUser

Guest
Was told by a friend about Opera Links, how would you rate that for effectiveness etc. nMe?


Interesting. I use a semi-similar method although I can see where yours may be more efficient.

Where you use the script to send out only the scouts initially, I also include a number of LC with the scout then proceed to use a scout report evaluator script to pick up the remains. Not much difference but you won't end up with the empty hauls I get if there isn't enough resources for the initial amount of LC I send to pick up.

Thanks for sharing

You don't have lc yet -.-
 

DeletedUser45123

Guest
Was told by a friend about Opera Links, how would you rate that for effectiveness etc. nMe?




You don't have lc yet -.-

The link way using the 4 hour farm script based on scout report is okay, but you've got to update it often. It works out the same using the way I do it, and the link way, but then again I'd rather do the extra click doing it my way than updating my links every 4 days lol.

Haul: 352 352 352 1056/1120
Haul: 277 277 44 598/640
Haul: 409 352 352 1113/1120
Haul: 330 330 330 990/1040
Haul: 3.304 3.271 1.285 7860/7920

all hauls like that, and my LC always out. only time i dont get hauls like that is if someone farms it jus before i do and thats why i reset the value back to 0 every 4 hours
 
Last edited by a moderator:

mattcurr

Guest
There is a script that I had to reset the cookie by clicking I had back in the day, too lazy to find, mainly because I like bookmark farming/notebook farming better, but you should search for it will make life easier :p
 

DeletedUser

Guest
There is a script that I had to reset the cookie by clicking I had back in the day, too lazy to find, mainly because I like bookmark farming/notebook farming better, but you should search for it will make life easier :p
When you do bookmark farming is each of you bookmarks a single scout or do you include LC with it.
 

mattcurr

Guest
1 scout, and I, at least I am the only one I know who does this, breaks the links down by location whilst in the one village stage so I can send them out in waves to make it more effective.
 

DeletedUser45123

Guest
There is a script that I had to reset the cookie by clicking I had back in the day, too lazy to find, mainly because I like bookmark farming/notebook farming better, but you should search for it will make life easier :p

shh
 

DeletedUser

Guest
im really slow in learning new things.. what the difference of this with bookfarming in opera?
 

DeletedUser

Guest
To use this guide on Firefox, first install the add-on at https://addons.mozilla.org/en-US/firefox/addon/13793/ because Firefox doesn't give you the option to edit cookies. Then go to Tools > Cookie Editor > Search for en43 > Click the one with the cookie name of "farm" > Edit (near the bottom of the window) > Change the "Content" number to 0
 

DeletedUser

Guest
I am sorry grant, but I had to fix it for you!

Note 1: My version has an improved method, better scripts etc. If you do not want it to send 15 LC with each scout, modify the first script.
Note 2: Lvl 2 scouts are a MUST for my version, as the LC Calc script assumes lvl 20 mines if none are scouted which is totally infeasible ATM. (and i CBA to look for a version which doesn't)

nme... n@me? said:
nMe... n@me?'s Newbies Farming Guide for World 43.

A lot of people farm by hand, and when you get to a certain amount of Light Cavalry it starts to become a pain farming by hand, so here is a quick guide to help you with farming.


Firstly go to: http://spole.pbf.hr/tw/farm_finder/, and type in your co-ordinates, world and radius. Put the radius to 30, and tick 'Scrupt output', then click find farms. You maybe thinking that too many villages to farm, but the villages are in order from the closest to farthest away, and when placing them in the script I'll show you how to reset it, so it starts farming from the closest village again. Insert coords for barbs, and for all villages <90 points 90 pts players should not have troops by now, if you are actively creating farms (run one more for barbs, just to check there are no 90 point barbs, and delete overlaps, search function in notepad comes in handy).

Now you've got all the co-ordinates... you need to place them into a farming/fake script.

Code:
javascript:function end(){var a=0,sw=0,ax=0,ar=0,scout=1,lc=15,mount=0,hv=0,cat=0,ra=0,pa=0,no=0;coords='394|570 393|567 392|571 393|573 389|567 389|571 392|564 391|564 395|564';var b=document;if(window.frames.length>0)b=window.main.document;coords=coords.split(" ");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 Date(2019,11,11);document.cookie="farm="+index+";expires="+cookie_date.toGMTString();b.forms[0].x.value=coords[0];b.forms[0].y.value=coords[1];b.forms[0].spear.value=a;b.forms[0].sword.value=sw;b.forms[0].axe.value=ax;b.forms[0].spy.value=scout;b.forms[0].light.value=lc;b.forms[0].heavy.value=hv;b.forms[0].ram.value=ra;b.forms[0].catapult.value=cat;b.forms[0].archer.value=ar;b.forms[0].marcher.value=mount;b.forms[0].knight.value=pa;b.forms[0].snob.value=no}end()

Where I've put some co-ordinates, you've just go to delete them, and put all your co-ordinates you got from http://spole.pbf.hr/tw/farm_finder/.

Now put the script into your quickbar, and name it '15 LC Farming', then go to rally point and click the script once, then click 'attack', and 'ok'. Repeat this until you've sent out around 80 15 LC+1 scout raids.

Next, add:

Code:
javascript:document.cookie="farm=0";alert('reset');end();

Click this script whenever you wish the first script to start from the clostest village again.

Now put this script into your quickbar, and name it 'LC Calc'.

Code:
javascript:function e(){var n='fnScoutReportEvaluator',s='http://files.getdropbox.com/u/1375102/TribalWars/ScoutReportEvaluator.js';var a=(window.frames.length>0)?window.main:window;function c(m){a.document.body.appendChild(a.document.createTextNode(m));a.document.body.appendChild(a.document.createElement('br'));}if(a.document.getElementById(n)==null){c("Creating script entry in doc head...");var A=a.document.createElement('script');A.id=n;A.type='text/javascript';A.src=s;a.document.getElementsByTagName("head")[0].appendChild(A);setTimeout(e,500);return;}if(typeof(a.fnScoutReportEvaluator)=='undefined'){c("Loading script...");setTimeout(e,200);return 0;}c("Loaded");eval("a.fnScoutReportEvaluator(true,1200,500,2,true,5)");}e();

Check the thread HERE! to see what you can change.

_______________________________________________________________________________________________________
OK, after you are done with sending out the 15 LC farming raids....
What to do with the 15 LC + scout reports? Select all reports which have the empty haul icon, and delete them.

Go to the first report and run the LC calc script twice.
It opens a new tab, run the script there, send the attack, and close the tab.
Go to the original tab and continue clicking the SRE script, it will get you through all the reports.

Keep repeating this 15/7, and you'll end up in the top easy.

Don't know if I've missed anything, but Happy Farming :)
 
Last edited by a moderator:

DeletedUser

Guest
you perverts and you public displays of education!

im debating whether to set up bookmark farming now, or holding off until the farms have developed so i can calculate the correct haul and not have to update. . .

because im so damn lazy and hate updating the bookmarks, lol. fakescript farming and sre for now. . .
 

DeletedUser

Guest
When I use the first script to send the scout's, it keeps sending the scouts to the first village.

Anyone got a solution to this problem?
 

DeletedUser

Guest
javascript:function end(){var a=0,sw=0,ax=0,ar=0,scout=1,lc=0,mount=0,hv=0,cat=0,ra=0,pa=0,no=0;coords='394|570 393|567 392|571 393|573 389|567 389|571 392|564 391|564 395|564';var b=document;if(window.frames.length>0)b=window.main.document;coords=coords.split(" ");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 Date(2010,11,11);document.cookie="farm="+index+";expires="+cookie_date.toGMTString();b.forms[0].x.value=coords[0];b.forms[0].y.value=coords[1];b.forms[0].spear.value=a;b.forms[0].sword.value=sw;b.forms[0].axe.value=ax;b.forms[0].spy.value=scout;b.forms[0].light.value=lc;b.forms[0].heavy.value=hv;b.forms[0].ram.value=ra;b.forms[0].catapult.value=cat;b.forms[0].archer.value=ar;b.forms[0].marcher.value=mount;b.forms[0].knight.value=pa;b.forms[0].snob.value=no}end()

If your still having trouble the above script should fix your problem, just set your own co'ords in there again :)
 
Top