From 1c4b8b9d8056e489097e112aa11d434f8949326c Mon Sep 17 00:00:00 2001 From: m-rectifier Date: Wed, 5 Oct 2011 02:31:16 +0330 Subject: [PATCH 1/6] Axeman's image and name in "instructions" section fixed --- Templates/Manual/113.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/Templates/Manual/113.tpl b/Templates/Manual/113.tpl index ff208ab..e4c7be8 100644 --- a/Templates/Manual/113.tpl +++ b/Templates/Manual/113.tpl @@ -1,3 +1,4 @@ +

Axeman Axeman (Teutons)

From c36f7cc0ac91162ad6fdc2110e0b35f0ddde0139 Mon Sep 17 00:00:00 2001 From: m-rectifier Date: Wed, 5 Oct 2011 02:45:16 +0330 Subject: [PATCH 2/6] World wonder Construction view (http://forum.ragezone.com/f582/github-world-wonder-construct-bug-783486) --- Templates/Build/ww.tpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Templates/Build/ww.tpl b/Templates/Build/ww.tpl index 190501a..95aae53 100644 --- a/Templates/Build/ww.tpl +++ b/Templates/Build/ww.tpl @@ -43,9 +43,13 @@ if($village->resarray['f99'] == 100) { echo "

Building already at max level

"; } else { -$uprequire = $building->resourceRequired($id,$village->resarray['f99t']); + $loopsame = $building->isCurrent($id)?1:0; + if ($loopsame>0 && $building->isLoop($id)) { + $doublebuild = 1; + } +$uprequire = $building->resourceRequired($id,$village->resarray['f'.$id.'t'],($loopsame > 0 ? 2:1)+$doublebuild); ?> -

Costs for upgrading to level resarray['f99']+1; ?>:
+

Costs for upgrading to level resarray['f'.$id]+($loopsame > 0 ? 2:1)+$doublebuild; ?>:
Lumber | Clay | Iron | Crop | Crop consumption | durationgetTimeFormat($uprequire['time']); if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1) { echo "|\"NPC"; @@ -87,8 +91,8 @@ if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1) { else { echo "checker\">Upgrade to level "; } - echo $village->resarray['f99']+1; - echo ". (waiting loop) "; + echo $village->resarray['f99']+2; + echo ". (waiting loop) "; } } From dcdf4b14e5dee79b1c7041e850a0ee2409acf7d2 Mon Sep 17 00:00:00 2001 From: m-rectifier Date: Wed, 5 Oct 2011 22:33:42 +0330 Subject: [PATCH 3/6] Train scout in great stable of teuton tribe --- Templates/Build/30_train.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Templates/Build/30_train.tpl b/Templates/Build/30_train.tpl index e600ee6..7fc27ff 100644 --- a/Templates/Build/30_train.tpl +++ b/Templates/Build/30_train.tpl @@ -2,7 +2,7 @@ for ($i=($session->tribe-1)*10+3;$i<=($session->tribe-1)*10+6;$i++) { if ($i <> 3 && $i <> 13 && i <> 14 && $technology->getTech($i)) { - + if ($i <> 14){ echo "

"; + } } } ?> \ No newline at end of file From 1395c9d367f2152c7862b8a6b9fdb4acf6b1e350 Mon Sep 17 00:00:00 2001 From: m-rectifier Date: Thu, 6 Oct 2011 00:24:57 +0330 Subject: [PATCH 4/6] Trapper bug in "Instructions" View --- Templates/Manual/436.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Templates/Manual/436.tpl b/Templates/Manual/436.tpl index a1b90ab..ca92ff9 100644 --- a/Templates/Manual/436.tpl +++ b/Templates/Manual/436.tpl @@ -1,11 +1,11 @@

Trapper

TrapperThe trapper protects your village with well hidden traps. This means that unwary enemies can be imprisoned and won't be able to harm your village anymore.

One trap costs -20| -30| -10| -20 -0 +20| +30| +10| +20 +0

Troops cannot be freed with a raid. When the troops get freed with a successful normal attack, 1/3 of the traps are automatically repaired. If the owner of the traps release the captives all of the traps can be repaired.

From bc954a94cf1f30ba74d7954f5fb98a23ee425c0b Mon Sep 17 00:00:00 2001 From: m-rectifier Date: Thu, 6 Oct 2011 01:36:58 +0330 Subject: [PATCH 5/6] Header of newsbox 1 --- Templates/News/newsbox1.tpl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Templates/News/newsbox1.tpl b/Templates/News/newsbox1.tpl index 9f15672..6fa1e7d 100644 --- a/Templates/News/newsbox1.tpl +++ b/Templates/News/newsbox1.tpl @@ -1,2 +1,14 @@ -
newsbox 1
-
TravianX

Version: v4.8.5
Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
Minor Changes: Admin panel updated a bit, config updated, installation system updated
Script Price: FREE!

Released by: Dzoki
Visit: RageZone.com
\ No newline at end of file +
newsbox 1
+ +
+ + +
TravianX

+ Version: v4.8.5
+ Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
+ Minor Changes: Admin panel updated a bit, config updated, installation system updated
+ Script Price: FREE!

+
Released by: Dzoki
+ Visit: RageZone.com
+ +
\ No newline at end of file From 59d36df6c716e81b1b25f7fcac90385ec4247376 Mon Sep 17 00:00:00 2001 From: m-rectifier Date: Tue, 25 Oct 2011 01:38:00 +0330 Subject: [PATCH 6/6] WW name in statistiken --- Templates/Build/ww.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Templates/Build/ww.tpl b/Templates/Build/ww.tpl index 95aae53..bc4f495 100644 --- a/Templates/Build/ww.tpl +++ b/Templates/Build/ww.tpl @@ -19,9 +19,9 @@

Wonder of the World
Level resarray['f99']; ?>

The World Wonder (otherwise known as a Wonder of the World) is as wonderful as it sounds. "This building" is built in order to win the server. Each level of the World Wonder costs hundreds of thousands (even millions) of resources to build.

- + getVillageID($session->uid); +$vref = $_SESSION['wid']; $wwname = $database->getWWName($vref); if($village->resarray['f99'] < 15){
attack value
\"".$technology-getUnitName($i)."\" title=\"".$technology->getUnitName($i)."\" /> @@ -15,6 +15,7 @@ echo "
maxUnit($i,true)."; return false;\">(".$technology->maxUnit($i,true).")