Mercurial > eagle-eye
view README @ 56:6e0d5e781949
fixed a typo in agent.pl
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Tue, 21 Oct 2008 00:00:33 +0800 |
parents | 9466964ae5bb |
children | 9356eafcdde7 |
line wrap: on
line source
Project Homepage: http://www.assembla.com/spaces/eagle-eye = Files = Ikariam.pm - Basic modules for collectoin information from web, and the web access/submit functions will be also implemented. ally.pl - list all the cities which owned by an ally. enemy.pl - list all the islands and scores the enemy have. freeland.pl - find the available place we can build the city. inactive-map.pl - finding the sheep and list them in a map. inference.pl - a simple proof-of-concept of decision making robot. scan.pl - scan the islands and cities by coordinate or default world view. scores.pl - scan and update the scores of accounts. sheep.pl - find the sheep to kill, takes coordinate or default world view. = HOWTO = * Install *many* perl modules. libclass-dbi-autoloader-perl - Class::DBI::AutoLoader libclass-dbi-perl - Class::DBI libclass-dbi-sqlite-perl - Class::DBI::SQLite libhtml-tagparser-perl - HTML::TagParser; libio-compress-zlib-perl - IO::Uncompress::Gunzip libwww-perl - LWP libwww-mechanize-perl - WWW::Mechanize You can download missed debian packages from http://www.assembla.com/spaces/eagle-eye/documents * Create the sqlite3 database 'ikariam.sqlite' first, based on ikariam.sql $ cat ikariam.sql|sqlite3 ikariam.sqlite * Create the config file, at ${HOME}/.eagleeye.pm. The file content are package main; $::server = 's2.ikariam.tw'; $::user = "chihchun"; $::pass = "YOUKNOW"; 1; * Run the bot, 'perl inference.pl' * Update the islands by runing 'perl scan.pl' * List sheeps, 'perl sheep.pl'