Jump to content

Pretmaker

Members
  • Posts

    3
  • Joined

  • Last visited

Pretmaker's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Quick remark, you say autoupdate... Does that also include autobuild?
  2. Hey Linux, Sorry for making another post so soon… But maybe I can help you a bit with the intelligence of the AI. The AI needs to be smart enough to build a village from scrap. That is the whole point of an AI here . Now take the following in mind. I create an account on a Travian server. And I go on holliday while the AI takes over. I will only discuss the building here since that is the main thing the AI will be doing in the beginning… (and that is building the resources) There are 4 kinds of resources, Crop, Wood, Clay and Iron. Those 4 resources need at least some support from 2 buildings. Namely the Silo and the Warehouse. If you start a village then you can save up to 800 pieces of any resource each. That is enough for the first 5 levels of any kind of resource. But after that comes the problem. Crop: Level: 6 Wood: 910 Clay: 1170 Iron: 910 Crop: 260 Crop production: 1 Wood: Level: 6 Wood: 520 Clay: 1300 Iron: 650 Crop: 780 Crop production: 2 Clay: Level: 6 Wood: 1040 Clay: 520 Iron: 1040 Crop: 650 Crop production: 2 Iron: Level: 6 Wood: 1300 Clay: 1040 Iron: 390 Crop: 780 Crop production: 2 If you have a normal village consisting of 6, 4, 4, 4, all maxed at level 5 then you will have the following production: Crop: 504/h (Without counting the crop needed to support the fields) Wood: 336/h Clay: 336/h Irion: 336/h The use of crop for sustaining the fields that are level 5 are: Crop: 0/h Wood: 24/h Clay: 24/h Irion: 44/h That forms a total of: 92 crop an hour. If you look at the numbers you will see that it is a pretty high production. But to get higher fields, there is a need to build a warehouse and a silo to store the grain. The silo can be build immediately, so you do not need to worry about the main house (mainbuilding). Same goes for the warehouse. So if you reach level 5 you should build at least a warehouse to level 1. That will allow you to build one level extra crop and clay. A wood and iron level is impossible since that will need more storage space then 1200 that you get for the first level. If you have all the fields maxed at level 7 you will also need to build the silo. And after you have upgraded all the fields, then the warehouse needs to be upgraded again. Depending on the kind of field you want to upgrade, you will need to upgrade the warehouse 2 times or you will also have to upgrade the silo one time or even 2 times. In short: When fields levels reach 5, build warehouse 2 times to store enough resources to upgrade all the resources to level 6. When fields levels reach 6, build silo. I am sure that you can create a routine that will check if there is enough room in the storage to upgrade a field. But it is nice to know the level from where it is important to start the build of the storage buildings. If this is not implemented that is… See this site for a list of resources that are needed. (It is for the wood, and I have already selected your language) http://help.travian.com.pt/index.php?type=faq&mod=324 P.S. If I think of more, then I will post it off course. Edit: Also calculate in the build time. It may exceed the time that it takes to fill up the storage... To shorten the build time you should upgrade the mainbuilding.
  3. Hey Linux, First of all... Great work on programming the bot. I already thought of doing almost the same. It has been a long time since I left the programming scene of AutoIT. So it is nice to see that this programming language is capable of doing this. It must have been hell to start with nothing. I have been testing the script a bit on the Dutch (NL) servers. And I have to say that it works on those servers. It automatically also names the resource bars accordingly. I am testing the latest version (Version 54), and it works as far as I can tell.. It auto builds the fields and building. So that is all right. I have not tested the auto improve function because I am testing the build list first. After I have all my fields on level 1 I am going to test that function. I have created an extra account for that on another world There is although one exception where your bot fails with the building list. If I schedule a different builds. And for example my crop production is not high enough. Then the bot should be intelligent enough to ignore the build list and build a crop field higher. After that it should continue with the build list. So my crop production is 10 crop an hour. I already have all the crop an hour fully used for the wood fields and iron and clay fields... Then I say that I want to build another wood. After the wood should come another crop field. But the problem is that the production is not high enough to allow the wood field to be upgraded. The building list just stays there stupid while the resources fill up. Instead the bot should upgrade the crop field first. That is what the bot should do. If I give a command to the bot to build ... then the bot should gather all the resources needed or wait for the resources. And after that it should build it. BUT in the exceptional case that the crop production is to low, the bot should first upgrade a crop field. Hope you have enough information... If you need more details, then do not hesitate to contact me. I have about played on about 3 full servers and like 5 small ones. So I have a logical understanding of the needs.
×
×
  • Create New...