Minor changes and additions

+Added a medal of 10 years of playing in Travian.
Enabled (Disabled) during installation and in the
admin panel.
+If at least one of the new functions is enabled,
a corresponding section appears in the Manual
with a description of all the new functions and
shows which of them is Enabled or Disabled.
+Minor changes
This commit is contained in:
Vladyslav
2018-09-03 22:05:54 +03:00
parent b9ceb86392
commit d59aa8e072
35 changed files with 278 additions and 12 deletions
+5 -1
View File
@@ -221,7 +221,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
<td><?php echo NEW_FUNCTIONS_DISPLAY_ARTIFACT ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></td>
</tr>
<tr>
<td>Display wonder in profile <em class="tooltip">?<span class="classic">Enable (Disable) the display of the wonder in the player profile, opposite the corresponding village in which it is located</span></em></td>
<td>Display WoW in profile <em class="tooltip">?<span class="classic">Enable (Disable) the display of the wonder in the player profile, opposite the corresponding village in which it is located</span></em></td>
<td><?php echo NEW_FUNCTIONS_DISPLAY_WONDER ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></td>
</tr>
<tr>
@@ -247,6 +247,10 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
<tr>
<td>Medal Veteran Player 5a <em class="tooltip">?<span class="classic">Enable (Disable) medal achieved for playing 5 years of Travian</span></em></td>
<td><?php echo NEW_FUNCTIONS_MEDAL_5YEAR ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></td>
</tr>
<tr>
<td>Medal Veteran Player 10a <em class="tooltip">?<span class="classic">Enable (Disable) medal achieved for playing 10 years of Travian</span></em></td>
<td><?php echo NEW_FUNCTIONS_MEDAL_10YEAR ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></td>
</tr>
</table>
<table id="member">
+10 -1
View File
@@ -88,7 +88,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
</td>
</tr>
<tr>
<td>Display wonder in profile <em class="tooltip">?<span class="classic">Enable (Disable) the display of the wonder in the player profile, opposite the corresponding village in which it is located</span></em></td>
<td>Display WoW in profile <em class="tooltip">?<span class="classic">Enable (Disable) the display of the wonder in the player profile, opposite the corresponding village in which it is located</span></em></td>
<td>
<select name="new_functions_display_wonder">
<option value="True" <?php if(NEW_FUNCTIONS_DISPLAY_WONDER == true) echo "selected";?>>True</option>
@@ -150,6 +150,15 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
</select>
</td>
</tr>
<tr>
<td>Medal Veteran Player 10a <em class="tooltip">?<span class="classic">Enable (Disable) medal achieved for playing 10 years of Travian</span></em></td>
<td>
<select name="new_functions_medal_10year">
<option value="True" <?php if(NEW_FUNCTIONS_MEDAL_10YEAR == true) echo "selected";?>>True</option>
<option value="False" <?php if(NEW_FUNCTIONS_MEDAL_10YEAR == false) echo "selected";?>>False</option>
</select>
</td>
</tr>
</tbody>
</table>
<br />
+2
View File
@@ -62,6 +62,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$NEW_FUNCTIONS_DISPLAY_LINKS = (NEW_FUNCTIONS_DISPLAY_LINKS == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_3YEAR = (NEW_FUNCTIONS_MEDAL_3YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_5YEAR = (NEW_FUNCTIONS_MEDAL_5YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_10YEAR = (NEW_FUNCTIONS_MEDAL_10YEAR == false ? 'false' : 'true');
$text = file_get_contents("constant_format.tpl");
$text = preg_replace("'%ERRORREPORT%'", $ERRORREPORT, $text);
@@ -151,6 +152,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $NEW_FUNCTIONS_DISPLAY_LINKS, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $NEW_FUNCTIONS_MEDAL_3YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $NEW_FUNCTIONS_MEDAL_5YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $NEW_FUNCTIONS_MEDAL_10YEAR, $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);
+2
View File
@@ -61,6 +61,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$NEW_FUNCTIONS_DISPLAY_LINKS = (NEW_FUNCTIONS_DISPLAY_LINKS == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_3YEAR = (NEW_FUNCTIONS_MEDAL_3YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_5YEAR = (NEW_FUNCTIONS_MEDAL_5YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_10YEAR = (NEW_FUNCTIONS_MEDAL_10YEAR == false ? 'false' : 'true');
$text = file_get_contents("constant_format.tpl");
$text = preg_replace("'%ERRORREPORT%'", ERROR_REPORT, $text);
@@ -148,6 +149,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $NEW_FUNCTIONS_DISPLAY_LINKS, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $NEW_FUNCTIONS_MEDAL_3YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $NEW_FUNCTIONS_MEDAL_5YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $NEW_FUNCTIONS_MEDAL_10YEAR, $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);
+2
View File
@@ -57,6 +57,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$NEW_FUNCTIONS_DISPLAY_LINKS = (NEW_FUNCTIONS_DISPLAY_LINKS == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_3YEAR = (NEW_FUNCTIONS_MEDAL_3YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_5YEAR = (NEW_FUNCTIONS_MEDAL_5YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_10YEAR = (NEW_FUNCTIONS_MEDAL_10YEAR == false ? 'false' : 'true');
$text = file_get_contents("constant_format.tpl");
$text = preg_replace("'%ERRORREPORT%'", $ERRORREPORT, $text);
@@ -148,6 +149,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $NEW_FUNCTIONS_DISPLAY_LINKS, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $NEW_FUNCTIONS_MEDAL_3YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $NEW_FUNCTIONS_MEDAL_5YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $NEW_FUNCTIONS_MEDAL_10YEAR, $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);
@@ -119,6 +119,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $_POST['new_functions_display_links'], $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $_POST['new_functions_medal_3year'], $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $_POST['new_functions_medal_5year'], $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $_POST['new_functions_medal_10year'], $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);
+2
View File
@@ -63,6 +63,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$NEW_FUNCTIONS_DISPLAY_LINKS = (NEW_FUNCTIONS_DISPLAY_LINKS == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_3YEAR = (NEW_FUNCTIONS_MEDAL_3YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_5YEAR = (NEW_FUNCTIONS_MEDAL_5YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_10YEAR = (NEW_FUNCTIONS_MEDAL_10YEAR == false ? 'false' : 'true');
$text = file_get_contents("constant_format.tpl");
$text = preg_replace("'%ERRORREPORT%'", $ERRORREPORT, $text);
@@ -154,6 +155,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $NEW_FUNCTIONS_DISPLAY_LINKS, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $NEW_FUNCTIONS_MEDAL_3YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $NEW_FUNCTIONS_MEDAL_5YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $NEW_FUNCTIONS_MEDAL_10YEAR, $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);
+2
View File
@@ -45,6 +45,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$NEW_FUNCTIONS_DISPLAY_LINKS = (NEW_FUNCTIONS_DISPLAY_LINKS == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_3YEAR = (NEW_FUNCTIONS_MEDAL_3YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_5YEAR = (NEW_FUNCTIONS_MEDAL_5YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_10YEAR = (NEW_FUNCTIONS_MEDAL_10YEAR == false ? 'false' : 'true');
// SERVER SETTINGS - we need to keep these intact
$text = preg_replace("'%ERRORREPORT%'", ERROR_REPORT, $text);
@@ -132,6 +133,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $NEW_FUNCTIONS_DISPLAY_LINKS, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $NEW_FUNCTIONS_MEDAL_3YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $NEW_FUNCTIONS_MEDAL_5YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $NEW_FUNCTIONS_MEDAL_10YEAR, $text);
// PLUS SETTINGS
$text = preg_replace("'%PLUS_TIME%'", $_POST['plus_time'], $text);
+2
View File
@@ -56,6 +56,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$NEW_FUNCTIONS_DISPLAY_LINKS = (NEW_FUNCTIONS_DISPLAY_LINKS == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_3YEAR = (NEW_FUNCTIONS_MEDAL_3YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_5YEAR = (NEW_FUNCTIONS_MEDAL_5YEAR == false ? 'false' : 'true');
$NEW_FUNCTIONS_MEDAL_10YEAR = (NEW_FUNCTIONS_MEDAL_10YEAR == false ? 'false' : 'true');
$text = file_get_contents("constant_format.tpl");
$text = preg_replace("'%ERRORREPORT%'", $_POST['error'], $text);
@@ -143,6 +144,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_LINKS%'", $NEW_FUNCTIONS_DISPLAY_LINKS, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_3YEAR%'", $NEW_FUNCTIONS_MEDAL_3YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_5YEAR%'", $NEW_FUNCTIONS_MEDAL_5YEAR, $text);
$text = preg_replace("'%NEW_FUNCTIONS_MEDAL_10YEAR%'", $NEW_FUNCTIONS_MEDAL_10YEAR, $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);
+7 -3
View File
@@ -15,7 +15,7 @@
<?php } ?>
</ul>
<br />
<br>
<li><a href="manual.php?typ=3&amp;s=1">The buildings</a></li>
@@ -25,8 +25,12 @@
<li><a href="manual.php?typ=3&amp;s=3">Infrastructure</a></li>
</ul>
<br />
<li><a href="anleitung.php?s=3" target="_blank">Travian FAQ <img class="external" src="img/x.gif" alt="new window" title="new window" /></a><br>This ingame help just gives you brief information. More information is available at the <a href="http://travian.wikia.com/wiki/Travian_Wiki" target=blank>Fandom Travian Wiki</a>.</li><br />
<br>
<?php if(NEW_FUNCTIONS_OASIS || NEW_FUNCTIONS_ALLIANCE_INVITATION || NEW_FUNCTIONS_EMBASSY_MECHANICS || NEW_FUNCTIONS_FORUM_POST_MESSAGE || NEW_FUNCTIONS_TRIBE_IMAGES || NEW_FUNCTIONS_MHS_IMAGES || NEW_FUNCTIONS_DISPLAY_ARTIFACT || NEW_FUNCTIONS_DISPLAY_WONDER || NEW_FUNCTIONS_VACATION || NEW_FUNCTIONS_DISPLAY_CATAPULT_TARGET || NEW_FUNCTIONS_MANUAL_NATURENATARS || NEW_FUNCTIONS_DISPLAY_LINKS || NEW_FUNCTIONS_MEDAL_3YEAR || NEW_FUNCTIONS_MEDAL_5YEAR || NEW_FUNCTIONS_MEDAL_10YEAR) { ?>
<li><a href="manual.php?typ=13&amp;s=31">New features</a><br>These are new features that you will not find in the real version of the game Travian T3.6. Here you can get acquainted with all new features in more detail.</li><br>
<?php } ?>
<li><a href="anleitung.php?s=3" target="_blank">Travian FAQ <img class="external" src="img/x.gif" alt="new window" title="new window" /></a><br>This ingame help just gives you brief information. More information is available at the <a href="http://travian.wikia.com/wiki/Travian_Wiki" target=blank>Fandom Travian Wiki</a>.</li>
</ul>
<map id="nav" name="nav">
<area href="manual.php?typ=3&amp;s=3" title="back" coords="0,0,45,18" shape="rect" alt="" />
+7 -3
View File
@@ -15,7 +15,7 @@
<?php } ?>
</ul>
<br />
<br>
<li><a href="manual.php?typ=3&amp;s=1">The buildings</a></li>
@@ -25,8 +25,12 @@
<li><a href="manual.php?typ=3&amp;s=3">Infrastructure</a></li>
</ul>
<br />
<li><a href="anleitung.php?s=3" target="_blank">Travian FAQ <img class="external" src="img/x.gif" alt="new window" title="new window" /></a><br>This ingame help just gives you brief information. More information is available at the <a href="http://travian.wikia.com/wiki/Travian_Wiki" target=blank>Fandom Travian Wiki</a>.</li><br />
<br>
<?php if(NEW_FUNCTIONS_OASIS || NEW_FUNCTIONS_ALLIANCE_INVITATION || NEW_FUNCTIONS_EMBASSY_MECHANICS || NEW_FUNCTIONS_FORUM_POST_MESSAGE || NEW_FUNCTIONS_TRIBE_IMAGES || NEW_FUNCTIONS_MHS_IMAGES || NEW_FUNCTIONS_DISPLAY_ARTIFACT || NEW_FUNCTIONS_DISPLAY_WONDER || NEW_FUNCTIONS_VACATION || NEW_FUNCTIONS_DISPLAY_CATAPULT_TARGET || NEW_FUNCTIONS_MANUAL_NATURENATARS || NEW_FUNCTIONS_DISPLAY_LINKS || NEW_FUNCTIONS_MEDAL_3YEAR || NEW_FUNCTIONS_MEDAL_5YEAR || NEW_FUNCTIONS_MEDAL_10YEAR) { ?>
<li><a href="manual.php?typ=13&amp;s=31">New features</a><br>These are new features that you will not find in the real version of the game Travian T3.6. Here you can get acquainted with all new features in more detail.</li><br>
<?php } ?>
<li><a href="anleitung.php?s=3" target="_blank">Travian FAQ <img class="external" src="img/x.gif" alt="new window" title="new window" /></a><br>This ingame help just gives you brief information. More information is available at the <a href="http://travian.wikia.com/wiki/Travian_Wiki" target=blank>Fandom Travian Wiki</a>.</li>
</ul>
<map id="nav" name="nav">
<area href="manual.php?typ=3&amp;s=3" title="back" coords="0,0,45,18" shape="rect" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Display oasis in profile" title="Display oasis in profile" /> Display oasis in profile</h1>
<div id="t_desc">If there is a captured oasis in the village, it will be displayed in the player's profile in front of the corresponding village with the appropriate type of resource and a bonus for production. This function was presented in Travian T4.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=13&amp;s=31" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=12" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Alliance invitation message" title="Alliance invitation message" /> Alliance invitation message</h1>
<div id="t_desc">If someone from the players will be sent an invitation to join the alliance, then the player will be notified an in-game message.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=11" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=13" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+28
View File
@@ -0,0 +1,28 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="New Alliance & Embassy Mechanics" title="New Alliance & Embassy Mechanics" /> New Alliance & Embassy Mechanics</h1>
<div id="t_desc"><h2>Introduction</h2><br>
The Embassy and Alliance mechanics always felt a bit like cheating to me. Especially with the Embassy building having a given "capacity", which means only 3/6/9/12/... and up to 60 members could be in the alliance, depending on the level of your Embassy.
<br><br>
Now, this is all cool and dandy but once you had an Embassy on level 20 and you reached 60 alliance members, you were free to demolish the building completely and nothing ever happened. You wouldn't be able to switch alliances but that was about it. The capacity property for Embassy no longer applied. If it did, you would not be able to demolish it even a single level down to 19 - because with full 60 members, the Embassy wouldn't be able to hold them at level 19 anymore.
<br><br>
So I decided to pepper the game a little, making Embassy a somewhat more visible chess-piece on the board.
<br><br>
<h2>New Mechanics</h2><br>
In order to make things interesting, I've developed a whole new set of rules for demolition and battle-destruction of the Embassy. It's a little bit complicated but actually mirrors the "capacity" property of the alliance perfectly.
<br><br>
The main change is that people can't really demolish their Embassies without a side-effect of being punished once it goes too low. For an alliance member, this would mean their Embassy must never go below level 1. If it does, they are warned and subsequently removed from their alliance.
<br><br>
Similarly, for alliance founders, this actually presents even more of a challenge, since they are the ones who need to keep their alliance running smoothly. For them, demolition of an Embassy will not be allowed below a level that can still hold the current number of alliance members.
<br><br>
Now, in the peculiar situation when other players/alliances actually attack the founder's village where their Embassy stands, and subsequently target that Embassy with their catapults and rams - that situation can bring a whole lot of trouble. If there are no other Embassies in other founder's villages on a sufficient level to hold all the alliance members, the alliance could be dispersed. The only exception would be if any other member of the alliance had a sufficiently developed Embassy - in which case that member will be auto-elected to a leadership position and will save the alliance. If no such player is found, the alliance will be completely dispersed.
<br><br>
<h2>Detailed information</h2><br>
For a more graphical and in-depth information about how this new system works, you can visit this <a href="https://docs.google.com/presentation/d/1KN1qVAlxVj7aAN6F9QkRai1oliajfxKPIaJ4MSodUac/edit#slide=id.p" target="_blank">Google Presentation</a>.
</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=12" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=14" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="New forum post message" title="New forum post message" /> New forum post message</h1>
<div id="t_desc">If the player leaves at least one message in the forum thread, he will receive in-game messages that someone else has left a new message in the same thread (i.e. is technically "subscribed to").</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=13" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=15" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+12
View File
@@ -0,0 +1,12 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Tribes images in profile" title="Tribes images in profile" /> Tribes images in profile</h1>
<div id="t_desc">Using this innovation, any player can add to the description of his profile an image of his tribe with a small description (Romans, Teutons, Gauls).</div>
<br><br>
<center><img src="/img/rpage/Roman1.jpg"> <img src="/img/rpage/Teuton1.jpg"> <img src="/img/rpage/Gaul1.jpg"></center>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=14" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=16" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+12
View File
@@ -0,0 +1,12 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="MHs images in profile" title="MHs images in profile" /> MHs images in profile</h1>
<div id="t_desc">In fact, for players this is a useless function, since it is intended only for Administrators and Multihunters. With it, Administrators and Multihunters will be able to add to their profile descriptions various interesting images with descriptions to them.</div>
<br><br>
<center><img src="gpack/travian_default/img/t/MH.png"></center>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=15" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=17" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Display artifact in profile" title="Display artifact in profile" /> Display artifact in profile</h1>
<div id="t_desc">If there is an artifact in one of the villages, this will be displayed in the player's profile in front of the corresponding village in which it is located. This function was presented in Travian T4.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=16" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=18" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Display WoW in profile" title="Display WoW in profile" /> Display WoW in profile</h1>
<div id="t_desc">If in the village there is a playground for the construction of the Wonder of the World, this will be displayed in the profile opposite the corresponding village. This function was presented in Travian T4.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=17" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=19" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Vacation Mode" title="Vacation Mode" /> Vacation Mode</h1>
<div id="t_desc">Vacation mode allows you to protect your empire from any hostile actions of other players during your long absence. True, for this there are certain conditions that will entail a backlog in the development of your empire. This function was presented in Travian T4.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=18" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=20" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Catapult targets" title="Catapult targets" /> Catapult targets</h1>
<div id="t_desc">If you send the catapults to a normal attack, you can see in the rally point which targets you set for the attack. This function was presented in Travian T4.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=19" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=21" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Manual on Nature and Natars" title="Manual on Nature and Natars" /> Manual on Nature and Natars</h1>
<div id="t_desc">With the help of this information in the manual, you can find a description of the forces of Nature and Natars.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=20" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=22" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+10
View File
@@ -0,0 +1,10 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Direct links placement" title="Direct links placement" /> Direct links placement</h1>
<div id="t_desc">The location of the Direct links is changing. In the original Travian T3.6 Direct links are placed in the right menu below the list of villages which is not entirely convenient. If this option is enabled then Direct links will be placed in the left menu that is much more convenient.</div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=21" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=23" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+12
View File
@@ -0,0 +1,12 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Medal Veteran Player" title="Medal Veteran Player" /> Medal Veteran Player</h1>
<div id="t_desc">The medal of which is awarded to players losing by the same email address of 3 or more years. Can be added to the profile description. This function was presented in Travian T4.</div>
<br><br>
<center><img src="gpack/travian_default/img/t/Veteran_Medal.jpg"></center>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=22" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=24" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+12
View File
@@ -0,0 +1,12 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Medal Veteran Player 5a" title="Medal Veteran Player 5a" /> Medal Veteran Player 5a</h1>
<div id="t_desc">The medal of which is awarded to players losing by the same email address of 5 or more years. Can be added to the profile description. This function was presented in Travian T4.</div>
<br><br>
<center><img src="gpack/travian_default/img/t/5year_medal.png"></center>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=23" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=25" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+12
View File
@@ -0,0 +1,12 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="Medal Veteran Player 10a" title="Medal Veteran Player 10a" /> Medal Veteran Player 10a</h1>
<div id="t_desc">The medal of which is awarded to players losing by the same email address of 10 or more years. Can be added to the profile description. This function was presented in Travian T4.</div>
<br><br>
<center><img src="gpack/travian_default/img/t/10_year_medal.png"></center>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=24" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="new features" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+27
View File
@@ -0,0 +1,27 @@
<h1><img class="unit ugeb" src="img/x.gif" alt="" title="" /> New features</h1>
<ul>
<li><a href="manual.php?typ=11&amp;gid=11">Display oasis in profile</a> <?php echo NEW_FUNCTIONS_OASIS ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=12">Alliance invitation message</a> <?php echo NEW_FUNCTIONS_ALLIANCE_INVITATION ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=13">New Alliance & Embassy Mechanics</a> <?php echo NEW_FUNCTIONS_EMBASSY_MECHANICS ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=14">New forum post message</a> <?php echo NEW_FUNCTIONS_FORUM_POST_MESSAGE ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=15">Tribes images in profile</a> <?php echo NEW_FUNCTIONS_TRIBE_IMAGES ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=16">MHs images in profile</a> <?php echo NEW_FUNCTIONS_MHS_IMAGES ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=17">Display artifact in profile</a> <?php echo NEW_FUNCTIONS_DISPLAY_ARTIFACT ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=18">Display WoW in profile</a> <?php echo NEW_FUNCTIONS_DISPLAY_WONDER ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=19">Vacation Mode</a> <?php echo NEW_FUNCTIONS_VACATION ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=20">Catapult targets</a> <?php echo NEW_FUNCTIONS_DISPLAY_CATAPULT_TARGET ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=21">Manual on Nature and Natars</a> <?php echo NEW_FUNCTIONS_MANUAL_NATURENATARS ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=22">Direct links placement</a> <?php echo NEW_FUNCTIONS_DISPLAY_LINKS ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=23">Medal Veteran Player</a> <?php echo NEW_FUNCTIONS_MEDAL_3YEAR ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=24">Medal Veteran Player 5a</a> <?php echo NEW_FUNCTIONS_MEDAL_5YEAR ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
<li><a href="manual.php?typ=11&amp;gid=25">Medal Veteran Player 10a</a> <?php echo NEW_FUNCTIONS_MEDAL_10YEAR ? "<b><font color='Green'>Enabled</font></b>" : "<b><font color='Red'>Disabled</font></b>"; ?></li>
</ul>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=25" title="back" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?s=1" title="Overview" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=11" title="forward" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />
+7 -3
View File
@@ -15,7 +15,7 @@
<?php } ?>
</ul>
<br />
<br>
<li><a href="manual.php?typ=3&amp;s=1">The buildings</a></li>
@@ -25,8 +25,12 @@
<li><a href="manual.php?typ=3&amp;s=3">Infrastructure</a></li>
</ul>
<br />
<li><a href="anleitung.php?s=3" target="_blank">Travian FAQ <img class="external" src="img/x.gif" alt="new window" title="new window" /></a><br>This ingame help just gives you brief information. More information is available at the <a href="http://travian.wikia.com/wiki/Travian_Wiki" target=blank>Fandom Travian Wiki</a>.</li><br />
<br>
<?php if(NEW_FUNCTIONS_OASIS || NEW_FUNCTIONS_ALLIANCE_INVITATION || NEW_FUNCTIONS_EMBASSY_MECHANICS || NEW_FUNCTIONS_FORUM_POST_MESSAGE || NEW_FUNCTIONS_TRIBE_IMAGES || NEW_FUNCTIONS_MHS_IMAGES || NEW_FUNCTIONS_DISPLAY_ARTIFACT || NEW_FUNCTIONS_DISPLAY_WONDER || NEW_FUNCTIONS_VACATION || NEW_FUNCTIONS_DISPLAY_CATAPULT_TARGET || NEW_FUNCTIONS_MANUAL_NATURENATARS || NEW_FUNCTIONS_DISPLAY_LINKS || NEW_FUNCTIONS_MEDAL_3YEAR || NEW_FUNCTIONS_MEDAL_5YEAR || NEW_FUNCTIONS_MEDAL_10YEAR) { ?>
<li><a href="manual.php?typ=13&amp;s=31">New features</a><br>These are new features that you will not find in the real version of the game Travian T3.6. Here you can get acquainted with all new features in more detail.</li><br>
<?php } ?>
<li><a href="anleitung.php?s=3" target="_blank">Travian FAQ <img class="external" src="img/x.gif" alt="new window" title="new window" /></a><br>This ingame help just gives you brief information. More information is available at the <a href="http://travian.wikia.com/wiki/Travian_Wiki" target=blank>Fandom Travian Wiki</a>.</li>
</ul>
<map id="nav" name="nav">
<area href="manual.php?typ=3&amp;s=3" title="back" coords="0,0,45,18" shape="rect" alt="" />
+3
View File
@@ -106,6 +106,9 @@ if(NEW_FUNCTIONS_MEDAL_3YEAR){
if(NEW_FUNCTIONS_MEDAL_5YEAR){
$profiel = preg_replace("/\[#g2301]/is",'<img src="'.$gpack.'img/t/5year_medal.png" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Veteran Player 5a<br><br>Medal achieved for playing 5 years of Travian.</td></tr></table>\')">', $profiel, 1);
}
if(NEW_FUNCTIONS_MEDAL_10YEAR){
$profiel = preg_replace("/\[#g2302]/is",'<img src="'.$gpack.'img/t/10_year_medal.png" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Veteran Player 10a<br><br>Medal achieved for playing 10 years of Travian.</td></tr></table>\')">', $profiel, 1);
}
//de lintjes
+9
View File
@@ -185,6 +185,15 @@ MEDAL CATEGORY:
</tr>";
}
if(NEW_FUNCTIONS_MEDAL_10YEAR){
echo "<tr>
<td>veteran_10a</td>
<td></td>
<td></td>
<td>[#g2302]</td>
</tr>";
}
// Added by Shadow - cata7007@gmail.com / Skype : cata7007
if(NEW_FUNCTIONS_TRIBE_IMAGES){
if($session->userinfo['tribe'] == 1){
+1 -1
View File
@@ -54,7 +54,7 @@ div.c1 {text-align: center}
// no PLUS needed for Support
if ($_SESSION['id_user'] != 1) {
?>
<a href="plus.php?id=3"><!--<?php echo SERVER_NAME; ?>-->Travian <b><span class="plus_g">P</span><span class="plus_o">l</span><span class="plus_g">u</span><span class="plus_o">s</span></b></a>
<a href="plus.php?id=3"><!--<?php echo SERVER_NAME; ?>-->TravianZ <b><span class="plus_g">P</span><span class="plus_o">l</span><span class="plus_g">u</span><span class="plus_o">s</span></b></a>
<?php
}
// no support for support :-D
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

+1
View File
@@ -314,6 +314,7 @@ define("NEW_FUNCTIONS_MANUAL_NATURENATARS", %NEW_FUNCTIONS_MANUAL_NATURENATARS%)
define("NEW_FUNCTIONS_DISPLAY_LINKS", %NEW_FUNCTIONS_DISPLAY_LINKS%);
define("NEW_FUNCTIONS_MEDAL_3YEAR", %NEW_FUNCTIONS_MEDAL_3YEAR%);
define("NEW_FUNCTIONS_MEDAL_5YEAR", %NEW_FUNCTIONS_MEDAL_5YEAR%);
define("NEW_FUNCTIONS_MEDAL_10YEAR", %NEW_FUNCTIONS_MEDAL_10YEAR%);
//////////////////////////////////////////
+1
View File
@@ -157,6 +157,7 @@ class Process {
$findReplace["%NEW_FUNCTIONS_DISPLAY_LINKS%"] = $_POST['new_functions_display_links'];
$findReplace["%NEW_FUNCTIONS_MEDAL_3YEAR%"] = $_POST['new_functions_medal_3year'];
$findReplace["%NEW_FUNCTIONS_MEDAL_5YEAR%"] = $_POST['new_functions_medal_5year'];
$findReplace["%NEW_FUNCTIONS_MEDAL_10YEAR%"] = $_POST['new_functions_medal_10year'];
fwrite($gameConfig, str_replace(array_keys($findReplace), array_values($findReplace), $text));
+9
View File
@@ -398,6 +398,15 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
<option value="false" selected="selected">false</option>
</select>
</td>
</tr>
<tr>
<td><span class="f9 c6">Medal Veteran Player 10a:</span></td>
<td>
<select name="new_functions_medal_10year">
<option value="true">true</option>
<option value="false" selected="selected">false</option>
</select>
</td>
</tr>
</table>
</p>