Very important:

Do you want to improve pawnee's bot?

So we need you! Please click here.

Content


1. About pawnees travianbot
2. Installation
3. Configuration
4. Run the bot

1. About pawnees travianbot

Me and some of my classmates are / were addicted to a browser game called travian. After 3-4 month of playing it became rather boring and exhausting. You are no able to set a building queue so you have to wait til the build is complete to build the next. What i needed was a queue bot. No sooner said than done. Here's the result written in ruby. Infos
  • Tested with welt1.travian.de (German) with many accounts for about 4-6 weeks.
  • Read the game rules. In the english version are bots not mentioned. In the german version are bots forbidden.
  • You can start an instance of the program for each village
  • have fun

2. Installation

1. Download Travianbot travianbot.zip
2. Install Ruby Download the One-Click Installer for Windows: http://www.ruby-lang.org/en/downloads/
3. Copy Files Copy travian.rb and ymhtml.rb into the same folder

3. Configuration

Edit travian.rb

In general you have to change the MAIN_URL and the name of the cancel-button.

4. Run the bot

Windows
1. Start > Run > 'cmd'
2. change directory to your travianfolder. For example: cd c:\programs \travianbot\
3. ruby travian.rb [username] [password] [id.id.id.id] [villageid]

[id.id.id] means you can add as many buildids as you want. Seperated by a point. The photo below shows the id of each field (1-18). The ids for the buildings are 19-36.
building ids

[villageid] is the id of your village. For each village you have to start a new bot. If you have only one village, the villageid is 0, else you can find the villageid in the link adress of the village list located on the right side of your browser. Should be something like 123898.

Mac
1. Open Terminal
2. & 3. Same as windows

Linux
1. I dont think i have to explain to a linuxuser how to open a terminal.
2. & 3. Same as windows