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
+1 -10
View File
@@ -392,9 +392,6 @@ if($d['mass'] > get_meshok() && $_GET['cp']) {
// 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
@@ -493,9 +490,6 @@ if($d['mass'] > get_meshok() && $_GET['cp']) {
}
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');
}
}
@@ -687,10 +681,7 @@ 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>";
// 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');