Skip to content

About

TribalWars browser game farm and gathering bots.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Application provide bots for game https://www.tribalwars.net/en-dk/

Done for a Polish language version: https://www.plemiona.pl/

So to use it in any other you will need to adjust some paths.


Application can work with 3 bots running at once.

When time passes each bot will run its iteration.

Modify application behavior setting variables in appsettings.json

Set flag seg__enabled to false if you are not planning to see detailed logs in installed local Seq.

ChromeTabStartOfUrl bot will run on a tab that url starts from what you provide.

FarmSwitchPages run but just on the first page or all of the farm assistant.

IntervalMin/IntervalMax next bot iteration will happen after random value in minutes between provided. Set both to the same if you want to run them in exact intervals.

Application have Time.Delay in many places to let's say imitate human behavior.

Created 'on a feet' so feel free to adjust and modify to your needs.


Chrome

Bots work with Chrome browser to allow them to work you need to start Chrome in debug mode so:
  1. Close running Chrome instances.
  2. Run this from command line: start chrome --remote-debugging-port=9222
  3. If bots don't work, close all other tabs and try again; restore tabs after the first run.

Gathering Bot

For bot to work you will need to have gathering_assistant.js script in your shortcut bar with data title(when you hover mouse over) 'Zbierak'. Or name it as you want and change the value in application code.

Bot is simply clicking the script then starting gathering for each level. So adjust gathering_assistant.js to your needs.

After sending troops it gets the longest one time and runs bot again after it passes.

Farming Bot

Two modes: Simple and Advanced.

Simple is just sending farm attacks using template B with avoidance of non-green attacks and wall above '0'.

Advanced is demolishing walls and sending scouts after some conditions.

About

TribalWars browser game farm and gathering bots.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages