Jump to content

Recommended Posts

  • Replies 180
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

has somebody a www.die-staemme.de bot?

or would to programm one?

sry, i am from germany. my english is not the best

Hi!

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!"
Posted (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 :D

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 :P

Edited by XIXI
Posted

I just finished my first bot (AAD - Automatic Attack Dodger). :D It works just great and it dodges attack. :P 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. :P

Posted

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!"
Posted

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()

post-31710-1201847442_thumb.jpg

Posted

Ok i have a problem. I need to count number of rows in 2D array.

Here is screenshot:

post-30220-1202058382_thumb.jpg

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. :)

Posted

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 :)

Posted

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 :)

Exatcly what i needed. Thank you, tahnk you, thank you.

Be cool be travian. :)

Posted

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..

Posted (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 by littleNewb
Posted

ah thx, those easy solutions :D

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 :/

Posted

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 :/

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. :)

Posted

Posted Image

../build.php?id=39 AND .. /build.php?gid=16

With 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 :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...