mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 07:11:02 +00:00
General fixes
+Fixed a bug that didn't delete artifacts when a player deleted his account +Added "(artifact)" if a village has an artifact in the village overview +Added the artifact section in the multihunter panel (return to natars doesn't work yet) NOTE: To play this version of the game, you have to run this query first (where "s1_" is the prefix of your server): ALTER TABLE `s1_artefacts` ADD `del` TINYINT(1) NULL DEFAULT '0' AFTER `lastupdate`; ALTER TABLE `testtravian`.`s1_artefacts` ADD INDEX `active-owner-conquered-del` (`active`, `owner`, `conquered`, `del`);
This commit is contained in:
@@ -166,10 +166,12 @@ if($displayarray['vac_mode'] == 1) echo "<tr><th colspan='2'><font color='Maroon
|
||||
</thead><tbody>
|
||||
<?php
|
||||
foreach($varray as $vil) {
|
||||
$hasArtifact = $database->villageHasArtefact($vil['wref']);
|
||||
$coor = $database->getCoor($vil['wref']);
|
||||
echo "<tr><td class=\"nam\"><a href=\"karte.php?d=".$vil['wref']."&c=".$generator->getMapCheck($vil['wref'])."\">".$vil['name']."</a>";
|
||||
if($vil['capital'] == 1) echo "<span class=\"none3\"> (capital)</span>";
|
||||
echo "<td class=\"hab\">";
|
||||
if($vil['capital'] == 1) echo "<span class=\"none3\"> (capital) </span>";
|
||||
if($hasArtifact) echo "<span class=\"none3\"> (artifact) </span>";
|
||||
echo "<td class=\"hab\">";
|
||||
|
||||
// OASIS PART - must to be activated from install part
|
||||
|
||||
|
||||
Reference in New Issue
Block a user