Mercurial > eagle-eye
diff README @ 245:a344c54f15c7
merge work
author | hychen@mluna |
---|---|
date | Thu, 23 Oct 2008 00:47:56 +0800 |
parents | 9fd33f9d7207 |
children | 4dc714131954 |
line wrap: on
line diff
--- a/README Thu Oct 23 00:33:22 2008 +0800 +++ b/README Thu Oct 23 00:47:56 2008 +0800 @@ -8,20 +8,24 @@ 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. +agent.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 +Carp::Assert - libcarp-assert-perl +Carp::Assert::More - libcarp-assert-more-perl +Class::DBI::AutoLoader - libclass-dbi-autoloader-perl +Class::DBI - libclass-dbi-perl +Class::DBI::SQLite - libclass-dbi-sqlite-perl +Decision::ParseTree - libdecision-parsetree-perl +HTML::TagParser; - libhtml-tagparser-perl +IO::Uncompress::Gunzip - libio-compress-zlib-perl +LWP - libwww-perl +WWW::Mechanize - libwww-mechanize-perl +YAML - libyaml-perl You can download missed debian packages from http://www.assembla.com/spaces/eagle-eye/documents @@ -30,13 +34,13 @@ * Create the config file, at ${HOME}/.eagleeye.pm. The file content are package main; -$::server = 's2.ikariam.tw'; +$::server = 's4.ikariam.tw'; # Delta server. $::user = "chihchun"; $::pass = "YOUKNOW"; 1; - * Run the bot, 'perl inference.pl' - * Update the islands by runing 'perl scan.pl' - * List sheeps, 'perl sheep.pl' + * Run the bot, 'perl agent.pl' + * Update the islands information by runing 'perl scan.pl' + * List sheeps, 'perl sheep.pl' (run scan.pl first)