Farming script?

Discussion in 'Questions & Requests' started by Matt-, Dec 6, 2008.

Share This Page

  1. Matt-

    Matt- Contributing Poster

    Joined:
    Mar 24, 2007
    Messages:
    1,314
    Likes Received:
    0
    Im looking for a type of farming script, or an edit of the fake script

    A script where i insert the villages, (like fake script) and it inserts all my troops in raly, so i can send random attacks to my farms quickly.
     
  2. 08kennedyj

    08kennedyj Non-stop Poster

    Joined:
    Oct 18, 2008
    Messages:
    107
    Likes Received:
    0
    Yeah it is :icon_rolleyes:
     
    Last edited: Dec 6, 2008
  3. Terror Man

    Terror Man Contributing Poster

    Joined:
    May 17, 2008
    Messages:
    1,056
    Likes Received:
    0
    Nope actually

    Code:
    javascript:function%20end(){c='578|717';var%20d=document;if(window.frames.length>0)d=window.main.document;url=d.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');a=c.match(/(\d+\|\d+)/g);b=a[Math.round(Math.random()*(a.length-1))].split("|");d.forms[0].x.value=b[0];d.forms[0].y.value=b[1];d.forms[0].spear.value=0;d.forms[0].sword.value=0;d.forms[0].axe.value=0;d.forms[0].spy.value=0;d.forms[0].light.value=0;d.forms[0].heavy.value=0;d.forms[0].ram.value=1;d.forms[0].catapult.value=0;d.forms[0].snob.value=0;d.forms[0].archer.value=0;d.forms[0].marcher.value=0;d.forms[0].knight.value=0;}end();

    This shoould work. Just edit

    .value=0

    to how ever many troops u want send on farming runs

    Spear = spearmen
    Sword= swordsmen
    axe= axemen
    spy=scout
    light=light cav
    heavy= heavy cav
    ram=ram
    cat=catapult
    knight=Paladin
    snob= Noble

    New Units

    marcher=mounted archer
    archer=archer

    Works for non-pa
     
    Last edited: Dec 6, 2008
  4. busamad

    busamad Contributing Poster

    Joined:
    Mar 23, 2008
    Messages:
    3,252
    Likes Received:
    1
    You can send them n order either all of a unit type or by a set number ie 32 L/Cav.

    Just check the fake script section.
    PA only
     
  5. Fluffy88

    Fluffy88 Still Going Strong

    Joined:
    Jul 26, 2008
    Messages:
    753
    Likes Received:
    0
    There are ones that work for Non-PA in the fake script topic near the end,,,moslty posted by me as most script writers have a premium
     
  6. lot is pro

    lot is pro Non-stop Poster

    Joined:
    Oct 24, 2008
    Messages:
    111
    Likes Received:
    0
    just look at a fake script and instead put in the unit you want where it says ram, and where it puts 1 for the amount wanted, put the amount you want, easy.

    the village coords is self explainable.
     
  7. lardingd

    lardingd Contributing Poster

    Joined:
    Apr 5, 2007
    Messages:
    2,547
    Likes Received:
    0
    where's the <3, you could have just asked me :(
     
  8. servy

    servy All Over the Board

    Joined:
    Mar 7, 2007
    Messages:
    12,944
    Likes Received:
    1
    or a forum search as this has been asked and posted a number of times.
     
  9. darkstage99

    darkstage99 Non-stop Poster

    Joined:
    May 29, 2008
    Messages:
    154
    Likes Received:
    0
    not sure what i'm doing wrong here. it's not working >.>

    Code:
    javascript:function%20end(){c=’798|209 797|209 797|208 797|205 801|201 802|201 802|200 804|201 804|203 806|203 807|200 808|201 808|203 810|202 810|203 811|203 811|204 813|202 814|205 814|206 815|207 813|208 815|212 815|213 812|210 812|213 810|212 808|214 807|213 806|210 812|206 811|207 810|206 810|205 809|206 808|205 808|206 808|207 806|207 806|208 805|207 805|208 804|209 803|211 803|214 802|213 802|208 801|209 800|209 800|210 799|211';var%20d=document;if(window.frames.length>0)d=window.main.document;url=d.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');a=c.match(/(\d+\|\d+)/g);b=a[Math.round(Math.random()*(a.length-1))].split("|");d.forms[0].x.value=b[0];d.forms[0].y.value=b[1];d.forms[0].spear.value=0;d.forms[0].sword.value=0;d.forms[0].axe.value=0;d.forms[0].spy.value=0;d.forms[0].light.value=529;d.forms[0].heavy.value=0;d.forms[0].ram.value=1;d.forms[0].catapult.value=0;d.forms[0].snob.value=0;d.forms[0].archer.value=0;d.forms[0].marcher.value=100;d.forms[0].knight.value=0;}end();
     
  10. Fluffy88

    Fluffy88 Still Going Strong

    Joined:
    Jul 26, 2008
    Messages:
    753
    Likes Received:
    0
    at the very beginning you changed the ' to a ’ it is right after the c=
    Code:
    javascript:function%20end(){c='798|209 797|209 797|208 797|205 801|201 802|201 802|200 804|201 804|203 806|203 807|200 808|201 808|203 810|202 810|203 811|203 811|204 813|202 814|205 814|206 815|207 813|208 815|212 815|213 812|210 812|213 810|212 808|214 807|213 806|210 812|206 811|207 810|206 810|205 809|206 808|205 808|206 808|207 806|207 806|208 805|207 805|208 804|209 803|211 803|214 802|213 802|208 801|209 800|209 800|210 799|211';var%20d=document;if(window.frames.length>0)d=window.main.document;url=d.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');a=c.match(/(\d+\|\d+)/g);b=a[Math.round(Math.random()*(a.length-1))].split("|");d.forms[0].x.value=b[0];d.forms[0].y.value=b[1];d.forms[0].spear.value=0;d.forms[0].sword.value=0;d.forms[0].axe.value=0;d.forms[0].spy.value=0;d.forms[0].light.value=529;d.forms[0].heavy.value=0;d.forms[0].ram.value=1;d.forms[0].catapult.value=0;d.forms[0].snob.value=0;d.forms[0].archer.value=0;d.forms[0].marcher.value=100;d.forms[0].knight.value=0;}end();
    This will work
     
  11. Devil firefish

    Devil firefish Active Member

    Joined:
    Oct 25, 2008
    Messages:
    35
    Likes Received:
    0
    am I right that the villages are put into the rally point randomly?
    if so, it doesn't help with farming at all... :)
     
  12. khatab.

    khatab. Non-stop Poster

    Joined:
    Sep 17, 2008
    Messages:
    109
    Likes Received:
    0
    iam non premium user where i should put this code to active the script ?
    i read that u can activate the script in "target url" but where this i go to settings and didnt found anything like this ,anyone can tell how can i activate any script?
     
  13. Terror Man

    Terror Man Contributing Poster

    Joined:
    May 17, 2008
    Messages:
    1,056
    Likes Received:
    0
  14. khatab.

    khatab. Non-stop Poster

    Joined:
    Sep 17, 2008
    Messages:
    109
    Likes Received:
    0
    i know i read it and it says put the code in "Target-URL" ,but where i find "Target-URL".. ? (not a premium user)

     
  15. Terror Man

    Terror Man Contributing Poster

    Joined:
    May 17, 2008
    Messages:
    1,056
    Likes Received:
    0
    Oh just put into your adderss bar and click enter then bookmark it
     
  16. servy

    servy All Over the Board

    Joined:
    Mar 7, 2007
    Messages:
    12,944
    Likes Received:
    1
    Good job. You read the first sentence. Now read the rest of it.
     
  17. Matt-

    Matt- Contributing Poster

    Joined:
    Mar 24, 2007
    Messages:
    1,314
    Likes Received:
    0
    im looking for a mod of this script

    HTML:
    javascript:function%20end(){c='put coordinate here ';var%20doc=document;if(window.frames.length>0)doc=window.main.document;url=doc.URL;a=c.match(/(\d+\|\d+)/g);b=a[Math.round(Math.random()*(a.length-1))].split("|");doc.forms[0].x.value=b[0];doc.forms[0].y.value=b[1];function%20h(d){b=doc.units.getElementsByTagName('input');for(var%20i=0;i<(b.length-4)&&i<d.length;i++){e=b[i];f=e.nextSibling;do{f=f.nextSibling;}while(f.nodeType!=1);e.value=Math.min(parseInt(f.firstChild.nodeValue.match(/(\d+)/)[1],10),d[i]);}}h([24000,24000,24000,24000,12000,6000,4800,4000,4800,3000,2400,240]);}end();

    Thats basicly a "farm" script, i just enter the farms and it sends randomly and fill in for my troops.


    But if fills all, im wondering if someone could make one that just fill everything but Cats rams and nobles.
     
    Last edited: Jan 6, 2009
  18. busamad

    busamad Contributing Poster

    Joined:
    Mar 23, 2008
    Messages:
    3,252
    Likes Received:
    1
    At the end of the script you have this bit:

    3000,2400,240]);}end();

    Just change each one to zero.

    0,0,0]);}end();

    That will be a quick way.
     
  19. kamikaziOEO

    kamikaziOEO New Member

    Joined:
    Nov 23, 2008
    Messages:
    3
    Likes Received:
    0
    If you have like 250 villages ? You have to make 250 links in the quickbar and go in 250 rally points ?
     
  20. johnp90380

    johnp90380 Non-stop Poster

    Joined:
    Jun 12, 2008
    Messages:
    359
    Likes Received:
    0
    Personally the more villages I get, the better I like bookmark farming, I can run through 80 villages in about 15-20 minutes if Im not distracted.
    I like the fake script for sending fakes, but for farming, it seems it would take more work than its worth for an account with multiple villages.