pageLoadTimeStart(); /*-------------------------------------------------------*\ | ********* DO NOT REMOVE THIS COPYRIGHT NOTICE ********* | +---------------------------------------------------------+ | Developed by: Manni < manuel_mannhardt@web.de > | | Dzoki < dzoki.travian@gmail.com > | | Copyright: TravianX Project All rights reserved | \*-------------------------------------------------------*/ use App\Utils\AccessLogger; include_once("GameEngine/Village.php"); AccessLogger::logRequest(); if($session->goldclub == 0) { header("Location: plus.php?id=3"); exit; } if ( !empty( $_POST['type'] ) ) { if ( $_POST['type'] == 15 ) { header( "Location: " . $_SERVER['PHP_SELF'] . "?s=1&x=" . preg_replace( "/[^a-zA-Z0-9_-]/", "", $_POST['x'] ) . '&y=' . preg_replace( "/[^a-zA-Z0-9_-]/", "", $_POST['y'] ) ); exit; } elseif ( $_POST['type'] == 9 ) { header( "Location: " . $_SERVER['PHP_SELF'] . "?s=2&x=" . preg_replace( "/[^a-zA-Z0-9_-]/", "", $_POST['x'] ) . '&y=' . preg_replace( "/[^a-zA-Z0-9_-]/", "", $_POST['y'] ) ); exit; } elseif ( $_POST['type'] == 'both' ) { header( "Location: " . $_SERVER['PHP_SELF'] . "?s=3&x=" . preg_replace( "/[^a-zA-Z0-9_-]/", "", $_POST['x'] ) . '&y=' . preg_replace( "/[^a-zA-Z0-9_-]/", "", $_POST['y'] ) ); exit; } } ?> <?php echo SERVER_NAME ?> - Crop Finder gpack == null || GP_ENABLE == false) { echo " "; } else { echo " "; } ?>
wid; $coor2 = $database->getCoor($wref2); } ?>

Crop Finder



Cropper Type: /> 15 crop /> 9 crop /> both
Oasis Crop Bonus (at least):
Startposition: x: y:
dblink,"SELECT id, x, y, occupied, fieldtype FROM ".TB_PREFIX."wdata WHERE $fieldType"); if ( !empty( $_GET['x'] ) && is_numeric($_GET['x']) && !empty( $_GET['y'] ) && is_numeric($_GET['y'])) { $coor['x'] = $_GET['x']; $coor['y'] = $_GET['y']; } else { $wref = $village->wid; $coor = $database->getCoor($wref); } if ( !empty( $_GET['s'] ) && $_GET['s'] >= 1 && $_GET['s'] <= 3 ) { ?> getDistance($coor['x'], $coor['y'], $row['x'], $row['y']); $rows[$dist] = $row; } ksort($rows); foreach($rows as $row) { $field = $row['fieldtype'] == 1 ? '9c' : '15c'; echo ""; if($row['occupied'] == 0) { echo ""; echo ""; echo ""; } else { echo ""; echo ""; echo ""; } echo ""; echo ""; } ?>
Crop Finder - 9c and 15c
Type Coordinates Owner Occupied Distance Oasis
" . $field . "getMapCheck($row['id'])."\">".ABANDVALLEY." (".$row['x']."|".$row['y'].")-".UNOCCUPIED."getMapCheck($row['id'])."\">".$database->getVillageField($row['id'], "name")." (".$row['x']."|".$row['y'].")getVillageField($row['id'], "owner")."\">".$database->getUserField($database->getVillageField($row['id'], "owner"), "username", 0)."".OCCUPIED."
".$database->getDistance($coor['x'], $coor['y'], $row['x'], $row['y'])."
-







"; include("Templates/links.tpl"); } ?>
pageLoadTimeEnd()-$start_timer)*1000); ?> ms