2022-06-06 21:30:34 +00:00
|
|
|
<?php
|
|
|
|
if(!defined('GAME')){
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
$StaticMSG = array(
|
2023-01-10 17:26:14 +00:00
|
|
|
'your-position'=>'Ваше местоположение',
|
|
|
|
'move-bk'=>'Проход через "<b>Бойцовский клуб</b>"',
|
|
|
|
'move-zalu4'=>'Проход через "<b>Зал паладинов</b>"',
|
|
|
|
'move-map_halls'=>'Проход через "<b>Залы</b>"',
|
|
|
|
'move-to-sek4'=>'Проход через "<b>Рыцарский</b>" или "<b>Торговый</b>" зал',
|
|
|
|
'move-sek5'=>'Проход через "<b>Торговый зал</b>"',
|
|
|
|
'move-sek6'=>'Проход через "<b>Рыцарский зал</b>"',
|
2022-06-06 21:30:34 +00:00
|
|
|
);
|
|
|
|
$Response = array('status'=>'update');
|
|
|
|
switch($u->room['file']){
|
2023-01-10 16:29:32 +00:00
|
|
|
case'bk':// Бойцовский клуб
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig',
|
|
|
|
'left'=>'241',
|
|
|
|
'top'=>'128',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_bk','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_klub1','params'=>thisInfRm('1.180.0.15', NULL, true)),
|
|
|
|
array('id'=>'map_klub2','params'=>thisInfRm('1.180.0.225', NULL, true)),
|
|
|
|
array('id'=>'map_klub3','params'=>thisInfRm('1.180.0.2', NULL, true)),
|
|
|
|
array('id'=>'map_klub4','params'=>thisInfRm('1.180.0.4', NULL, true)),
|
|
|
|
array('id'=>'map_klub5','params'=>thisInfRm('1.180.0.5', NULL, true)),
|
|
|
|
array('id'=>'map_klub6','params'=>thisInfRm('1.180.0.16', NULL, true)),
|
|
|
|
array('id'=>'map_klub7','params'=>thisInfRm('1.180.0.9', NULL, true))
|
|
|
|
),
|
|
|
|
'buttons'=>array(
|
2023-01-10 17:26:14 +00:00
|
|
|
array('Возврат','main.php?homeworld=true'),
|
|
|
|
array('Казино','main.php?loc=1.180.0.225'),
|
|
|
|
array('Карта клуба','main.php?clubmap=true'),
|
|
|
|
array('Форум',"window.open('https://" . $c['forum'] . "/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')"),
|
|
|
|
array('Подсказка',"window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')")
|
2022-06-06 21:30:34 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'zv1':// Зал Воинов 1
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig',
|
|
|
|
'left'=>'154',
|
|
|
|
'top'=>'148',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_bk','params'=>thisInfRm('1.180.0.3', NULL, true)),
|
|
|
|
array('id'=>'map_klub1','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub2','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub3','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub4','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_klub5','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub6','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub7','params'=>array(false, $StaticMSG['move-bk']))
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'zv2':// Зал Воинов 2
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig',
|
|
|
|
'left'=>'395',
|
|
|
|
'top'=>'142',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_bk','params'=>thisInfRm('1.180.0.3', NULL, true)),
|
|
|
|
array('id'=>'map_klub1','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub2','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub3','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_klub4','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub5','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub6','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub7','params'=>array(false, $StaticMSG['move-bk']))
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'zv3':// Зал Воинов 3
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig',
|
|
|
|
'left'=>'337',
|
|
|
|
'top'=>'79',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_bk','params'=>thisInfRm('1.180.0.3', NULL, true)),
|
|
|
|
array('id'=>'map_klub1','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub2','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub3','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub4','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub5','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_klub6','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub7','params'=>array(false, $StaticMSG['move-bk']))
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'zv4':// Будуар
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig',
|
|
|
|
'left'=>'139',
|
|
|
|
'top'=>'79',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_bk','params'=>thisInfRm('1.180.0.3', NULL, true)),
|
|
|
|
array('id'=>'map_klub1','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub2','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub3','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub4','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub5','params'=>array(false, $StaticMSG['move-bk'])),
|
|
|
|
array('id'=>'map_klub6','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_klub7','params'=>array(false, $StaticMSG['move-bk']))
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'zalu':// Залы
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig1',
|
|
|
|
'left'=>'337',
|
|
|
|
'top'=>'117',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_halls','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_zalu3','params'=>array(false, $StaticMSG['move-zalu4'])),
|
|
|
|
array('id'=>'map_zalu4','params'=>thisInfRm('1.180.0.16', NULL, true)),
|
|
|
|
array('id'=>'map_zalu6','params'=>array(false, $StaticMSG['move-zalu4'])),
|
|
|
|
array('id'=>'map_zalu7','params'=>thisInfRm('1.180.0.3', NULL, true))
|
|
|
|
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'zalu_pal':// Залы
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig1',
|
|
|
|
'left'=>'163',
|
|
|
|
'top'=>'28',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_halls','params'=>thisInfRm('1.180.0.15', NULL, true)),
|
|
|
|
array('id'=>'map_zalu3','params'=>thisInfRm('1.180.0.xx', NULL, true)),
|
|
|
|
array('id'=>'map_zalu4','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_zalu6','params'=>thisInfRm('1.180.0.0', NULL, true)),
|
|
|
|
array('id'=>'map_zalu7','params'=>array(false, $StaticMSG['move-map_halls']))
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
2023-01-10 16:29:32 +00:00
|
|
|
case'bk2':// Залы
|
2022-06-06 21:30:34 +00:00
|
|
|
$Response = array(
|
|
|
|
'status'=>'success',
|
|
|
|
'location'=>array(
|
|
|
|
'bg'=>'navig3',
|
|
|
|
'left'=>'162',
|
|
|
|
'top'=>'125',
|
2023-01-10 17:26:14 +00:00
|
|
|
'name'=>$u->room['name'],
|
2022-06-06 21:30:34 +00:00
|
|
|
'tgo'=>($tmGo*10),
|
|
|
|
'tgo1'=>($tmGol*10)
|
|
|
|
),
|
|
|
|
'goto'=>array(
|
|
|
|
array('id'=>'map_2stair','params'=>array(false, $StaticMSG['your-position'])),
|
|
|
|
array('id'=>'map_sec1','params'=>thisInfRm('1.180.0.3', NULL, true)),
|
|
|
|
array('id'=>'map_sec2','params'=>thisInfRm('1.180.0.xx', NULL, true)),
|
|
|
|
array('id'=>'map_sec3','params'=>array(false, $StaticMSG['move-sek5'])),
|
|
|
|
array('id'=>'map_sec4','params'=>array(false, $StaticMSG['move-to-sek4'])),
|
|
|
|
array('id'=>'map_sec5','params'=>thisInfRm('1.180.0.221', NULL, true)),
|
|
|
|
array('id'=>'map_sec6','params'=>thisInfRm('1.180.0.224', NULL, true)),
|
|
|
|
array('id'=>'map_sec7','params'=>array(false, $StaticMSG['move-sek6']))
|
|
|
|
)
|
|
|
|
);
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
$Response;
|