happy to hear that you solved the problem and it works now for you.
But my problem still exists. Is anybody able to figure out why I can not use the program from my workplace? I can manage my travian account using the browser, but not the program. What is the reason? Anybody any idea?
Check the router port, I think router might affect it too? If you are in your workplace.. the chance router blocks or the firewall blocks is much higher as they want higher security =/
INFO 2007-10-03 12:21:20 ------Begin to execute task:Upgrade Task: <villageindex>81280 <locationid>16
ERROR 2007-10-03 12:21:22 CTravianTask::GetVillageIDs(): Get page dorf1.php failed.
ERROR 2007-10-03 12:21:25 CTravianTask::GetVillageIDs(): Get page dorf1.php failed.
ERROR 2007-10-03 12:21:25 ------Task executed failed. Retry to get Travian village ID map failed. Task stopped.
INFO 2007-10-03 12:21:40 Tasks execution finished.
When I click on my village, the url is; "http://speed.travian.se/spieler.php?uid=81280" . Is it the number "81280" I shall wrote as the VillageId? Or what shall i whrite there?
Like: "< VillageIndex>81280"
The VillageIndex is 1 for your first village, 2 for the second, etc. no matter who is using it, the actual village number is not needed.
Here is a sample for the troop attack order. 9,99 = Imperian, 99 will send up to 99. 6,99 = Eq. Imp. The number of troops can be exact or more and it will send as many are in the village.
The troop type numbers are based on the input fields on the "send troop" page, not the order in the instructions. The numbers are from top left to right, then to the next row.
I found some errors and fixed them. (I made also some new features like "spy" and "sentinel") Is there anywhere a CVS or SVN server where we can manage this code changes? Or how can we get the latest version?
FYI: There were three main bug:
1. the develop task does not worked anyway,
2. dispatch troops worked only for the first type of troops (first input field),
3. in case if u want send only troops for scouting, (e.g.: Equites Legati) they were not sent.
all are fixed in my version.
The mostly liked feature that I made: If there is not enough resources to complete the task, the program calculate the necessary time when there will be enough resources and reschedule the task for that date.
Thanks, mila6452. Because I only played on s1.travian.cn, so all features only tested on s1.travian.cn and works. Maybe in different travian server, there are some difference. Because I have no too much free time, so I can't manage a CVS or SVN server. I think you or others who are interested in this tool can build up a project on sourceforge to improve it.
O.k.
I have tried your tool on s2 and s3.travian.hu servers. I found there is no special case server by server. I think it should work on every server.
I am not so familiar on sourceforge. Maybe here is somebody who can help in this task. Please contact me by email!
could you show me how you make it work for scout?
My task is only work for phalanx and pathfinder and I'm still trying to test on other type of troops.
The main problem was that the program filled the troop types in a row by row order however it is column by column order on the page. So the troops for scouting became on a wrong troop type position when filled the input form. This was the main problem. After there is no differences between troop dispatch and courting. Therefore I expanded the CTravianTaskDispatchTroop class with a
eSpyAction m_spy;
member. You can define the task in the tasks.txt file:
Hi, could you give more detail or if possible, upload your debugged version?
I could reinforce with scout but in order to get a scout report, it's impossible >,<
However it is against the law. So if you tell to the hunter or anyone else: "hey, I am using TravianAutotask" they have the rights to ban you. Otherwise it is hard to detect.
My coworkers and I have had some free time and so we tested Adobe's new AIR platform by creating a basic application to automate raiding in Travian. (Adobe AIR can be downloaded from the labs.adobe.com website)
Description:
You select your server, login, and you're instantly presented with a HUD showing your current village's general info. You then add targets to the list, and once you're ready to begin attacking, the app starts going through the list of targets one by one determining if you have sufficient troops to send that attack. Once the app cannot send troops against the top target in the list, it starts counting down the timer you specify and then attempts to attack again. Using any troops that require additional user input (e.g. scout,catapult) may not be sent out successfully or will be sent out with the default option (e.g. catapults target randomly) in the current version.
Features:
Mac and PC compatible
Small install size
Target list can be loaded/saved on any filesystem* in an xml-based format
Target list can be edited in the app GUI or manually in a text editor
Village general info shown in the HUD
- current resources
- current resource production
- incoming/outgoing attacks & reinforcements
Easy to understand interface
Please give it a try before the end of the month and give some feedback. We have never played on any server but our own. It does not support more than one village. Using the Travian website interface in any webbrowser while the application is running may affect normal operation (e.g. you may log into the app with one account, use a different account on a browser, and the app switches from the first account to the account used in the browser). We have run the application overnight without any unusual behavior, but we recommend that the application be checked on every 6-8 hours as a server crash, lag, or network disconnect may cause the current version to stop sending raids.
*supported by the Adobe AIR platform
-- modified at 16:36 Thursday 27th September, 2007