Remove starter quest

This commit is contained in:
lopar
2018-03-02 16:33:58 +02:00
parent 70a7ce3172
commit 031879acad
8 changed files with 2831 additions and 2308 deletions
+2 -18
View File
@@ -424,9 +424,6 @@ if ($user['room'] == 20) {
// shop
if ($_GET['got'] && $_GET['level2']) {
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
if ($user['first'] == 6) {
mysql_query("UPDATE `users` SET `kwest_shop_see`=`kwest_shop_see`+'1' WHERE `id`='" . $user['id'] . "'");
}
header('location: shop.php');
}
// repait
@@ -497,18 +494,10 @@ if ($user['room'] == 20) {
if ($_GET['got'] && $_GET['level5']) {
if ($user['align'] == 4) {
print "<script>alert('Хаосникам вход в банк запрещен!')</script>";
} else {
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
if ($user['first'] == 5) {
mysql_query("UPDATE `users` SET `kwest_bank_see`=`kwest_bank_see`+'1' WHERE `id`='" . $user['id'] . "'");
}
header('location: bank.php');
}
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
header('location: bank.php');
}
if ($_GET['got'] && $_GET['level16']) {
//if($user['login'] == 'SaulDin' || $user['login'] == 'Дед мазай'){
$effs = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$user['id']}' AND `type` = '21' LIMIT 1"));
if (isset($effs['id']))
print "<script>alert('Вход в БС под действием Силы Нейтралитета запрещен!')</script>";
@@ -516,9 +505,7 @@ if ($user['room'] == 20) {
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '31',`online`.`room` = '31' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
header('location: tower.php');
}
//}else{
print "<script>alert('На реконструкции!')</script>";
// }
}
@@ -680,9 +667,6 @@ elseif ($user['room'] == 2655) {
header('location: city.php?cp=1');
}
if ($_GET['got'] && $_GET['level5']) {
if ($user['first'] == 11) {
mysql_query("UPDATE `users` SET `kwest_see_znahar`=`kwest_see_znahar`+'1' WHERE `id`='" . $user['id'] . "'");
}
// print "<script>alert('Нанюхался трав. Пересматривает формулы')</script>";
mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;");
header('location: znahar.php');