game/modules_data/location/fight-club.database.php
2022-06-07 00:30:34 +03:00

204 lines
8.1 KiB
PHP

<?php
if(!defined('GAME')){
die();
}
$StaticMSG = array(
'your-position'=>iconv("WINDOWS-1251", "UTF-8", 'Âàøå ìåñòîïîëîæåíèå'),
'move-bk'=>iconv("WINDOWS-1251", "UTF-8", 'Ïðîõîä ÷åðåç &quot;<b>Áîéöîâñêèé êëóá</b>&quot;'),
'move-zalu4'=>iconv("WINDOWS-1251", "UTF-8", 'Ïðîõîä ÷åðåç &quot;<b>Çàë ïàëàäèíîâ</b>&quot;'),
'move-map_halls'=>iconv("WINDOWS-1251", "UTF-8", 'Ïðîõîä ÷åðåç &quot;<b>Çàëû</b>&quot;'),
'move-to-sek4'=>iconv("WINDOWS-1251", "UTF-8", 'Ïðîõîä ÷åðåç &quot;<b>Ðûöàðñêèé</b>&quot; èëè &quot;<b>Òîðãîâûé</b>&quot; çàë'),
'move-sek5'=>iconv("WINDOWS-1251", "UTF-8", 'Ïðîõîä ÷åðåç &quot;<b>Òîðãîâûé çàë</b>&quot;'),
'move-sek6'=>iconv("WINDOWS-1251", "UTF-8", 'Ïðîõîä ÷åðåç &quot;<b>Ðûöàðñêèé çàë</b>&quot;'),
);
$Response = array('status'=>'update');
switch($u->room['file']){
case'bk':// Áîéöîâñêèé êëóá
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig',
'left'=>'241',
'top'=>'128',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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(
array(iconv("WINDOWS-1251", "UTF-8", 'Âîçâðàò'),'main.php?homeworld=true'),
array(iconv("WINDOWS-1251", "UTF-8", 'Êàçèíî'),'main.php?loc=1.180.0.225'),
array(iconv("WINDOWS-1251", "UTF-8", 'Êàðòà êëóáà'),'main.php?clubmap=true'),
array(iconv("WINDOWS-1251", "UTF-8", 'Ôîðóì'),"window.open('https://" . $c['forum'] . "/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')"),
array(iconv("WINDOWS-1251", "UTF-8", 'Ïîäñêàçêà'),"window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')")
)
);
break;
case'zv1':// Çàë Âîèíîâ 1
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig',
'left'=>'154',
'top'=>'148',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;
case'zv2':// Çàë Âîèíîâ 2
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig',
'left'=>'395',
'top'=>'142',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;
case'zv3':// Çàë Âîèíîâ 3
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig',
'left'=>'337',
'top'=>'79',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;
case'zv4':// Áóäóàð
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig',
'left'=>'139',
'top'=>'79',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;
case'zalu':// Çàëû
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig1',
'left'=>'337',
'top'=>'117',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;
case'zalu_pal':// Çàëû
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig1',
'left'=>'163',
'top'=>'28',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;
case'bk2':// Çàëû
$Response = array(
'status'=>'success',
'location'=>array(
'bg'=>'navig3',
'left'=>'162',
'top'=>'125',
'name'=>iconv("WINDOWS-1251", "UTF-8", $u->room['name']),
'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;