comparison README @ 66:9356eafcdde7

improved document
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Tue, 21 Oct 2008 16:41:30 +0800
parents 9466964ae5bb
children 9fd33f9d7207
comparison
equal deleted inserted replaced
65:3a611c51b99b 66:9356eafcdde7
13 scores.pl - scan and update the scores of accounts. 13 scores.pl - scan and update the scores of accounts.
14 sheep.pl - find the sheep to kill, takes coordinate or default world view. 14 sheep.pl - find the sheep to kill, takes coordinate or default world view.
15 15
16 = HOWTO = 16 = HOWTO =
17 * Install *many* perl modules. 17 * Install *many* perl modules.
18 libclass-dbi-autoloader-perl - Class::DBI::AutoLoader 18 Carp::Assert - libcarp-assert-perl
19 libclass-dbi-perl - Class::DBI 19 Carp::Assert::More - libcarp-assert-more-perl
20 libclass-dbi-sqlite-perl - Class::DBI::SQLite 20 Class::DBI::AutoLoader - libclass-dbi-autoloader-perl
21 libhtml-tagparser-perl - HTML::TagParser; 21 Class::DBI - libclass-dbi-perl
22 libio-compress-zlib-perl - IO::Uncompress::Gunzip 22 Class::DBI::SQLite - libclass-dbi-sqlite-perl
23 libwww-perl - LWP 23 Decision::ParseTree - libdecision-parsetree-perl
24 libwww-mechanize-perl - WWW::Mechanize 24 HTML::TagParser; - libhtml-tagparser-perl
25 IO::Uncompress::Gunzip - libio-compress-zlib-perl
26 LWP - libwww-perl
27 WWW::Mechanize - libwww-mechanize-perl
28 YAML - libyaml-perl
25 29
26 You can download missed debian packages from http://www.assembla.com/spaces/eagle-eye/documents 30 You can download missed debian packages from http://www.assembla.com/spaces/eagle-eye/documents
27 31
28 * Create the sqlite3 database 'ikariam.sqlite' first, based on ikariam.sql 32 * Create the sqlite3 database 'ikariam.sqlite' first, based on ikariam.sql
29 $ cat ikariam.sql|sqlite3 ikariam.sqlite 33 $ cat ikariam.sql|sqlite3 ikariam.sqlite
30 * Create the config file, at ${HOME}/.eagleeye.pm. The file content are 34 * Create the config file, at ${HOME}/.eagleeye.pm. The file content are
31 package main; 35 package main;
32 36
33 $::server = 's2.ikariam.tw'; 37 $::server = 's4.ikariam.tw'; # Delta server.
34 $::user = "chihchun"; 38 $::user = "chihchun";
35 $::pass = "YOUKNOW"; 39 $::pass = "YOUKNOW";
36 40
37 1; 41 1;
38 42
39 * Run the bot, 'perl inference.pl' 43 * Run the bot, 'perl agent.pl'
40 * Update the islands by runing 'perl scan.pl' 44 * Update the islands information by runing 'perl scan.pl'
41 * List sheeps, 'perl sheep.pl' 45 * List sheeps, 'perl sheep.pl'
42 46