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.
I'm using Gauls and according following TroopType list. I use <troop>1,50 to send 50 Phalanx and the task executed successful! However, when I use <troop>4,20 to send 20 Theutates Thunder, the task cannot be executed. Can anyone told me how to fix this?
INFO 2007-10-17 21:00:54 ------Begin to execute task:Dispatch troop Task: <villageindex>1 <locationid>39 <troop>1,50 <dispatchtype>3 <destvillage27,78< destvillage="">
.
.
.
INFO 2007-10-17 21:01:02 ------Task executed successful.
e.g.
INFO 2007-10-17 23:24:23 ------Begin to execute task:Dispatch troop Task: <illageindex>1 <locationid>39 <troop>4,20 <dispatchtype>3 <destvillage27,78< destvillage="">
.
.
.
Can't find the form input field named id. Form input fields count: 16.
ERROR 2007-10-17 23:24:28 ------℅℅℅Task executed failed. Get confime form Post data failed, please check whether travian page html code changed. Task stopped.
It's because the troop type on that page goes across by rows, not down by columns. So the numbers should be:
Troop Types for Raids:
1 Legionnaire
2 Equites Legati
3 Battering Ram
4 Senator
5 Praetorian
6 Equites Imperatoris
7 Fire catapult
8 Settler
9 Imperian
10 Equites Caesaris
11 Hero
I know that this works for legionnaires and equites imperatori, which are the only troop types I've dispatched using this program, but I assume it should work for the rest.
I set task file with this (transport task):
<VillageIndex>1</VillageIndex> <LocationID>33</LocationID> <Resource>1,1000</Resource> <DestVillage>102,-95</DestVillage><Time>2007-10-17 01:04:30 </Time>
After execute I have this answer:
ERROR 2007-10-17 01:05:45 Can't find the form input field named z. Form input fields count: 10.
ERROR 2007-10-17 01:05:45 ------ˇÁˇÁˇÁTask executed failed. Get confime form Post data failed, please check whether travian page html code changed. Task stopped.
INFO 2007-10-17 01:05:48 Tasks execution finished
I'm using polish serwer travian.interia.pl in polish version of Travian.
Please, help me - what i can do, to using this script without problems ?
I get this too. I suspect it is because the server I use (s3.us) has a checkbox so that you can schedule the merchants to go twice, and I think that is not taken into account in this program, but I'm not 100% and I have no idea how to fix it
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-24 1:24