changeset 78:4120f560f214

fixed the server name.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Thu, 23 Oct 2008 15:51:20 +0800
parents fe5bbf852498
children 9d92e8c12f58
files enemy.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/enemy.pl	Thu Oct 23 00:59:42 2008 +0800
+++ b/enemy.pl	Thu Oct 23 15:51:20 2008 +0800
@@ -32,8 +32,8 @@
         }
         printf("Level: %s\n", $city->citylevel);
         printf("Island: %s\n", $island->name);
-        printf("Location: [%s:%s] http://s2.ikariam.tw/index.php?view=island&id=%s&selectCity=%d\n", 
-            $island->x, $island->y, $island->id, $city->cityId);
+        printf("Location: [%s:%s] http://%s/index.php?view=island&id=%s&selectCity=%d\n", 
+            $island->x, $island->y, $::server, $island->id, $city->cityId);
         printf("Tradegood: %s\n", $tradegoodText[$island->tradegood]);
         printf("Wonder: %s\n", $wonderText[$island->wonder]);
         printf("capture score: %d\n\n", $capture);