Tribal Wars 2 farm bot | FarmManager

02/12/2016 18:19 0ptimist#1
Tribal Wars 2 farmbot | Farm Manager
Farm Manager is a farmbot for the game Tribal Wars 2.

Video Guide

This bot works without requiring any configuration. With default settings, it automatically reads existing reports to identify your farms and attacks them again as long as there are enough units and the defending village does not belong to any player.

Features
  • zero-setup design: get started without any configuration.
  • supports multiple villages.
  • works in background: the bot continues working when the browser is minimized.
  • secure: takes breaks of varying duration to prevent raising suspicions of botting.
  • uses a real browser to interact with the game server for maximum security and comfort.

Requirements
  • The bot requires the google chrome browser which can be downloaded from [Only registered and activated users can see links. Click Here To Register...]
  • The application requires Microsoft .NET Framework 4.6.1 which can be downloaded from [Only registered and activated users can see links. Click Here To Register...]

Starting the bot
  • Start the bot executable.
  • In the bot window, switch to the tab "Browser". Click the button "create browser process". A new browser window will appear (this can take a few seconds).
  • In the browser window opened by the bot, login to the game and switch to the village view. Close all popups.
  • In the bot window, press the "play" button.
  • The bot will now read reports and send troops.

FAQ / Troubleshooting
  • Problem: No browser window opens when clicking on "create browser process".
    • The message "The system cannot find the file specified" is displayed.
      Solution: Enter the path to the google chrome executable file in the textbox in the tab "config" under "path to chrome.exe".
    • The message "Browser service interface not available." is displayed.
      Solution: Wait until the green checkmark in the "license" tab header is displayed. If it takes more than a minute, contact support.

releases
release 16.08.09
  • improved report reading: bot now reads the newest one thousand reports to support larger accounts.


VT-Link: [Only registered and activated users can see links. Click Here To Register...]
02/13/2016 10:14 0ptimist#2
I just uploaded release v16.01.12 which brings some improvements:
  • the bot will now take a break when there are no more reports to act on instead of keeping switching between units and reports view.
  • the tribal wars world id is displayed in the window title for those who use it on multiple worlds.
  • improved UI performance.
02/14/2016 19:30 dopekingz#3
Does this work at multiple villages ?
02/14/2016 21:27 0ptimist#4
Quote:
Originally Posted by dopekingz View Post
Does this work at multiple villages ?
No, the current version will not switch villages. I will soon improve it to send the attacks from the same village as it was sent before.

In case you have any suggestions what needs to be taken care off let me know.
02/20/2016 23:10 0ptimist#5
release v16.01.19 brings these changes:
  • bugfix: bot stopped when reading non-attack report.
  • feature: support for multiple villages has been added.
02/23/2016 14:56 FeRRiS#6
Works well, thanks, but sometimes it doesnt send attacks, just stand on reports
02/23/2016 19:03 0ptimist#7
Quote:
Originally Posted by FeRRiS View Post
Works well, thanks, but sometimes it doesnt send attacks, just stand on reports
Yes, it takes breaks of varying duration to prevent raising suspicions of botting. The report you saw is just the last thing the bot opened before taking a break.

Using the button labeled "end break now" in the Bot UI, you can stop the break and see it continuing immediately. The UI also shows the remaining duration of the current break as seen in the Screenshot below:
[Only registered and activated users can see links. Click Here To Register...]
02/23/2016 19:59 FeRRiS#8
Quote:
Originally Posted by 0ptimist View Post
Yes, it takes breaks of varying duration to prevent raising suspicions of botting. The report you saw is just the last thing the bot opened before taking a break.

Using the button labeled "end break now" in the Bot UI, you can stop the break and see it continuing immediately. The UI also shows the remaining duration of the current break as seen in the Screenshot below:
[Only registered and activated users can see links. Click Here To Register...]
And what can i do to make it use all my troops? Or atleast all spears? Do i need to attack other barbarians to make him able to resend attacks?
02/23/2016 21:10 0ptimist#9
Quote:
Originally Posted by FeRRiS View Post
And what can i do to make it use all my troops? Or atleast all spears?
The current version will always use the same amount of units which was used in the last attack.

Quote:
Originally Posted by FeRRiS View Post
Do i need to attack other barbarians to make him able to resend attacks?
Yes, just attack the barbarian once to get the report. When the report is present, the bot attacks again whenever there is not already an army on its way to that village (The bot reads the current movements too).
02/23/2016 21:36 FeRRiS#10
Quote:
Originally Posted by 0ptimist View Post
The current version will always use the same amount of units which was used in the last attack.



Yes, just attack the barbarian once to get the report. When the report is present, the bot attacks again whenever there is not already an army on its way to that village (The bot reads the current movements too).
Thanks for the info and keep the work up, you doing a nice job.
02/24/2016 12:25 $_Azrael#11
God is this working ?? If it works guy i love you :D

Give me a donate Putton.
02/25/2016 09:58 0ptimist#12
Quote:
Originally Posted by $_Azrael View Post
God is this working ?? If it works guy i love you :D

Give me a donate Putton.
Yes, it works. I see you already donated egold, thank you for that.
03/03/2016 21:54 0ptimist#13
I released FarmManager v16.02.02 today because of server changes.
03/14/2016 18:45 Anakind#14
Hi! Here bots keeps increasing bots steps, but don't read reports and don't send attacks...

current village:
System.ArgumentNullException: Valor não pode ser nulo.
Nome do parâmetro: VillageSelectedId

{
"StartTimeCal": "2016-03-14T14:44:47.7318328-03:00",
"BreakActiveNot": true,
"browserDocumentAvailable": true,
"Exception": {
"ClassName": "System.ArgumentNullException",
"Message": "Valor não pode ser nulo.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " em FarmManager.Bot.Step(Int64 Time, BrowserService browserService) na T:\\Günta\\Projekt\\Tribe Manager\\FarmManager\\impl\\FarmManager\\src\\Farm Manager\\Bot.cs:linha 224",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nStep\nFarmManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nFarmManager.Bot\nFarmManager. BotStepReport Step(Int64, FarmManager.BrowserService)",
"HResult": -2147467261,
"Source": "FarmManager",
"WatsonBuckets": null,
"ParamName": "VillageSelectedId"
}
}
03/15/2016 00:04 0ptimist#15
Quote:
Originally Posted by Anakind View Post
Hi! Here bots keeps increasing bots steps, but don't read reports and don't send attacks...

current village:
System.ArgumentNullException: Valor não pode ser nulo.
Nome do parâmetro: VillageSelectedId

{
"StartTimeCal": "2016-03-14T14:44:47.7318328-03:00",
"BreakActiveNot": true,
"browserDocumentAvailable": true,
"Exception": {
"ClassName": "System.ArgumentNullException",
"Message": "Valor não pode ser nulo.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " em FarmManager.Bot.Step(Int64 Time, BrowserService browserService) na T:\\Günta\\Projekt\\Tribe Manager\\FarmManager\\impl\\FarmManager\\src\\Farm Manager\\Bot.cs:linha 224",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nStep\nFarmManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nFarmManager.Bot\nFarmManager. BotStepReport Step(Int64, FarmManager.BrowserService)",
"HResult": -2147467261,
"Source": "FarmManager",
"WatsonBuckets": null,
"ParamName": "VillageSelectedId"
}
}
Thank you for reporting this problem.
It seems the bot is unable to read the selected village from the village choice drop down control.
I have some questions about the account this happens on:
  • do you have multiple villages?
  • is the village drop down visible?

Please save the html document from the browser and send it to [Only registered and activated users can see links. Click Here To Register...]