I am using
<villageindex>1 <locationid>8 <groupid> 4
it logs in, but it says task failed. The location 8 is an empty grain spot. I have enough resourses to build it.
Any reasons it fails?
This happens also with me when I tried to use this program from my workplace. But I do not have any problem at home or in internet corner. I do not know the reason, but I smell that because of some firewall setting cause this problem. If somebody able to discover how to fix this, I would be also very happy.
Please help us!
As you said - It seems that there is a problem with Firewall. I had Norton securit center (Firewall) after i uninstalled it (disabling didnt work) and installed Norton Antivirus 2006 again but settings that overtake WinXP defaults - programs works fine.
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 >,<