stefan2200 / TWB

Python based bot for Tribal Wars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development 2.0

stefan2200 opened this issue · comments

This issue tracks active tasks in regard to the new development version of the bot.

  • Switch to the mobile API in order to resolve the captcha issues
  • Allow the farm code to use the Farm Assistant (if available)
  • Optimize farm runs an plan attacks based on resource gains
  • Switch to a more productive template (system) for farming
  • Overhaul of the twb.py logic and separation of config loading
  • Automated troubleshooting and detection of wrong types/variables in config files
  • Using public world settings to fine-tune various settings
  • Use of sqlite instead of a file based caching system

Many other features will likely follow. If you have an idea on what else to improve, you can leave a comment here or contact us on Discord.

Maybe a mapManager that also looks up how long vilages are idle and not gaining points. This way you can look if you can add some juicy villages to your farming list. ? Some logic like:

  • AFK for x amount of time
  • Not in a tribe
  • beneath certain amount of points
  • give them a color in the map

if you guys think it makes sense maybe i can make a PR for it in the future.

I would also like to add another idea.
To be able to task bot to buy resources from premium market.

How?

  • Limited to quantity or/and the price of each resource.
  • Can be limited to specific villages.

Why?

  • Can power build/train by using Premium Points.
  • Can buy cheap and later sell for big.

Farm

  • farm bb more templates and demolition of walls before sending check if it was red and if so send spies to spy on the village and then send rams or catapults according to what I have at home
  • more options to farm A/B/C according to the number of raw materials from the previous village farm

proxy

  • add proxy support and multiple accounts on multiple markets

Market

  • add the market, specifically like this, it should have more options and shouldn't run continuously because of the mine, let's say it looks once every 10 to 20 minutes at random time and here definitely the clock when it should be switched on every day at random time
  • add options, such as how much to sell and how much to buy and how much to leave raw materials at home
  • buy for 500
  • sell for 300
  • leave 500 at home
  • add the option to sell as many raw materials as I have at home first, because we have a limited number of traders
  • add the possibility of automatic recording of prices and in later times be guided when selling and buying according to the average price with some deviation

mass recruit

*add mass recruits for all villages, with the fact that we choose the champs and use the mass recruitment option from the game according to the templates

single viliage and mass viliages scavenge

  • maximum number of hours or add the option of up to x hours
  • how many units to leave at home for each village
  • record the collection completion time for each village after completion in some time in a random time of 1 to 15 minutes, for example, send collection from completed villages again
  • unlock all scavenge

cookies
After some time, cookies are automatically obtained to help in the best way to help undetected chrome driver

  • the script should try to get all the cookies in about 12 hours or on a new start and then close the browser and continue using the request

automatical send susport/attacks

  • add the option to plan an attack, with the fact that an existing planner and script should only have this, specifically the time of sending and the number / what units to send / attack / support
  • before sending, check the number of units that are currently available and make a few templates the script should contain the template attack/fake/deff/fast deff and above all it should be checked before sending if there is the slowest unit in the village, if it is not there then do not send the command

the ability to upgrade and train a paladin and enhance his abilities

  • train a paladin and which of the options to check the number of raw materials before sending for training
  • to choose the amount of things to be improved and the possibility for each paladin to change the amount of books that can be maximally activated and which

using the item from the inventory collecting daily rewards

  • the script should collect the reward every day
    and the possibility to activate certain items if I have them, for example free premium 30% raw materials and other similar intimi

mint

  • the script should have the option to mint from several chalons and add the sending of raw materials there, the best way is to help collectively call resources from a certain group
  • create the most suitable villages before starting minting, and if you are spread out on a large map, the script should create several templates and groups with villages so that the mint is effective, for example 50 radius
  • the script should activate the double flag if available and also - 10% coin price
  • the script should have two independent timers and not switch or do other things just focus on the mint timer minting 20 to 50 seconds and 10 to 30 minutes asking for resources

automatically occupied by the nearest villages

  • reserve a village if i have a tribe
  • occupy only the village a few fields radius
  • check new villages using map/village.txt data
  • send support for nobles for example 20k pop deff if available
  • checking new villages every 10 to 30 minutes at random time
  • recruit nobles in off villages closest to the border that I have
  • and record in which villages they are recruited so that no further requests are made unnecessarily

add the option to connect automatic to the tribe

  • check every day if I have a tribe and if I don't look and send requests to add a tribe

reduce everything to as little as possible

  • the hardest job there is .D