Farming Machine for Travian 3.5

By pixelgeek Last update Jul 30, 2009 — Installed 560,188 times.

[MOD] How to make FM (almost) undetectable

in
Subscribe to [MOD] How to make FM (almost) undetectable 7 posts, 5 voices



Dyval User
FirefoxWindows

Heya, I decided to mod this script just to annoy multihunters. With these mods, the script should be nearly undetectable if you don't keep it running 24/7 and allow it to have "sleep times".

First open up Farming Machine source in your favorite editor. Change the initial values to (for example)

var minWait = 6000;
var maxWait = 3 * minWait;
var maxSkipCount = 1;

Then look for the word "pause" in the source. The third hit should be something like

"pause = Random();"

Now change this into

"pause = 50 * Random();"

This makes the script wait 5 to 15 minutes before checking for troops once it has noticed that there are not enough troops in the village.

Next we need to fix the reports:

Look for "function checkreports()" now inside this function look for every instance of setTimeout line, for example:

setTimeout("window.location.replace('" + attackreporturl + "')",1000);

Now for every one of these lines, change the last "1000" into "Random()" so that it reads

setTimeout("window.location.replace('" + attackreporturl + "')",Random());

Now FM randomizes the clicking of the reports according to the intervals set in the beginning.

That's it, you're done editing. Now just check the Activate Village skipping in the Rally point menu.

Now FM sends troops out, but when it notices that you don't have enough troops, it waits for 5 - 15 minutes and tries again.

You're all set, go get those farms. I only tested with these settings and single village so if anyone has test results with different settings and/or multiple Villages be sure to add them here.

PS. You can use another tab of firefox to build buildings and train troops as long as you don't go to any page that activates FM. So don't read reports, use the map, or check rally point and you're fine. Alternatively you can use another browser to to access your Village while FM is running like IE(oh no!), Opera or Chrome. Just remember that if you read reports before FM does, the village is not added to priority queue even if you had full bounty.

Cheers,

-D

 
Dyval User
FirefoxWindows

Oh, forgot to mention, you can also use Travian Task Queue with FM. Just make sure you don't click on those pages that activate FM and the scripts won't overlap (Not even sure if they overlap when they are used on the same page).

 
Icetech User
FirefoxWindows

Very nice mod to this script.. thanks much!

 
besik33 User
FirefoxWindows

verny nice mode.
Just one problem when usgin with multiple vilages.....
1st vilage - when there is not enough troopps,
then it switch to (in 2 seconds)
2nd village - - when there is not enough troopps.
then it switch to (in 2 seconds).
These switching in 2 seconds interval is very bad and can be detected...

THX for Your help

 
besik33 User
FirefoxWindows

Is there any way how to change the interval between changing the vilages?

 
Acids User
FirefoxX11

thx so much..
i was looking for that command to wait for troops to come home :D

 
tirexxx User
FirefoxWindows

Great idea Dyval !!!
But sadly that modif is not working for me on : "pause = 50 * Random();"

I have edited the source like Dyval, and this is what happening on me :
1. var minWait = 6000; --> this is working, FM need a longer time to complete its step by step
2. pause = 50 * Random() --> this is NOT working, true it's saying "wait until ~xxx sec" (the time is longer than before edited) after all village done, but in fact FM keeping continue start farming again without take a sleep

Do anyone can solve it ??

Thanks b4

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel