mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-23 02:17:05 +08:00
some farmlist updates and fix quest skip waiting time
This commit is contained in:
@@ -95,7 +95,7 @@ $vdata = $database->getVillage($towref);
|
||||
<label for="slot<?php echo $id; ?>">
|
||||
<?php
|
||||
$type = $database->getVillageType2($towref);
|
||||
$type = $oasistype['oasistype'];
|
||||
$oasistype = $type['oasistype'];
|
||||
if($oasistype != 0){
|
||||
?>
|
||||
<span class="coordinates coordinatesWithText">
|
||||
@@ -104,7 +104,7 @@ $vdata = $database->getVillage($towref);
|
||||
<span class="coordinateY">(<?php echo $x; ?></span>
|
||||
<span class="coordinatePipe">|</span>
|
||||
<span class="coordinateX"><?php echo $y; ?>)</span>
|
||||
</span></span><?php}else{?>
|
||||
</span></span><?php;}else{?>
|
||||
<span class="coordinates coordinatesWithText">
|
||||
<span class="coordText"><?php echo $vdata['name']; ?></span>
|
||||
</span>
|
||||
|
||||
@@ -11,14 +11,14 @@ $WrefCoor = $database->getCoor($Wref);
|
||||
$WrefX = $WrefCoor['x'];
|
||||
$WrefY = $WrefCoor['y'];
|
||||
$type = $database->getVillageType2($Wref);
|
||||
$oasistype = $to['oasistype'];
|
||||
$oasistype = $type['oasistype'];
|
||||
$vdata = $database->getVillage($Wref);
|
||||
}elseif($_POST['x']!="" && $_POST['y']!="" && is_numeric($_POST['x']) && is_numeric($_POST['y'])){
|
||||
$Wref = $database->getVilWref($_POST['x'], $_POST['y']);
|
||||
$WrefX = $_POST['x'];
|
||||
$WrefY = $_POST['y'];
|
||||
$type = $database->getVillageType2($Wref);
|
||||
$oasistype = $to['oasistype'];
|
||||
$oasistype = $type['oasistype'];
|
||||
$vdata = $database->getVillage($Wref);
|
||||
}
|
||||
if($_POST['x']=="" && $_POST['y']=="" && $_POST['target_id'] == ""){
|
||||
@@ -126,7 +126,7 @@ foreach($arraywref as $row){
|
||||
$towref = $row["towref"];
|
||||
$tocoor = $database->getCoor($towref);
|
||||
$totype = $database->getVillageType2($towref);
|
||||
$tooasistype = $to['oasistype'];
|
||||
$tooasistype = $type['oasistype'];
|
||||
if($tooasistype == 0){
|
||||
$tovname = $database->getVillageField($towref, 'name');
|
||||
}else{
|
||||
|
||||
@@ -14,14 +14,14 @@ $WrefCoor = $database->getCoor($Wref);
|
||||
$WrefX = $WrefCoor['x'];
|
||||
$WrefY = $WrefCoor['y'];
|
||||
$type = $database->getVillageType2($Wref);
|
||||
$oasistype = $to['oasistype'];
|
||||
$oasistype = $type['oasistype'];
|
||||
$vdata = $database->getVillage($Wref);
|
||||
}elseif($_POST['x']!="" && $_POST['y']!="" && is_numeric($_POST['x']) && is_numeric($_POST['y'])){
|
||||
$Wref = $database->getVilWref($_POST['x'], $_POST['y']);
|
||||
$WrefX = $_POST['x'];
|
||||
$WrefY = $_POST['y'];
|
||||
$type = $database->getVillageType2($Wref);
|
||||
$oasistype = $to['oasistype'];
|
||||
$oasistype = $type['oasistype'];
|
||||
$vdata = $database->getVillage($Wref);
|
||||
}
|
||||
$troops = "".$_POST['t1']."+".$_POST['t2']."+".$_POST['t3']."+".$_POST['t4']."+".$_POST['t5']."+".$_POST['t6']."+".$_POST['t7']."+".$_POST['t8']."+".$_POST['t9']."+".$_POST['t10']."";
|
||||
@@ -134,7 +134,7 @@ foreach($arraywref as $row){
|
||||
$towref = $row["towref"];
|
||||
$tocoor = $database->getCoor($towref);
|
||||
$totype = $database->getVillageType2($towref);
|
||||
$tooasistype = $to['oasistype'];
|
||||
$tooasistype = $type['oasistype'];
|
||||
if($tooasistype == 0){
|
||||
$tovname = $database->getVillageField($towref, 'name');
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user