I looked into the Travian utility's source code, and it appears there could be an issue with the settings in your Travian browser's cookies.
The Travian utility program asks for data to be returned in GZIP format, but I am not sure what happens if it is returned in plain text format - perhaps the error you are seeing Try removing some of the browser's cookies related to Travian and see if that helps any.
I have less than 30 minutes a day available to look into this code, which is not terrifically commented, so I have to figure out 'why' most functions are doing what they are doing - I can see 'what' they are doing (I can read C++ and MFC code very well), but there are few comments as to 'why' - so it is really slow going. Sorry I can't help more just yet. Plus, there are no 'design documents' so to speak - I have to interpret the architecture of the application on my own. The author did not provide them with the source, or he just holds it all in his head
If the next task is to be run far into the future, how about introducing the SetWaitableTimer so that the system will wake up from its suspended mode to runt he next task?
fResume
[in] If this parameter is TRUE, restores a system in suspended power conservation mode when the timer state is set to signaled. Otherwise, the system is not restored. If the system does not support a restore, the call succeeds, but GetLastError returns ERROR_NOT_SUPPORTED.
In the early stages of the game, I find I spend about 30 min to 8 hours waiting for enough resources to build up. My machine will go into power conservation mode after only 20 minutes.
Does this bot seem sufficiently correct to escape detection?
I have been trying Tavian for about 10 days now, and some of it is truly 'busy' work.
I can see the benefit of this tool to automate some of the more repetitive tasks. Waiting for enough resources, build a single unit, building, etc. ... yawn .. wait for more resources ... repeat.
when i rebuild the project
first i rebuild cryptest
it have error
c:\documents and settings\administrator.hollings-1ca3e2\my documents\我的下載檔案\travianautotask_src\travianautotask\travianautotask\cryptopp54\winpipes.h(10) : fatal error C1083: 無法開啟包含檔案: 'winsock2.h': No such file or directory
c:\documents and settings\administrator.hollings-1ca3e2\my documents\我的下載檔案\travianautotask_src\travianautotask\travianautotask\cryptopp54\wait.h(13) : fatal error C1083: 無法開啟包含檔案: 'winsock2.h': No such file or directory
.\trdlocal.cpp(11) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
c:\documents and settings\administrator.hollings-1ca3e2\my documents\我的下載檔案\travianautotask_src\travianautotask\travianautotask\cryptopp54\socketft.h(15) : fatal error C1083: 無法開啟包含檔案: 'winsock2.h': No such file or directory
.\osrng.cpp(19) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
c:\documents and settings\administrator.hollings-1ca3e2\my documents\我的下載檔案\travianautotask_src\travianautotask\travianautotask\cryptopp54\wait.h(13) : fatal error C1083: 無法開啟包含檔案: 'winsock2.h': No such file or directory
.\hrtimer.cpp(10) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
.\fipstest.cpp(12) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
c:\documents and settings\administrator.hollings-1ca3e2\my documents\我的下載檔案\travianautotask_src\travianautotask\travianautotask\cryptopp54\socketft.h(15) : fatal error C1083: 無法開啟包含檔案: 'winsock2.h': No such file or directory
.\fipstest.cpp(12) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
.\osrng.cpp(19) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
.\trdlocal.cpp(11) : fatal error C1083: 無法開啟包含檔案: 'windows.h': No such file or directory
LINK : fatal error LNK1104: 無法開啟檔案 '.\dll_debug\cryptopp.lib'
and i rebuild the autotask directly,it also have error
c:\documents and settings\administrator.hollings-1ca3e2\my documents\我的下載檔案\travianautotask_src\travianautotask\travianautotask\stdafx.h(40) : fatal error C1083: 無法開啟包含檔案: 'afx.h': No such file or directory
why?
i am using microsoft vc++2005 express
and just rebuild the project....
One thing more,compile=rebuild?????
Can you add please a random time in seconds, to be added to the time the attacks are done? Something between 1 and 200 seconds. The reasons are the attacks.
I have calculated at which time i can attack next target, and made a nice excel where i input the start time for the first attack, after that it auto calculates the rest. If i add manually when i am inputting in the task file, i might ruin everything. I don t want the attacks to be sent each time in the first second when possible, might be bad for the admins.
You should just use this as a reason to learn Excel ... it has so many uses and is one of the basic programs that everyone should learn to use at an intermediate level.
Maybe Travian will give you the incentive to learn ... that would make your playing the game actually useful!
In both situation i use the same code. The difference between code1 and code 2 are the troops. in code1 i use 1legionnaire, in code2 i use 1Praetorian.
But i get only an error with code2. Here the errormessage:
ERROR 2007-10-21 02:44:51 Can't find the form input field named id. Form input fields count: 16.
ERROR 2007-10-21 02:44:51 ------¡Á¡Á¡ÁTask executed failed. Get confime form Post data failed, please check whether travian page html code changed. Task stopped.
That is all on one line in the Action file.
The LocationID is ALWAYS "39" to send troops.
This will send troops:
10,99 --> Eq. Cesaris 99 means all that are in the village, up to 99
6,999 --> Eq. Imp. and all in village, up to 999.
11,1 --> sends the Hero
To the target village is at 190,19.
At the time specified.
NOTE: If any of the troop types you request are not in your village, then the request will fail.