".nick::id($user['id'])->full(1)." и ".nick::id($bot)->full(1).""; addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
"); mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); addchp ('Внимание! На вас напал "'.$bots[$rbot].'". ','{[]}'.nick::id($user["id"])->short().'{[]}'); } if($user['battle'] > 0) { header('location: fbattle.php'); die(); } $les_login = mysql_fetch_array(mysql_query("SELECT * FROM `les_game` WHERE `owner` = '".$user['id']."' LIMIT 1")); $rooms = array("A1" => array('20', '', 'A2', '', 'B1'), "A2" => array('15', 'A1', 'A3', '', ''), "A3" => array('15', 'A2', '', '', ''), "A4" => array('15', '', 'A5', '', 'B4'), "A5" => array('15', 'A4', '', '', 'B5'), "A6" => array('15', '', 'A7', '', 'B6'), "A7" => array('15', 'A6', 'A8', '', ''), "A8" => array('15', 'A7', '', '', 'B8'), "B1" => array('20', '', '', 'A1', ''), "B2" => array('15', '', 'B3', '', 'C2'), "B3" => array('15', 'B2', 'B4', '', ''), "B4" => array('15', 'B3', '', 'A4', ''), "B5" => array('15', '', 'B6', 'A5', ''), "B6" => array('15', 'B5', 'B7', 'A6', ''), "B7" => array('15', 'B6', '', '', 'C7'), "B8" => array('15', '', '', 'A8', 'C8'), "C1" => array('20', '', '', '', 'D1'), "C2" => array('15', '', 'C3', 'B2', 'D2'), "C3" => array('15', 'C2', '', '', 'D3'), "C4" => array('15', '', '', '', 'D4'), "C5" => array('15', '', '', '', 'D5'), "C6" => array('15', '', 'C7', '', ''), "C7" => array('15', 'C6', 'C8', 'B7', ''), "C8" => array('15', 'C7', '', 'B8', 'D8'), "D1" => array('20', '', 'D2', 'C1', 'E1'), "D2" => array('15', 'D1', 'D3', 'C2', 'E2'), "D3" => array('15', 'D2', 'D4', 'C3', 'E3'), "D4" => array('15', 'D3', 'D5', 'C4', 'E4'), "D5" => array('15', 'D4', '', 'C5', ''), "D6" => array('15', '', 'D7', '', 'E6'), "D7" => array('15', 'D6', '', '', ''), "D8" => array('15', '', '', 'C8', 'E8'), "E1" => array('20', '', 'E2', 'D1', 'F1'), "E2" => array('15', 'E1', 'E3', 'D2', 'F2'), "E3" => array('15', 'E2', 'E4', 'D3', 'F3'), "E4" => array('15', 'E3', 'E5', 'D4', 'F4'), "E5" => array('15', 'E4', 'E6', '', 'F5'), "E6" => array('15', 'E5', '', 'D6', ''), "E7" => array('15', '', 'E8', '', 'F7'), "E8" => array('15', 'E7', '', 'D8', 'F8'), "F1" => array('20', '', 'F2', 'E1', 'G1'), "F2" => array('15', 'F1', 'F3', 'E2', 'G2'), "F3" => array('15', 'F2', 'F4', 'E3', 'G3'), "F4" => array('15', 'F3', 'F5', 'E4', 'G4'), "F5" => array('15', 'F4', '', 'E5', 'G5'), "F6" => array('15', '', '', '', 'G6'), "F7" => array('15', '', '', 'E7', 'G7'), "F8" => array('15', '', '', 'E8', 'G8'), "G1" => array('20', '', '', 'F1', 'H1'), "G2" => array('15', '', '', 'F2', ''), "G3" => array('15', '', '', 'F3', ''), "G4" => array('15', '', '', 'F4', ''), "G5" => array('15', '', 'G6', 'F5', ''), "G6" => array('15', 'G5', 'G7', 'F6', ''), "G7" => array('15', 'G6', 'G8', 'F7', ''), "G8" => array('15', 'G7', '', 'F8', 'H8'), "H1" => array('20', '', 'H2', 'G1', 'I1'), "H2" => array('15', 'H1', '', '', 'I2'), "H3" => array('15', '', '', '', 'I3'), "H4" => array('15', '', 'H5', '', 'I4'), "H5" => array('15', 'H4', '', '', 'I5'), "H6" => array('15', '', 'H7', '', 'I6'), "H7" => array('15', 'H6', '', '', 'I7'), "H8" => array('15', 'H7', '', 'G8', 'I8'), "I1" => array('20', '', 'I2', 'H1', ''), "I2" => array('15', 'I1', 'I3', 'H2', ''), "I3" => array('15', 'I2', 'I4', 'H3', ''), "I4" => array('15', 'I3', 'I5', 'H4', ''), "I5" => array('15', 'I4', 'I6', 'H5', ''), "I6" => array('15', 'I5', 'I7', 'H6', ''), "I7" => array('15', 'I6', 'I8', 'H7', ''), "I8" => array('15', 'I7', '', 'H8', '')); $time = $_SESSION['time']-time(); if($time < 0) { $time = 0; } if($_GET["v"] && $_GET["v"] != '' && $time <= 0 && $rooms[$les_login['room']][1] == $_GET["v"]) { $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; mysql_query("UPDATE `les_game` SET `room` = '".$_GET["v"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); $_GET["v"] = 0; } if($_GET["n"] && $_GET["n"] != '' && $time <= 0 && $rooms[$les_login['room']][2] == $_GET["n"]) { $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; mysql_query("UPDATE `les_game` SET `room` = '".$_GET["n"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); $_GET["n"] = 0; } if($_GET["l"] && $_GET["l"] != '' && $time <= 0 && $rooms[$les_login['room']][3] == $_GET["l"]) { $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; mysql_query("UPDATE `les_game` SET `room` = '".$_GET["l"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); $_GET["l"] = 0; } if($_GET["p"] && $_GET["p"] != '' && $time <= 0 && $rooms[$les_login['room']][4] == $_GET["p"]) { $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; mysql_query("UPDATE `les_game` SET `room` = '".$_GET["p"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); $_GET["p"] = 0; } ///////////////Сбор///////////// if($_GET['res']) { $gss = mysql_fetch_array(mysql_query("SELECT * FROM `les_res` WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($_GET['res'])."' AND `kom` = '".$les_login['room']."' LIMIT 1")); if($gss) { $f = mysql_query("SELECT `koll` FROM `inventory` WHERE `owner` = '".$user['id']."' AND `type` = '200' AND `name` = '".$gss['name']."' LIMIT 1"); if($g = mysql_fetch_array($f)) { mysql_query("UPDATE `inventory` SET `koll` = (`koll`+1), `massa` = (`massa`+0.1) WHERE `owner` = '".$user['id']."' AND `type` = '200' AND `name` = '".$gss['name']."' LIMIT 1"); } else { $fo = mysql_query("INSERT INTO `inventory`(`name`, `koll`, `img`, `owner`, `type`, `massa`, `isrep`, `podzem`, `maxdur`, `present`) VALUES ('".$gss['name']."', '1', '".$gss['img']."', '".$user['id']."', '200', '0.1', '0', '1', '1', 'Лес')"); } mysql_query("DELETE FROM `les_res` WHERE `id` = '".$gss['id']."' LIMIT 1"); addchp ('Внимание! '.$user["login"].', поднял предмет "'.$gss['name'].'".', '{[]}'.nick::id($user["id"])->short().'{[]}'); echo "Вы подняли '".$gss['name']."'."; } else { echo " Кто-то оказался быстрее!";} } ?> )">

Лес

"; } ?>
Имя Hp Расположение
target=_blank title="Информация о "> /
Карта
Расположение :
Не собрано ресурсов :
"; } ?>