mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-13 16:16:07 +00:00
@@ -837,8 +837,8 @@ class MYSQLi_DB implements IDbConnection {
|
||||
// update cached values
|
||||
if ($ret = mysqli_query($this->dblink,$q)) {
|
||||
foreach ($field as $index => $fieldName) {
|
||||
if (isset(self::$fieldsCache[$ref.$switch][$fieldName]))
|
||||
self::$fieldsCache[$ref.$switch][$fieldName] = $value[$index];
|
||||
if (isset(self::$fieldsCache[$ref.($switch ? 0 : 1)][$fieldName]))
|
||||
self::$fieldsCache[$ref.($switch ? 0 : 1)][$fieldName] = $value[$index];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3622,7 +3622,7 @@ class MYSQLi_DB implements IDbConnection {
|
||||
$array2 = $this->getVillage(0, 4);
|
||||
$vill = $array2['wref'];
|
||||
|
||||
if(mysqli_num_rows(mysqli_query($this->dblink,$q)) > 0){
|
||||
if ($array && count($array)){
|
||||
foreach($array as $village){
|
||||
$coor2 = $this->getCoor($village['wref']);
|
||||
$max = 2 * WORLD_MAX + 1;
|
||||
|
||||
@@ -196,7 +196,7 @@ define("Q11_ORDER","Order:</p>Look for the coordinates of ");
|
||||
define("Q11_ORDER1","and enter them here.");
|
||||
define("Q11_RESP","Exactly, there ");
|
||||
define("Q11_RESP1"," Village! As many resources as you reach this village. Well, almost as much ...");
|
||||
define("Q11_BUTN","completar misión");
|
||||
define("Q11_BUTN","complete task");
|
||||
|
||||
define("Q12","Task 12: Cranny");
|
||||
define("Q12_DESC","It's getting time to erect a cranny. The world of <?php echo SERVER_NAME; ?> is dangerous.<br \/><br \/>Many players live by stealing other players' resources. Build a cranny to hide some of your resources from enemies.");
|
||||
@@ -1262,7 +1262,7 @@ define("WWVILLAGE","WW village");
|
||||
$lang['screenshots']['title6']="Statistics";
|
||||
$lang['screenshots']['desc6']="View your ranking in statistics";
|
||||
$lang['screenshots']['title7']="Weapons or dough";
|
||||
$lang['screenshots']['desc7']="You can choose to play as military or economy";
|
||||
|
||||
$lang['screenshots']['desc7']="You can choose to play as military or economy";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user