Horscht20 Posted January 31, 2008 Share Posted January 31, 2008 has somebody a www.die-staemme.de bot? or would to programm one? sry, i am from germany. my english is not the best Link to comment Share on other sites More sharing options...
Linux Posted January 31, 2008 Share Posted January 31, 2008 has somebody a www.die-staemme.de bot?or would to programm one?sry, i am from germany. my english is not the bestHi! you posted in the wrong topic, start your own topic pls! You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!" Link to comment Share on other sites More sharing options...
XIXI Posted January 31, 2008 Share Posted January 31, 2008 (edited) I'm done with my bot ! and i'm quite proud of it.. the log: Forgot to timestamp it :/ -byter by till: XXX (Changing village to: XXX) har gått igenom alla byar, börjar om från början. (Have passed all villages starting from the beginning (0)) kan inte attackera förens: 2008/01/31 18:44:55 (Cannot attack until 2008/01/31 18:44:55) kan inte attackera förens: 2008/01/31 19:27:03 -||- >för få råvaror. (To few resources) hittat något att bygga på id nr: 11 (Found something to build) är för tillfället i byn: XXX (I am at village: XXX) -byter by till: XXX (Changing to village: XXX) kan inte attackera förens: 2008/01/31 20:16:49 vi har inte tillräckligt med:trupper 1 vi har: 0 och behöver: 28 (Not enough soldiers of type 1, we have 0 we need 28) försöker attack på: XXX (Trying to attack: XXX)Read the log from down to up ^^ etc. etc. Quite tasty.. the config is i think very user unfriendly... [sETTING] USERNAME=XXX PASSWORD=XXX ALLOWPICTURES=no (I stole this sample from someone on this forum ^^) SERVER=XXX (what server prefix it got. speed, se1,se2,se3 etc.) ;[XXX] Är namnet på din by. ;Prioritet=ByggnadsID|Till vilken nivå [<VILLAGE NAME>] <PRIO>=<ID OF PLATFORM>|<TO WHAT LEVEL> 1=17|6 [<VILLAGENAME>] 0=23|15 [VILLAGES(Here you write all villages you want to manage)] 0=<ID When you hover your villages> 1=2341012 [<TROOP + TROOP ID(You set it yourself starting from 0 and going upwards.>] <Villagenumber>=0 <Troops this value is counted very complicated can't explain.>=28|0|0|0|0|0|0|0|0|0 <Attack + number, This will itterate from 0 to maxvalue found so you can select 28 units to go attack diffrent villages>=386510 [TRUPP1] BY=1 TRUPP=0|15|0|0|0|0|0|0|0|0 ATTACK0=398546 ATTACK1=400148 If you a2b.php page, You will see the soldiers are like 1 2 3 4 5 6 7 8 9 10 the trupp variabel is counts like this: 1 4 7 9 2 5 8 10 3 6 to spare me alot of work The bot cannot: Know when to upgrade, it checks every 40 sec instead Start a new building from level 0 No escape plan Bot bugs: When a player is protected the bot crashes Troups don't work if you only got one village. msn: aco@metafour.se Add if you want to ask something Edited January 31, 2008 by XIXI Link to comment Share on other sites More sharing options...
GRB Posted February 1, 2008 Share Posted February 1, 2008 Post a pic! Link to comment Share on other sites More sharing options...
dumbledor Posted February 1, 2008 Share Posted February 1, 2008 I just finished my first bot (AAD - Automatic Attack Dodger). It works just great and it dodges attack. It doesn t support multiple citys, it just work fine for my small village and it keeps my soldiers alive. Thanks for all your help i couldn t make it with out you. Hope to get some more help and assistance in the future. I will start now on building my own automatic builder, for resources. Will hear from me soon with questions. Be cool be travian. Link to comment Share on other sites More sharing options...
Linux Posted February 1, 2008 Share Posted February 1, 2008 nice work. i have xixi bot to test, but i havent got time yet. im glad i can help, soon will be me asking the questions. I restarted my bot, its now on version 3.0 alpha me and pollop are uniting efforts to make our multilanguage bot, i hope to have some screens of the new gui soon. Be tr4vi4n You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!" Link to comment Share on other sites More sharing options...
XIXI Posted February 1, 2008 Share Posted February 1, 2008 heres a screenshot Nothing really to show off beside that i got no graphical things to it... I made a very simple gui just to be able to not be depending on scite with consolewrite() Link to comment Share on other sites More sharing options...
Linux Posted February 1, 2008 Share Posted February 1, 2008 Oh! in you screen you are talking wiht SPP? LOL You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!" Link to comment Share on other sites More sharing options...
GRB Posted February 2, 2008 Share Posted February 2, 2008 Linux i have stated a new gui, u will love it! LOL Hope i dont forget anything this time! Link to comment Share on other sites More sharing options...
Linux Posted February 2, 2008 Share Posted February 2, 2008 Post your screenshot so everybody can see it. You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!" Link to comment Share on other sites More sharing options...
dumbledor Posted February 3, 2008 Share Posted February 3, 2008 Ok i have a problem. I need to count number of rows in 2D array. Here is screenshot: I need to get number 39 it is always changing. So here is the code: #include <IE.au3> #include <Array.au3> $s_URL = "e:\test.html" $oIE = _IECreate($s_URL) $oTable = _IETableGetCollection ($oIE,1) $aTableData = _IETableWriteToArray ($oTable, True) $i= -1 Do $test = $aTableData[$i][0];Thats my counter and when the loop ends. Then i got in $i number of rows. $i= $i + 1 Until $test == "<<>>" _ArrayDisplay($aTableData) MsgBox(0,"",$i) There must be some trick i can get it work something i missed from help file. Thanks for help. Be cool be travian. Link to comment Share on other sites More sharing options...
XIXI Posted February 3, 2008 Share Posted February 3, 2008 dumbledor I got no idea of what your trying to do... But you could try, UBound($array,<dimension>), This will return the number of arrays you have in there... other than that i don't really know what you want Link to comment Share on other sites More sharing options...
dumbledor Posted February 3, 2008 Share Posted February 3, 2008 dumbledorI got no idea of what your trying to do... But you could try, UBound($array,<dimension>), This will return the number of arrays you have in there... other than that i don't really know what you want Exatcly what i needed. Thank you, tahnk you, thank you.Be cool be travian. Link to comment Share on other sites More sharing options...
XIXI Posted February 3, 2008 Share Posted February 3, 2008 Btw is there any person in here that would like to team up for a nice Ui'ed travian bot? Linux, I don't know if you want me in your team but but I only lack the UI other than that, i could make almost anything.. Link to comment Share on other sites More sharing options...
Linux Posted February 3, 2008 Share Posted February 3, 2008 Done You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!" Link to comment Share on other sites More sharing options...
littleNewb Posted February 4, 2008 Share Posted February 4, 2008 (edited) hi, iam writing a bot too, it can build multiple towns now, but do nothing if attacks comes .. iam working on it my question: when i submit a form and at the same time travian thinks "its time to logout that user", my bot crashed ... how do you solve that problem? Edited February 4, 2008 by littleNewb Link to comment Share on other sites More sharing options...
Linux Posted February 4, 2008 Share Posted February 4, 2008 Make it check every time you have to build, if the login page appears. If String in source "Please Login" then Login You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!" Link to comment Share on other sites More sharing options...
littleNewb Posted February 4, 2008 Share Posted February 4, 2008 ah thx, those easy solutions another challenge found: parse the "rally point" ( mean this building: /build.php?gid=16 ) depend on what events currently happen, the source shows where diffrent each time i have no idea :/ Link to comment Share on other sites More sharing options...
dumbledor Posted February 4, 2008 Share Posted February 4, 2008 ah thx, those easy solutions another challenge found: parse the "rally point" ( mean this building: /build.php?gid=16 )depend on what events currently happen, the source shows where diffrent each timei have no idea :/Rally point is on /build.php?gid=39 or i just don t get the question? What events?More explanation please.Be cool be travian. Link to comment Share on other sites More sharing options...
littleNewb Posted February 4, 2008 Share Posted February 4, 2008 ../build.php?id=39 AND .. /build.php?gid=16With events i mean for example incoming/outgoing attacks, the troops that stay current in this town or settlers going to a new field.I think now it is possible, but anyway difficult Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now