try to use but show errors:
INFO 2010-10-08 21:33:55 Begin to execute task:Upgrade Task: VillageIndex=1 LocationID=39 Time:2010-10-08 19:33:00
INFO 2010-10-08 21:33:57 Need to login.
ERROR 2010-10-08 21:33:57 Can't find the form input field named autologin. Form input fields count: 5.
ERROR 2010-10-08 21:33:57 ------Format post data from returned HTML failed. Server:x5.travian.com.vn, User:Sweitenger
ERROR 2010-10-08 21:33:57 ------Login failed.
Hey,
I am just download auto task and open it.I type server,nickname and password,but i dont know what is task file?What i must type in task file?Where i must browse?I dont know anything please help me!!!
Thanks everybody for helping!
INFO 2009-01-18 13:30:48 Need to login.
ERROR 2009-01-18 13:30:48 Can't find the form input field named autologin. Form input fields count: 6.
ERROR 2009-01-18 13:30:48 ------Format post data from returned HTML failed. Server:s17.travian.com.tr, User:*******
ERROR 2009-01-18 13:30:48 ------Login failed.
ERROR 2009-01-18 13:30:48 ------Task executed failed. Retry to get Travian village ID map failed. Task stopped.
INFO 2009-01-18 13:30:48 Tasks execution finished.
I put in the 5 fields correctly. I replaced my username with ******* on here. Here is my user.ini file:
I have the same problem with server s6.travian.ro
I saw in source of login page no input tag named "autologin"
I think that we have a little different kind of travian server.
Thus we need a small modification in travian.cpp (ver. 1.0.0.1) on line 337 and to delete (or comment) lines 313,332,349-351.
I've not tried it yet, but I want. I feel lazy to get VC++ and recompile it.
This is the error i get:
INFO 2008-07-10 07:59:49 Begin to execute task:Train Task: VillageIndex=2 LocationID=31 Troop:1,1 Time:2008-07-10 07:58:14
ERROR 2008-07-10 07:59:49 ------CTravianTask::GetVillageIDs(): Get page dorf1.php failed.
ERROR 2008-07-10 07:59:50 ------CTravianTask::GetVillageIDs(): Get page dorf1.php failed.
ERROR 2008-07-10 07:59:50 ------Task executed failed. Retry to get Travian village ID map failed. Task stopped.
For some time now, all the tavian servers are being upgraded, and in doing so the checkbox "Remember my login" has been removed for the login screen.
These seem to interfere with the login processes used by Autotask! Preventing the program from functioning correctly. Can anyone help out please?
HEllo . im playing on Ae server. and having this error that i couldnt solve it ! this is the first time to use this project
this is the error :
__________________
INFO 2008-04-07 01:51:00 Begin to execute task:Resource transfer Task: VillageIndex=4 Resource:Wood:10000 Clay Iron Grain DestVillage:86,8 Time:2008-04-07 01:49:22
INFO 2008-04-07 01:51:01 Need to login.
ERROR 2008-04-07 01:51:01 Can't find the form input field named autologin. Form input fields count: 6.
ERROR 2008-04-07 01:51:01 ------Format post data from returned HTML failed. Server:s2.travian.ae, User:smiles designer
ERROR 2008-04-07 01:51:01 ------Login failed.
INFO 2008-04-07 01:51:02 Need to login.
ERROR 2008-04-07 01:51:02 Can't find the form input field named autologin. Form input fields count: 6.
ERROR 2008-04-07 01:51:02 ------Format post data from returned HTML failed. Server:s2.travian.ae, User:smiles designer
ERROR 2008-04-07 01:51:02 ------Login failed.
ERROR 2008-04-07 01:51:02 ------Task executed failed. Retry to get Travian village ID map failed. Task stopped.
INFO 2008-04-07 01:51:02 Tasks execution finished.
________________________________
Sorry to tell you but you can't send resources...in fact on that server you cannot use the autotask at all , neither 1.0.0.1 or 1.0.0.8...they have changed the site and removed the autologin option (among other things), and that option is used by autotask, therefore it keeps trying to set the autologin "on" and it's not there...i suggest you to use firefox with greasemonkey addon and "Travian Smart Queue" script, eventually with firefox iMacros addon as well...
are you serious ! oh my god , i hate.
well thanks dear . im already using Smart Queue but i was looking to use this programme which is mush easier and functional !
thanks alot
is there any chance of upgrading the code to get around this change in servers?
I currently play the S7.pt server, and for some unknown reason the travian login screen as changed impending Auto-task to log on correctly.(As in first post)
So me and "almashm_aa" are not the only ones who have this problem and most likely in the future more servers will be upgraded in the same manner, with this new log in process..
This is new...it's been like this for two days now...they made some changes on the server i think couse the server was down 2 days ago for 1 or 2 hours i guess...this was a test to see if i can train troops:
INFO 2008-03-21 19:31:41 Begin to execute task:Train Task: VillageIndex=2 LocationID=23 Troop:3,1 Time:2008-03-21 19:30:00
INFO 2008-03-21 19:31:42 Need to login.
ERROR 2008-03-21 19:31:42 Can't find the form input field named autologin. Form input fields count: 6.
ERROR 2008-03-21 19:31:42 ------Format post data from returned HTML failed. Server:speed.travian.de, User:xxxxxxxx
ERROR 2008-03-21 19:31:42 ------Login failed.
INFO 2008-03-21 19:31:43 Need to login.
ERROR 2008-03-21 19:31:43 Can't find the form input field named autologin. Form input fields count: 6.
ERROR 2008-03-21 19:31:43 ------Format post data from returned HTML failed. Server:speed.travian.de, User:xxxxxxxx
ERROR 2008-03-21 19:31:43 ------Login failed.
ERROR 2008-03-21 19:31:43 ------Task executed failed. Retry to get Travian village ID map failed. Task stopped.
INFO 2008-03-21 19:32:24 Tasks execution finished.
Greetings,
First thanks many for this code and for the time as well. My problem is about the village index. Is there a way to tell the program my village name instead of the position? everytime I define the lines and start the code my position get changed by one or two and then the program returns an error to me since it cant locate my village with the position defined in the code?
Please pardon my ignorance in this but I'm really stuck. Thanks in advance for your time and reply.
First, the village index is a number given to your villages in the order they were created (there are a few catches there)...but you could set a command to build let's say a unit of infantry (pretorian) in every village with a difference of 5 minutes, an see where the troops were trained, so you can find the real village index...this is if you're really stuck, especially when you have more than 7-8 villages and you just conquered one recently, in this case the order of village index might change.
Another thing equally important is when you set tasks to build troops/buildings at the same time in different villages...after you run the program do not change the village manually (browsing through villages) especially when there is a task to be executed at that time.
Now i hope my english was fine for you to understand.
Dear Mr. Sherpishoru,
thanks for the reply and the explaination and indeed it is helpful. However, I only have 1 village so far I used 0 and I used 1 and still didnt work!?
Well, let's see an example of code:
<VillageIndex>1</VillageIndex> <LocationId>23</LocationId> <Troop>3,1</Troop> <Time>2008-03-21 19:30:00 </Time>
<villageindex>1</villageindex> ... this is your main village, if you have only one this is it, you'll always use 1
<locationid>23</locationid> ... this is the place where i have the barracks
<troop>3,1</troop> ... here i choose to train imperians (type 3) and how many units (1)...you could set any number you want for units to be trained but be sure you have enough resources to build them.
If you have an error returned post it here, or just put some code that didn't work so we could see what's wrong...