Merge remote-tracking branch 'origin/dev-php74' into dev-php74

# Conflicts:
#	_incl_data/class/Battle.php
#	_incl_data/class/FightRequest.php
#	_incl_data/class/Filter.php
#	_incl_data/class/Magic.php
#	_incl_data/class/Priems.php
#	_incl_data/class/Quests.php
#	_incl_data/class/Season.php
#	_incl_data/class/User.php
#	_incl_data/class/__db_connect.php
#	_incl_data/class/priem/244.php
#	_incl_data/class/priem/263.php
#	_incl_data/class/priem/265.php
#	_incl_data/class/priem/267.php
#	buttons.php
#	cron_bs.php
#	cron_dungeon_getOut.php
#	cron_zv.php
#	dn_editor.php
#	dn_editor_bots.php
#	dn_editor_botsAll.php
#	dn_editor_bots_itms.php
#	enter.php
#	hmonitor.php
#	logs.php
#	main.php
#	main_bot.php
#	map.php
#	modules_data/_inv.php
#	modules_data/_umenie.php
#	modules_data/btl_.php
#	modules_data/location/btl_.php
#	modules_data/titul.php
#	myexp.php
#	obraz.php
#	online.php
#	register.php
#	ruin_characteristics.php
#	spam.php
This commit is contained in:
Ivor Barhansky 2022-12-19 21:40:33 +02:00
commit a53eab9795
141 changed files with 5910 additions and 48703 deletions

View File

@ -1 +1 @@
deny from all deny from all

View File

@ -5,81 +5,18 @@ ini_set('display_errors', 'Off');
setlocale(LC_CTYPE, "ru_RU.CP1251"); setlocale(LC_CTYPE, "ru_RU.CP1251");
date_default_timezone_set('Europe/Moscow'); date_default_timezone_set('Europe/Moscow');
$c = [ header('Cache-Control: no-cache, no-store, must-revalidate');
'ver' => '1.8.3.7', header('Pragma: no-cache');
]; header('Expires: 0');
/* Конфигурации игры */
$c['name'] = 'Бойцовский Клуб';
$c['title'] = '«' . $c['name'] . '» - Бесплатная,браузерная онлайн игра'; //Название игры
$c['title2'] = ' - Бесплатная, онлайн игра посвященная сражениям и магии!';
$c['title3'] = $c['name'];
$c['keys'] = $c['name'] . ', combats.com, ' . $c['name'] . ' игра, ' . $c['name'] . ' играть, игра ' . $c['name'] . ', старый ' . $c['name'] . ', ' . $c['name'] . ' онлайн игра, ' . $c['name'] . ' браузерная игра, играть в ' . $c['name'] . ', игра бк, бк игра, старый бк, играть в бк, бк онлайн игра, новый бк, Легендарный ' . $c['name'] . ', легендарный бк, combats, комбатс, combats ru, combats com, OldBK, oldbk ru, oldbk com, олдбк, old bk, олд бк, mycombats, rebk, recombats, oldcombats, obk2'; //Ключевые слова META
$c['desc'] = '«' . $c['name'] . это бесплатная увлекательная браузерная онлайн игра 2004-2009г, в которой сконцентрировано все самое лучшее от современных онлайн игр. В этой браузерной игре заложены самые интересные традиции всем известной онлайн игры под названием «' . $c['name'] . ' 2004-2009», которая, кстати, стала первооткрывателем всех браузерных игр.'; //Описание META
//Сервера require_once 'mysql_override.php';
$c['host'] = 'new-combats.com';
$c['forum'] = 'forum.' . $c['host'];
$c['img'] = 'img' . $c['host'];
$c['thiscity'] = 'capitalcity';
$c['capitalcity'] = $c['host'];
$c['abandonedplain'] = $c['host'];
$c['exit'] = '<script>top.location="https://' . $c['host'] . '/";</script><noscript><meta http-equiv="refresh" content="0; URL=https://' . $c['host'] . '/"></noscript>';
//Валюта // Для всех доработок, пока нет автозагрузки классов.
$c['curency_name'] = 'RUB';
$c['curency_value'] = 36;
//Бот клон
$c['bot_level'] = 0; // до какого лвл бот (включительно)
$c['propsk_die'] = 0; //Смерть при пропуске ходов, 0 - выкл. , >= 1 - количество пропусков до смерти при нападении
//Скупка
$c['exp'] = 0; //бонус опыта
$c['shop_type1'] = 100; //в гос НЕ ТРОГАТЬ
$c['shop_type2'] = 90; //в березку НЕ ТРОГАТЬ
$c['shop_all'] = 0; //Скупка на все! , 0 - сделать для отключения скупки.
$c['shop_all_type1'] = 100; //Скупка только с госе! , 0 - сделать для отключения скупки.
$c['shop_all_type2'] = 100; //Скупка только с березки! , 0 - сделать для отключения скупки.
//
$c['nosanich'] = true; //Странички Саныча не выпадают - true , выпадают - false
$c['zuby'] = false; //зубы
$c['limitedexp'] = false; //лимит опыта
$c['infinity5level'] = false; //вечные 5 уровни
$c['expstop'] = 2999999; //9; //Опыт на котором останавливаемся 11 149999999
$c['expstopu'] = 2999999; //Опыт на котором останавливаемся
$c['noobgade'] = false; //нуб квест (пещера)
$c['bonusonline'] = true; //бонус за онлайн
$c['level_ransfer'] = 8; //С какого уровня разрешены передачи
$c['znahar'] = true; //бесплатный знахарь
$c['nolevel'] = false; //лимитирование уровней
$c['noitembuy'] = false; //Не требует ресурсы для покупки
$c['effz'] = 0; //Скольким секундам равен заряд
$c['money_haot'] = true; //кр за хаоты
$c['crtoecr'] = 500; //Курс обмена кр на екр (если 0, то выключено)
$c['ecrtocr'] = 200; //Курс обмена екр на кр
$c['bonuslevel'] = true; //Бонус уровня
$c['bonussocial'] = false; //Бонус социальный
$c['w'] = date('w');
$c['m'] = date('m');
$code = '1';
$c['counters'] = '';
$c['counters_noFrm'] = '';
$c['securetime'] = 0; //Время последнего возможного взлома персов (подбор пароля по базам данных других игр)
$c['copyright'] = 'Copyright © ' . date('Y') . ' « Новый Бойцовский Клуб »';
if (isset($_GET['version'])) {
die('Version: ' . $c['ver']);
}
// Для всех доработок, пока нет автозагрузки классов.
require_once 'class/Insallah/Config.php'; require_once 'class/Insallah/Config.php';
// Попробуем в автозагрузку. // Попробуем в автозагрузку.
// Никогда не заработает с такими названиями классов и файлов! // Никогда не заработает с такими названиями классов и файлов!
// "На потом." // "На потом."
spl_autoload_register(function ($className) { spl_autoload_register(function ($className) {
# 1 with namespaces # 1 with namespaces
# 2 without # 2 without
@ -94,3 +31,9 @@ spl_autoload_register(function ($className) {
} }
} }
}); });
$code = '1';
$c = (new \Core\Config())->get();
if (isset($_GET['version'])) {
die('Version: ' . $c['ver']);
}

45
_incl_data/autoload.php Normal file
View File

@ -0,0 +1,45 @@
<?php
const GAME = true; // Для совместимости с этой "защитой".
const GAME_VERSION = 'alpha-7.4';
// Новая автозагрузка.
// ВНИМАНИЕ! Не введено в эксплуатацию!
require_once 'mysql_override.php';
spl_autoload_register(function (string $className) {
# 1 with namespaces
# 2 without
$fileName = [
__DIR__ . '/class/' . str_replace('\\', DIRECTORY_SEPARATOR, $className . '.php'),
__DIR__ . '/class/' . $className . '.php'
];
foreach ($fileName as $file) {
if (file_exists($file)) {
require_once $file;
break;
}
}
});
spl_autoload_register(function (string $classname) {
$classMap = [
'NewCombats' => __DIR__ . '/class/',
'Insallah' => __DIR__ . '/class/Insallah/',
];
$parts = explode('\\', $classname);
$namespace = array_shift($parts);
$classFile = array_pop($parts) . '.php';
if (!array_key_exists($namespace, $classMap)) {
return;
}
$path = implode(DIRECTORY_SEPARATOR, $parts);
$file = $classMap[$namespace] . $path . DIRECTORY_SEPARATOR . $classFile;
if (!file_exists($file) && !class_exists($classname)) {
return;
}
require_once $file;
});

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,40 @@
<?php
namespace Core;
use PHPMailer;
class Mail
{
public static function send($to, $message, $subject = 'Áîéöîâñêèé êëóá')
{
require dirname(__DIR__) . '/mail/class.phpmailer.php';
$message = mb_convert_encoding($message, 'UTF-8', 'CP1251');
$subject = mb_convert_encoding($subject, 'UTF-8', 'CP1251');
$mail = new PHPMailer;
$mail->IsSMTP(); // Set mailer to use SMTP
$mail->Host = 'smtp.mail.yahoo.com'; // Specify main and backup server
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'newcombats@yahoo.com'; // SMTP username
$mail->Password = 'uqcdbnsoagxcyysh';
$mail->SMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted
$mail->Port = 587;
$mail->CharSet = 'UTF-8';
$mail->From = 'newcombats@yahoo.com';
$mail->FromName = mb_convert_encoding('Áîéöîâñêèé Êëóá', 'UTF-8', 'CP1251');
$mail->AddAddress($to); // Add a recipient
$mail->IsHTML(true); // Set email format to HTML
$mail->Subject = $subject;
$mail->Body = '<div>' . $message . '</div>';
$mail->AltBody = $message;
if (!$mail->Send()) {
return 'Message could not be sent. Mailer Error: ' . $mail->ErrorInfo;
}
return 1;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,159 +0,0 @@
<?php
class Filter
{
public function str_count($str, $col)
{
if (strlen($str) > $col) {
$str = substr($str, 0, $col);
}
return ($str);
}
//
//Ñìàéëèêè
private $sm = ["laugh" => 1, "fingal" => 1, "eek" => 1, "smoke" => 1, "hi" => 1, "bye" => 1, "king" => 1, "king2" => 1, "boks2" => 1, "boks" => 1, "gent" => 1, "lady" => 1, "tongue" => 1, "smil" => 1, "rotate" => 1, "ponder" => 1, "bow" => 1, "angel" => 1, "angel2" => 1, "hello" => 1, "dont" => 1, "idea" => 1, "mol" => 1, "super" => 1, "beer" => 1, "drink" => 1, "baby" => 1, "tongue2" => 1, "sword" => 1, "agree" => 1, "loveya" => 1, "kiss" => 1, "kiss2" => 1, "kiss3" => 1, "kiss4" => 1, "rose" => 1, "love" => 1, "love2" => 1, "confused" => 1, "yes" => 1, "no" => 1, "shuffle" => 1, "nono" => 1, "maniac" => 1, "privet" => 1, "ok" => 1, "ninja" => 1, "pif" => 1, "smash" => 1, "alien" => 1, "pirate" => 1, "gun" => 1, "trup" => 1, "mdr" => 1, "sneeze" => 1, "mad" => 1, "friday" => 1, "cry" => 1, "grust" => 1, "rupor" => 1, "fie" => 1, "nnn" => 1, "row" => 1, "red" => 1, "lick" => 1, "help" => 1, "wink" => 1, "jeer" => 1, "tease" => 1, "nunu" => 1, "inv" => 1, "duel" => 1, "susel" => 1, "nun" => 1, "kruger" => 1, "flowers" => 1, "horse" => 1, "hug" => 1, "str" => 1, "alch" => 1, "pal" => 1, "mag" => 1, "sniper" => 1, "vamp" => 1, "doc" => 1, "doc2" => 1, "sharp" => 1, "naem" => 1, "naem2" => 1, "naem3" => 1, "invis" => 1, "chtoza" => 1, "beggar" => 1, "sorry" => 1, "sorry2" => 1, "creator" => 1, "grace" => 1, "dustman" => 1, "carreat" => 1, "lordhaos" => 1, "ura" => 1, "elix" => 1, "dedmoroz" => 1, "snegur" => 1, "showng" => 1, "superng" => 1, "podz" => 1, "sten" => 1, "devil" => 1, "cat" => 1, "owl" => 1, "lightfly" => 1, "snowfight" => 1, "rocket" => 1, "ball" => 1, "smile" => 1, "fuck" => 1];
public function e($t)
{
mysql_query(
'INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("#' . date('d.m.Y') . ' %' . date(
'H:i:s'
) . ': <b>' . mysql_real_escape_string($t) . '</b>","capitalcity","Èãðîìèð","6","1","-1")'
);
}
public function setOnline($online, $uid)
{
$add = 0;
if (time() - $online >= 1) {
if (time() - $online < 60) {
$add += time() - $online;
} else {
$add += 60;
}
}
if ($add > 0) {
$on = mysql_fetch_array(mysql_query('SELECT * FROM `online` WHERE `uid` = "' . $uid . '" LIMIT 1'));
if (isset($on['id'])) {
$mt = 0;
$lst = time();
if (date('d', $on['lastUp']) != date('d', $lst)) {
$on['time_today'] = $add;
} else {
$on['time_today'] += $add;
}
$add = $on['time_all'] + $add;
mysql_query(
'UPDATE `online` SET `mainTime` = "' . $mt . '",`time_today` = "' . $on['time_today'] . '",`lastUp` = "' . $lst . '",`time_all` = "' . $add . '" WHERE `id` = "' . $on['id'] . '" LIMIT 1'
);
}
}
}
public function mystr($string)
{
$str = strtolower($string);
if (strtolower('S') != 's') {
$ru = 'ÀÁÂÃÄŨÆÇÈÉÊËÌÍÎÐÏÑÒÓÔÕÖ×ØÙÚÜÛÝÞß';
$ru2 = 'àáâãäå¸æçèéêëìíîðïñòóôõö÷øùúüûýþÿ';
$en = 'QWERTYUIOPASDFGHJKLZXCVBNM';
$en2 = 'qwertyuiopasdfghjklzxcvbnm';
$i = 0;
while ($i < 33) {
if (isset($ru[$i])) {
$str = strtr($str, $ru[$i], $ru2[$i]);
}
if (isset($en[$i])) {
$str = strtr($str, $en[$i], $en2[$i]);
}
$i++;
}
}
return $str;
}
public function spamFiltr($txt)
{
$txt = str_replace('¸', 'å', $txt);
$nospam = 0;
$txt = str_replace('&gt;', '', $txt);
$txt = str_replace('&lt;', '', $txt);
$txt = str_replace('&quot;', '', $txt);
$txt = $this->mystr($txt);
$i = 0;
while ($i <= count($this->sm)) {
if (isset($this->sm[$i])) {
$txt = preg_replace('/:' . $this->sm[$i] . ':/', "", $txt);
}
$i++;
}
/* ôèëüòð */
$spam = mysql_fetch_array(mysql_query('SELECT * FROM `spam_word` WHERE `id` = 1 LIMIT 1'));
$spam = $spam['data'];
//
$testEN = preg_replace('/[^A-z]*/i', '', $txt);
$testEN2 = $txt;
$testEN2 = str_replace('&quot;', '', $testEN2);
$testEN2 = str_replace('&nbsp;', '', $testEN2);
$testEN2 = str_replace('à', 'a', $testEN2);
$testEN2 = str_replace('á', 'b', $testEN2);
$testEN2 = str_replace('ñ', 'c', $testEN2);
$testEN2 = str_replace('â', 'b', $testEN2);
$testEN2 = str_replace('å', 'e', $testEN2);
$testEN2 = str_replace('ò', 't', $testEN2);
$testEN2 = str_replace('î', 'o', $testEN2);
$testEN2 = str_replace('ð', 'p', $testEN2);
$testEN2 = str_replace('ì', 'm', $testEN2);
$testEN2 = str_replace('í', 'h', $testEN2);
$testEN2 = str_replace('ó', 'y', $testEN2);
$testEN2 = str_replace('ê', 'k', $testEN2);
$testEN2 = str_replace('è', 'u', $testEN2);
$testEN2 = str_replace('õ', 'x', $testEN2);
$testEN2 = str_replace('ÿ', '9', $testEN2);
$testEN2 = str_replace('()', 'o', $testEN2);
$testEN2 = str_replace('0', 'o', $testEN2);
$testEN2 = preg_replace('/[^A-z]*/i', '', $testEN2);
$testRU = preg_replace('/[^À-ÿ]*/i', '', $txt);
$testRU2 = $txt;
$testRU2 = str_replace('a', 'à', $testRU2);
$testRU2 = str_replace('b', 'á', $testRU2);
$testRU2 = str_replace('c', 'ñ', $testRU2);
$testRU2 = str_replace('b', 'â', $testRU2);
$testRU2 = str_replace('e', 'å', $testRU2);
$testRU2 = str_replace('t', 'ò', $testRU2);
$testRU2 = str_replace('o', 'î', $testRU2);
$testRU2 = str_replace('p', 'ð', $testRU2);
$testRU2 = str_replace('m', 'ì', $testRU2);
$testRU2 = str_replace('h', 'í', $testRU2);
$testRU2 = str_replace('y', 'ó', $testRU2);
$testRU2 = str_replace('k', 'ê', $testRU2);
$testRU2 = str_replace('x', 'õ', $testRU2);
$testRU2 = str_replace('u', 'è', $testRU2);
$testRU2 = str_replace('()', 'î', $testRU2);
$testRU2 = str_replace('0', 'î', $testRU2);
$testRU2 = preg_replace('/[^À-ÿ]*/i', ' ', $testRU2);
$testRU2 = preg_replace('/[^À-ß]*/i', ' ', $testRU2);
$i = 0;
$spe = explode('|', $spam);
while ($i <= count($spe)) {
if (isset($spe[$i]) && $spe[$i] != '' && $spe[$i] != 'new-combats.com' && (stristr(
$testEN, $spe[$i]
) || stristr($testRU, $spe[$i]))) {
$nospam .= '%' . $spe[$i];
}
$i++;
}
return $nospam;
}
public function __clone()
{
trigger_error('Äóáëèðîâàíèå íå äîïóñêàåòñÿ.', E_USER_ERROR);
}
}

View File

@ -2,6 +2,7 @@
namespace Insallah; namespace Insallah;
use Core\Database;
use Exception; use Exception;
use http\Message; use http\Message;
use PDO; use PDO;
@ -50,8 +51,9 @@ class Db
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . self::CHARSET, PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . self::CHARSET,
] ]
); );
// self::$db = Database::pdoinit();
} catch (PDOException $e) { } catch (PDOException $e) {
throw new Exception ($e->getMessage()); throw new Exception($e->getMessage());
} }
} }
return self::$instance; return self::$instance;

View File

@ -4,8 +4,7 @@ namespace Insallah;
class Runes class Runes
{ {
/** Создаём руну в зависимости от уровня. /** Создаём руну в зависимости от уровня.
*
* @param $level * @param $level
* *
* @return array * @return array
@ -15,7 +14,7 @@ class Runes
if (!in_array($level, [8, 9, 10])) { if (!in_array($level, [8, 9, 10])) {
return []; return [];
} }
$power = [8 => 3, 9 => 5, 10 => 7]; $power = [8 => 3, 9 => 3, 10 => 5];
$stats = [8 => 1, 9 => 3, 10 => 3]; $stats = [8 => 1, 9 => 3, 10 => 3];
$rand9 = array_rand(array_flip(['hpAll', 'm2', 'm5'])); $rand9 = array_rand(array_flip(['hpAll', 'm2', 'm5']));
$runes = [ $runes = [
@ -27,24 +26,24 @@ class Runes
['s5', 'm11', 'mpAll', 'pzm'] ['s5', 'm11', 'mpAll', 'pzm']
]; ];
$vars = [ $vars = [
's1' => ['Сила', mt_rand(1, $stats[$level])], 's1' => ['Сила', mt_rand(1, $stats[$level])],
's2' => ['Ловкость', mt_rand(1, $stats[$level])], 's2' => ['Ловкость', mt_rand(1, $stats[$level])],
's3' => ['Интуиция', mt_rand(1, $stats[$level])], 's3' => ['Интуиция', mt_rand(1, $stats[$level])],
's5' => ['Интеллект', mt_rand(1, $stats[$level])], 's5' => ['Интеллект', mt_rand(1, $stats[$level])],
'pa1' => ['Мощности Колющего урона', mt_rand(1, $power[$level])], 'pa1' => ['Мощности Колющего урона', mt_rand(1, $power[$level])],
'pa2' => ['Мощности Рубящего урона', mt_rand(1, $power[$level])], 'pa2' => ['Мощности Рубящего урона', mt_rand(1, $power[$level])],
'pa3' => ['Мощности Дробящего урона', mt_rand(1, $power[$level])], 'pa3' => ['Мощности Дробящего урона', mt_rand(1, $power[$level])],
'pa4' => ['Мощности Режущего урона', mt_rand(1, $power[$level])], 'pa4' => ['Мощности Режущего урона', mt_rand(1, $power[$level])],
'm2' => ['мф. Против Критического Удара', mt_rand(5, 15)], 'm2' => ['мф. Против Критического Удара', mt_rand(5, 15)],
'm3' => ['МК', mt_rand(1, 3)], 'm3' => ['МК', mt_rand(1, 3)],
'antm3' => ['ПМК', mt_rand(1, 3)], 'antm3' => ['ПМК', mt_rand(1, 3)],
'm5' => ['мф. Против Увертывания', mt_rand(5, 10)], 'm5' => ['мф. Против Увертывания', mt_rand(5, 10)],
'm11' => ['Мощности Магии стихии', mt_rand(1, $power[$level])], 'm11' => ['Мощности Магии стихии', mt_rand(1, $power[$level])],
'hpAll' => ['HP', mt_rand(5, 15)], 'hpAll' => ['HP', mt_rand(5, 15)],
'mpAll' => ['MP', mt_rand(10, 20)], 'mpAll' => ['MP', mt_rand(10, 20)],
'pzm' => ['Подавление защиты от магии', 1], 'pzm' => ['Подавление защиты от магии', 1],
'za' => ['Защита от Урона', mt_rand(5, 10)], 'za' => ['Защита от Урона', mt_rand(5, 10)],
'zma' => ['Защита от Магии', mt_rand(5, 10)] 'zma' => ['Защита от Магии', mt_rand(5, 10)]
]; ];
$rune = $runes[array_rand($runes)]; // arr (s, pa\m, rand9\mpAll, other) $rune = $runes[array_rand($runes)]; // arr (s, pa\m, rand9\mpAll, other)
@ -52,40 +51,40 @@ class Runes
$runeVals = [$vars[$rune[0]][1], $vars[$rune[1]][1], $vars[$rune[2]][1], $vars[$rune[3]][1]]; $runeVals = [$vars[$rune[0]][1], $vars[$rune[1]][1], $vars[$rune[2]][1], $vars[$rune[3]][1]];
$resultRune = array_combine($rune, $runeVals); $resultRune = array_combine($rune, $runeVals);
$resultText = array_combine($runeTxt, $runeVals); $resultText = array_combine($runeTxt, $runeVals);
if ($level < 10) { // Отрезаем параметр 4. if ($level < 10) { // Отрезаем параметр 4.
array_pop($resultRune); array_pop($resultRune);
array_pop($resultText); array_pop($resultText);
} }
if ($level < 9) { // Отрезаем параметр 3. if ($level < 9) { // Отрезаем параметр 3.
array_pop($resultRune); array_pop($resultRune);
array_pop($resultText); array_pop($resultText);
} }
//Строчка data в базу //Строчка data в базу
$returnData = '|' . http_build_query($resultRune, '', '|'); $returnData = '|' . http_build_query($resultRune, '', '|');
$returnData = str_replace('|', '|add_', $returnData); $returnData = str_replace('|', '|add_', $returnData);
//Строчка человекопонятных параметров в статус. //Строчка человекопонятных параметров в статус.
$returnText = urldecode(http_build_query($resultText, '', ', ')); $returnText = urldecode(http_build_query($resultText, '', ', '));
$returnText = 'Характеристики Руны: ' . str_replace('=', ': +', $returnText) . '.'; $returnText = 'Характеристики Руны: ' . str_replace('=', ': +', $returnText) . '.';
return [$returnData, $returnText]; return [$returnData, $returnText];
} }
/** Выкусывает руну из предмета. /** Выкусывает руну из предмета.
* *
* @param array $itemDataArray * @param array $itemDataArray
* data предмета * data предмета
* *
* @return array массив, item - предмет, rune - руна из предмета, rune_id - id руны. * @return array массив, item - предмет, rune - руна из предмета, rune_id - id руны.
* Оба в подготовленном строчном формате для data * Оба в подготовленном строчном формате для data
*/ */
public static function removeRuneData($itemDataArray) public static function removeRuneData($itemDataArray)
{ {
# Ищем есть ли в предмете руна определённого типа. # Ищем есть ли в предмете руна определённого типа.
$runeid = array_search('rune_id', array_flip($itemDataArray)); $runeid = array_search('rune_id', array_flip($itemDataArray));
if (!in_array($runeid, [6001, 6002, 6003])) { if (!in_array($runeid, [6001, 6002, 6003])) {
return []; return [];
} }
$bonusArgs = 0; $bonusArgs = 0;
# В зависимости от типа руны считаем количество элементов-бонусов. # В зависимости от типа руны считаем количество элементов-бонусов.
if ($runeid === 6001) { if ($runeid === 6001) {
$bonusArgs = 2; $bonusArgs = 2;
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,31 +0,0 @@
<?php
use Insallah\Db;
class Season
{
public static $yy = [
1 => [1, '01', 'ίνβΰπό', 'ίνβΰπόρκθι'],
2 => [2, '02', 'Τεβπΰλό', 'Τεβπΰλόρκθι'],
3 => [3, '03', 'Μΰπς', 'Μΰπςξβρκθι'],
4 => [4, '04', 'ΐοπελό', 'ΐοπελόρκθι'],
5 => [5, '05', 'Μΰι', 'Μΰιρκθι'],
6 => [6, '06', 'Θώνό', 'Θώνόρκθι'],
7 => [7, '07', 'Θώλό', 'Θώλόρκθι'],
8 => [8, '08', 'ΐβγσρς', 'ΐβγσρςξβρκθι'],
9 => [9, '09', 'Ρενς<CEBD>από', 'Ρενς<CEBD>απόρκθι'],
10 => [10, '10', 'Ξκς<CEBA>από', 'Ξκς<CEBA>απόρκθι'],
11 => [11, '11', 'Νξ<CE9D>από', 'Νξ<CE9D>απόρκθι'],
12 => [12, '12', 'Δεκΰαπό', 'Δεκΰαπόρκθι'],
];
public static $date = [];
public static $m = [];
public static function data($val)
{
self::$m = Db::getRow('select * from sss_m where id = ?', [$val]);
if (self::$m['s'] != self::$date['m']) {
self::$m = [];
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,6 @@ class UserStats
/** /**
* Ñîáèðàåò ñóììû âñåõ áîíóñîâ ñ îäåòûõ ïðåäìåòîâ è àêòèâíûõ ýôåêòîâ. * Ñîáèðàåò ñóììû âñåõ áîíóñîâ ñ îäåòûõ ïðåäìåòîâ è àêòèâíûõ ýôåêòîâ.
* @param $userId * @param $userId
* @param bool $showAll
* @return array * @return array
*/ */
public static function getAllBonuses($userId, $showAll = false) public static function getAllBonuses($userId, $showAll = false)
@ -18,7 +17,6 @@ class UserStats
union all select data from eff_users where uid = ? and `delete` = 0'; union all select data from eff_users where uid = ? and `delete` = 0';
$iData = $db::getColumn($q, [$userId, $userId]); $iData = $db::getColumn($q, [$userId, $userId]);
$params = []; $params = [];
$params2 = json_decode(str_replace(['=', '|'], ['":', ',"'], '{"' . $iData . '}'), true);
foreach ($iData as $datum) { foreach ($iData as $datum) {
foreach (explode('|', $datum) as $inner) { foreach (explode('|', $datum) as $inner) {
list($a, $b) = explode('=', $inner); list($a, $b) = explode('=', $inner);

File diff suppressed because it is too large Load Diff

View File

@ -11,28 +11,10 @@ $db = [
]; ];
$dsn = 'mysql:host=' . $db['s'] . ';dbname=' . $db['d']; $dsn = 'mysql:host=' . $db['s'] . ';dbname=' . $db['d'];
if (function_exists('date_default_timezone_set')) { include './_incl_data/mysql_override.php';
date_default_timezone_set('Europe/Moscow');
}
$dbgo = mysql_pconnect($db['s'], $db['u'], $db['p']); $dbgo = mysql_connect($db['s'], $db['u'], $db['p']);
mysql_select_db($db['d'], $dbgo); mysql_select_db($db['d'], $dbgo);
mysql_query('SET NAMES cp1251'); mysql_query('SET NAMES cp1251');
if (!function_exists('GetRealIp')) { $pdo = new PDO($dsn, $db['u'], $db['p'], [PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES cp1251"]);
function GetRealIpTest()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
return $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
return $_SERVER['HTTP_X_FORWARDED_FOR'];
}
return $_SERVER['REMOTE_ADDR'];
}
$ipban = GetRealIpTest();
} else {
$ipban = GetRealIp();
}
$pdo = new PDO($dsn, $db['u'], $db['p'], [PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES cp1251"]);

View File

@ -1,504 +0,0 @@
<?php
if(!defined('GAME')) { die(); }
if($_GET['go_away']) { header('location: main.php'); die(); }
if($u->info['battle'] != 0) { header('location: main.php'); die(); }
if(isset($_POST['clip76_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4677" LIMIT 1'));
if($u->count_items(877, $u->info['id'], 1) > 0) {
if($u->count_items(882, $u->info['id'], 1) > 0) {
if($u->count_items(902, $u->info['id'], 1) > 0) {
if($u->count_items(903, $u->info['id'], 1) > 0) {
if($u->count_items(881, $u->info['id'], 1) > 0) {
if($u->count_items(878, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4677, $u->info['id'], $data, $obj);
$u->deleteItemID(877, $u->info['id'], 1);
$u->deleteItemID(882, $u->info['id'], 1);
$u->deleteItemID(902, $u->info['id'], 1);
$u->deleteItemID(903, $u->info['id'], 1);
$u->deleteItemID(881, $u->info['id'], 1);
$u->deleteItemID(878, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè ×åðíàÿ Ìåòêà';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ëó÷èñòûé òîïàç&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ëó÷èñòûé ðóáèí&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Òûñÿ÷åëåòíèé êàìåíü&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ïëîä çìåèíîãî äåðåâà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ãëóáèííûé êàìåíü&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñòàëü&quot;";
}
} elseif(isset($_POST['clip80_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4758" LIMIT 1'));
if($u->count_items(950, $u->info['id'], 1) > 0) {
if($u->count_items(907, $u->info['id'], 1) > 0) {
if($u->count_items(902, $u->info['id'], 1) > 0) {
if($u->count_items(878, $u->info['id'], 1) > 0) {
if($u->count_items(905, $u->info['id'], 1) > 0) {
if($u->count_items(903, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4758, $u->info['id'], $data, $obj);
$u->deleteItemID(950, $u->info['id'], 1);
$u->deleteItemID(907, $u->info['id'], 1);
$u->deleteItemID(902, $u->info['id'], 1);
$u->deleteItemID(878, $u->info['id'], 1);
$u->deleteItemID(905, $u->info['id'], 1);
$u->deleteItemID(903, $u->info['id'], 1);
$u->deleteItemID(905, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Êëàóñòðîôîáèÿ';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ýññåíöèÿ ïðàâåäíîãî ãíåâà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Øåïîò ãîð&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êàìåíü çàòàåííîãî ñîëíöà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë ãîëîñà ïðåäêîâ&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñãóñòîê ýôèðà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ëó÷èñòîå Ñåðåáðî&quot;";
}
} elseif(isset($_POST['clip81_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4679" LIMIT 1'));
if($u->count_items(906, $u->info['id'], 1) > 0) {
if($u->count_items(907, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4679, $u->info['id'], $data, $obj);
$u->deleteItemID(906, $u->info['id'], 1);
$u->deleteItemID(907, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Ïðîêëÿòüå Óìèðàþùåé Çåìëè';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë ñòàáèëüíîñòè&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë ãîëîñà ïðåäêîâ&quot;";
}
} elseif(isset($_POST['clip82_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4680" LIMIT 1'));
if($u->count_items(877, $u->info['id'], 1) > 0) {
if($u->count_items(890, $u->info['id'], 1) > 0) {
if($u->count_items(902, $u->info['id'], 1) > 0) {
if($u->count_items(903, $u->info['id'], 1) > 0) {
if($u->count_items(888, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4680, $u->info['id'], $data, $obj);
$u->deleteItemID(877, $u->info['id'], 1);
$u->deleteItemID(890, $u->info['id'], 1);
$u->deleteItemID(902, $u->info['id'], 1);
$u->deleteItemID(903, $u->info['id'], 1);
$u->deleteItemID(888, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Ïðîêëÿòüå Ñòèõàþùåãî Âåòðà';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Øåïîò ãîð&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Òûñÿ÷åëåòíèé êàìåíü&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ïëîä çìåèíîãî äåðåâà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñãóñòîê àñòðàëà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñòàëü&quot;";
}
} elseif(isset($_POST['clip89_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4681" LIMIT 1'));
if($u->count_items(900, $u->info['id'], 1) > 0) {
if($u->count_items(882, $u->info['id'], 1) > 0) {
if($u->count_items(903, $u->info['id'], 1) > 0) {
if($u->count_items(904, $u->info['id'], 1) > 0) {
if($u->count_items(908, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4681, $u->info['id'], $data, $obj);
$u->deleteItemID(900, $u->info['id'], 1);
$u->deleteItemID(882, $u->info['id'], 1);
$u->deleteItemID(903, $u->info['id'], 1);
$u->deleteItemID(904, $u->info['id'], 1);
$u->deleteItemID(908, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Ïðîêëÿòüå Çàìåðçàþùåé Âîäû';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êàìåíü çàòàåííîãî ñîëíöà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë âðåìåí&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Òûñÿ÷åëåòíèé êàìåíü&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ãëóáèííûé êàìåíü&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êîæà çìåèíîãî äåðåâà&quot;";
}
} elseif(isset($_POST['clip90_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4682" LIMIT 1'));
if($u->count_items(950, $u->info['id'], 1) > 0) {
if($u->count_items(889, $u->info['id'], 1) > 0) {
if($u->count_items(902, $u->info['id'], 1) > 0) {
if($u->count_items(903, $u->info['id'], 1) > 0) {
if($u->count_items(878, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4682, $u->info['id'], $data, $obj);
$u->deleteItemID(950, $u->info['id'], 1);
$u->deleteItemID(889, $u->info['id'], 1);
$u->deleteItemID(902, $u->info['id'], 1);
$u->deleteItemID(906, $u->info['id'], 1);
$u->deleteItemID(878, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Ïðîêëÿòüå Óãàñàþùåãî Îãíÿ';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ëó÷èñòûé òîïàç&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Òûñÿ÷åëåòíèé êàìåíü&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ïëîä çìåèíîãî äåðåâà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñãóñòîê ýôèðà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êîæà Îáùåãî Âðàãà&quot;";
}
} elseif(isset($_POST['clip91_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4683" LIMIT 1'));
if($u->count_items(907, $u->info['id'], 1) > 0) {
if($u->count_items(881, $u->info['id'], 1) > 0) {
if($u->count_items(905, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4683, $u->info['id'], $data, $obj);
$u->deleteItemID(907, $u->info['id'], 1);
$u->deleteItemID(881, $u->info['id'], 1);
$u->deleteItemID(905, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Ïðîêëÿòüå Ëåãêîãî Îòóïëåíèÿ';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñòèõèàëèÿ&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ëó÷èñòûé ðóáèí&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë ñòàáèëüíîñòè&quot;";
}
} elseif(isset($_POST['clip92_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4684" LIMIT 1'));
if($u->count_items(907, $u->info['id'], 1) > 0) {
if($u->count_items(881, $u->info['id'], 1) > 0) {
if($u->count_items(905, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4684, $u->info['id'], $data, $obj);
$u->deleteItemID(907, $u->info['id'], 1);
$u->deleteItemID(881, $u->info['id'], 1);
$u->deleteItemID(905, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Ïðîêëÿòüå Óÿçâèìîñòè';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñòèõèàëèÿ&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ëó÷èñòûé ðóáèí&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë ñòàáèëüíîñòè&quot;";
}
} elseif(isset($_POST['clip93_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4685" LIMIT 1'));
if($u->count_items(901, $u->info['id'], 1) > 0) {
if($u->count_items(889, $u->info['id'], 1) > 0) {
if($u->count_items(890, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4685, $u->info['id'], $data, $obj);
$u->deleteItemID(901, $u->info['id'], 1);
$u->deleteItemID(889, $u->info['id'], 1);
$u->deleteItemID(890, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [1]';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñãóñòîê àñòðàëà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñãóñòîê ýôèðà&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Êðèñòàëë òûñÿ÷è îòâåòîâ&quot;";
}
} elseif(isset($_POST['clip94_'])) {
$obj = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "4686" LIMIT 1'));
if($u->count_items(4685, $u->info['id'], 1) > 0) {
if($u->count_items(4688, $u->info['id'], 1) > 0) {
if($u->count_items(4689, $u->info['id'], 1) > 0) {
if($u->count_items(4690, $u->info['id'], 1) > 0) {
$data = '|frompisher=12';
$u->addItem(4686, $u->info['id'], $data, $obj);
$u->deleteItemID(4685, $u->info['id'], 1);
$u->deleteItemID(4688, $u->info['id'], 1);
$u->deleteItemID(4689, $u->info['id'], 1);
$u->deleteItemID(4690, $u->info['id'], 1);
$err = 'Âû ïîëó÷èëè Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [2]';
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Óñêîðèòåëü äëÿ Ãîëåìîâ&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Ñìàçêà äëÿ Ãîëåìîâ&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Òîïëèâî äëÿ Ãîëåìîâ&quot;";
}
} else {
$err = "Íå õâàòàåò ðåñóðñîâ &quot;Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [1]&quot;";
}
}
function getColor($id, $num) {
global $u;
$color = 'green';
$ch = mysql_query("SELECT `id` FROM `items_users` WHERE `uid` = ".$u->info['id']." AND `delete` = 0 AND `item_id` = ".(int)$id." AND inShop = 0 AND inOdet = 0");
if(mysql_num_rows($ch) < $num) { $color = 'red'; }
return $color;
}
function getImg($id, $num) {
global $u;
$img = 'good.png';
$ch = mysql_query("SELECT `id` FROM `items_users` WHERE `uid` = ".$u->info['id']." AND `delete` = 0 AND `item_id` = ".(int)$id." AND inShop = 0 AND inOdet = 0");
if(mysql_num_rows($ch) < $num) { $img = 'i/clear.gif'; }
return $img;
}
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://img.new-combats.com/css/main.css" />
<meta content="text/html; charset=windows-1251" http-equiv="Content-type" />
<meta http-equiv="Cache-Control" content="no-cache, max-age=0, must-revalidate, no-store" />
<meta http-equiv="PRAGMA" content="NO-CACHE" />
<meta http-equiv="Expires" content="0" />
<style>
.row { cursor:pointer; }
#answer1 {color: #003388; font-weight: bold; text-decoration: none; }
</style>
<script type="text/javascript">
function show(ele) {
var srcElement = document.getElementById(ele);
if(srcElement != null) {
if(srcElement.style.display == "block") {
srcElement.style.display= 'none';
} else {
srcElement.style.display='block';
}
}
}
function OpenDiv(vr) {
var dg01 = document.getElementById(vr);
if(dg01.style.display == '') {
dg01.style.display = 'none'
} else {
dg01.style.display = ''
}
}
</script>
<script type="text/javascript" src="https://img.new-combats.com/js/inf.0.104.js?<?=mt_rand(1436,1293286936)/10000000000?>" charset="utf-8"></script>
</head>
<body leftmargin=5 topmargin=5 marginwidth=5 marginheight=5 bgcolor="#d7d7d7" onLoad="">
<div id=hint4 class=ahint></div>
<TABLE cellspacing=0 cellpadding=2 width=100%>
<TD style="width: 40%; vertical-align: top; ">
<TABLE cellspacing=0 cellpadding=2 style="width: 100%; ">
<tr><TD align=center><h4>Ìàñòåðñêàÿ Çàáûòûõ Ìàñòåðîâ</h4></TD></tr>
<TR>
</TABLE>
</TD>
<TD style="width: 5%; vertical-align: top; ">&nbsp;</TD>
</TR>
</TABLE>
</html>
<? if($err != '') { echo "<center><b style='color: Red;'>".$err."</b></center>"; } ?>
<table width="100%">
<tr>
<td width="255" valign="top"><div align="left"><? $st = array(); $st2 = array(); $st = $u->getStats($u->info['id'],1); $st2 = $st[1]; $st = $st[0]; $rgd = $u->regen($u->info['id'],$st,1); $us = $u->getInfoPers($u->info['id'],1,$st); if($us!=false){ echo $us[0]; }else{ echo 'information is lost.'; } ?></div>
<div align="left"></div><div align="left"></div>
<div style="float: left">
<td valign="top"><br />
<div id="step1" style="margin-left: 20px;"></div>
<br /><br />
<table>
<tr>
<td>
<div id="answer1">
• <a href="#" onclick="OpenDiv('clip76')">×åðíàÿ ìåòêà <img src="https://img.new-combats.com/i/items/spell_curse.gif"></a><br />
<div id="clip76" style="display: none; color: black;">
<p style="color:<?=getColor(877, 1)?>"> Còàëü <img src="https://img.new-combats.com/<?=getImg(877, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(882, 1)?>"> Ãëóáèííûé êàìåíü <img src="https://img.new-combats.com/<?=getImg(882, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(902, 1)?>"> Ïëîä çìåèíîãî äåðåâà <img src="https://img.new-combats.com/<?=getImg(902, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(903, 1)?>"> Òûñÿ÷åëåòíèé êàìåíü <img src="https://img.new-combats.com/<?=getImg(903, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(881, 1)?>"> Ëó÷èñòûé ðóáèí <img src="https://img.new-combats.com/<?=getImg(881, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(878, 1)?>"> Ëó÷èñòûé òîïàç <img src="https://img.new-combats.com/<?=getImg(878, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip76_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip80')">Êëàóñòðîôîáèÿ <img src="https://img.new-combats.com/i/items/d_blat24.gif"></a><br />
<div id="clip80" style="display: none; color: black;">
<p style="color:<?=getColor(950, 1)?>"> Êîæà îáùåãî âðàãà <img src="https://img.new-combats.com/<?=getImg(950, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(907, 1)?>"> Êðèñòàëë ñòàáèëüíîñòè <img src="https://img.new-combats.com/<?=getImg(907, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(902, 1)?>"> Ïëîä çìåèíîãî äåðåâà <img src="https://img.new-combats.com/<?=getImg(902, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(878, 1)?>"> Ëó÷èñòûé òîïàç <img src="https://img.new-combats.com/<?=getImg(878, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(905, 1)?>"> Ñòèõèàëèÿ <img src="https://img.new-combats.com/<?=getImg(905, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(903, 1)?>"> Òûñÿ÷åëåòíèé êàìåíü <img src="https://img.new-combats.com/<?=getImg(903, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip80_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip81')">Ïðîêëÿòüå Óìèðàþùåé Çåìëè <img src="https://img.new-combats.com/i/items/m_ptp_1.gif"></a><br />
<div id="clip81" style="display: none; color: black;">
<p style="color:<?=getColor(906, 1)?>"> Êðèñòàëë ãîëîñà ïðåäêîâ <img src="https://img.new-combats.com/<?=getImg(906, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(907, 1)?>"> Êðèñòàëë ñòàáèëüíîñòè <img src="https://img.new-combats.com/<?=getImg(907, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip81_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip82')">Ïðîêëÿòüå Ñòèõàþùåãî Âåòðà <img src="https://img.new-combats.com/i/items/m_ptp_2.gif"></a><br />
<div id="clip82" style="display: none; color: black;">
<p style="color:<?=getColor(877, 1)?>"> Ñòàëü <img src="https://img.new-combats.com/<?=getImg(877, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(890, 1)?>"> Ñãóñòîê àñòðàëà <img src="https://img.new-combats.com/<?=getImg(890, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(902, 1)?>"> Ïëîä çìåèíîãî äåðåâà <img src="https://img.new-combats.com/<?=getImg(902, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(903, 1)?>"> Òûñÿ÷åëåòíèé êàìåíü <img src="https://img.new-combats.com/<?=getImg(903, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(888, 1)?>"> Øåïîò ãîð <img src="https://img.new-combats.com/<?=getImg(888, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip82_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip89')">Ïðîêëÿòüå Çàìåðçàþùåé Âîäû <img src="https://img.new-combats.com/i/items/m_ptp_3.gif"></a><br />
<div id="clip89" style="display: none; color: black;">
<p style="color:<?=getColor(900, 1)?>"> Êîðà çìåèíîãî äåðåâà <img src="https://img.new-combats.com/<?=getImg(900, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(882, 1)?>"> Ãëóáèííûé êàìåíü <img src="https://img.new-combats.com/<?=getImg(882, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(903, 1)?>"> Òûñÿ÷åëåòíèé êàìåíü <img src="https://img.new-combats.com/<?=getImg(903, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(904, 1)?>"> Êðèñòàëë âðåìåí <img src="https://img.new-combats.com/<?=getImg(904, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(908, 1)?>"> Êàìåíü çàòàåííîãî ñîëíöà <img src="https://img.new-combats.com/<?=getImg(908, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip89_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip90')">Ïðîêëÿòüå Óãàñàþùåãî Îãíÿ <img src="https://img.new-combats.com/i/items/m_ptp_4.gif"></a><br />
<div id="clip90" style="display: none; color: black;">
<p style="color:<?=getColor(950, 1)?>"> Êîæà Îáùåãî Âðàãà <img src="https://img.new-combats.com/<?=getImg(950, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(889, 1)?>"> Ñãóñòîê ýôèðà <img src="https://img.new-combats.com/<?=getImg(889, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(902, 1)?>"> Ïëîä çìåèíîãî äåðåâà <img src="https://img.new-combats.com/<?=getImg(902, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(903, 1)?>"> Òûñÿ÷åëåòíèé êàìåíü <img src="https://img.new-combats.com/<?=getImg(903, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(878, 1)?>"> Ëó÷èñòûé òîïàç <img src="https://img.new-combats.com/<?=getImg(878, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip90_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip91')">Ïðîêëÿòüå Ëåãêîãî Îòóïëåíèÿ <img src="https://img.new-combats.com/i/items/m_ptp_5.gif"></a><br />
<div id="clip91" style="display: none; color: black;">
<p style="color:<?=getColor(907, 1)?>"> Êðèñòàëë ñòàáèëüíîñòè <img src="https://img.new-combats.com/<?=getImg(907, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(881, 1)?>"> Ëó÷èñòûé ðóáèí <img src="https://img.new-combats.com/<?=getImg(881, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(905, 1)?>"> Ñòèõèàëèÿ <img src="https://img.new-combats.com/<?=getImg(905, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip91_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip92')">Ïðîêëÿòüå Óÿçâèìîñòè <img src="https://img.new-combats.com/i/items/m_ptp_6.gif"></a><br />
<div id="clip92" style="display: none; color: black;">
<p style="color:<?=getColor(907, 1)?>"> Êðèñòàëë ñòàáèëüíîñòè <img src="https://img.new-combats.com/<?=getImg(907, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(881, 1)?>"> Ëó÷èñòûé ðóáèí <img src="https://img.new-combats.com/<?=getImg(881, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(905, 1)?>"> Ñòèõèàëèÿ <img src="https://img.new-combats.com/<?=getImg(905, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip92_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip93')">Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [1] <img src="https://img.new-combats.com/i/items/enhp_6_revamp10.gif"></a><br />
<div id="clip93" style="display: none; color: black;">
<p style="color:<?=getColor(901, 1)?>"> Êðèñòàëë òûñÿ÷è îòâåòîâ <img src="https://img.new-combats.com/<?=getImg(901, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(889, 1)?>"> Ñãóñòîê ýôèðà <img src="https://img.new-combats.com/<?=getImg(889, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(890, 1)?>"> Ñãóñòîê àñòðàëà <img src="https://img.new-combats.com/<?=getImg(890, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip93_" value="Ñîáðàòü" />
</form>
</div>
• <a href="#" onclick="OpenDiv('clip94')">Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [2] <img src="https://img.new-combats.com/i/items/enhp_6_revamp10_2.gif"></a><br />
<div id="clip94" style="display: none; color: black;">
<p style="color:<?=getColor(4685, 1)?>"> Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [1] <img src="https://img.new-combats.com/<?=getImg(4685, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(4688, 1)?>"> Òîïëèâî äëÿ Ãîëåìîâ <img src="https://img.new-combats.com/<?=getImg(4688, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(4689, 1)?>"> Ñìàçêà äëÿ Ãîëåìîâ <img src="https://img.new-combats.com/<?=getImg(4689, 1)?>" width="13" height="13" /></p>
<p style="color:<?=getColor(4690, 1)?>"> Óñêîðèòåëü äëÿ Ãîëåìîâ <img src="https://img.new-combats.com/<?=getImg(4690, 1)?>" width="13" height="13" /></p>
<form action="" method="POST">
<input type="submit" name="clip94_" value="Ñîáðàòü" />
</form>
</div>
<br>
• <a href="?go_away=1">Óéòè. (Âûõîä)</a>
</div>
</td>
</tr>
</table>
</td>
</div>
<div style="float:left">
<td width="120">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<TABLE border=0 cellSpacing=1 cellPadding=0 width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
</TBODY></TABLE></TD>
<TD><TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"><TBODY>
</TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<TABLE width=100% align="right">
<tr><td>
<br />
<br />
<br />
</TD></tr>
</TABLE>
</body>
</html>

View File

@ -1,180 +1,180 @@
<? <?
if(!defined('GAME')) if(!defined('GAME'))
{ {
die(); die();
} }
if( $u->info['twink'] != 0 ) if( $u->info['twink'] != 0 )
{ {
$u->error = 'Íåâîçìîæíî èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Çàéäèòå íà îñíîâíîãî ïåðñîíàæà!'; $u->error = 'Íåâîçìîæíî èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Çàéäèòå íà îñíîâíîãî ïåðñîíàæà!';
} }
elseif( $u->info['activ'] != 0 ) elseif( $u->info['activ'] != 0 )
{ {
$u->error = 'Íåâîçìîæíî èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Àêòèâèðóéòå ïåðñîíàæà ÷åðåç E-mail!'; $u->error = 'Íåâîçìîæíî èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Àêòèâèðóéòå ïåðñîíàæà ÷åðåç E-mail!';
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10006 ) elseif( $itm['id'] > 0 && $itm['item_id']==10006 )
{ {
$repc='repcapitalcity'; $repc='repcapitalcity';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10007 ) elseif( $itm['id'] > 0 && $itm['item_id']==10007 )
{ {
$repc='repsandcity'; $repc='repsandcity';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10008 ) elseif( $itm['id'] > 0 && $itm['item_id']==10008 )
{ {
$repc='repemeraldscity'; $repc='repemeraldscity';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10009 ) elseif( $itm['id'] > 0 && $itm['item_id']==10009 )
{ {
$repc='repabandonedplain'; $repc='repabandonedplain';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10010 ) elseif( $itm['id'] > 0 && $itm['item_id']==10010 )
{ {
$repc='repangelscity'; $repc='repangelscity';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10011 ) elseif( $itm['id'] > 0 && $itm['item_id']==10011 )
{ {
$repc='repdemonscity'; $repc='repdemonscity';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
elseif( $itm['id'] > 0 && $itm['item_id']==10012 ) elseif( $itm['id'] > 0 && $itm['item_id']==10012 )
{ {
$repc='repsuncity'; $repc='repsuncity';
if ($u->rep[$repc]<25000) if ($u->rep[$repc]<25000)
{ {
$st['expUpg'] += 0; $st['expUpg'] += 0;
$u->rep[$repc] += $st['expUpg']; $u->rep[$repc] += $st['expUpg'];
if ($u->rep[$repc]>25000) if ($u->rep[$repc]>25000)
{ {
$u->rep[$repc]=25000; $u->rep[$repc]=25000;
} }
$u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!'; $u->error = 'Âû èñïîëüçîâàëè &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè óâåëè÷èëñÿ íà '.$st['expUpg'].' åä.!';
//mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); //mysql_query('UPDATE `stats` SET `exp` = "'.$u->info['exp'].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1'); mysql_query('UPDATE `rep` SET `'.$repc.'` = "'.$u->rep[$repc].'" WHERE `id` = '.$u->info['id'].' LIMIT 1');
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} }
else else
{ {
$u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!'; $u->error = 'Âû íå ñìîãëè èñïîëüçîâàòü &quot;'.$itm['name'].'&quot;. Óðîâåíü Âàøåé ðåïóòàöèè äîñòèã ïðåäåëà 25000 åä.!';
} }
} }
?> ?>

View File

@ -5,7 +5,7 @@ if(!defined('GAME'))
} }
//Âûäàåì ïðåäìåòû, íî íå ðàíüøå 00:00:00 01-01-2013 //Âûäàåì ïðåäìåòû, íî íå ðàíüøå 00:00:00 01-01-2013
if(date('Y')==2021) { if(date('Y')==2023) {
/* /*
2. Íîâîãîäíèé Øîêîëàä (ïîëíîå âîñò. õï) 2. Íîâîãîäíèé Øîêîëàä (ïîëíîå âîñò. õï)
@ -33,7 +33,7 @@ if(date('Y')==2021) {
//Îòêðûòêà (x1) //Îòêðûòêà (x1)
$idit = $u->addItem(996,$u->info['id']); $idit = $u->addItem(996,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "Новый Год" , `gtxt1` = "Администрация проекта поздравляет Вас с Новым, 2021, Годом!" WHERE `id` = "'.$idit.'" LIMIT 1'); mysql_query('UPDATE `items_users` SET `gift` = "Новый Год" , `gtxt1` = "Администрация проекта поздравляет Вас с Новым, 2023, Годом!" WHERE `id` = "'.$idit.'" LIMIT 1');
//òî÷èëêà //òî÷èëêà
@ -50,11 +50,11 @@ if(date('Y')==2021) {
mysql_query('UPDATE `items_users` SET `gift` = "Ñòàðûé Ãîä",`iznosMAX` = "100" WHERE `id` = "'.$idit.'" LIMIT 1'); mysql_query('UPDATE `items_users` SET `gift` = "Ñòàðûé Ãîä",`iznosMAX` = "100" WHERE `id` = "'.$idit.'" LIMIT 1');
$u->error = 'Вы успешно использовали &quot;'.$itm['name'].'&quot;. В инвентарь добавлены подарки. С Новым, 2021, Годом!'; $u->error = 'Вы успешно использовали &quot;'.$itm['name'].'&quot;. В инвентарь добавлены подарки. С Новым, 2023, Годом!';
mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE (`item_id` = "4009" OR `id` = "'.$itm['id'].'") AND `uid` = "'.$u->info['id'].'" LIMIT 10'); //2763 mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE (`item_id` = "4009" OR `id` = "'.$itm['id'].'") AND `uid` = "'.$u->info['id'].'" LIMIT 10'); //2763
} }
}else{ }else{
$u->error = 'Подарок возможно использовать не раньше 01.01.2021'; $u->error = 'Подарок возможно использовать не раньше 01.01.2023';
} }
?> ?>

View File

@ -1,29 +0,0 @@
<?
if(!defined('GAME'))
{
die();
}
if( $itm['magic_inci'] == 'propuskpsh' ) {
$test = mysql_fetch_array(mysql_query('SELECT `id`,`time` FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars` = "propuskpsh" AND `time` > "'.(time()-300).'" LIMIT 1'));
if( $u->info['align'] != 2 ) {
if( isset($test['id']) ) {
$u->error = 'Çàäåðæêà íå ïðîøëà, åùå '.$u->timeOut($test['time']-time()+300);
}else{
$u->addAction(time(),'propuskpsh','');
$u->error = 'Âñå ïðîøëî óñïåøíî, çàäåðæêè â ïåùåðû ñíÿòà.';
if($itm['id'] == 4802) {
mysql_query('UPDATE `actions` SET `time` = "'.(time()-43200).'" WHERE `uid` = '.$u->info['id'].' AND `time` > "'.(time()-43200).'" AND `vars` LIKE "psh%" AND `vars` != "psh102" AND `vars` NOT LIKE "psh\_%"');
}else{
mysql_query('UPDATE `actions` SET `time` = "'.(time()-21600).'" WHERE `uid` = '.$u->info['id'].' AND `time` > "'.(time()-43200).'" AND `vars` LIKE "psh%" AND `vars` != "psh102" AND `vars` NOT LIKE "psh\_%"');
}
// Äåéñòâóåò òîëüêî íà:
// 1) ãäå òàéìåð ìåíüøå 12 ÷àñîâ. (÷òîáû î÷åíü ñòàðûå ïîõîäû íå ìåíÿëè âðåìÿ ïîõîäà 4 ñâèòêà, è ñóòêè íàçàä, èñòîðèÿ ïîõîäîâ íåêîððåêòíàÿ).
// 2) íå ñðàáîòàåò íà Ïåùåðó Äðàêîíîâ.
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
}
}else{
$u->error = 'Õàîñíèêè íå ìîãóò ïîëüçîâàòüñÿ ïðîïóñêîì!';
}
}
?>

View File

@ -5,71 +5,42 @@ if(!defined('GAME'))
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Êðèòîâèêà</i>, '; $io .= '<i>Ïîäàðî÷íûé êîìïëåêò Êðèòîâèêà</i>, ';
$this->addItem(6361,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(842,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6361,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(842,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6364,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(749,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(666,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(580,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5229,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(594,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5219,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(642,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5211,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(814,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5199,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(777,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5192,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(787,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5186,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5178,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5168,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5161,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2621,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2621,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(871,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2634,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2634,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -3,70 +3,43 @@ if(!defined('GAME'))
{ {
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Îãíÿ</i>, ';
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, '; $this->addItem(850,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(751,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(669,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5153,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5157,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(822,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5165,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(583,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5173,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(597,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(644,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5181,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(810,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5189,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4983,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5195,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4543,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5205,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5216,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5224,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5232,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5232,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5232,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2146,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -3,72 +3,42 @@ if(!defined('GAME'))
{ {
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Òàíêà</i>, '; $io .= '<i>Ïîäàðî÷íûé êîìïëåêò Òàíêà</i>, ';
$this->addItem(6394,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(4648,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6405,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(4654,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6397,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(4647,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6143,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4651,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6151,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6144,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4962,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6145,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4968,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4650,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4653,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6147,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4652,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6148,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4987,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6149,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4646,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6152,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6153,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2430,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(870,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2612,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -4,72 +4,43 @@ if(!defined('GAME'))
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Òîïîðà</i>, '; $io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ñèëà÷à ( Òîïîðà )</i>, ';
$this->addItem(6383,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(6483,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6383,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(6483,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6386,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(6484,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6142,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6485,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6142,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5163,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6486,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5171,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6487,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6488,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5177,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6489,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5184,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6490,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5194,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6491,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5201,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6492,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5209,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5221,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5228,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5236,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5236,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5236,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2665,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2665,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(870,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2678,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(2678,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -4,72 +4,43 @@ if(!defined('GAME'))
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Óâîðîò÷èêà</i>, '; $io .= '<i>Ïîäàðî÷íûé êîìïëåêò Óâîðîòà</i>, ';
$this->addItem(6372,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(605,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6372,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(605,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6375,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(748,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(667,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5162,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(735,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5170,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(579,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(593,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5179,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(641,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5187,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(813,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5193,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(775,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5200,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(786,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5210,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5220,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5230,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5238,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5238,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5238,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(872,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2656,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(2656,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -3,70 +3,43 @@ if(!defined('GAME'))
{ {
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Âîäû</i>, ';
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, '; $this->addItem(851,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(753,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(670,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5155,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5158,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(823,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5166,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(584,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5175,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(598,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(645,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5182,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(812,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5191,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4984,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5196,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4544,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5206,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5217,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5225,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5233,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5233,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5233,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2147,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -3,70 +3,43 @@ if(!defined('GAME'))
{ {
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Âîçäóõà</i>, ';
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, '; $this->addItem(848,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(752,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(671,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5152,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5156,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(820,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5164,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(581,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5172,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(595,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(646,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5180,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(811,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5188,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4982,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5197,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4545,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5204,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5215,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5223,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5231,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5231,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5231,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2148,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -3,70 +3,43 @@ if(!defined('GAME'))
{ {
die(); die();
} }
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Çåìëè</i>, ';
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, '; $this->addItem(849,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(750,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']); $this->addItem(668,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5159,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(821,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5167,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(582,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5174,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(596,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5183,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(809,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5190,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4985,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5198,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4546,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5207,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5218,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5226,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5234,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(5234,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(5234,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, '; $io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(2712,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(2149,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']); $this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(10038,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(4691,$this->info['id'],'|tr_lvl=10|nosale=1|sudba='.$this->info['login']);
$this->addItem(2702,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
?> ?>

View File

@ -42,7 +42,7 @@ if(!defined('GAME'))
} }
$arts_1 = $arts_1[rand(0,count($arts_1)-1)]; $arts_1 = $arts_1[rand(0,count($arts_1)-1)];
if( $arts_1 > 0 ) { if( $arts_1 > 0 ) {
$this->addItem($arts_1,$this->info['id'],'|nosale=1|srok='.(1*1209600).'',NULL,50); $this->addItem($arts_1,$this->info['id'],'|nosale=1|srok='.(1*259200).'',NULL,50);
} }
//echo '['.$arts_1[rand(0,count($arts_1)-1)].'!'.count($arts_1).'!'.$arts_lvl.']'; //echo '['.$arts_1[rand(0,count($arts_1)-1)].'!'.count($arts_1).'!'.$arts_lvl.']';
} }

View File

@ -1,121 +0,0 @@
<?
if(!defined('GAME'))
{
die();
}
if($tr['var_id'] != '') {
$io = '';
/*
1. Âûïàäàåò àðòåôàêò óðîâíÿ ïåðñîíàæà - 1% , âðåìåííûé , íå ïðîäàåòñÿ , ñóäüáà , 3 äí. ñðîê ãîäíîñòè
2. Âûïàäàåò ëèáî 5 åêð. ñâèòîê, ëèáî ñâèòîê +200% îïûòà íà 3 ÷àñà (áåç çàìîðîçêè)
3. 1 èç 4 ýëèêñèðîâà +15 (åêð.)
4. ×åê 20 êð.
*/
$trgos = false;
$key1 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4460 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1'));
$key2 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4461 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1'));
$key3 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4462 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1'));
$key4 = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = 4463 AND `uid` = '.$this->info['id'].' AND `delete` = 0 AND `inShop` = 0 AND `inTransfer` = 0 LIMIT 1'));
if( isset($key1['id']) && isset($key2['id']) && isset($key3['id']) && isset($key4['id']) ) {
mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE `id` = '.$key1['id'].' OR `id` = '.$key2['id'].' OR `id` = '.$key3['id'].' OR `id` = '.$key4['id'].' LIMIT 4');
$trgos = true;
}
if( $trgos == true ) {
if( rand(0,100) == 57 || $this->info['admin'] > 0 ) {
//Âûäàåì àðòåôàêò
$io .= '<i>Âðåìåííûé àðòåôàêò</i>, ';
$arts_1 = array();
$arts_lvl = $this->info['level'];
if( $arts_lvl < 4 ) {
$arts_lvl = 4;
}elseif( $arts_lvl > 10 ) {
$arts_lvl = 10;
}
$sp1 = mysql_query('SELECT `items_id` FROM `items_main_data` WHERE `data` LIKE "%|art=%" AND `data` LIKE "%tr_lvl='.$arts_lvl.'%"');
while( $pl1 = mysql_fetch_array($sp1) ) {
$arts_1[] = $pl1['items_id'];
}
$arts_1 = $arts_1[rand(0,count($arts_1)-1)];
if( $arts_1 > 0 ) {
$this->addItem($arts_1,$this->info['id'],'|nosale=1|srok='.(1*86400).'',NULL,50);
}
//echo '['.$arts_1[rand(0,count($arts_1)-1)].'!'.count($arts_1).'!'.$arts_lvl.']';
}
$recr=rand(0,99); // 1% 4510 - 40 åêð /3% 5021 - 20 åêð /10% 5020 -10 åêð/ 20% 4465 -5 åêð/ 100% 5017 - 1åêð
$rcr=rand(0,99); // 5%4274 - 400 êð / 15% 4392/4392 - 100 êð / 30% 4392 -50 êð/ 100% 4464 - 20êð
if( $recr > 98 ) {
//Âûäàåì ÷åê +40 åêð.
$io .= '<i>×åê íà 40 åêð.</i>, ';
$this->addItem(4510,$this->info['id'],'|sudba='.$this->info['login']);
}elseif( $recr > 96 ){
//Âûäàåì ÷åê +20 åêð.
$io .= '<i>×åê íà 20 åêð.</i>, ';
$this->addItem(5021,$this->info['id'],'|sudba='.$this->info['login']);
}elseif( $recr > 89 ){
//Âûäàåì ÷åê +10 åêð.
$io .= '<i>×åê íà 10 åêð.</i>, ';
$this->addItem(5020,$this->info['id'],'|sudba='.$this->info['login']);
}elseif( $recr > 79 ){
//Âûäàåì ÷åê +5 åêð.
$io .= '<i>×åê íà 5 åêð.</i>, ';
$this->addItem(4465,$this->info['id'],'|sudba='.$this->info['login']);
}else{
//Âûäàåì ÷åê +1 åêð.
$io .= '<i>×åê íà 1 åêð.</i>, ';
$this->addItem(5017,$this->info['id'],'|sudba='.$this->info['login']);
}
if( $rcr > 94 ) {
//Âûäàåì ÷åê íà 400 êð.
$io .= '<i>×åê íà 400 êð.</i> ';
$this->addItem(4274,$this->info['id'],'|sudba='.$this->info['login']);
}elseif( $rcr > 84 ){
//Âûäàåì ÷åê íà 100 êð.
$io .= '<i>×åêè íà ñóììó 100 êð.</i> ';
$this->addItem(4392,$this->info['id'],'|sudba='.$this->info['login']);
$this->addItem(4392,$this->info['id'],'|sudba='.$this->info['login']);
}elseif( $rcr > 69 ){
//Âûäàåì ÷åê íà 50 êð.
$io .= '<i>×åê íà 50 êð.</i> ';
$this->addItem(4392,$this->info['id'],'|sudba='.$this->info['login']);
}else{
//Âûäàåì ÷åê íà 20 êð.
$io .= '<i>×åê íà 20 êð.</i> ';
$this->addItem(4464,$this->info['id'],'|sudba='.$this->info['login']);
}
$elik_1 = array(
4037,4038,4039,4040
);
$elik_1 = $elik_1[rand(0,3)];
if( $elik_1 > 0 ) {
//Âûäàåì 1 èç 4 ýëèêîâ
$io .= '<i>Ýëèêñèð +22 ñòàòîâ</i>, ';
$this->addItem($elik_1,$this->info['id'],'|nosale=1|sudba='.$this->info['login'],NULL,1);
}
//Âûäàåì ñâèòîê +200%
$io .= '<i>Ñâèòîê +100% îïûòà</i>, ';
$this->addItem(4466,$this->info['id'],'');
}else{
$no_open_itm = true;
$this->error = 'Òðåáóåòñÿ 4 ðàçëè÷íûõ êëþ÷à ñ ïîëÿ áèòâû.';
}
}
unset($i5,$i3,$i4);
?>

View File

@ -1,69 +1,50 @@
<? <?
if(!defined('GAME'))
if (!defined('GAME')) { {
die(); die();
} }
if ($itm['magic_inci'] == 'yarostzvezd') { if( $itm['magic_inci'] == 'yarostzvezd' ) {
$pvr = [];
//Äåéñòâèå ïðè êëèêå
$pvr['trs7'] = 5; $pvr = array();
if ($u->stats['hpNow'] < 1) {
$u->error = '<font color=red><b>Âû ïîãëèáëè è íå ìîæåòå âîñïîëüçîâàòüñÿ ñâèòêîì...</b></font>'; //Äåéñòâèå ïðè êëèêå
} elseif ($u->info['tactic7'] < $pvr['trs7']) { $pvr['trs7'] = 5;
$u->error = '<font color=red><b>Íåäîñòàòî÷íî äóõà, íåîáõîäèìî ' . $pvr['trs7'] . '...</b></font>'; if( $u->stats['hpNow'] < 1 ) {
} elseif (isset($btl->info['id'])) { $u->error = '<font color=red><b>Âû ïîãëèáëè è íå ìîæåòå âîñïîëüçîâàòüñÿ ñâèòêîì...</b></font>';
/* }elseif( $u->info['tactic7'] < $pvr['trs7'] ) {
$btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'], $u->error = '<font color=red><b>Íåäîñòàòî÷íî äóõà, íåîáõîäèìî '.$pvr['trs7'].'...</b></font>';
'', }elseif( isset($btl->info['id']) ) {
'{tm1} {u1} èñïîëüçîâàë çàêëÿòèå &quot;<b>'.$itm['name'].'</b>&quot;.', /*
($btl->hodID) $btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'],
); '',
*/ '{tm1} {u1} èñïîëüçîâàë çàêëÿòèå &quot;<b>'.$itm['name'].'</b>&quot;.',
($btl->hodID)
mysql_query('UPDATE `stats` SET `tactic7` = `tactic7` - "' . $pvr['trs7'] . '" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); );
$u->info['tactic7'] = $u->info['tactic7'] - $pvr['trs7']; */
$u->stats['tactic7'] = $u->stats['tactic7'] - $pvr['trs7'];
mysql_query('UPDATE `stats` SET `tactic7` = `tactic7` - "'.$pvr['trs7'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 325'); $u->info['tactic7'] = $u->info['tactic7']-$pvr['trs7'];
mysql_query(" $u->stats['tactic7'] = $u->stats['tactic7']-$pvr['trs7'];
INSERT INTO `eff_users` (
`id_eff`, mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 325');
`uid`, mysql_query("
`name`, INSERT INTO `eff_users` ( `id_eff`, `uid`, `name`, `data`, `overType`, `timeUse`, `timeAce`, `user_use`, `delete`, `v1`, `v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES
`data`, ( 22, '".$u->info['id']."', 'ßðîñòü Õîëîäíûõ Çâåçä', 'add_acestar=1', 0, 77, 0, '".$u->info['id']."', 0, 'priem', 325, 'elementalcrit.gif', 1, -1, 'ÿðîñòüõîëîäíûõçâåçä', 0, 0, '', 0, 0, 0, 1, 0);
`overType`,
`timeUse`,
`timeAce`,
`user_use`,
`delete`,
`v1`,
`v2`, `img2`, `x`, `hod`, `bj`, `sleeptime`, `no_Ace`, `file_finish`, `tr_life_user`, `deactiveTime`, `deactiveLast`, `mark`, `bs`) VALUES
(
22,
'" . $u->info['id'] . "',
'ßðîñòü Õîëîäíûõ Çâåçä',
'add_acestar=1',
0,
77,
0,
'" . $u->info['id'] . "',
0,
'priem',
325,
'elementalcrit.gif', 1, -1, 'ÿðîñòüõîëîäíûõçâåçä', 0, 0, '', 0, 0, 0, 1, 0);
"); ");
$u->error = '<font color=red><b>Âû ïî÷óâñòâîâàëè ñèëó... </b></font>'; $u->error = '<font color=red><b>Âû ïî÷óâñòâîâàëè ñèëó... </b></font>';
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = ' . $itm['id'] . ' LIMIT 1'); mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
} else {
$u->error = '<font color=red><b>Ñâèòîê âîçìîæíî èñïîëüçîâàòü òîëüêî â áîþ</b></font>'; }else{
} $u->error = '<font color=red><b>Ñâèòîê âîçìîæíî èñïîëüçîâàòü òîëüêî â áîþ</b></font>';
}
//Îòíèìàåì òàêòèêè
//$this->mintr($pl); //Îòíèìàåì òàêòèêè
//$this->mintr($pl);
unset($pvr);
unset($pvr);
} }
?> ?>

View File

@ -24,8 +24,8 @@ if( isset($pr_momental_this)) {
unset( $pr_used_this ); unset( $pr_used_this );
}else{ }else{
$pvr['hp_0'] = 1; $pvr['hp_0'] = 50;
$pvr['hp_1'] = 95; $pvr['hp_1'] = 65;
// //
$pvr['hp'] = floor(rand($pvr['hp_0'],$pvr['hp_1'])); $pvr['hp'] = floor(rand($pvr['hp_0'],$pvr['hp_1']));

View File

@ -7,7 +7,7 @@ if(!defined('GAME')) {
*/ */
$pvr = array(); $pvr = array();
//Äåéñòâèå ïðè êëèêå //Äåéñòâèå ïðè êëèêå
$pvr['hp'] = rand(34,41); $pvr['hp'] = rand(46,54);
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 ); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 );
$pvr['promah_type'] = $pvr['hp'][3]; $pvr['promah_type'] = $pvr['hp'][3];
$pvr['promah'] = $pvr['hp'][2]; $pvr['promah'] = $pvr['hp'][2];

View File

@ -122,7 +122,7 @@ if( isset($pr_used_this) && isset($pr_moment) ) {
}; };
unset( $pr_used_this ); unset( $pr_used_this );
}else{ }else{
$pvr['hp'] = floor(rand(66,71)); $pvr['hp'] = floor(rand(70,81));
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 0 ); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 0 );
$pvr['promah_type'] = $pvr['hp'][3]; $pvr['promah_type'] = $pvr['hp'][3];
$pvr['promah'] = $pvr['hp'][2]; $pvr['promah'] = $pvr['hp'][2];

View File

@ -6,7 +6,7 @@ if(!defined('GAME')) {
Ïðèåì: Êàìåííûé Äîæäü [8] Ïðèåì: Êàìåííûé Äîæäü [8]
*/ */
$pvr = array(); $pvr = array();
$pvr['hp_0'] = 13; $pvr['hp_0'] = 30;
//Äåéñòâèå ïðè êëèêå //Äåéñòâèå ïðè êëèêå
$pvr['hp'] = $pvr['hp_0']; $pvr['hp'] = $pvr['hp_0'];
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 ); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 );

View File

@ -24,8 +24,8 @@ if( isset($pr_momental_this)) {
unset( $pr_used_this ); unset( $pr_used_this );
}else{ }else{
$pvr['hp_0'] = 25; $pvr['hp_0'] = 30;
$pvr['hp_1'] = 51; $pvr['hp_1'] = 50;
// //
$pvr['hp'] = floor($pvr['hp_1']); $pvr['hp'] = floor($pvr['hp_1']);

View File

@ -1,127 +0,0 @@
<?
if(!defined('GAME')) {
die();
}
/*
Ïðèåì: Ïðèçðà÷íàÿ çàùèòà
Ñëåäóþùèé óäàð ïðîòèâíèêà ïî âàì íàíåñåò íà 75% ìåíüøå óðîíà
*/
$pvr = array();
if( isset($pr_momental_this)) {
$fx_moment = function( $uid, $enemy, $j_id, $yron, $profil ) {
if(!isset($btl->stats[$btl->uids[$uid]]['um_priem'][$j_id])) {
global $u, $btl;
$yron = $yron/4;
$btl->priemAddLogFast( $uid, 0, "Ïðèçðà÷íàÿ çàùèòà",
'{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$uid]]['sex'] , NULL).'',
0, time() );
if( $yron < 0 ) {
$yron = 1;
}
$btl->stats[$btl->uids[$uid]]['um_priem'][$j_id] = true;
}
return round($yron);
};
}elseif( isset($pr_tested_this) ) {
$fx_priem = function( $id , $at , $uid, $j_id ) {
// -- íà÷àëî ïðèåìà
global $u, $btl;
//
//Ïàðàìåòðû ïðèåìà
$pvr['used'] = 0;
//
$uid1 = $btl->atacks[$id]['uid1'];
$uid2 = $btl->atacks[$id]['uid2'];
if( $uid == $uid2 ) {
$a = 1;
$b = 2;
$u1 = ${'uid1'};
$u2 = ${'uid2'};
}elseif( $uid == $uid1 ) {
$a = 2;
$b = 1;
$u1 = ${'uid2'};
$u2 = ${'uid1'};
}
/*
if((!isset($btl->atacks[$id]['newsf5']) || $btl->atacks[$id]['newsf5'] == false) && (!isset($btl->atacks[$id]['stopfx']) || $btl->atacks[$id]['stopfx'] == false)) {
if( isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'" AND `uid` = "'.$uid.'" LIMIT 1');
unset($btl->stats[$btl->uids[$uid]]['u_priem'][$j_id]);
$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id] = false;
}
}
*/
//
// -- êîíåö ïðèåìà
return $at;
};
unset( $pr_used_this );
}elseif( isset($pr_used_this) ) {
$fx_priem = function( $id , $at , $uid, $j_id ) {
// -- íà÷àëî ïðèåìà
global $u, $btl;
//
//Ïàðàìåòðû ïðèåìà
$pvr['used'] = 0;
//
$uid1 = $btl->atacks[$id]['uid1'];
$uid2 = $btl->atacks[$id]['uid2'];
if( $uid == $uid2 ) {
$a = 1;
$b = 2;
$u1 = ${'uid1'};
$u2 = ${'uid2'};
}elseif( $uid == $uid1 ) {
$a = 2;
$b = 1;
$u1 = ${'uid2'};
$u2 = ${'uid1'};
}
if( $a > 0 ) {
$j = 0; $k = 0; $wp = 3;
while($j < count($at['p'][$a]['atack'])) {
if( isset($at['p'][$a]['atack'][$j]['yron']) && (
$at['p'][$a]['atack'][$j][1] == 1 ||
$at['p'][$a]['atack'][$j][1] == 4 ||
$at['p'][$a]['atack'][$j][1] == 5 )) {
//if( !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
//
$at['p'][$a]['atack'][$j]['yron']['y'] = round($at['p'][$a]['atack'][$j]['yron']['y']/4);
$at['p'][$a]['atack'][$j]['yron']['r'] = round($at['p'][$a]['atack'][$j]['yron']['r']/4);
$at['p'][$a]['atack'][$j]['yron']['k'] = round($at['p'][$a]['atack'][$j]['yron']['k']/4);
$at['p'][$a]['atack'][$j]['yron']['m_k'] = round($at['p'][$a]['atack'][$j]['yron']['m_k']/4);
$at['p'][$a]['atack'][$j]['yron']['m_y'] = round($at['p'][$a]['atack'][$j]['yron']['m_y']/4);
//
if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; }
if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['m_y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_y'] = 1; }
//
if( $pvr['used'] == 0 ) {
$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.',
"Ïðèçðà÷íàÿ çàùèòà",
"{tm1} '.$btl->addlt($b , 17 , $btl->users[$btl->uids[$u2]]['sex'] , NULL).'",
'.($btl->hodID + 1).' );';
}
//
$at['p'][$a]['atack'][$j]['yron']['used'][] = array($j_id,$uid,$pvr['used']);
$at['p'][$a]['atack'][$j]['yron']['kill'][] = array($j_id,$uid,$pvr['kill']);
//
$at['p'][$a]['priems']['kill'][$uid][$j_id] = true;
//}
}
$j++;
}
}
// -- êîíåö ïðèåìà
return $at;
};
unset( $pr_used_this );
}else{
//Äåéñòâèå ïðè êëèêå
$this->addEffPr($pl,$id);
}
unset($pvr);
?>

View File

@ -1,140 +0,0 @@
<?
if(!defined('GAME')) {
die();
}
/*
Ïðèåì: Ïðèçðà÷íàÿ çàùèòà
Ñëåäóþùèé óäàð ïðîòèâíèêà ïî âàì íàíåñåò íà 75% ìåíüøå óðîíà
*/
$pvr = array();
if( isset($pr_momental_this)) {
$fx_moment = function( $uid, $enemy, $j_id, $yron, $profil ) {
if(!isset($btl->stats[$btl->uids[$uid]]['um_priem'][$j_id])) {
global $u, $btl;
if( $btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'] == 'Áåñ÷óâñòâåííîñòü' ) {
//$yron = $yron/10;
}else{
//$yron = $yron/4;
}
$btl->priemAddLogFast( $uid, 0, "".$btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name']."",
'{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$uid]]['sex'] , NULL).'',
0, time() );
if( $yron < 0 ) {
$yron = 1;
}
$btl->stats[$btl->uids[$uid]]['um_priem'][$j_id] = true;
}
return round($yron);
};
}elseif( isset($pr_tested_this) ) {
$fx_priem = function( $id , $at , $uid, $j_id ) {
// -- íà÷àëî ïðèåìà
global $u, $btl;
//
//Ïàðàìåòðû ïðèåìà
$pvr['used'] = 0;
//
$uid1 = $btl->atacks[$id]['uid1'];
$uid2 = $btl->atacks[$id]['uid2'];
if( $uid == $uid2 ) {
$a = 1;
$b = 2;
$u1 = ${'uid1'};
$u2 = ${'uid2'};
}elseif( $uid == $uid1 ) {
$a = 2;
$b = 1;
$u1 = ${'uid2'};
$u2 = ${'uid1'};
}
if( isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'" AND `uid` = "'.$uid.'" LIMIT 1');
unset($btl->stats[$btl->uids[$uid]]['u_priem'][$j_id]);
}
//
// -- êîíåö ïðèåìà
return $at;
};
unset( $pr_used_this );
}elseif( isset($pr_used_this) ) {
$fx_priem = function( $id , $at , $uid, $j_id ) {
// -- íà÷àëî ïðèåìà
global $u, $btl;
//
//Ïàðàìåòðû ïðèåìà
$pvr['used'] = 0;
//
$uid1 = $btl->atacks[$id]['uid1'];
$uid2 = $btl->atacks[$id]['uid2'];
if( $uid == $uid2 ) {
$a = 1;
$b = 2;
$u1 = ${'uid1'};
$u2 = ${'uid2'};
}elseif( $uid == $uid1 ) {
$a = 2;
$b = 1;
$u1 = ${'uid2'};
$u2 = ${'uid1'};
}
if( $a > 0 ) {
$j = 0; $k = 0; $wp = 3;
/*$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->deleffm(141,'.(0+$uid).','.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].');
$this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.',
"'.$btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'].'",
"{tm1} '.$btl->addlt($b , 17 , $btl->users[$btl->uids[$u2]]['sex'] , NULL).'",
'.($btl->hodID + 1).' );';*/
while($j < count($at['p'][$a]['atack'])) {
if( isset($at['p'][$a]['atack'][$j]['yron']) && (
$at['p'][$a]['atack'][$j][1] == 1 ||
$at['p'][$a]['atack'][$j][1] == 4 ||
$at['p'][$a]['atack'][$j][1] == 5 )) {
//if( !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
//
/*if( $btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'] == 'Áåñ÷óâñòâåííîñòü' ) {
$at['p'][$a]['atack'][$j]['yron']['y'] = round($at['p'][$a]['atack'][$j]['yron']['y']/10);
$at['p'][$a]['atack'][$j]['yron']['r'] = round($at['p'][$a]['atack'][$j]['yron']['r']/10);
$at['p'][$a]['atack'][$j]['yron']['k'] = round($at['p'][$a]['atack'][$j]['yron']['k']/10);
$at['p'][$a]['atack'][$j]['yron']['m_k'] = round($at['p'][$a]['atack'][$j]['yron']['m_k']/10);
$at['p'][$a]['atack'][$j]['yron']['m_y'] = round($at['p'][$a]['atack'][$j]['yron']['m_y']/10);
}else{
$at['p'][$a]['atack'][$j]['yron']['y'] = round($at['p'][$a]['atack'][$j]['yron']['y']/4);
$at['p'][$a]['atack'][$j]['yron']['r'] = round($at['p'][$a]['atack'][$j]['yron']['r']/4);
$at['p'][$a]['atack'][$j]['yron']['k'] = round($at['p'][$a]['atack'][$j]['yron']['k']/4);
$at['p'][$a]['atack'][$j]['yron']['m_k'] = round($at['p'][$a]['atack'][$j]['yron']['m_k']/4);
$at['p'][$a]['atack'][$j]['yron']['m_y'] = round($at['p'][$a]['atack'][$j]['yron']['m_y']/4);
}
//
if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; }
if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['m_y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_y'] = 1; }
//
if( $pvr['used'] == 0 ) {
/*$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->deleffm(141,'.(0+$uid).','.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].');
$this->priemAddLog( '.$id.', '.$b.', '.$a.', '.$u2.', '.$u1.',
"'.$btl->stats[$btl->uids[$u2]]['effects'][$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][0]]['name'].'",
"{tm1} '.$btl->addlt($b , 17 , $btl->users[$btl->uids[$u2]]['sex'] , NULL).'",
'.($btl->hodID + 1).' );';*/
/*}*/
//
$at['p'][$a]['atack'][$j]['yron']['used'][] = array($j_id,$uid,$pvr['used']);
$at['p'][$a]['atack'][$j]['yron']['kill'][] = array($j_id,$uid,$pvr['kill']);
//
$at['p'][$a]['priems']['kill'][$uid][$j_id] = true;
//}
}
$j++;
}
}
// -- êîíåö ïðèåìà
return $at;
};
unset( $pr_used_this );
}else{
//Äåéñòâèå ïðè êëèêå
$this->addEffPr($pl,$id);
}
unset($pvr);
?>

View File

@ -36,7 +36,7 @@ $pvr = array();
//Èñïîëüçóåì ïðîâåðêó íà óðîí ïðèåìîâ //Èñïîëüçóåì ïðîâåðêó íà óðîí ïðèåìîâ
$pvr['hp'] = $btl->testYronPriem( $u->info['id'], $pvr['uid'], 21, $pvr['hp'], 5, true ); $pvr['hp'] = $btl->testYronPriem( $u->info['id'], $pvr['uid'], 21, $pvr['hp'], 5, true );
if(!$pvr['krit']) { if( $pvr['krit'] == false ) {
if( $pvr['hp'] > $pvr['lim'] ) { if( $pvr['hp'] > $pvr['lim'] ) {
$pvr['hp'] = $pvr['lim']; $pvr['hp'] = $pvr['lim'];
} }
@ -48,6 +48,7 @@ $pvr = array();
$pvr['hpSee'] = '-'.$pvr['hp']; $pvr['hpSee'] = '-'.$pvr['hp'];
$pvr['hpNow'] -= $pvr['hp']; $pvr['hpNow'] -= $pvr['hp'];
$btl->priemYronSave($u->info['id'],$pvr['uid'],$pvr['hp'],0); $btl->priemYronSave($u->info['id'],$pvr['uid'],$pvr['hp'],0);
if( $pvr['hpNow'] > $pvr['hpAll'] ) { if( $pvr['hpNow'] > $pvr['hpAll'] ) {
@ -61,8 +62,8 @@ $pvr = array();
mysql_query('UPDATE `stats` SET `hpNow` = "'.$btl->stats[$btl->uids[$pvr['uid']]]['hpNow'].'" WHERE `id` = "'.$pvr['uid'].'" LIMIT 1'); mysql_query('UPDATE `stats` SET `hpNow` = "'.$btl->stats[$btl->uids[$pvr['uid']]]['hpNow'].'" WHERE `id` = "'.$pvr['uid'].'" LIMIT 1');
// //
if(!$pvr['promah']) { if( $pvr['promah'] == false ) {
if(!$pvr['krit']) { if( $pvr['krit'] == false ) {
$prv['color2'] = '006699'; $prv['color2'] = '006699';
if(isset($btl->mcolor[$btl->mname['îãîíü']])) { if(isset($btl->mcolor[$btl->mname['îãîíü']])) {
$prv['color2'] = $btl->mcolor[$btl->mname['îãîíü']]; $prv['color2'] = $btl->mcolor[$btl->mname['îãîíü']];
@ -95,7 +96,12 @@ $pvr = array();
($btl->hodID + 1) ($btl->hodID + 1)
); );
//Äîáàâëÿåì ïðèåì
//$this->addEffPr($pl,$id);
//$this->addPriem($pvr['uid'],$pl['id'],'atgm='.floor($pvr['hp']/5).'',0,77,5,$u->info['id'],1,'ÿäîâèòîåîáëàêî',0,0,1);
//Îòíèìàåì òàêòèêè
//$this->mintr($pl);
// //
$pvr['xx']++; $pvr['xx']++;
} }
@ -104,6 +110,12 @@ $pvr = array();
$btl->delPriem($pvr['x5'],$btl->users[$btl->uids[$this->ue['id']]],2); $btl->delPriem($pvr['x5'],$btl->users[$btl->uids[$this->ue['id']]],2);
// //
//Äîáàâëÿåì ïðèåì
//$this->addEffPr($pl,$id);
//$this->addPriem($this->ue['id'],$pl['id'],'atgm='.($pvr['hp']/16).'',2,77,4,$u->info['id'],3,'îëåäåíåíèå',0,0,1);
//Îòíèìàåì òàêòèêè
//$this->mintr($pl);
unset($pvr); unset($pvr);
?> ?>

View File

@ -7,7 +7,7 @@ if(!defined('GAME')) {
*/ */
$pvr = array(); $pvr = array();
//Äåéñòâèå ïðè êëèêå //Äåéñòâèå ïðè êëèêå
$pvr['hp'] = rand(40,80); $pvr['hp'] = rand(50,90);
//$pvr['hp'] = floor($pvr['hp']*0.95); //$pvr['hp'] = floor($pvr['hp']*0.95);
//$pvr['hp'] = $this->magatackfiz( $u->info['id'], $this->ue['id'], $pvr['hp'], 'âîäà' /* äðîáÿùèé óðîí - 3 */, 1 , 'çåìëÿ' ); //$pvr['hp'] = $this->magatackfiz( $u->info['id'], $this->ue['id'], $pvr['hp'], 'âîäà' /* äðîáÿùèé óðîí - 3 */, 1 , 'çåìëÿ' );
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 ); // $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 ); //

View File

@ -11,7 +11,7 @@ $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHE
if( $pvr['x5']['x'] < 5 ) { if( $pvr['x5']['x'] < 5 ) {
$prv['x'] = ''; $prv['x'] = '';
if( $pvr['x5']['x'] > 0 ) { if( $pvr['x5']['x'] > 0 ) {
$prv['x'] = ' x'.($pvr['x5']['x']+1); $prv['x'] = ' x'.($pvr['x5']['x']+1).'';
} }
// //
$this->addEffPr($pl,$id); $this->addEffPr($pl,$id);

View File

@ -1,116 +0,0 @@
<?
if(!defined('GAME')) {
die();
}
/*
Ïðèåì: Óñèëåííûå óäàðû
Ñëåäóþùèå óäàðû ïî ïðîòèâíèêó íàíîñèò íà 5*(ëâë) åä. áîëüøå
*/
$pvr = array();
if( isset($pr_tested_this) ) {
$fx_priem = function( $id , $at , $uid, $j_id ) {
// -- íà÷àëî ïðèåìà
global $u, $btl;
//
//Ïàðàìåòðû ïðèåìà
$pvr['used'] = 0;
//
$uid1 = $btl->atacks[$id]['uid1'];
$uid2 = $btl->atacks[$id]['uid2'];
if( $uid == $uid1 ) {
$a = 1;
$b = 2;
$u1 = ${'uid1'};
$u2 = ${'uid2'};
}elseif( $uid == $uid2 ) {
$a = 2;
$b = 1;
$u1 = ${'uid2'};
$u2 = ${'uid1'};
}
if( isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
mysql_query('UPDATE `eff_users` SET `delete` = "'.time().'" WHERE `id` = "'.$btl->stats[$btl->uids[$uid]]['u_priem'][$j_id][3].'" AND `uid` = "'.$uid.'" LIMIT 1');
unset($btl->stats[$btl->uids[$uid]]['u_priem'][$j_id]);
}
//
// -- êîíåö ïðèåìà
return $at;
};
unset( $pr_used_this );
}elseif( isset($pr_used_this) ) {
$fx_priem = function( $id , $at , $uid, $j_id ) {
// -- íà÷àëî ïðèåìà
global $u, $btl;
//
//Ïàðàìåòðû ïðèåìà
$pvr['used'] = 0;
//
$uid1 = $btl->atacks[$id]['uid1'];
$uid2 = $btl->atacks[$id]['uid2'];
if( $uid == $uid1 ) {
$a = 1;
$b = 2;
$u1 = ${'uid1'};
$u2 = ${'uid2'};
}elseif( $uid == $uid2 ) {
$a = 2;
$b = 1;
$u1 = ${'uid2'};
$u2 = ${'uid1'};
}
if( $a > 0 ) {
$j = 0; $k = 0; $wp = 3;
while($j < count($at['p'][$a]['atack'])) {
if( isset($at['p'][$a]['atack'][$j]['yron']) && (
$at['p'][$a]['atack'][$j][1] == 1 ||
$at['p'][$a]['atack'][$j][1] == 4 ||
$at['p'][$a]['atack'][$j][1] == 5 )) {
//if( $pvr['used'] == 0 && !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
//
$pvr['hp'] = 6 * $btl->users[$btl->uids[$u1]]['level'];
$pvr['hp'] = $btl->testYronPriem( $u1, $u2, 12, $pvr['hp'], -1, true, false, 0 );
if( $pvr['hp'] <= 1 ) {
$pvr['hp'] = 0;
$at['p'][$a]['atack'][$j]['yron']['y'] = 1;
$at['p'][$a]['atack'][$j]['yron']['r'] = -1;
$at['p'][$a]['atack'][$j]['yron']['k'] = 1;
$at['p'][$a]['atack'][$j]['yron']['m_k'] = 1;
$at['p'][$a]['atack'][$j]['yron']['m_y'] = 1;
}
else
{
$at['p'][$a]['atack'][$j]['yron']['y'] += $pvr['hp'];
$at['p'][$a]['atack'][$j]['yron']['r'] -= $pvr['hp'];
$at['p'][$a]['atack'][$j]['yron']['k'] += $pvr['hp'];
$at['p'][$a]['atack'][$j]['yron']['m_y'] += $pvr['hp'];
$at['p'][$a]['atack'][$j]['yron']['m_k'] += $pvr['hp'];
}
//$at['p'][$a]['atack'][$j]['yron'] = $btl->testYronPriemAttack( 193 , $u1 , $u2 , $at['p'][$a]['atack'][$j]['yron'] );
//
if( $pvr['used'] == 0 && !isset($at['p'][$a]['priems']['kill'][$uid][$j_id]) ) {
$at['p'][$a]['atack'][$j]['yron']['plog'][] = '$this->priemAddLog( '.$id.', '.$a.', '.$b.', '.$u1.', '.$u2.',
"Óñèëåííûå óäàðû",
"{tm1} '.$btl->addlt($a , 17 , $btl->users[$btl->uids[$u1]]['sex'] , NULL).'",
'.($btl->hodID + 1).' );';
//
$at['p'][$a]['atack'][$j]['yron']['used'][] = array($j_id,$uid,$pvr['used']);
$at['p'][$a]['atack'][$j]['yron']['kill'][] = array($j_id,$uid,$pvr['kill']);
}
//
$at['p'][$a]['priems']['kill'][$uid][$j_id] = true;
//}
}
$j++;
}
}
//Óäàëÿåì ïðèåì
// -- êîíåö ïðèåìà
return $at;
};
unset( $pr_used_this );
}else{
//Äåéñòâèå ïðè êëèêå
$this->addEffPr($pl,$id);
}
unset($pvr);
?>

View File

@ -1,72 +0,0 @@
<?
if(!defined('GAME')) {
die();
}
/*
Ïðèåì: Âûæèòü, ñæèðàåò âñå òàêòèêè, çà ñåðäöà 0.5 åä. çà îñòàëüíîå 1 åä. ÍÐ
*/
$pvr = array();
//Äåéñòâèå ïðè êëèêå
$pvr['hp'] = round( 1+$btl->users[$btl->uids[$u->info['id']]]['tactic1']+$btl->users[$btl->uids[$u->info['id']]]['tactic2']+$btl->users[$btl->uids[$u->info['id']]]['tactic3']+$btl->users[$btl->uids[$u->info['id']]]['tactic4']+$btl->users[$btl->uids[$u->info['id']]]['tactic5']+$btl->users[$btl->uids[$u->info['id']]]['tactic6']*0.5 );
if( $pvr['hp'] > 25 ) {
$pvr['hp'] = 25;
}
$pvr['hp'] = round($btl->stats[$btl->uids[$u->info['id']]]['hpAll']/100*$pvr['hp']);
$pvr['hpSee'] = '--';
$pvr['hpNow'] = floor($btl->stats[$btl->uids[$this->ue['id']]]['hpNow']);
$pvr['hpAll'] = $btl->stats[$btl->uids[$u->info['id']]]['hpAll'];
$pvr['hp'] = $btl->hphe( $u->info['id'] , $pvr['hp'] , true );
$pvr['hpTr'] = $pvr['hpAll'] - $pvr['hpNow'];
if( $pvr['hpTr'] > 0 ) {
//Òðåáóåòñÿ õèëë
if( $pvr['hpTr'] < $pvr['hp'] ) {
$pvr['hp'] = $pvr['hpTr'];
}
$pvr['hpSee'] = '+'.$pvr['hp'];
$pvr['hpNow'] += $pvr['hp'];
}
if( $pvr['hpNow'] > $pvr['hpAll'] ) {
$pvr['hpNow'] = $pvr['hpAll'];
}elseif( $pvr['hpNow'] < 0 ) {
$pvr['hpNow'] = 0;
}
$btl->users[$btl->uids[$u->info['id']]]['last_hp'] = $pvr['hp'];
$u->info['hpNow'] = $pvr['hpNow'];
$u->stats['hpNow'] = $pvr['hpNow'];
$btl->stats[$btl->uids[$this->ue['id']]]['hpNow'] = $pvr['hpNow'];
$pvr['i']=1;
while($pvr['i'] <= 6) {
$btl->users[$btl->uids[$u->info['id']]]['tactic'.$pvr['i']] = 0;
$btl->stats[$btl->uids[$u->info['id']]]['tactic'.$pvr['i']] = 0;
$u->info['tactic'.$pvr['i']] = 0;
$u->stats['tactic'.$pvr['i']] = 0;
$pvr['i']++;
}
mysql_query('UPDATE `stats` SET
`last_hp` = "'.$btl->users[$btl->uids[$u->info['id']]]['last_hp'].'",
`hpNow` = "'.$pvr['hpNow'].'",
`tactic1` = "0",
`tactic2` = "0",
`tactic3` = "0",
`tactic4` = "0",
`tactic5` = "0",
`tactic6` = "0"
WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
$btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'],
'Âûæèòü',
'{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL).' <font Color=#006699><b>'.$pvr['hpSee'].'</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']',
($btl->hodID)
);
//Îòíèìàåì òàêòèêè
$this->mintr($pl);
unset($pvr);
?>

View File

@ -1,13 +1,7 @@
<?php <?
/** if (!defined('GAME')) {
* @var $this Priems die();
* @var $btl Battle
* @var $id int
* @var $pl array
*/
if (!$id) {
exit();
} }
/* /*
Ïðèåì: Ïûëàþùàÿ Ñìåðòü Ïðèåì: Ïûëàþùàÿ Ñìåðòü
@ -17,10 +11,10 @@ $pvr['mg'] = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid
if ( if (
$btl->stats[$btl->uids[$this->ue['id']]]['hpNow'] > round($btl->stats[$btl->uids[$this->ue['id']]]['hpAll'] / 100 * 33) $btl->stats[$btl->uids[$this->ue['id']]]['hpNow'] > round($btl->stats[$btl->uids[$this->ue['id']]]['hpAll'] / 100 * 33)
) { ) {
echo '<b style="color: red">Óðîâåíü çäîðîâüÿ öåëè äîëæåí áûòü íèæå 33%</b>'; echo '<font color=red><b>Óđîâĺíü çäîđîâü˙ öĺëč äîëćĺí áűňü íčćĺ 33%</b></font>';
$cup = true; $cup = true;
} elseif (!isset($pvr['mg']['id'])) { } elseif (!isset($pvr['mg']['id'])) {
echo '<b style="color: red">Íà ïåðñîíàæå íåò ïîæèðàþùåãî ïëàìåíè (Âàøåãî çàêëÿòèÿ)</b>'; echo '<font color=red><b>Íŕ ďĺđńîíŕćĺ íĺň ďîćčđŕţůĺăî ďëŕěĺíč (Âŕřĺăî çŕęë˙ňč˙)</b></font>';
$cup = true; $cup = true;
} else { } else {
//Äåéñòâèå ïðè êëèêå //Äåéñòâèå ïðè êëèêå
@ -30,6 +24,25 @@ if (
// Óðîí = 150% îñòàâøåãîñÿ óðîíà (óðîí çà õîä * êîëè÷åñòâî õîäîâ * 150/100). // Óðîí = 150% îñòàâøåãîñÿ óðîíà (óðîí çà õîä * êîëè÷åñòâî õîäîâ * 150/100).
$pvr['hp'] = floor($pvr['data']['atgm'] * $pvr['mg']['hod'] * 1.5); $pvr['hp'] = floor($pvr['data']['atgm'] * $pvr['mg']['hod'] * 1.5);
// $pvr['di'] = 0;
// $pvr['dc'] = count($pvr['data']['atgm']);
// $pvr['rd'] = 0;
// $pvr['redata'] = '';
// while ($pvr['di'] < 4) {
// if (isset($pvr['data']['atgm'][($pvr['dc'] - $pvr['di'])])) {
// if ($pvr['rd'] < 3) {
// $pvr['hp'] += $pvr['data']['atgm'][($pvr['dc'] - $pvr['di'])];
// $pvr['redata'] = 'atgm=' . $pvr['data']['atgm'][($pvr['dc'] - $pvr['di'])] . '|' . $pvr['redata'];
// $pvr['rd']++;
// }
// }
// $pvr['di']++;
// }
// $pvr['hp23'] = $pvr['hp'];
// $pvr['hp'] = 450;
// $pvr['hp24'] = $pvr['hp'];
// Ìû äîëæíû ñìî÷ü êðèòîâàòü, íî ìû íå äîëæíû åù¸ ðàç ìîäèôèöèðîâàòü óðîí! // Ìû äîëæíû ñìî÷ü êðèòîâàòü, íî ìû íå äîëæíû åù¸ ðàç ìîäèôèöèðîâàòü óðîí!
$pvr['hp_test'] = $this->magatack($u->info['id'], $this->ue['id'], $pvr['hp'], 'îãîíü', 1); $pvr['hp_test'] = $this->magatack($u->info['id'], $this->ue['id'], $pvr['hp'], 'îãîíü', 1);
@ -64,13 +77,25 @@ if (
$prv['text'] = $btl->addlt(1, 19, $btl->users[$btl->uids[$u->info['id']]]['sex'], null); $prv['text'] = $btl->addlt(1, 19, $btl->users[$btl->uids[$u->info['id']]]['sex'], null);
//Öâĺň ďđčĺěŕ
$prv['color'] = $pvr['krit'] ? "f00" : "a00"; if (!$pvr['krit']) {
$prv['color2'] = '006699';
if (isset($btl->mcolor[$btl->mname['îăîíü']])) {
$prv['color2'] = $btl->mcolor[$btl->mname['îăîíü']];
}
$prv['color'] = '000000';
if (isset($btl->mncolor[$btl->mname['îăîíü']])) {
$prv['color'] = $btl->mncolor[$btl->mname['îăîíü']];
}
} else {
$prv['color2'] = 'FF0000';
$prv['color'] = 'FF0000';
}
$prv['text2'] = '{tm1} ' . $prv['text'] . '. <font Color=' . $prv['color'] . '><b>' . $pvr['hpSee'] . '</b></font> [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']'; $prv['text2'] = '{tm1} ' . $prv['text'] . '. <font Color=' . $prv['color'] . '><b>' . $pvr['hpSee'] . '</b></font> [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']';
$btl->priemAddLog($id, 1, 2, $u->info['id'], $this->ue['id'], $btl->priemAddLog($id, 1, 2, $u->info['id'], $this->ue['id'],
'<font color^^^^#' . $prv['color'] . '>Ïûëàþùàÿ Ñìåðòü</font>', '<font color^^^^#' . $prv['color2'] . '>Ďűëŕţůŕ˙ Ńěĺđňü</font>',
$prv['text2'], $prv['text2'],
($btl->hodID + 1) ($btl->hodID + 1)
); );
@ -83,3 +108,4 @@ if (
$this->mintr($pl); $this->mintr($pl);
} }
unset($pvr); unset($pvr);
?>

View File

@ -32,7 +32,7 @@ if( isset($pr_momental_this)) {
); );
*/ */
// //
$pvr['mp'] = round($u->stats['mpAll']*0.05); $pvr['mp'] = round($u->stats['mpAll']*0.15);
$pvr['mpSee'] = 0; $pvr['mpSee'] = 0;
$pvr['mpNow'] = floor($u->stats['mpNow']); $pvr['mpNow'] = floor($u->stats['mpNow']);
$pvr['mpAll'] = $u->stats['mpAll']; $pvr['mpAll'] = $u->stats['mpAll'];
@ -66,7 +66,7 @@ if( isset($pr_momental_this)) {
$btl->stats[$btl->uids[$u->info['id']]]['mpNow'] = $pvr['mpNow']; $btl->stats[$btl->uids[$u->info['id']]]['mpNow'] = $pvr['mpNow'];
$btl->users[$btl->uids[$u->info['id']]]['mpNow'] = $pvr['mpNow']; $btl->users[$btl->uids[$u->info['id']]]['mpNow'] = $pvr['mpNow'];
// //
$pvr['hp'] = round($u->stats['hpAll']*0.05); $pvr['hp'] = round($u->stats['hpAll']*0.15);
$pvr['hpSee'] = 0; $pvr['hpSee'] = 0;
$pvr['hpNow'] = floor($u->stats['hpNow']); $pvr['hpNow'] = floor($u->stats['hpNow']);
$pvr['hpAll'] = $u->stats['hpAll']; $pvr['hpAll'] = $u->stats['hpAll'];

View File

@ -11,14 +11,14 @@ $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHE
if( $pvr['x5']['x'] < 5 ) { if( $pvr['x5']['x'] < 5 ) {
$prv['x'] = ''; $prv['x'] = '';
if( $pvr['x5']['x'] > 0 ) { if( $pvr['x5']['x'] > 0 ) {
$prv['x'] = ' x'.($pvr['x5']['x']+1); $prv['x'] = ' x'.($pvr['x5']['x']+1).'';
} }
// //
$this->addEffPr($pl,$id); $this->addEffPr($pl,$id);
// //
$prv['effx'] = ''; $prv['effx'] = '';
if( $pvr['x5']['x'] > 0 ) { if( $pvr['x5']['x'] > 0 ) {
$prv['eff'] = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id` = '.$pvr['x5']['id'])); $prv['eff'] = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `id` = "'.$pvr['x5']['id'].'" LIMIT 1'));
if( isset($prv['eff']['id']) ) { if( isset($prv['eff']['id']) ) {
//Ðàçáèðàåì äàòó $prv['eff']['data'] //Ðàçáèðàåì äàòó $prv['eff']['data']
$prv['eda'] = $prv['eff']['data']; $prv['eda'] = $prv['eff']['data'];
@ -34,7 +34,7 @@ if( $pvr['x5']['x'] < 5 ) {
$prv['v'] = $u->lookKeys($this->redate($prv['eda'],$u->info['id']),0); // êëþ÷è 2 $prv['v'] = $u->lookKeys($this->redate($prv['eda'],$u->info['id']),0); // êëþ÷è 2
$prv['i'] = 0; $prv['inf'] = ''; $prv['i'] = 0; $prv['inf'] = '';
while($prv['i']<count($prv['v'])) { while($prv['i']<count($prv['v'])) {
//$prv['j'][$prv['v'][$prv['i']]] += $prv['j'][$prv['v'][$prv['i']]];
$prv['vi'] = str_replace('add_','',$prv['v'][$prv['i']]); $prv['vi'] = str_replace('add_','',$prv['v'][$prv['i']]);
if($u->is[$prv['vi']]!='') { if($u->is[$prv['vi']]!='') {
if($prv['j'][$prv['v'][$prv['i']]]>0) { if($prv['j'][$prv['v'][$prv['i']]]>0) {

View File

@ -99,8 +99,7 @@ if( isset($pr_momental_this)) {
// //
//if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 0; } //if( $at['p'][$a]['atack'][$j]['yron']['y'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['y'] = 0; }
if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; } if( $at['p'][$a]['atack'][$j]['yron']['r'] >= 0 ) { $at['p'][$a]['atack'][$j]['yron']['r'] = -1; }
$priem->addAirStaticPoints($u1); $priem->mg2static_points( $u1 , $btl->stats[$btl->uids[$u1]] );
/* /*
if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; } if( $at['p'][$a]['atack'][$j]['yron']['k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['k'] = 1; }
if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; } if( $at['p'][$a]['atack'][$j]['yron']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; }

View File

@ -1,4 +1,4 @@
<?php /**@var $this Priems*/ <?php /**@var $this priems*/
if (!defined('GAME')) { if (!defined('GAME')) {
die(); die();
} }

View File

@ -1,10 +1,5 @@
<?php <?php
/** Ïðèåì: Îëåäåíåíèå: Ðàçáèòü! (êàêîãî-òî õðåíà íåêîòîðûå ïðè¸ìû ïîëíîñòüþ óìèðàþò ïðè ïåðåíîñå â _cron_) /** Ïðèåì: Îëåäåíåíèå: Ðàçáèòü! @var $this priems */
* @var $this Priems
* @var $btl Battle
* @var $id int
* @var $pl array
*/
if (!$id) { if (!$id) {
exit(); exit();
} }
@ -51,18 +46,28 @@ if (!isset($pvr['mg']['id'])) {
//Öâåò ïðèåìà //Öâåò ïðèåìà
if ($pvr['promah']) { if ($pvr['promah']) {
$prv['color'] = $this->logColor['miss']; $prv['color2'] = '909090';
$prv['color'] = '909090';
} elseif ($pvr['krit']) { } elseif ($pvr['krit']) {
$prv['color'] = $this->logColor['crit']; $prv['color2'] = 'FF0000';
$prv['color'] = 'FF0000';
} else { } else {
$prv['color'] = $this->logColor[$this::WATER]; $prv['color2'] = '006699';
if (isset($btl->mcolor[$btl->mname['âîäà']])) {
$prv['color2'] = $btl->mcolor[$btl->mname['âîäà']];
}
$prv['color'] = '000000';
if (isset($btl->mncolor[$btl->mname['âîäà']])) {
$prv['color'] = $btl->mncolor[$btl->mname['âîäà']];
}
} }
$prv['text2'] = '{tm1} ' . $prv['text'] . '. <font Color=' . $prv['color'] . '><b ' . $btl->maginfoattack($this->u->info['id'], $this->ue['id'], 3) . '>' . $pvr['hpSee'] . '</b></font> [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']'; $prv['text2'] = '{tm1} ' . $prv['text'] . '. <font Color=' . $prv['color'] . '><b ' . $btl->maginfoattack($this->u->info['id'], $this->ue['id'], 3) . '>' . $pvr['hpSee'] . '</b></font> [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']';
if ($pvr['promah_type'] == 2) { if ($pvr['promah_type'] == 2) {
$prv['text'] = $btl->addlt(1, 20, $btl->users[$btl->uids[$this->u->info['id']]]['sex'], NULL); $prv['text'] = $btl->addlt(1, 20, $btl->users[$btl->uids[$this->u->info['id']]]['sex'], NULL);
$prv['text2'] = '{tm1} ' . $prv['text'] . '. <font Color=' . $prv['color'] . '><b ' . $btl->maginfoattack($this->u->info['id'], $this->ue['id'], 3) . '>--</b></font> [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']'; $prv['text2'] = '{tm1} ' . $prv['text'] . '. <font Color=' . $prv['color'] . '><b ' . $btl->maginfoattack($this->u->info['id'], $this->ue['id'], 3) . '>--</b></font> [' . $pvr['hpNow'] . '/' . $pvr['hpAll'] . ']';
} }
$btl->priemAddLog($id, 1, 2, $this->u->info['id'], $this->u->info['enemy'], '<font color^^^^#' . $prv['color'] . '>Îëåäåíåíèå: Ðàçáèòü!</font>', $prv['text2'], ($btl->hodID + 1)); $btl->priemAddLog($id, 1, 2, $this->u->info['id'], $this->u->info['enemy'], '<font color^^^^#' . $prv['color2'] . '>Îëåäåíåíèå: Ðàçáèòü!</font>', $prv['text2'], ($btl->hodID + 1));
//Óäàëÿåì îëåäåíåíèå //Óäàëÿåì îëåäåíåíèå
$pvr['mg']['priem']['id'] = $pvr['mg']['id']; $pvr['mg']['priem']['id'] = $pvr['mg']['id'];

View File

@ -1,5 +1,5 @@
<?php <?php
/** @var $this Priems*/ /** @var $this priems*/
if(!defined('GAME')) { if(!defined('GAME')) {
die(); die();
} }

View File

@ -6,8 +6,8 @@ if(!defined('GAME')) {
Ïðèåì: Êàìåííûé Öâåòîê [8] Ïðèåì: Êàìåííûé Öâåòîê [8]
*/ */
$pvr = array(); $pvr = array();
$pvr['hp_0'] = 40; $pvr['hp_0'] = 51;
$pvr['hp_1'] = 14; $pvr['hp_1'] = 45;
//Äåéñòâèå ïðè êëèêå //Äåéñòâèå ïðè êëèêå
$pvr['hp'] = $pvr['hp_0']; $pvr['hp'] = $pvr['hp_0'];
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 ); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 );

View File

@ -7,7 +7,7 @@ if(!defined('GAME')) {
*/ */
$pvr = array(); $pvr = array();
//Äåéñòâèå ïðè êëèêå //Äåéñòâèå ïðè êëèêå
$pvr['hp'] = rand(1,87); $pvr['hp'] = rand(40,50);
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'âîçäóõ', 1 ); $pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'âîçäóõ', 1 );
$pvr['promah_type'] = $pvr['hp'][3]; $pvr['promah_type'] = $pvr['hp'][3];
$pvr['promah'] = $pvr['hp'][2]; $pvr['promah'] = $pvr['hp'][2];

View File

@ -59,8 +59,8 @@ $pvr = array();
$prv['color'] = '909090'; $prv['color'] = '909090';
} }
//$this->mg2static_points( $this->ue['id'] , $btl->stats[$btl->uids[$u->info['id']]] );
$this->addAirStaticPoints(); /* Óäàð â Ñòàòèêó*/ $this->addAirStaticPoints(); /* Óäàð â Ñòàòèêó*/
$prv['text2'] = '{tm1} '.$prv['text'].'. <font Color='.$prv['color'].'><b '.$btl->maginfoattack($u->info['id'],$this->ue['id'],2).'>'.$pvr['hpSee'].'</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']'; $prv['text2'] = '{tm1} '.$prv['text'].'. <font Color='.$prv['color'].'><b '.$btl->maginfoattack($u->info['id'],$this->ue['id'],2).'>'.$pvr['hpSee'].'</b></font> ['.$pvr['hpNow'].'/'.$pvr['hpAll'].']';
if( $pvr['promah_type'] == 2 ) { if( $pvr['promah_type'] == 2 ) {

View File

@ -149,7 +149,7 @@ if(isset($hod))
}elseif($pl['id']==93) }elseif($pl['id']==93)
{ {
//молния [8] //молния [8]
$hpmin = rand(1,87); $hpmin = rand(40,50);
}elseif($pl['id']==94) }elseif($pl['id']==94)
{ {
//молния [9] //молния [9]

View File

@ -1,3 +1 @@
<? <?php $txt.= '<br><strong style="color: red;">Ó âàñ íåò ïîäõîäÿùèõ ïðåäìåòîâ äëÿ îáìåíà...</strong>';
$txt .= '<br><b><font color=red>Ó âàñ íåò ïîäõîäÿùèõ ïðåäìåòîâ äëÿ îáìåíà...</b></font>';
?>

View File

@ -9,8 +9,8 @@ die();
define('GAME',true); define('GAME',true);
setlocale(LC_CTYPE ,"ru_RU.CP1251"); setlocale(LC_CTYPE ,"ru_RU.CP1251");
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
function error($e) function error($e)
{ {

View File

@ -1,22 +1,22 @@
<?php <?php
ini_set("display_errors","1"); ini_set("display_errors","1");
ini_set("display_startup_errors","1"); ini_set("display_startup_errors","1");
ini_set('error_reporting', E_ALL); ini_set('error_reporting', E_ALL);
ini_set("log_errors","1"); ini_set("log_errors","1");
ini_set("error_log","php-errors.log"); ini_set("error_log","php-errors.log");
//header("Content-Type: audio/mp3; codecs=opus;",true); //charset=us-ascii //header("Content-Type: audio/mp3; codecs=opus;",true); //charset=us-ascii
//header("Accept-Ranges: bytes"); //header("Accept-Ranges: bytes");
//charset=us-ascii //charset=us-ascii
$ttime=time(); $ttime=time();
$body = file_get_contents('php://input'); $body = file_get_contents('php://input');
$loc = "audio/audio_".$ttime.".mp3"; $loc = "audio/audio_".$ttime.".mp3";
file_put_contents($loc, $body, FILE_APPEND); file_put_contents($loc, $body, FILE_APPEND);
//die ('{["'.$ttime.'"]}'); //die ('{["'.$ttime.'"]}');
//die ($ttime); //die ($ttime);
echo $ttime; echo $ttime;
//die (file_get_contents('php://input')); //die (file_get_contents('php://input'));
//die ('{["'.file_get_contents('php://input').'"]}'); //die ('{["'.file_get_contents('php://input').'"]}');
//$homepage = ('{["'.file_get_contents('./'.$loc).'"]}'); //$homepage = ('{["'.file_get_contents('./'.$loc).'"]}');
//echo $homepage; //echo $homepage;
?> ?>

View File

@ -69,8 +69,8 @@ define('GAME',true);
setlocale(LC_CTYPE ,"ru_RU.CP1251"); setlocale(LC_CTYPE ,"ru_RU.CP1251");
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
//Îáíóëåíèå ïåðåäà÷ ðàç â ñóòêè //Îáíóëåíèå ïåðåäà÷ ðàç â ñóòêè
mysql_query('UPDATE `stats` SET `transfers` = 100 WHERE `transfers` < 200'); mysql_query('UPDATE `stats` SET `transfers` = 100 WHERE `transfers` < 200');

View File

@ -1,479 +0,0 @@
var loadingLogNow = true;
var vlogid = 0;
var battleClass = {
battle:0,
hod:0,
conf:{
timeout:'-- ìèí.',
damage:'0',
tactic:[ 0 , 0 , 0 , 0 , 0 , 0 , 0 ],
priems:[],
pr:"",
pr_z:"",
pr_s:0
},
me:0,
enemy:0,
users:{ },
uids:[0],
priems:{ },
prms:[0],
eff:[],
act:[],
log:function(txt) {
console.log(txt);
},
start:function() {
this.reflesh(1);
},
reflesh:function( type ) {
$.getJSON( 'https://new-combats.com/getbattle.php',{ 'global':true,'type':type },function(data) {
//
if( data.e != undefined && data.e != "" ) {
alert( 'Îøèáêà: ' + data.e );
}
//
battleClass.me = data.you;
battleClass.enemy = data.enemy;
battleClass.battle = data.btl;
battleClass.hod = data.hod;
battleClass.conf.timeout = data.to;
battleClass.conf.damage = data.dm;
battleClass.conf.pr = data.pr[0];
battleClass.conf.pr_z = data.pr[1];
battleClass.conf.pr_s = data.pr[2];
battleClass.conf.tactic = [ 0 , data.t1 , data.t2 , data.t3 , data.t4 , data.t5 , data.t6 , data.t7 ];
//
battleClass.eff = data.r.eff_me;
battleClass.act = data.r.act;
//
//Ïîëüçîâàòåëè
if( data.r.u != undefined ) {
var i = 0;
while( i != -1 ) {
if( data.r.u[i] != undefined ) {
if( data.r.u[i][0] > 0 ) {
//
if( battleClass.users[data.r.u[i][0]] == undefined ) {
battleClass.users[data.r.u[i][0]] = { 'complete':false };
battleClass.uids[0]++;
battleClass.uids[battleClass.uids[0]] = data.r.u[i][0];
}
battleClass.users[data.r.u[i][0]].id = data.r.u[i][0];
//
battleClass.users[data.r.u[i][0]].hp = data.r.u[i][1];
battleClass.users[data.r.u[i][0]].mp = data.r.u[i][2];
battleClass.users[data.r.u[i][0]].hpAll = data.r.u[i][3];
battleClass.users[data.r.u[i][0]].mpAll = data.r.u[i][4];
//
if( battleClass.users[data.r.u[i][0]].hp > battleClass.users[data.r.u[i][0]].hpAll ) {
battleClass.users[data.r.u[i][0]].hp = battleClass.users[data.r.u[i][0]].hpAll;
}
if( battleClass.users[data.r.u[i][0]].mp > battleClass.users[data.r.u[i][0]].mpAll ) {
battleClass.users[data.r.u[i][0]].mp = battleClass.users[data.r.u[i][0]].mpAll;
}
//
}else{
battleClass.log( 'Îøèáêà, èãðîê íå íàéäåí...' );
}
}else{
i = -2;
}
i++;
}
battleClass.loadingGlobaldata();
}
//
});
},
loadingGlobaldata:function() {
var r = {
'load':0,
'users':"0",
'priems':"0"
};
//Îáíîâëÿåì ïîëüçîâàòåëåé êîòîðûõ íå ïðîãðóçèëè
/*
Ñêëîííîñòü, Êëàí, Óðîâåíü, Ëîãèí, Êîìàíäà
*/
var i = 1;
while( i <= battleClass.uids[0] ) {
if( battleClass.users[ battleClass.uids[i] ].complete == false ) {
//Ïðîãðóæàåì äàííûå èãðîêà
r.load++;
r.users = r.users + "," + battleClass.users[ battleClass.uids[i] ].id;
}else{
//Âñå îêåé
}
i++;
}
//Ïðèåìû
var pr = battleClass.conf.pr.split('|');
var prz = battleClass.conf.pr_z.split('|');
var i = 0;
while( i < battleClass.conf.pr_s ) {
if( pr[i] != undefined && pr[i] > 0 ) {
if( battleClass.priems[pr[i]] == undefined ) {
//Ïðîãðóæàåì äàííûå ïî ïðèåìàì
r.load++;
r.priems += ',' + pr[i];
}else{
//Âñå îêåé
}
}
i++;
}
//
if( r.load > 0 ) {
$.getJSON( 'https://new-combats.com/getbattle.php',{ 'loading':true , 'uload':r.users , 'pload':r.priems },function(data) {
//
if( data.e != undefined && data.e != "" ) {
alert( 'Îøèáêà: ' + data.e );
}
//
if( data.r != undefined ) {
//+++++++++++++++++++++++++++++
battleClass.log(data);
//Çàãðóçêà ïîëüçîâàòåëåé
if( data.r.ul != undefined ) {
//
var i = 0;
while( i != -1 ) {
if( data.r.ul[i] != undefined ) {
if( data.r.ul[i].id > 0 ) {
//
if( battleClass.users[data.r.ul[i].id] == undefined ) {
battleClass.users[data.r.ul[i].id] = { };
battleClass.uids[0]++;
battleClass.uids[battleClass.uids[0]] = data.r.ul[i].id;
}
battleClass.users[data.r.ul[i].id] = data.r.ul[i];
//
battleClass.users[data.r.ul[i].id].complete = true;
//
}else{
battleClass.log( 'Îøèáêà, èãðîê íå íàéäåí...' );
}
}else{
i = -2;
}
i++;
}
//
}
//Çàãðóçêà ïðèåìîâ
if( data.r.pl != undefined ) {
//
var i = 0;
while( i != -1 ) {
if( data.r.pl[i] != undefined ) {
if( data.r.pl[i].id > 0 ) {
//
if( battleClass.priems[data.r.pl[i].id] == undefined ) {
battleClass.priems[data.r.pl[i].id] = { };
battleClass.prms[0]++;
battleClass.prms[battleClass.prms[0]] = data.r.pl[i].id;
}
battleClass.priems[data.r.pl[i].id] = data.r.pl[i];
//
battleClass.priems[data.r.pl[i].id].complete = true;
//
}else{
battleClass.log( 'Îøèáêà, ïðèåì íå íàéäåí...' );
}
}else{
i = -2;
}
i++;
}
//
}
battleClass.generate();
//+++++++++++++++++++++++++++++
}
//
});
}else{
battleClass.generate();
}
//
},
loadLog:function(url) {
var loadingLogNow = false;
$('#battle_log').remove();
var e = document.createElement("script");
e.src = url;
e.id = 'battle_log';
e.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
},
testAct:function(uid1,uid2) {
var r = false;
var i = 0;
while( i != -1 ) {
if( this.act[i] != undefined ) {
if( this.act[i][1] == uid1 && this.act[i][2] == uid2 ) {
r = true;
}
}else{
i = -2;
}
i++;
}
return r;
},
userInfoItems:function(id,t) {
var i = 0;
while( i != - 1 ) {
if( this.users[id].itm[i] != undefined ) {
//
title = '<center><b>'+this.users[id].itm[i][3]+'</b>';
title += '<br><i>(Õàðàêòåðèñòèêè ñêðûòû)</i>';
title += '</center>';
//
var cvs = '';
if( id == this.me ) {
cvs = this.users[id].itm[i][5];
}
//
abitms(t,id,this.users[id].itm[i][0],this.users[id].itm[i][2],this.users[id].itm[i][3],title,this.users[id].itm[i][4],cvs);
}else{
i = -2;
}
i++;
}
},
userInfoEffects:function(id,t) {
var i = 0;
var html = '';
if( this.eff != undefined ) {
while( i != - 1 ) {
if( this.eff[i] != undefined ) {
if( this.eff[i][0] == id ) {
var title_eff = '<b><u>'+this.eff[i][3]+'</u></b>';
var eff_types = '(Ýôôåêò)';
if( this.eff[i][5] > 0 && this.eff[i][5] < 7 ) {
var eff_types = '(Ýëèêñèð)';
}else if( (this.eff[i][5] > 6 && this.eff[i][5] < 11) || this.eff[i][5] == 16 ) {
var eff_types = '(Çàêëÿòèå)';
}else if( this.eff[i][5] == 14 ) {
var eff_types = '(Ïðèåì)';
}else if( this.eff[i][5] == 15 ) {
var eff_types = '(Èçó÷åíèå)';
}else if( this.eff[i][5] == 17 ) {
var eff_types = '(Ïðîêëÿòèå)';
}else if( this.eff[i][5] == 18 || this.eff[i][5] == 17 ) {
var eff_types = '(Òðàâìà)';
}else if( this.eff[i][5] == 20 ) {
var eff_types = '(Ïðèñòðàñòèå)';
}else if( this.eff[i][5] == 22 ) {
var eff_types = '(Îæèäàíèå)';
}
title_eff += ' ' + eff_types;
html = '<div class="pimg" pog="0" col="0" stl="0" stt="'+title_eff+'"><img src="https://img.new-combats.com/i/eff/'+this.eff[i][4]+'"></div>'+html;
}
}else{
i = -2;
}
i++;
}
}
return html;
},
userInfo:function(id,t) {
var stats_title = '';
stats_title += '<b>'+this.users[id].login+'</b><br>';
stats_title += 'Ñèëà: --<br>';
stats_title += 'Ëîâêîñòü: --<br>';
stats_title += 'Èíòóèöèÿ: --<br>';
stats_title += 'Âûíîñëèâîñòü: --<br>';
var eff_data = this.userInfoEffects(id,t);
return info_reflesh(t,id,'',this.users[id].obraz,this.users[id].hp,this.users[id].hpAll,this.users[id].mp,this.users[id].mpAll,0,0,eff_data,stats_title,0,'');
},
generate:function() {
//Íàáèòî
$('#nabito').html( this.conf.damage );
//Òàéìàóò
$('#timer_out').html( this.conf.timeout );
//Òàêòèêè
var i = 1;
while( i <= 7 ) {
$('#tac'+i).html( ( 0 + parseInt(this.conf.tactic[i]) ));
i++;
}
$('#tac7t').attr( { 'title':'Óðîâåíü äóõà: ' + this.conf.tactic[7] } );
//Èãðîê
$('#player1').html( this.userInfo(this.me,1) );
$('#player1_login').html( this.microLogin(this.me,0) );
this.userInfoItems(this.me,1);
//Ïðîòèâíèê
if( this.enemy > 0 ) {
$('#player2').html( this.userInfo(this.enemy,2) );
$('#player2_login').html( this.microLogin(this.enemy,0) + '&nbsp;' );
this.userInfoItems(this.enemy,2);
}else{
$('#player2_login').html('');
$('#player2').html('Íåò ïðîòèâíèêà...');
}
//Äîï.ôóíêöèè
shpb();
//Ïðèåìû
var pr_see = '';
var pr = battleClass.conf.pr.split('|');
var prz = battleClass.conf.pr_z.split('|');
var i = 0;
while( i < battleClass.conf.pr_s ) {
if( pr[i] != undefined && pr[i] > 0 ) {
if( battleClass.priems[pr[i]] != undefined ) {
prm = battleClass.priems[pr[i]];
cl = '';
if( prm.type == 1 ) {
var onuser = '';
if( prm.onUser > 0 ) {
cl = 'href="javascript:void(0);" onClick="top.priemOnUser('+i+',1,\''+prm.name+'\',\''+onuser+'\',\''+prm.img+'\');"';
}else{
cl = 'href="javascript:void(0);" onClick="usepriem('+i+',1,\''+prm.img+'\');"';
}
}else if( prm.type == 2 ) {
cl = 'href="javascript:void(0);" onClick="usepriem('+i+',1,\''+prm.img+'\');"';
}else if( prm.type == 3 ) {
cl = 'href="javascript:void(0);" onClick="alert(\'Âîçìîæíî èñïîëüçóåì?\');"';
}
}else{
prm = {
'id':pr[i],
'name':"*Íåèçâåñòíûé ïðèåì ¹"+pr[i]+"*",
'img':"clearPriem.gif"
};
cl = 'href="javascript:void(0);" onclick="alert(\'Ïðèåì íå íàéäåí\');"';
}
pr_see += '<a '+cl+'><img style="margin-top:4px;margin-left:4px;" title="'+prm.name+'" src="https://img.new-combats.com/i/eff/'+prm.img+'.gif" width="40" height="25"></a>';
}else{
pr_see += '<img style="margin-top:4px;margin-left:4px;" title="Ïóñòîé ñëîò ïðèåìà" src="https://img.new-combats.com/i/items/w/clearPriem.gif" width="40" height="25">';
}
i++;
}
$('#priems').html( pr_see );
delete pr_see;
//Ñîáèðàåì êîìàíäû
var rd = '';
var tms = [];
var tmr = [0];
var i = 1;
while( i <= this.uids[0] ) {
if( tms[this.users[ this.uids[i] ].team] == undefined ) {
tmr[0]++;
tms[this.users[ this.uids[i] ].team] = '';
tmr[tmr[0]] = this.users[ this.uids[i] ].team;
}
if( this.users[ this.uids[i] ].hp > 0 ) {
if( tms[this.users[ this.uids[i] ].team] != '' ) {
tms[this.users[ this.uids[i] ].team] += ', ';
}
tms[this.users[ this.uids[i] ].team] += this.teamLogin(this.users[ this.uids[i] ].id,1);
}
i++;
}
var i = 1;
while( i <= tmr[0] ) {
if( tms[tmr[i]] != '' ) {
if( rd != '' ) {
rd += ' &nbsp;&nbsp;<b>ïðîòèâ</b>&nbsp;&nbsp; ';
}
rd += '<img src="https://img.new-combats.com/i/lock3.gif" style="cursor:pointer"> ' + tms[tmr[i]];
}
i++;
}
$('#teams').html( rd );
//
//ëîã áîÿ
this.loadLog('https://new-combats.com/battle_logs/btl_'+this.battle+'.js?'+this.hod);
this.logTimerX = 0;
this.logUpdateNow();
//
//Ðàçäåë ïîåäèíêà
if( this.testAct( this.me , this.enemy ) == true ) {
mainstatus(2);
}else{
mainstatus(1);
}
//
},
lastvlogid:0,
logTimer:null,
logTimerX:0,
logUpdateNow:function() {
clearTimeout(this.logTimer);
if( typeof logRefleshedCache == 'function' && loadingLogNow == true && this.lastvlogid < vlogid) {
this.lastvlogid = vlogid;
this.logTimerX = 0;
$('#battle_logg').html('');
logRefleshedCache();
}else{
this.logTimerX++;
this.log('logUpdateNow-cycles');
if( this.logTimerX < 101 ) {
this.logTimer = setTimeout('battleClass.logUpdateNow();',20);
}else{
this.logTimerX = 0;
}
}
},
teamLogin:function(id,type) {
var r = '';
if( this.users[id].align != undefined && this.users[id].align > 0 ) {
// r += '<img src="https://img.new-combats.com/i/align/align'+this.users[id].align+'.gif">';
}
if( this.users[id].clan != undefined && this.users[id].clan > 0 ) {
// r += '<img src="https://img.new-combats.com/i/clan/'+this.users[id].clan+'.gif">';
}
var stl = '';
if( this.testAct(this.me,id) != false ) {
//Óäàðèëè îæèäàåì îòâåòà
stl = '';
}
if( this.testAct(id,this.me) != false ) {
//Óäàðèëè, íóæíî îòâåòèòü
stl = 'text-decoration:underline;';
}
r += '<b style="'+stl+'" onclick="top.chat.addto(\''+this.users[id].login+'\',\'to\');" oncontextmenu="top.infoMenu(\''+this.users[id].login+'\',event,\'main\'); return false;" class="CSSteam'+this.users[id].team+'">'+this.users[id].login+'</b>';
//
r += '<small> ['+this.users[id].hp+'/'+this.users[id].hpAll+']</small>';
//
return r;
},
microLogin:function(id,type) {
var r = '';
if( this.users[id].align != undefined && this.users[id].align > 0 ) {
r += '<img src="https://img.new-combats.com/i/align/align'+this.users[id].align+'.gif">';
}
if( this.users[id].clan != undefined && this.users[id].clan > 0 ) {
r += '<img src="https://img.new-combats.com/i/clan/'+this.users[id].clan+'.gif">';
}
r += '<a href="javascript:void(0)" onclick="top.chat.addto(\''+this.users[id].login+'\',\'to\');" oncontextmenu="top.infoMenu(\''+this.users[id].login+'\',event,\'main\'); return false;">'+this.users[id].login+'</a> ['+this.users[id].level+']';
r += '<a href="/info/'+this.users[id].id+'" target="_blank"><img title="Èíô. î '+this.users[id].login+'" src="https://img.new-combats.com/i/inf_capitalcity.gif"></a>';
return r;
}
};

View File

@ -6,22 +6,9 @@ function er($e)
exit('<html><head><meta name="msapplication-config" content="browserconfig.xml"><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><meta http-equiv="Content-Language" content="ru"><TITLE>Ïðîèçîøëà îøèáêà</TITLE></HEAD><BODY text="#FFFFFF"><p><font color=black>Ïðîèçîøëà îøèáêà: <pre>' . $e . '</pre><b><p><a href="https://' . $c[0] . '/">Íàçàä</b></a><HR><p align="right">(c) <a href="https://' . $c[0] . '/">' . $c[1] . '</a></p></body></html>'); exit('<html><head><meta name="msapplication-config" content="browserconfig.xml"><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><meta http-equiv="Content-Language" content="ru"><TITLE>Ïðîèçîøëà îøèáêà</TITLE></HEAD><BODY text="#FFFFFF"><p><font color=black>Ïðîèçîøëà îøèáêà: <pre>' . $e . '</pre><b><p><a href="https://' . $c[0] . '/">Íàçàä</b></a><HR><p align="right">(c) <a href="https://' . $c[0] . '/">' . $c[1] . '</a></p></body></html>');
} }
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
define('IP', GetRealIp());
include_once('_incl_data/__config.php'); include_once('_incl_data/__config.php');
include_once('_incl_data/class/__db_connect.php'); include_once('_incl_data/class/__db_connect.php');
define('IP', UserIp::get());
$u = User::start(); $u = User::start();
$filter = new Filter(); $filter = new Filter();
$chat = new Chat(); $chat = new Chat();
@ -147,7 +134,9 @@ if ($u->info['activ'] > 0) {
<script type="text/javascript" src="js/onlineList.js"></script> <script type="text/javascript" src="js/onlineList.js"></script>
<script type="text/javascript" src="js/hpregen.js"></script> <script type="text/javascript" src="js/hpregen.js"></script>
<script type="text/javascript" src="js/jquery-fireHint.js"></script> <script type="text/javascript" src="js/jquery-fireHint.js"></script>
<script src="js/registrationTraining/index.js" type="module" defer></script>
<script type="text/javascript" src="js/trainingModals/registration/index.js"></script>
<?php <?php
@ -181,8 +170,8 @@ if ($u->info['activ'] > 0) {
} }
?> ?>
<link href="./js/registrationTraining/trainingModal.css" rel="stylesheet" type="text/css"/> <link href="./js/trainingModals/registration/trainingModalStyles.css" rel="stylesheet" type="text/css"/>
<link href="./js/registrationTraining/trainingElements.css" rel="stylesheet" type="text/css"/>
<style type="text/css"> <style type="text/css">
/* Additional classes examples */ /* Additional classes examples */
.woman a { .woman a {

View File

@ -1,5 +1,5 @@
<? <?
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
?> ?>
<HTML><HEAD> <HTML><HEAD>
<link rel=stylesheet type="text/css" href="https://img.new-combats.com/css/main.css"> <link rel=stylesheet type="text/css" href="https://img.new-combats.com/css/main.css">

View File

@ -1,41 +1,43 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ru-RU"> <html lang="ru-RU">
<head> <head>
<meta charset="windows-1251"> <meta charset="windows-1251">
<title>Íîâûé «Áîéöîâñêèé Êëóá» - ëåãåíäàðíàÿ áðàóçåðíàÿ îíëàéí èãðà</title> <title>Íîâûé «Áîéöîâñêèé Êëóá» - ëåãåíäàðíàÿ áðàóçåðíàÿ îíëàéí èãðà</title>
<meta name="description" content="Áðàóçåðíàÿ èãðà ñòàðûé ÁÊ. Ñòàðûé Áîéöîâñêèé Êëóá. Íîâûé Áîéöîâñêèé Êëóá."/> <meta name="description" content="Áðàóçåðíàÿ èãðà ñòàðûé ÁÊ. Ñòàðûé Áîéöîâñêèé Êëóá. Íîâûé Áîéöîâñêèé Êëóá."/>
<meta name="keywords" content="Áîéöîâñêèé êëóá èãðàòü, áîéöîâñêèé êëóá, Combats.com, ñòàðûé áîéöîâñêèé êëóá, èãðà áîéöîâñêèé êëóá, èãðàòü â êîìáàòñ, êîìáàòñ, áðàóçåðíàÿ îíëàéí èãðà, Acombats, ñòàðûé ÁÊ, èãðàòü â ñòàðûé ÁÊ, oldcombats, îíëàéí ìèð, ìàã, likebk, Comabts, legbk, acomabts.com, ãàéä êðèò, ãàéä óâîðîò, ãàéä òàíê, ãàéä êðèò"/> <meta name="keywords"
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"/> content="Áîéöîâñêèé êëóá èãðàòü, áîéöîâñêèé êëóá, Combats.com, ñòàðûé áîéöîâñêèé êëóá, èãðà áîéöîâñêèé êëóá, èãðàòü â êîìáàòñ, êîìáàòñ, áðàóçåðíàÿ îíëàéí èãðà, Acombats, ñòàðûé ÁÊ, èãðàòü â ñòàðûé ÁÊ, oldcombats, îíëàéí ìèð, ìàã, likebk, Comabts, legbk, acomabts.com, ãàéä êðèò, ãàéä óâîðîò, ãàéä òàíê, ãàéä êðèò"/>
<meta http-equiv="Cache-Control" content="max-age=3600"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"/>
<meta name="msapplication-config" content="browserconfig.xml"/> <meta http-equiv="Cache-Control" content="max-age=3600"/>
<link type="text/css" rel="stylesheet" href="stylen.css" /> <meta name="msapplication-config" content="browserconfig.xml"/>
<link type="text/css" rel="stylesheet" href="stylen.css"/>
<!-- capcha google counter --> <!-- capcha google counter -->
</head> </head>
<body> <body>
<div class="page-background"><img class="img1" src="werhr.jpg" alt="Ñòàðûé áîéöîâñêèé êëóá èãðàòü è îáùàòüñÿ âìåñòå ñ íàìè new-combats.com"> <div class="page-background">
<div align="center"> <img class="img1" src="werhr.jpg" alt="Ñòàðûé áîéöîâñêèé êëóá èãðàòü è îáùàòüñÿ âìåñòå ñ íàìè new-combats.com">
<a href='/news' target="_blank">Íîâîñòè ïðîåêòà</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div style="text-align: center; margin-bottom: 50px;">
<a href='/repass'>Âîññòàíîâëåíèå ïàðîëÿ</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/news' target="_blank">Íîâîñòè ïðîåêòà</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='/register'>Ðåãèñòðàöèÿ â èãðå</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/repass'>Âîññòàíîâëåíèå ïàðîëÿ</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='/forum' target="_blank">Ôîðóì ïðîåêòà</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/register'>Ðåãèñòðàöèÿ â èãðå</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/rating_pers" target="_blank">Ðåéòèíã ïåðñîíàæåé</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/forum' target="_blank">Ôîðóì ïðîåêòà</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/rating_clans" target="_blank">Ðåéòèíã êëàíîâ</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/rating_pers" target="_blank">Ðåéòèíã ïåðñîíàæåé</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br> <a href="/rating_clans" target="_blank">Ðåéòèíã êëàíîâ</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br> </div>
<br> <h1>Êîíòàêòû</h1>
</div>
<h1>Êîíòàêòû</h1>
<p align="center">Êîíòàêòíàÿ èíôîðìàöèÿ <br> <div style="text-align: center; margin-bottom: 50px;">
Ìû ðàñïîëîæåíû ïî àäðåñó: ã. Ìîñêâà, óë. Íàó÷íûé ïðîåçä ä.8 ñòð.1 <br> Êîíòàêòíàÿ èíôîðìàöèÿ <br>
Äëÿ ñâÿçè: +79107779911 <br> Ìû ðàñïîëîæåíû ïî àäðåñó: ã. Ìîñêâà, óë. Íàó÷íûé ïðîåçä ä.8 ñòð.1 <br>
Ãðàôèê ðàáîòû: ÏÍ-ÏÒ 10:00 18:00, ÑÁ-ÂÑ - âûõîäíîé<strong></p><br><br><br> Äëÿ ñâÿçè: +79107779911 <br>
<div align="center"> Ãðàôèê ðàáîòû: ÏÍ-ÏÒ 10:00 18:00, ÑÁ-ÂÑ - âûõîäíîé
<a href="/encicl/law2.html" target="_blank">Ïîëüçîâàòåëüñêîå Ñîãëàøåíèå</a> &nbsp;&nbsp;&nbsp; </div>
<a href="/encicl/law3.html" target="_blank">Ïîëèòèêà Êîíôèåäåíöàëüíîñòè</a>&nbsp;&nbsp;&nbsp; <div style="text-align: center; font-weight: bold;">
<a href="/encicl/law4.html" target="_blank">Ïóáëè÷íûé äîãîâîð îôåðòû</a>&nbsp;&nbsp;&nbsp; <a href="/encicl/law2.html" target="_blank">Ïîëüçîâàòåëüñêîå Ñîãëàøåíèå</a> &nbsp;&nbsp;&nbsp;
<a href="/support/index.php" target="_blank">Ïîääåðæêà</a> &nbsp;&nbsp;&nbsp; <a href="/encicl/law3.html" target="_blank">Ïîëèòèêà Êîíôèåäåíöàëüíîñòè</a>&nbsp;&nbsp;&nbsp;
<a href="/support/index.php" target="_blank">Êîíòàêòû</a> &nbsp;&nbsp;&nbsp; <a href="/encicl/law4.html" target="_blank">Ïóáëè÷íûé äîãîâîð îôåðòû</a>&nbsp;&nbsp;&nbsp;
</div> <a href="/support/index.php" target="_blank">Ïîääåðæêà</a> &nbsp;&nbsp;&nbsp;
</body> <a href="/support/index.php" target="_blank">Êîíòàêòû</a> &nbsp;&nbsp;&nbsp;
</div>
</div>
</body>
</html> </html>

View File

@ -24,8 +24,8 @@ if(getIP() != $_SERVER['SERVER_ADDR'] && getIP() != '127.0.0.1' && getIP() != ''
define('GAME',true); define('GAME',true);
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
function e($t) { function e($t) {
mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' (Êðèòè÷åñêàÿ îøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","LEL","6","1","-1")'); mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' (Êðèòè÷åñêàÿ îøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","LEL","6","1","-1")');

View File

@ -27,8 +27,9 @@ if(getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && get
define('GAME',true); define('GAME',true);
setlocale(LC_CTYPE ,"ru_RU.CP1251"); setlocale(LC_CTYPE ,"ru_RU.CP1251");
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
//require_once('_incl_data/class/__user.php');
function send($text) { function send($text) {
return mysql_query('INSERT INTO `chat` (`new`,`type`,`to`,`text`,`time`) VALUES (1,6,"Èãðîìèð","'.$text.'",'.time().')'); return mysql_query('INSERT INTO `chat` (`new`,`type`,`to`,`text`,`time`) VALUES (1,6,"Èãðîìèð","'.$text.'",'.time().')');

View File

@ -22,9 +22,11 @@ function getIPblock() {
define('GAME', true); define('GAME', true);
setlocale(LC_CTYPE ,"ru_RU.CP1251"); setlocale(LC_CTYPE ,"ru_RU.CP1251");
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
//require_once('_incl_data/class/__user.php');
//require_once('_incl_data/class/__dungeon.php');
# çàïóñê ñêðèïòà. # çàïóñê ñêðèïòà.
function start() { function start() {
# Ñòðàíèöà ñîçäàíà 0.0000 # Ñòðàíèöà ñîçäàíà 0.0000

View File

@ -23,8 +23,8 @@ if(getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && get
define('GAME',true); define('GAME',true);
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
function e($t) { function e($t) {
mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' (Êðèòè÷åñêàÿ îøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","ENERGY STAR","6","1","-1")'); mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' (Êðèòè÷åñêàÿ îøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","ENERGY STAR","6","1","-1")');

View File

@ -2,8 +2,8 @@
define('GAME',true); define('GAME',true);
setlocale(LC_CTYPE ,"ru_RU.CP1251"); setlocale(LC_CTYPE ,"ru_RU.CP1251");
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
$html = ''; $html = '';

View File

@ -3,7 +3,7 @@
//die('Что-то тут не так...'); //die('Что-то тут не так...');
define('GAME',true); define('GAME',true);
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
//рейтинг персонажей //рейтинг персонажей

View File

@ -24,8 +24,8 @@ if(!isset($_GET['test']))
define('GAME',true); define('GAME',true);
include('_incl_data/__config.php'); require_once('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
function e($t) { function e($t) {
mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' ( ðèòè÷åñêठîøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","LEL","6","1","-1")'); mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' ( ðèòè÷åñêठîøèáêà): <b>'.mysql_real_escape_string($t).'</b>","capitalcity","LEL","6","1","-1")');

View File

@ -1,44 +1,26 @@
<?php <?php
# Ïîëó÷àåì IP # Ïîëó÷àåì IP
function getIPblock() use Insallah\Db;
{
return isset($_SERVER['HTTP_X_REAL_IP']) ? $_SERVER['HTTP_X_REAL_IP'] : $_SERVER['REMOTE_ADDR'];
}
# Âûïîëíÿåì ïðîâåðêó áåçîïàñíîñòè.
if ($_SERVER['HTTP_CF_CONNECTING_IP'] != $_SERVER['SERVER_ADDR'] && $_SERVER['HTTP_CF_CONNECTING_IP'] != '127.0.0.1') {
die('Hello pussy!');
}
if (getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && getIPblock() != '' && getIPblock() != '5.187.7.71') {
die(getIPblock() . '<br>' . $_SERVER['SERVER_ADDR']);
}
const GAME = true; const GAME = true;
include('_incl_data/__config.php'); include('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); include('_incl_data/class/__db_connect.php');
/**@var $pdo PDO */
$zv = new FightRequest();
function send_chat($type, $from, $text, $time) $query = 'select id, pass from users where battle in (select id from battle where team_win = -1 and time_over = 0 and time_start < unix_timestamp() - 3600)';
{ $sp = Db::getRows($query);
global $pdo;
$pdo->prepare('insert into chat (text, city, login, type, new, time, room) values (?,?,?,?,?,?,?)')->execute([$text, 'capitalcity', $from, $type, 1, $time, 3]);
}
function inuser_go_btl($id)
{
if (isset($id['id'])) {
echo file_get_contents('https://new-combats.com/jx/battle/refresh.php?uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass']);
echo '<hr>';
}
}
$sp = $pdo->query('select id, pass from users where battle in (select id from battle where team_win = -1 and time_over = 0 and time_start < unix_timestamp() - 3600 limit 100)');
foreach ($sp as $pl) { foreach ($sp as $pl) {
inuser_go_btl($pl); if (!$pl['id']) {
continue;
}
$uid = $pl['id'];
$pass = $pl['pass'];
$cron_core = md5($uid . '_brfCOreW@!_' . $pass);
echo file_get_contents("https://new-combats.com/jx/battle/refresh.php?uid=$uid&cron_core=$cron_core&pass=$pass");
echo '<hr>';
} }
$zv = new FightRequest();
$zv->testCronZv(); $zv->testCronZv();

View File

@ -1,22 +1,10 @@
<?php <?php
# Admin Only Area # Admin Only Area
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
define('IP', GetRealIp());
const GAME = true; const GAME = true;
include_once('_incl_data/__config.php'); include_once('_incl_data/__config.php');
include_once('_incl_data/class/__db_connect.php'); include_once('_incl_data/class/__db_connect.php');
define('IP', UserIp::get());
$u = User::start(); $u = User::start();
if (!$u->info['admin']) { if (!$u->info['admin']) {
@ -157,18 +145,6 @@ if (isset($_POST['saveObjPosition'])) {
); );
echo 'Äàííûå ñîõðàíåíû'; echo 'Äàííûå ñîõðàíåíû';
} else { } else {
//ñîçäàåì îáüåêò
/*
$('#ore_id').val(op[0]);
$('#ore_img').val(op[4]);
$('#ore_name').val(op[1]);
$('#ore_x').val(op['x']);
$('#ore_y').val(op['y']);
$('#ore_t').val(top.obi['t']);
$('#ore_l').val(top.obi['l']);
$('#ore_w').val(op[7]);
$('#ore_h').val(op[8]);
*/
if (isset($_POST['ore_img'])) { if (isset($_POST['ore_img'])) {
echo 'Îáúåêò ñîçäàí'; echo 'Îáúåêò ñîçäàí';
if (mysql_query( if (mysql_query(
@ -308,8 +284,6 @@ if (!isset($_GET['look'])) {
'height': $(objs).height() + 'px' 'height': $(objs).height() + 'px'
}); });
resizeObj1(event, iii); resizeObj1(event, iii);
//$('#eo').bind('mousedown',function(event){ moveObj1(event); });
//$(top.obi['obj']).css({'background-color':'red'});
} }
function resizeObj1(e, iii) { function resizeObj1(e, iii) {
@ -395,7 +369,6 @@ if (!isset($_GET['look'])) {
$('#Dungeon2').unbind('click'); $('#Dungeon2').unbind('click');
$('#' + $(top.obi['obj']).attr('id') + '_2').css({'background-color': '', 'opacity': '1.0'}); $('#' + $(top.obi['obj']).attr('id') + '_2').css({'background-color': '', 'opacity': '1.0'});
//$(top.obi['obj']).css({'top':(y+2)+'px','left':x+'px'});
$('#Dungeon2').css({'display': 'none'}); $('#Dungeon2').css({'display': 'none'});
$('#eo').css({ $('#eo').css({
@ -438,8 +411,6 @@ if (!isset($_GET['look'])) {
'height': $(objs).height() + 'px' 'height': $(objs).height() + 'px'
}); });
moveObj1(event); moveObj1(event);
//$('#eo').bind('mousedown',function(event){ moveObj1(event); });
//$(top.obi['obj']).css({'background-color':'red'});
} }
function moveObj1(e) { function moveObj1(e) {

View File

@ -1,22 +1,10 @@
<?php <?php
# Admin Only Area # Admin Only Area
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
define('IP', GetRealIp());
const GAME = true; const GAME = true;
include_once('_incl_data/__config.php'); include_once('_incl_data/__config.php');
include_once('_incl_data/class/__db_connect.php'); include_once('_incl_data/class/__db_connect.php');
define('IP', UserIp::get());
$u = User::start(); $u = User::start();
if (!$u->info['admin']) { if (!$u->info['admin']) {

View File

@ -1,22 +1,10 @@
<?php <?php
# Admin Only Area # Admin Only Area
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
define('IP', GetRealIp());
const GAME = true; const GAME = true;
include_once('_incl_data/__config.php'); include_once('_incl_data/__config.php');
include_once('_incl_data/class/__db_connect.php'); include_once('_incl_data/class/__db_connect.php');
define('IP', UserIp::get());
$u = User::start(); $u = User::start();
if (!isset($u->info['id']) || $u->info['ip'] != IP || !$u->info['admin']) { if (!isset($u->info['id']) || $u->info['ip'] != IP || !$u->info['admin']) {
@ -36,8 +24,12 @@ if ($_POST['new_bot_colvo'] < 1) {
?> ?>
<form method="post" action="?gotonew"> <form method="post" action="?gotonew">
id ïåùåðû: <input name="id_dn" value="<?= $_POST['id_dn'] ?>"><br> id ïåùåðû: <label>
botlogin: <input name="botlogin" value="<?= $_POST['botlogin'] ?>"><br> <input name="id_dn" value="<?= $_POST['id_dn'] ?>">
</label><br>
botlogin: <label>
<input name="botlogin" value="<?= $_POST['botlogin'] ?>">
</label><br>
<input type="submit" value="Ïåðåéòè"> <input type="submit" value="Ïåðåéòè">
</form> </form>
--------------- Áîòû -------------:<br> --------------- Áîòû -------------:<br>
@ -50,4 +42,4 @@ while ($pl = mysql_fetch_array($sp)) {
} }
?> ?>
</hr> <hr>

View File

@ -1,22 +1,10 @@
<?php <?php
# Admin Only Area # Admin Only Area
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
define('IP', GetRealIp());
const GAME = true; const GAME = true;
include_once('_incl_data/__config.php'); include_once('_incl_data/__config.php');
include_once('_incl_data/class/__db_connect.php'); include_once('_incl_data/class/__db_connect.php');
define('IP', UserIp::get());
$u = User::start(); $u = User::start();
if (!$u->info['admin']) { if (!$u->info['admin']) {
@ -39,8 +27,7 @@ if (isset($pl['id'])) {
mysql_query( mysql_query(
'UPDATE `test_bot` SET 'UPDATE `test_bot` SET
`login` = "' . mysql_real_escape_string($_POST['login']) . '",
`login` = "' . mysql_real_escape_string($_POST['login']) . '",
`obraz` = "' . mysql_real_escape_string($_POST['obraz']) . '", `obraz` = "' . mysql_real_escape_string($_POST['obraz']) . '",
`level` = "' . mysql_real_escape_string($_POST['level']) . '", `level` = "' . mysql_real_escape_string($_POST['level']) . '",
`sex` = "' . mysql_real_escape_string($_POST['sex']) . '", `sex` = "' . mysql_real_escape_string($_POST['sex']) . '",

9
do.php
View File

@ -1,9 +0,0 @@
<?
if(!defined('GAME'))
{
die();
}
$login = mysql_query('SELECT * FROM `users` WHERE `login` = "'.$u->info['login'].'"LIMIT 1');
mysql_query('');

54
dz.php
View File

@ -1,54 +0,0 @@
<?php
//ãîòîâèì ÿèøíèöó v2.0
$yaica = 'ßéöà';
$skovoroda = 'Ñêîâîðîäà';
$plita = 'Ïëèòà';
$kol = 10;
$tme = 30;
$end_gotovka = 'Íó âîò ìû è ïðèãîòîâèëè âêóñíûå ';
if ($plita != 1){ // âûçûâàþ true
echo 'Ïîäæèãàåì ïëèòó';
}else{
echo 'Íå ìîãó ïîäå÷ü ïëèòó';
}
if ($skovoroda == 'âåäðî'){ // âûçûâàþ false
echo 'Áåð¸ì âåäðî';
}else{
echo '<br>Áåð¸ì ñêîâîðîäó';
}
if ($kol >= 9 ){
echo '<br>Áåð¸ì 10 ÿèö'; // âûçûâàþ true
}else{
echo 'Áåð¸ì áóðÿê';
}
if ($skovoroda != $kol + $tme){
echo '<br>Ðàçáèâàåì ' .$yaica;//true
}else{
echo 'Âûêëþ÷àåì' .$plita;
}
if ($tme == 10 && $kol < 50){
echo 'òðàìïàì'; //false
}
else if ($tme == 30){
echo '<br>Áðîñàåì íà ñêîâîðîäó '.$yaica;//true (äîï ïðîâåðêà)
}else{
echo 'Âûêèäûâàåì â óðíó '.$yaica;
}
if ($tme = 31 || $kol = 10){ // true òàê êàê â âûðàæåíèå $tme = false a, $kol = true, òî, â ñëó÷àå '||' äîñòàòî÷íî 1 true
echo '<br>Æàðèì íàøó ÿèøíèöó';
}else{
echo 'Æàðèì áóðÿê';
}
if ($tme > 41){ //false = äîï ïðîâåðêà â êîòîðîé - true
echo '$tmeíå ðàâíî 33 äàóí';
}
else if ($tme == 30){
echo '<br>'.$end_gotovka . $yaica;
}else{
echo 'èùè îøèáêó';
}
?>

View File

@ -1,25 +1,14 @@
<?php <?php
session_start(); if (session_status() == PHP_SESSION_NONE) {
const GAME = true; session_start();
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
} }
define('IP', GetRealIp()); const GAME = true;
include('_incl_data/__config.php'); include('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); include('_incl_data/class/__db_connect.php');
define('IP', UserIp::get());
$chat = new Chat(); $chat = new Chat();
//session_reset();
if (isset($_GET['login'])) { if (isset($_GET['login'])) {
$_POST['login'] = $_GET['login']; $_POST['login'] = $_GET['login'];
@ -39,7 +28,6 @@ if (isset($_SESSION['login'])) {
if (isset($_GET['cookie_login']) && $_GET['cookie_login'] != '') { if (isset($_GET['cookie_login']) && $_GET['cookie_login'] != '') {
setcookie('login', $_GET['cookie_login'], time() + 60 * 60 * 24 * 7, '', $c['host']); setcookie('login', $_GET['cookie_login'], time() + 60 * 60 * 24 * 7, '', $c['host']);
setcookie('pass', $_GET['cookie_pass'], time() + 60 * 60 * 24 * 7, '', $c['host']); setcookie('pass', $_GET['cookie_pass'], time() + 60 * 60 * 24 * 7, '', $c['host']);
//header('location: /bk');
die(); die();
} }
@ -72,7 +60,7 @@ function md5m($src)
$res = [16]; $res = [16];
$src = utf8_encode($src); $src = utf8_encode($src);
for ($i = 0; $i < strlen($src) || $i < 16; $i++) { for ($i = 0; $i < strlen($src) || $i < 16; $i++) {
$res[$i] = ord($src{$i}) ^ $i * 4; $res[$i] = ord($src[$i]) ^ $i * 4;
} }
for ($i = 0; $i < 4; $i++) { for ($i = 0; $i < 4; $i++) {
for ($j = 0; $j < 4; $j++) { for ($j = 0; $j < 4; $j++) {
@ -199,7 +187,6 @@ if (!isset($u['id'])) {
</div> </div>
</BODY> </BODY>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!--<script src="https://new-combats.com/js/jquery.js" type="text/javascript"></script>-->
<script> <script>
var dopass = ''; var dopass = '';
@ -258,34 +245,6 @@ if (!isset($u['id'])) {
} else if (n == 11) { } else if (n == 11) {
var $_POST = <?php echo json_encode($_POST); ?>; var $_POST = <?php echo json_encode($_POST); ?>;
/*$.ajax({
url: "https://new-combats.com/enter.php",
type: "POST",
data: {
code: "ab6d4bf6593416306881a9e54260b0af",
login: ""+$_POST['login'],
pass: ""+$_POST['pass']
},
success: function (response) {
if (response.successFlag) {
//Replace current location from the history via history API
window.history.replaceState({}, 'foo', '/foo');
window.location = "url of target location here if you want to send a get request";
$("#form-id").submit();//if you want to post something up
}
}
});
/*$.ajax({
type: 'post',
url: 'https://new-combats.com/enter.php',
data: "code=ab6d4bf6593416306881a9e54260b0af",//ïàðàìåòðû çàïðîñà
success: function(data) {
alert($_POST['login']);
}
});
//window.setTimeout('location.reload()', 1000);
*/
window.location.replace("https://new-combats.com/enter.php?code=" + dopass + "&login=" + $_POST['login'] + "&pass=" + $_POST['pass']); window.location.replace("https://new-combats.com/enter.php?code=" + dopass + "&login=" + $_POST['login'] + "&pass=" + $_POST['pass']);
} else { } else {

View File

@ -1,112 +1,77 @@
<html> <!DOCTYPE>
<head> <html lang="ru">
</head> <head><title></title><meta charset="windows-1251"></head>
<body> <body>
Çàïðîñ âòîðîãî ïàðîëÿ ê ïåðñîíàæó. Çàïðîñ âòîðîãî ïàðîëÿ ê ïåðñîíàæó.<br><br>
<br> <img id="pass" onClick="" width="295" src="i/pin/e0.png" alt=""><br><br>
<br> <img id="p1" alt="" src=""><img id="p2" alt="" src=""><img id="p3" alt="" src=""><br>
<img id="p4" alt="" src=""><img id="p5" alt="" src=""><img id="p6" alt="" src=""><br>
<img id="pass" onClick="" width="295" src="i/pin/e0.png" > <img id="p7" alt="" src=""><img id="p8" alt="" src=""><img id="p9" alt="" src=""><br>
<br> <img onClick="keypush(12);" src="i/pin/12.png" alt="">
<br> <img id="p0" name="image" src="" alt="">
<img id="p1" onClick="" src="" > <img onClick="keypush(11);" src="i/pin/11.png" alt="">
<img id="p2" onClick="" src="" > <br>
<img id="p3" onClick="" src="" > <div id="text"></div>
<br> </body>
<img id="p4" onClick="" src="" > <script>
<img id="p5" onClick="" src="" > var dopass = '';
<img id="p6" onClick="" src="" > var tdopass = '';
<br> var lenth = 0;
<img id="p7" onClick="" src="" > randomp();
<img id="p8" onClick="" src="" >
<img id="p9" onClick="" src="" >
<br>
<img onClick="keypush(12);" src="i/pin/12.png" >
<img id="p0" name="image" onClick="" src="" >
<img onClick="keypush(11);" src="i/pin/11.png" >
<br>
<div id="text"><div>
</body> function randomp() {
<script> var ss = new Array();
var dopass=''; var n = 0;
var tdopass=''; while (n < 10) {
var lenth=0; ss[n] = n;
randomp(); n++;
function randomp() }
{
var ss = new Array();
var n=0;
while (n<10)
{
ss[n]=n;
n++;
}
var i=0;
var k=0;
var m=0;
var tmpp=0;
while (i<10)
{
k = getRandomInt(10);
m = getRandomInt(10);
if (k != m)
{
tmpp=ss[k];
ss[k]=ss[m];
ss[m]=tmpp;
i++;
}
}
n=10; var i = 0;
while (n>-1) var k = 0;
{ var m = 0;
n=n-1; var tmpp = 0;
document.getElementById('p'+n).setAttribute("src", "i/pin/"+ss[n]+".png"); while (i < 10) {
document.getElementById('p'+n).setAttribute("onClick", "keypush("+ss[n]+");"); k = getRandomInt(10);
m = getRandomInt(10);
} if (k != m) {
} tmpp = ss[k];
ss[k] = ss[m];
ss[m] = tmpp;
i++;
}
}
function getRandomInt(max) { n = 10;
return Math.floor(Math.random() * Math.floor(max)); while (n > -1) {
} n = n - 1;
function keypush(n) document.getElementById('p' + n).setAttribute("src", "i/pin/" + ss[n] + ".png");
{ document.getElementById('p' + n).setAttribute("onClick", "keypush(" + ss[n] + ");");
if (n==12 )
{
if (lenth>0)
{
dopass=''; }
}
lenth=0;
document.getElementById('pass').setAttribute("src", "i/pin/e"+lenth+".png");
}
}
else if (n==11)
{
//document.getElementById("text").innerHTML = ''+dopass;
println(dopass);
}
else
{
if (lenth<8)
{
dopass=dopass+''+n;
lenth++;
document.getElementById('pass').setAttribute("src", "i/pin/e"+lenth+".png");
}
} function getRandomInt(max) {
return Math.floor(Math.random() * Math.floor(max));
} }
function keypush(n) {
if (n == 12) {
if (lenth > 0) {
dopass = '';
lenth = 0;
document.getElementById('pass').setAttribute("src", "i/pin/e" + lenth + ".png");
}
} else if (n == 11) {
//document.getElementById("text").innerHTML = ''+dopass;
println(dopass);
} else {
if (lenth < 8) {
dopass = dopass + '' + n;
lenth++;
document.getElementById('pass').setAttribute("src", "i/pin/e" + lenth + ".png");
}
}
}
</script> </script>
</html> </html>

126
error.css
View File

@ -1,63 +1,63 @@
@import url(https://fonts.googleapis.com/css?family=Raleway:700); @import url(https://fonts.googleapis.com/css?family=Raleway:700);
$color1: #EE4B5E; $color1: #EE4B5E;
$color2: #342643; $color2: #342643;
$color3: #1FA9D6; $color3: #1FA9D6;
*, *:before, *:after { *, *:before, *:after {
box-sizing: border-box; box-sizing: border-box;
} }
html { html {
height: 100%; height: 100%;
} }
body { body {
background: url(https://i.imgur.com/76NZB7A.gif) no-repeat center center fixed; background: url(https://i.imgur.com/76NZB7A.gif) no-repeat center center fixed;
background-size: cover; background-size: cover;
font-family: 'Raleway', sans-serif; font-family: 'Raleway', sans-serif;
background-color: $color2; background-color: $color2;
height: 100%; height: 100%;
} }
.text-wrapper { .text-wrapper {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.title { .title {
font-size: 6em; font-size: 6em;
font-weight: 700; font-weight: 700;
color: $color1; color: $color1;
} }
.subtitle { .subtitle {
font-size: 40px; font-size: 40px;
font-weight: 700; font-weight: 700;
color: $color3; color: $color3;
} }
.buttons { .buttons {
margin: 30px; margin: 30px;
a.button { a.button {
font-weight: 700; font-weight: 700;
border: 2px solid $color1; border: 2px solid $color1;
text-decoration: none; text-decoration: none;
padding: 15px; padding: 15px;
text-transform: uppercase; text-transform: uppercase;
color: $color1; color: $color1;
border-radius: 26px; border-radius: 26px;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
&:hover { &:hover {
background-color: $color1; background-color: $color1;
color: white; color: white;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
} }
} }

View File

@ -1,173 +1,173 @@
class Zone { class Zone {
int id; int id;
int type; int type;
vector pos; vector pos;
float radius; float radius;
} }
enum ZoneType { enum ZoneType {
SAFE, SAFE,
PSI, PSI,
RAD, RAD,
BIO BIO
} }
ref array<ref Zone> ga_zones = new array<ref Zone>; ref array<ref Zone> ga_zones = new array<ref Zone>;
ref ControllerZones ctrl_zones = new ControllerZones; ref ControllerZones ctrl_zones = new ControllerZones;
class ControllerZones { class ControllerZones {
void ControllerZones() { void ControllerZones() {
int id = 0;// int id = 0;//
vector pos; vector pos;
float radius; float radius;
int type = 0; int type = 0;
// only RAD param ↓↓↓ // only RAD param ↓↓↓
id = id + 1; // Територия янтаратя 200 метров RAD id = id + 1; // Територия янтаратя 200 метров RAD
pos = "2405 0 6541"; pos = "2405 0 6541";
radius = 200.0; radius = 200.0;
AddZone(id, pos, radius, ZoneType.RAD); AddZone(id, pos, radius, ZoneType.RAD);
// only PSI param ↓↓↓ // only PSI param ↓↓↓
id = id + 1; // Територия янтаратя 200 метров PSI id = id + 1; // Територия янтаратя 200 метров PSI
pos = "2405 0 6541"; pos = "2405 0 6541";
radius = 200.0; radius = 200.0;
AddZone(id, pos, radius, ZoneType.PSI); AddZone(id, pos, radius, ZoneType.PSI);
GetGame().GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(CheckZones, 5000, true); GetGame().GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(CheckZones, 5000, true);
} }
void ~ControllerZones() { void ~ControllerZones() {
} }
void AddZone(int id, vector pos, float radius, int type) { void AddZone(int id, vector pos, float radius, int type) {
ref Zone zone = new ref Zone; ref Zone zone = new ref Zone;
zone.id = id; zone.id = id;
zone.pos = pos; zone.pos = pos;
zone.radius = radius; zone.radius = radius;
zone.type = type; zone.type = type;
ga_zones.Insert(zone); ga_zones.Insert(zone);
} }
bool InZone(PlayerBase player, ref Zone zone) { bool InZone(PlayerBase player, ref Zone zone) {
vector player_position = player.GetPosition(); vector player_position = player.GetPosition();
player_position[1] = 0; player_position[1] = 0;
EntityAI attachment; EntityAI attachment;
ItemBase item; ItemBase item;
string className; string className;
float biosafe = 0; float biosafe = 0;
float psisafe = 0; float psisafe = 0;
float damage_player; float damage_player;
float damage_zone = 0; float damage_zone = 0;
float damage_zonePSI = 8.0; float damage_zonePSI = 8.0;
float rpu = 1.0; float rpu = 1.0;
if( (vector.Distance(player_position, zone.pos)) < zone.radius && zone.type == ZoneType.RAD) { if( (vector.Distance(player_position, zone.pos)) < zone.radius && zone.type == ZoneType.RAD) {
attachment = player.FindAttachmentBySlotName("Mask"); // Перечеь защиты от радиации attachment = player.FindAttachmentBySlotName("Mask"); // Перечеь защиты от радиации
if ( attachment && attachment.IsItemBase() ) if ( attachment && attachment.IsItemBase() )
{ {
item = Class.Cast(attachment); item = Class.Cast(attachment);
className = item.GetType(); className = item.GetType();
if ( className.Contains("dzrp_GasMask_GP1") ) if ( className.Contains("dzrp_GasMask_GP1") )
{ {
biosafe = biosafe + 1.0; biosafe = biosafe + 1.0;
} }
} }
attachment = player.FindAttachmentBySlotName("Body"); attachment = player.FindAttachmentBySlotName("Body");
if ( attachment && attachment.IsItemBase() ) if ( attachment && attachment.IsItemBase() )
{ {
item = Class.Cast(attachment); item = Class.Cast(attachment);
className = item.GetType(); className = item.GetType();
if ( className.Contains("Top_Admin") ) if ( className.Contains("Top_Admin") )
{ {
biosafe = biosafe + 1.0; biosafe = biosafe + 1.0;
} }
} }
if (((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu) > 1 ) if (((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu) > 1 )
{ {
radiationcnt = ((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu) + Math.RandomInt(1,10000)*0.00001; radiationcnt = ((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu) + Math.RandomInt(1,10000)*0.00001;
if ( DayZRP_Static.IsItemInInventory( player, "DayZRP_Doz" ) ){ if ( DayZRP_Static.IsItemInInventory( player, "DayZRP_Doz" ) ){
Param1<string> m_MessageParamRD = new Param1<string>( "Дозиметр : " + radiationcnt + "м3в" ); Param1<string> m_MessageParamRD = new Param1<string>( "Дозиметр : " + radiationcnt + "м3в" );
GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParamRD, true, player.GetIdentity()); GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParamRD, true, player.GetIdentity());
} }
} }
if (biosafe<1) if (biosafe<1)
{ {
damage_zone=((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu)/50; damage_zone=((ga_zones.Get(j).radius - (vector.Distance(player_position, ga_zones.Get(j).pos)) ) * rpu)/50;
damage_player = player.GetHealth("GlobalHealth", "Health"); damage_player = player.GetHealth("GlobalHealth", "Health");
player.SetHealth("GlobalHealth", "Health", damage_player - (damage_zone - (damage_zone * biosafe))); player.SetHealth("GlobalHealth", "Health", damage_player - (damage_zone - (damage_zone * biosafe)));
if (biosafe==0) if (biosafe==0)
{ {
player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_COUGH); //Кашель player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_COUGH); //Кашель
Param1<string> m_MessageParam = new Param1<string>("Воздействие Радиации! Одень противогаз!"); Param1<string> m_MessageParam = new Param1<string>("Воздействие Радиации! Одень противогаз!");
GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParam, true, player.GetIdentity()); GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParam, true, player.GetIdentity());
} }
} }
} }
else if((vector.Distance(player_position, zone.pos)) < zone.radius && zone.type == ZoneType.PSI) { else if((vector.Distance(player_position, zone.pos)) < zone.radius && zone.type == ZoneType.PSI) {
attachment = player.FindAttachmentBySlotName("Mask");// Перечеь защиты от PSI attachment = player.FindAttachmentBySlotName("Mask");// Перечеь защиты от PSI
if ( attachment && attachment.IsItemBase() ) { if ( attachment && attachment.IsItemBase() ) {
item = Class.Cast(attachment); item = Class.Cast(attachment);
className = item.GetType(); className = item.GetType();
if ( className.Contains("dzrp_GasMask_GP7") ) { if ( className.Contains("dzrp_GasMask_GP7") ) {
psisafe = psisafe + 1.0; psisafe = psisafe + 1.0;
} }
} }
attachment = player.FindAttachmentBySlotName("Body"); attachment = player.FindAttachmentBySlotName("Body");
if ( attachment && attachment.IsItemBase() ) { if ( attachment && attachment.IsItemBase() ) {
item = Class.Cast(attachment); item = Class.Cast(attachment);
className = item.GetType(); className = item.GetType();
if ( className.Contains("Top_Admin") ) { if ( className.Contains("Top_Admin") ) {
psisafe = psisafe + 1.0; psisafe = psisafe + 1.0;
} }
} }
damage_player = player.GetHealth("GlobalHealth", "Health"); damage_player = player.GetHealth("GlobalHealth", "Health");
player.SetHealth("GlobalHealth", "Health", damage_player - (damage_zonePSI - (damage_zonePSI * psisafe))); player.SetHealth("GlobalHealth", "Health", damage_player - (damage_zonePSI - (damage_zonePSI * psisafe)));
if (psisafe>=1) if (psisafe>=1)
{ {
return true; return true;
} }
if (psisafe==0) if (psisafe==0)
{ {
if (psisafe<0.5) if (psisafe<0.5)
{ {
player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT); // рвота // SNEEZE - чихать player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT); // рвота // SNEEZE - чихать
} }
Param1<string> m_MessageParamPSI = new Param1<string>("Воздействие PSI! Нужно бежать!"); Param1<string> m_MessageParamPSI = new Param1<string>("Воздействие PSI! Нужно бежать!");
GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParamPSI, true, player.GetIdentity()); GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParamPSI, true, player.GetIdentity());
} }
return true; return true;
} }
return false; return false;
} }
void CheckZones() { void CheckZones() {
ref array<Man> players = new array<Man>; ref array<Man> players = new array<Man>;
GetGame().GetPlayers( players ); GetGame().GetPlayers( players );
for ( int i = 0; i < players.Count(); i++ ) for ( int i = 0; i < players.Count(); i++ )
{ {
PlayerBase player; PlayerBase player;
Class.CastTo(player, players.Get(i)); Class.CastTo(player, players.Get(i));
for ( int j = 0; j < ga_zones.Count(); j++ ) { for ( int j = 0; j < ga_zones.Count(); j++ ) {
if(InZone(player, ga_zones.Get(j))) { if(InZone(player, ga_zones.Get(j))) {
break; break;
} }
} }
} }
} }
} }

View File

@ -7,7 +7,7 @@ header( 'Pragma: no-cache' );
header( 'Content-Type: text/html; charset=windows-1251' ); header( 'Content-Type: text/html; charset=windows-1251' );
define('GAME',true); define('GAME',true);
include('../_incl_data/class/__db_connect.php'); require_once('../_incl_data/class/__db_connect.php');
mysql_query('SET NAMES utf8'); mysql_query('SET NAMES utf8');
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') { if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {

View File

@ -1,16 +1,8 @@
<?php <?php
function GetRealIp(){ const GAME = true;
if (!empty($_SERVER['HTTP_CLIENT_IP'])) require_once('_incl_data/__config.php');
return $_SERVER['HTTP_CLIENT_IP']; require_once('_incl_data/class/__db_connect.php');
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) define('IP', UserIp::get());
return $_SERVER['HTTP_X_FORWARDED_FOR'];
return $_SERVER['REMOTE_ADDR'];
}
define('IP',GetRealIp());
include('_incl_data/__config.php');
define('GAME',true);
include('_incl_data/class/__db_connect.php');
class battleNew { class battleNew {
@ -242,4 +234,3 @@ if(isset($user['id']) && $user['battle'] > 0) {
echo '{ "btl":"'.(0+$bt['id']).'" , "hod":"'.(0+$bt['hod']).'" , "you":"'.(0+$user['id']).'" , "enemy":"'.(0+$stats['enemy']).'" , "pr": [ "'.$stats['priems'].'" , "'.$stats['priems_z'].'" , '.(0+$stats['priemslot']).' ] , "dm":"'.floor($stats['battle_yron']).'" , "to":"'.round($bt['timeout']/60,2).'" , "r":{ '.ltrim($r,',').' } , "e":"'.$error.'" , "t1":"'.$stats['tactic1'].'" , "t2":"'.$stats['tactic2'].'" , "t3":"'.$stats['tactic3'].'" , "t4":"'.$stats['tactic4'].'" , "t5":"'.$stats['tactic5'].'" , "t6":"'.$stats['tactic6'].'" , "t7":"'.$stats['tactic7'].'" }'; echo '{ "btl":"'.(0+$bt['id']).'" , "hod":"'.(0+$bt['hod']).'" , "you":"'.(0+$user['id']).'" , "enemy":"'.(0+$stats['enemy']).'" , "pr": [ "'.$stats['priems'].'" , "'.$stats['priems_z'].'" , '.(0+$stats['priemslot']).' ] , "dm":"'.floor($stats['battle_yron']).'" , "to":"'.round($bt['timeout']/60,2).'" , "r":{ '.ltrim($r,',').' } , "e":"'.$error.'" , "t1":"'.$stats['tactic1'].'" , "t2":"'.$stats['tactic2'].'" , "t3":"'.$stats['tactic3'].'" , "t4":"'.$stats['tactic4'].'" , "t5":"'.$stats['tactic5'].'" , "t6":"'.$stats['tactic6'].'" , "t7":"'.$stats['tactic7'].'" }';
?>

View File

@ -1,7 +1,13 @@
<?php <?php
const GAME = true; const GAME = true;
if (!defined('GAME_VERSION')) {
require_once '_incl_data/autoload.php';
}
include('_incl_data/__config.php'); include('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); //include('_incl_data/class/__db_connect.php');
Core\Database::init();
$c = (new \Core\Config())->get();
$u = User::start(); $u = User::start();
?> ?>

View File

@ -49,7 +49,7 @@ if( $url[2] == 'upload' && $u->info['admin'] > 0 ) {
}else{ }else{
if( isset($_FILES['filename']) && $u->info['admin'] > 0 ) { if( isset($_FILES['filename']) && $u->info['admin'] > 0 ) {
include('class.upload.php'); require_once('class.upload.php');
$handle = new upload($_FILES['filename']); $handle = new upload($_FILES['filename']);
$count = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `uid` = "'.$u->info['id'].'" AND `time` > '.(time()-60).' LIMIT 1')); $count = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `uid` = "'.$u->info['id'].'" AND `time` > '.(time()-60).' LIMIT 1'));
if( $count > 3 && $u->info['admin'] == 0 ) { if( $count > 3 && $u->info['admin'] == 0 ) {

419
index.php
View File

@ -1,218 +1,237 @@
<? <?php
if(isset($_GET['time'])) { if (isset($_GET['time'])) {
echo time().'<br>'.date('d.m.Y H:i:s',(int)$_GET['time']); echo time() . '<br>' . date('d.m.Y H:i:s', (int)$_GET['time']);
die(); die();
} }
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ru-RU"> <html>
<head> <head>
<meta charset="windows-1251"> <title>Новый «Бойцовский Клуб» - легендарная браузерная онлайн игра</title>
<title>Новый «Бойцовский Клуб» - легендарная браузерная онлайн игра</title> <meta name="description" content="Захватывающая многопользовательская онлайн-игра «New Combats» ждет героев меча и магии на поле боя. Окунись в мир полюбившегося миллионам игроков БК (RPG Олд Комбатс)."/>
<meta name="description" content="Браузерная игра старый БК. Старый Бойцовский Клуб. Новый Бойцовский Клуб."/> <meta name="keywords"
<meta name="keywords" content="Бойцовский клуб играть, бойцовский клуб, Combats.com, старый бойцовский клуб, игра бойцовский клуб, играть в комбатс, комбатс, браузерная онлайн игра, Acombats, старый БК, играть в старый БК, oldcombats, онлайн мир, маг, likebk, Comabts, legbk, acomabts.com, гайд крит, гайд уворот, гайд танк, гайд крит"/> content="Бойцовский клуб играть, бойцовский клуб, Combats.com, старый бойцовский клуб, игра бойцовский клуб, играть в комбатс, комбатс, браузерная онлайн игра, Acombats, старый БК, играть в старый БК, oldcombats, онлайн мир, маг, likebk, Comabts, legbk, acomabts.com, гайд крит, гайд уворот, гайд танк, гайд крит"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"/>
<meta http-equiv="Cache-Control" content="max-age=3600"/> <meta http-equiv="Cache-Control" content="max-age=3600"/>
<meta name="msapplication-config" content="browserconfig.xml"/> <meta name="msapplication-config" content="browserconfig.xml"/>
<link type="text/css" rel="stylesheet" href="stylen.css" /> <link type="text/css" rel="stylesheet" href="stylen.css"/>
<!-- capcha google counter --> <link rel="canonical" href="https://new-combats.com/">
</head> </head>
<body> <body>
<div class="page-background"><img class="img1" src="werhr.jpg" alt="Старый бойцовский клуб играть и общаться вместе с нами new-combats.com"> <div class="page-background"><img class="img1" src="werhr.jpg" alt="Старый бойцовский клуб играть и общаться вместе с нами new-combats.com">
<form action="/enter.php" method="post"> <form action="/enter.php" method="post">
<label for="first-name">Ваш Никнейм</label><br><input type="text" id="first-name" name="login" /><br> <label for="first-name">Ваш Никнейм</label><br><input type="text" id="first-name" name="login"/><br>
<label for="last-name">Ваш Пароль</label><br><input type="password" id="last-name" name="psw" /> <label for="last-name">Ваш Пароль</label><br><input type="password" id="last-name" name="psw"/>
<p><!--<a onclick="submit();" style="cursor: pointer;">Вход</a>--> <p>
<!--style="transform:scale(0.54);transform-origin:0 0;"--> <div align="center" class="g-recaptcha" data-theme="dark" data-sitekey="6Lf3EjsaAAAAAF8SSkT2m6OU0k9XEpg61NbL3kJ8"></div>
<div align="center" class="g-recaptcha" data-theme="dark" data-sitekey="6Lf3EjsaAAAAAF8SSkT2m6OU0k9XEpg61NbL3kJ8"></div> <input type="submit" value="Войти в игру" class="btn btn-default" style="background-color: #dadada;"/>
<input type="submit" value="Войти в игру" class="btn btn-default" style="background-color: #dadada;" /> <br/><br>
<br /><br> <a href='/news' target="_blank">Новости проекта</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='/news' target="_blank">Новости проекта</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/repass'>Восстановление пароля</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='/repass'>Восстановление пароля</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/register'>Регистрация в игре</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='/register'>Регистрация в игре</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='/forum' target="_blank">Форум проекта</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='/forum' target="_blank">Форум проекта</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/rating_pers" target="_blank">Рейтинг персонажей</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/rating_pers" target="_blank">Рейтинг персонажей</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/rating_clans" target="_blank">Рейтинг кланов</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/rating_clans" target="_blank">Рейтинг кланов</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br> <br>
<br> <br>
<br> <h1>Новый Бойцовский Клуб</h1>
<h1>Новый Бойцовский Клуб</h1> <small class="megatext">
<small class="megatext">
<p align="center"><strong>Новый Бойцовский Клуб</strong> это проект, предоставляющий возможность окунуться в игровой мир <strong> старого «Бойцовского Клуба»</strong>. <strong>Бойцовский клуб «combats.com» </strong> это бесплатная браузерная игра, которая является одним из родоначальников жанра BBMMORPG. В <strong>«Бойцовский клуб играть»</strong> Вы сможете лишь имея доступ к интернету, используя любой веб браузер. <p align="center"><strong>Новый Бойцовский Клуб</strong> это проект, предоставляющий возможность окунуться в игровой мир <strong> старого «Бойцовского Клуба»</strong>. <strong>Бойцовский клуб «combats.com» </strong> это бесплатная
браузерная игра, которая является одним из родоначальников жанра BBMMORPG. В <strong>«Бойцовский клуб играть»</strong> Вы сможете лишь имея доступ к интернету, используя любой веб браузер.
За основу взята старая версия игры <strong>«combats.com»</strong> за 2006-2009 года. Мы постарались сохранить все лучшие традиции старой версии бойцовского клуба и добавили массу новых обновлений и нововведений. Как и в старой доброй игре <strong>«Бойцовский Клуб»</strong>, Вас ждёт масса эпических сражений между игроками, кланами, склонностями. В зависимости от Вашего выбора персонаж будет иметь определенную склонность, которые отлично помогут усилить вашего персонажа.
В процессе игры Вас ждет масса интересного общения в чате с другими игроками, более того, Вы можете использовать голосовые сообщения, чтобы облегчить процесс коммуникации с игроками и вникания в проект «Старого Бойцовского Клуба». В зависимости от игровых предпочтений каждый игрок сможет вступать в различные игровые кланы или же создать свой собственный, став главой клана. За основу взята старая версия игры <strong>«combats.com»</strong> за 2006-2009 года. Мы постарались сохранить все лучшие традиции старой версии бойцовского клуба и добавили массу новых обновлений и нововведений. Как и в старой доброй
игре <strong>«Бойцовский Клуб»</strong>, Вас ждёт масса эпических сражений между игроками, кланами, склонностями. В зависимости от Вашего выбора персонаж будет иметь определенную склонность, которые отлично помогут усилить вашего
персонажа.
Для каждого клана и каждого персонажа в отдельности предусмотрен динамический игровой рейтинг игроков и кланов, а так же ежедневные игровые события, которые не оставят игроков со скукой на едине, клановых сражений, проведения хаотических поединков. Ну а если у Вас возникнут трудности с игрой, служба поддержки всегда готова Вам помочь и ответить на ваши игровые вопросы, ну а если и это не поможет - <strong>гайды на форуме проекта</strong> всегда прийдут на помощь и подскажут Вам, как правильно прокачивать вашего персонажа. В процессе игры Вас ждет масса интересного общения в чате с другими игроками, более того, Вы можете использовать голосовые сообщения, чтобы облегчить процесс коммуникации с игроками и вникания в проект «Старого Бойцовского Клуба». В
зависимости от игровых предпочтений каждый игрок сможет вступать в различные игровые кланы или же создать свой собственный, став главой клана.
Желаем Вам побед и преданных союзников в <strong> проекте «Нового Бойцовского Клуба»</strong>. Для каждого клана и каждого персонажа в отдельности предусмотрен динамический игровой рейтинг игроков и кланов, а так же ежедневные игровые события, которые не оставят игроков со скукой на едине, клановых сражений, проведения
хаотических поединков. Ну а если у Вас возникнут трудности с игрой, служба поддержки всегда готова Вам помочь и ответить на ваши игровые вопросы, ну а если и это не поможет - <strong>гайды на форуме проекта</strong> всегда прийдут на
</small><br> помощь и подскажут Вам, как правильно прокачивать вашего персонажа.
<h2>Игровой мир «Бойцовский клуб»</h2>
<small class="megatext">
<p align="center">Игровой процесс сохранен в жанре <strong>старого бойцовского клуба «oldbk»</strong>. Ваш персонаж создается в <strong>мире Новый Бойцовский Клуб</strong>. При создании персонажа Вас ждет выбор пути <strong>Одного из четырех магов ( Воздуха, Воды, Огня или Земли ) или же Одного из пяти воинов ( Критовик, Уворот, Танк, Топор, Критоуворот )</strong>. В самой игре Вас ждет масса локаций, где Вы сможете обмениваться боевым опытом, повышать мастерство, прокачивать своего героя. Если возникнут какие либо вопросы на помощь всегда придут подсказки в общем чате или статьи в новостях проекта.
Основой игрового процесса являются хаотические поединки, а так же обычные физические поединки, которые вы осуществляете с другими персонажами. Каждый бой заключается в обмене ударами с противником с использованием приемов. Чем больше поединков Вы проводите, тем сильнее становится персонаж. Каждые выходные, мы увеличиваем награду за проведение поединков для наших любимых игроков. Желаем Вам побед и преданных союзников в <strong> проекте «Нового Бойцовского Клуба»</strong>.
Стиль боя сохранен также в традициях <strong>старого бойцовского клуба «combats.com»</strong>. Тактику и развитие персонажа Вы выбираете по своему желанию. </small><br>
<h2>Игровой мир «Бойцовский клуб»</h2>
<small class="megatext">
Также Вас ждут захватывающие походы в пещеры, а именно Катакомбы, Бездная, Пещера Мглы, Потерянный Вход, Пещера Тысячи Проклятий, Тропа Инвизиции, Гора Легиона, Туманные Низины, Грибница или Канализация, ну а в дополнение у Вас будет возможность проверить своего бойца в Изломе Хаоса. <p align="center">Игровой процесс сохранен в жанре <strong>старого бойцовского клуба «oldbk»</strong>. Ваш персонаж создается в <strong>мире Новый Бойцовский Клуб</strong>. При создании персонажа Вас ждет выбор пути <strong>Одного из
четырех магов ( Воздуха, Воды, Огня или Земли ) или же Одного из пяти воинов ( Критовик, Уворот, Танк, Топор, Критоуворот )</strong>. В самой игре Вас ждет масса локаций, где Вы сможете обмениваться боевым опытом, повышать
</small><br> мастерство, прокачивать своего героя. Если возникнут какие либо вопросы на помощь всегда придут подсказки в общем чате или статьи в новостях проекта.
<h3>Социальная составляющая игры «Бойцовский клуб».</h3>
<small class="megatext">
<p align="center"><strong>Новый Бойцовский клуб</strong> - это игра, которая покорила сердца многих пользователей рунета в 2004 2009 годах. <strong>«combats.com»</strong> версии 2, отличался особым жанром игры на тот момент MMORPG. Одной из основных особенностей игры <strong>«Бойцовский Клуб»</strong>, помимо захватывающих боев, также являлась социальная составляющая.
В процессе игры каждый игрок имел возможность общаться с другими игроками в общем, клановом или приватном чате. Обмениваться опытом, делиться важной информацией или просто весело проводить время. При отсутствии социальных сетей в тот момент это было немаловажным фактором для выбора подходящих проектов <strong>«Браузерной Игры»</strong>. Основой игрового процесса являются хаотические поединки, а так же обычные физические поединки, которые вы осуществляете с другими персонажами. Каждый бой заключается в обмене ударами с противником с использованием приемов. Чем больше
поединков Вы проводите, тем сильнее становится персонаж. Каждые выходные, мы увеличиваем награду за проведение поединков для наших любимых игроков.
В проекте<strong>Новый Бойцовский Клуб</strong> также сохранен стиль общения <strong>«Старого Бойцовского Клуба», а так же добавлена уникальная в своем роде для всех « Браузерных Проектов » <strong>Голосовые Сообщения</strong>></strong>. Стиль боя сохранен также в традициях <strong>старого бойцовского клуба «combats.com»</strong>. Тактику и развитие персонажа Вы выбираете по своему желанию.
</small><br>
<h4>Проект Старого Бойцовского клуба, который использует как основание игру «combats.com» , «old-combats.com», «likebk.com» и многие другие проекты по типу «Бойцовский Клуб»</h4><br></p> Также Вас ждут захватывающие походы в пещеры, а именно Катакомбы, Бездная, Пещера Мглы, Потерянный Вход, Пещера Тысячи Проклятий, Тропа Инвизиции, Гора Легиона, Туманные Низины, Грибница или Канализация, ну а в дополнение у Вас будет
<small style="color: #d7d7d7; width: 100%;" class="megatext copy"></small> возможность проверить своего бойца в Изломе Хаоса.
<div style="width:100%; text-align:center;">
<a href="https://freekassa.ru" target="_blank" rel="noopener noreferrer"> <img src="https://cdn.freekassa.ru/banners/small-white-1.png" title="Прием платежей на сайте"></a> </small><br>
<!-- Rating@Mail.ru logo --> <h3>Социальная составляющая игры «Бойцовский клуб».</h3>
<small class="megatext">
<p align="center"><strong>Новый Бойцовский клуб</strong> - это игра, которая покорила сердца многих пользователей рунета в 2004 2009 годах. <strong>«combats.com»</strong> версии 2, отличался особым жанром игры на тот момент MMORPG.
Одной из основных особенностей игры <strong>«Бойцовский Клуб»</strong>, помимо захватывающих боев, также являлась социальная составляющая.
В процессе игры каждый игрок имел возможность общаться с другими игроками в общем, клановом или приватном чате. Обмениваться опытом, делиться важной информацией или просто весело проводить время. При отсутствии социальных сетей в тот
момент это было немаловажным фактором для выбора подходящих проектов <strong>«Браузерной Игры»</strong>.
В проекте <strong>Новый Бойцовский Клуб</strong> также сохранен стиль общения <strong>«Старого Бойцовского Клуба»</strong>, а так же добавлена уникальная в своем роде функция: <strong>Голосовые Сообщения</strong>.
</small><br>
<h4>Проект Старого Бойцовского клуба, который использует как основание игру «combats.com» , «old-combats.com», «likebk.com» и многие другие проекты по типу «Бойцовский Клуб»</h4><br></p>
<small style="color: #d7d7d7; width: 100%;" class="megatext copy"></small>
<div style="width:100%; text-align:center;">
<a href="https://freekassa.ru" target="_blank" rel="noopener noreferrer">
<img src="https://cdn.freekassa.ru/banners/big-white-1.png" title="Прием платежей на сайте">
</a>
<!-- Rating@Mail.ru logo -->
<script>
var topRPGc = "<img src='https://s02.rpgtop.su/cgi-bin-mod/iv.cgi?a=ins&id=26677&rnd=" + Math.random();
topRPGc += "&r=" + escape(document.referrer) + "' width='1' height='1' border='0'><a href='https://rpgtop.su/26677' title='Рейтинг Ролевых Ресурсов - RPG TOP' target='_blank'>" +
"<img src='//img.rpgtop.su/88x31x11x2.gif' alt='Рейтинг Ролевых Ресурсов - RPG TOP' border='0' width='88' height='31'></a> ";
</script>
<!-- //Rating@Mail.ru logo -->
</div>
<!-- Top.Roleplay.Ru -->
<a href="https://rpgtop.su/26677" title="Рейтинг Ролевых Ресурсов - RPG TOP" target="_blank">
<img src="//img.rpgtop.su/88x31x11x7.gif" alt="Рейтинг Ролевых Ресурсов - RPG TOP" border="0" width="88" height="31"></a>
<!-- /Top.Roleplay.Ru -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (m, e, t, r, i, k, a) {
m[i] = m[i] || function () {
(m[i].a = m[i].a || []).push(arguments)
};
m[i].l = 1 * new Date();
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(88861153, "init", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true
});
</script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/88861153" style="position:absolute; left:-9999px;" alt=""/></div>
</noscript>
<!-- /Yandex.Metrika counter -->
</form>
</div>
<div align="center">
<a href="/encicl/law2.html" target="_blank">Пользовательское Соглашение</a> &nbsp;&nbsp;&nbsp;
<a href="/encicl/law3.html" target="_blank">Политика Конфиеденцальности</a>&nbsp;&nbsp;&nbsp;
<a href="/encicl/law4.html" target="_blank">Публичный договор оферты</a>&nbsp;&nbsp;&nbsp;
<a href="/support/index.php" target="_blank">Поддержка</a> &nbsp;&nbsp;&nbsp;
<a href="/contacts.html" target="_blank">Контакты</a> &nbsp;&nbsp;&nbsp;
</div>
<!-- capcha google counter -->
<script> <script>
var topRPGc="<img src='https://s02.rpgtop.su/cgi-bin-mod/iv.cgi?a=ins&id=26677&rnd=" + Math.random(); jQuery(document).ready(function () {
topRPGc += "&r="+escape(document.referrer)+"' width='1' height='1' border='0'><a href='https://rpgtop.su/26677' title='Рейтинг Ролевых Ресурсов - RPG TOP' target='_blank'>"+ // For all the inputs that are text inputs
"<img src='//img.rpgtop.su/88x31x11x2.gif' alt='Рейтинг Ролевых Ресурсов - RPG TOP' border='0' width='88' height='31'></a> "; jQuery('input').each(function () {
</script> var $this = jQuery(this);
<!-- //Rating@Mail.ru logo --> // get the label
</div> var label = jQuery('label[for=' + this.id + ']');
<!-- Top.Roleplay.Ru --> // If no label, then return to avoid errors
<a href="https://rpgtop.su/26677" title="Рейтинг Ролевых Ресурсов - RPG TOP" target="_blank"> if (label.size() == 0) {
<img src="//img.rpgtop.su/88x31x11x7.gif" alt="Рейтинг Ролевых Ресурсов - RPG TOP" border="0" width="88" height="31"></a> return;
<!-- /Top.Roleplay.Ru --> }
<!-- Yandex.Metrika counter --> // create wrapper element
<script type="text/javascript" > var wrapper = jQuery('<div class="compactlabel-wrapper"></div>');
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; $this.wrap(wrapper);
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) // move the label to before the the input
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); $this.before(label);
// create label backing
var backing = jQuery('<div class="compactlabel-label-backing"></div>')
.insertBefore($this)
.height(label.height())
.width(label.width());
// basic style information
var labelOffset = label.position(), inputOffset = $this.position(), labelHeight = label.outerHeight();
// flag for if on or off
var isHover = false, isFocus = false;
// a jQuery object of the backing and label to animate both together
var animatedElements = jQuery(backing.get()).add(label.get());
// common functionality for hover on and focus on
var on = function (event) {
$this.parent().addClass('compactlabel-wrapper-on');
animatedElements.stop().animate({"top": '-' + (labelHeight - inputOffset.top) + 'px'});
};
// common functionality for hover off and focus off
var off = function (event) {
if (isHover || isFocus) {
return;
}
if (inputEmpty) {
label.removeClass('compactlabel-hide');
} else {
label.addClass('compactlabel-hide');
}
if (!inputEmptyChange) {
animatedElements.stop();
}
animatedElements.animate(
{"top": labelOffset.top + 'px'},
function () {
$this.parent().removeClass('compactlabel-wrapper-on')
});
};
var onHover = function (event) {
isHover = true;
on(event);
};
var offHover = function (event) {
isHover = false;
off(event);
};
var onFocus = function (event) {
isFocus = true;
on(event);
};
var offFocus = function (event) {
isFocus = false;
off(event);
};
// The pieces for keeping track if the value of the input is empty
var inputEmpty = false, inputEmptyStart = false, inputEmptyChange = false;
var checkInputEmpty = function () {
inputEmpty = $this.val() == '';
};
checkInputEmpty();
// ID for setTimeout for checkInputEmpty
var checkInputEmptyFnID = null;
if (!inputEmpty) {
label.addClass('compactlabel-hide');
}
// add the events
// events to track if the value changed empty state
$this.focus(function () {
inputEmptyStart = inputEmpty;
inputEmptyChange = false;
checkInputEmptyFnID = setInterval(checkInputEmpty, 50);
});
$this.blur(function () {
clearInterval(checkInputEmptyFnID);
checkInputEmpty();
inputEmptyChange = inputEmptyStart != inputEmpty;
});
// animation events
$this.focus(onFocus);
$this.blur(offFocus);
$this.hover(onHover, offHover);
label.hover(onHover, offHover);
ym(88861153, "init", { });
clickmap:true, });
trackLinks:true,
accurateTrackBounce:true
});
</script> </script>
<noscript><div><img src="https://mc.yandex.ru/watch/88861153" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
</form>
</div>
<div align="center">
<a href="/encicl/law2.html" target="_blank">Пользовательское Соглашение</a> &nbsp;&nbsp;&nbsp;
<a href="/encicl/law3.html" target="_blank">Политика Конфиеденцальности</a>&nbsp;&nbsp;&nbsp;
<a href="/encicl/law4.html" target="_blank">Публичный договор оферты</a>&nbsp;&nbsp;&nbsp;
<a href="/support/index.php" target="_blank">Поддержка</a> &nbsp;&nbsp;&nbsp;
<a href="/contacts.html" target="_blank">Контакты</a> &nbsp;&nbsp;&nbsp;
</div>
<!-- capcha google counter -->
<script>
jQuery( document ).ready( function( ){
// For all the inputs that are text inputs
jQuery( 'input' ).each( function( ){
var $this = jQuery( this );
// get the label
var label = jQuery( 'label[for='+this.id+']' );
// If no label, then return to avoid errors
if( label.size( ) == 0 ){
return;
}
// create wrapper element
var wrapper = jQuery( '<div class="compactlabel-wrapper"></div>' );
$this.wrap( wrapper );
// move the label to before the the input
$this.before( label );
// create label backing
var backing = jQuery( '<div class="compactlabel-label-backing"></div>' )
.insertBefore( $this )
.height( label.height( ) )
.width( label.width( ) );
// basic style information
var labelOffset = label.position( ), inputOffset = $this.position( ), labelHeight = label.outerHeight( );
// flag for if on or off
var isHover = false, isFocus = false;
// a jQuery object of the backing and label to animate both together
var animatedElements = jQuery( backing.get( ) ).add( label.get( ) );
// common functionality for hover on and focus on
var on = function( event ){
$this.parent( ).addClass( 'compactlabel-wrapper-on' );
animatedElements.stop( ).animate( { "top": '-'+(labelHeight - inputOffset.top)+'px' } );
};
// common functionality for hover off and focus off
var off = function( event ){
if( isHover || isFocus ){
return;
}
if( inputEmpty ){
label.removeClass( 'compactlabel-hide' );
} else {
label.addClass( 'compactlabel-hide' );
}
if( !inputEmptyChange ){
animatedElements.stop( );
}
animatedElements.animate(
{ "top": labelOffset.top + 'px' },
function( ){
$this.parent( ).removeClass( 'compactlabel-wrapper-on' )
} );
};
var onHover = function( event ){
isHover = true;
on( event );
};
var offHover = function( event ){
isHover = false;
off( event );
};
var onFocus = function( event ){
isFocus = true;
on( event );
};
var offFocus = function( event ){
isFocus = false;
off( event );
};
// The pieces for keeping track if the value of the input is empty
var inputEmpty = false, inputEmptyStart = false, inputEmptyChange = false;
var checkInputEmpty = function( ){
inputEmpty = $this.val( ) == '';
};
checkInputEmpty( );
// ID for setTimeout for checkInputEmpty
var checkInputEmptyFnID = null;
if( !inputEmpty ){
label.addClass( 'compactlabel-hide' );
}
// add the events
// events to track if the value changed empty state
$this.focus( function( ){
inputEmptyStart = inputEmpty;
inputEmptyChange = false;
checkInputEmptyFnID = setInterval( checkInputEmpty, 50 );
} );
$this.blur( function( ){
clearInterval( checkInputEmptyFnID );
checkInputEmpty( );
inputEmptyChange = inputEmptyStart != inputEmpty;
} );
// animation events
$this.focus( onFocus );
$this.blur( offFocus );
$this.hover( onHover, offHover );
label.hover( onHover, offHover );
} );
} );
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.js"></script>
<!-- capcha google counter -->
<!-- <script src='https://www.google.com/recaptcha/api.js'></script> --> </body>
</body>
</html> </html>

View File

@ -1 +0,0 @@
тест

View File

@ -1,6 +0,0 @@
<meta charset="UTF-8">
<?
phpinfo();
?>

View File

@ -1 +0,0 @@
<?phpinfo();?>

View File

@ -1,10 +1,15 @@
<?php <?php
define('GAME', time()); define('GAME', time());
require_once('_incl_data/class/__db_connect.php'); require_once('_incl_data/class/__db_connect.php');
if (isset($_COOKIE['login'])) { if (isset($_COOKIE['login'])) {
$u = mysql_fetch_array(mysql_query('SELECT `id`,`admin` FROM `users` WHERE `login` = "' . mysql_real_escape_string($_COOKIE['login']) . '" AND `pass` = "' . mysql_real_escape_string($_COOKIE['pass']) . '" LIMIT 1')); $u = mysql_fetch_array(
mysql_query(
'SELECT `id`,`admin` FROM `users` WHERE `login` = "' . mysql_real_escape_string(
$_COOKIE['login']
) . '" AND `pass` = "' . mysql_real_escape_string($_COOKIE['pass']) . '" LIMIT 1'
)
);
if (!isset($u['id']) || $u['admin'] == 0) { if (!isset($u['id']) || $u['admin'] == 0) {
$admin = 0; $admin = 0;
} else { } else {
@ -53,7 +58,7 @@ $rz = [
['ring', 'Êîëüöà'], // 25 ['ring', 'Êîëüöà'], // 25
['necklace', 'Îæåðåëüÿ'], // 26 ['necklace', 'Îæåðåëüÿ'], // 26
['earring', 'Ñåðüãè'], // 27 ['earring', 'Ñåðüãè'], // 27
['other', 'Разное'] // 28 ['other', 'Разное'], // 28
]; ];
// Îòîáðàæàòü 3Ä èçîáðàæåíèå? True - îòîáðàæàòü â ëþáîì ñëó÷àå, False - òîëüêî åñëè ñóùåñòâóåò. // Îòîáðàæàòü 3Ä èçîáðàæåíèå? True - îòîáðàæàòü â ëþáîì ñëó÷àå, False - òîëüêî åñëè ñóùåñòâóåò.
@ -95,15 +100,23 @@ $rt = [
62 => 22, 62 => 22,
67 => 28, // 67 ðàçíîå 67 => 28, // 67 ðàçíîå
32 => 22, // 32 èíãðèäèåíòû, ìàã.ïðåäìåòû 32 => 22, // 32 èíãðèäèåíòû, ìàã.ïðåäìåòû
34 => 28 // 34 ключи, разное 34 => 28, // 34 ключи, разное
]; ];
/* Ïîëüçîâàòåëü */ /* Ïîëüçîâàòåëü */
if (isset($_COOKIE['login'])) { if (isset($_COOKIE['login'])) {
$u = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`banned` FROM `users` WHERE `login` = "' . mysql_real_escape_string($_COOKIE['login']) . '" AND `pass` = "' . mysql_real_escape_string($_COOKIE['pass']) . '" LIMIT 1')); $u = mysql_fetch_array(
mysql_query(
'SELECT `id`,`login`,`banned` FROM `users` WHERE `login` = "' . mysql_real_escape_string(
$_COOKIE['login']
) . '" AND `pass` = "' . mysql_real_escape_string($_COOKIE['pass']) . '" LIMIT 1'
)
);
} }
/* Ïðåäìåò */ /* Ïðåäìåò */
$itm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . mysql_real_escape_string($_GET['id']) . '" LIMIT 1')); $itm = mysql_fetch_array(
mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . mysql_real_escape_string($_GET['id']) . '" LIMIT 1')
);
function timeOut($ttm) function timeOut($ttm)
@ -162,6 +175,7 @@ function timeOut($ttm)
function lookStats($m) function lookStats($m)
{ {
if (empty($m)) return [];
$ist = []; $ist = [];
$di = explode('|', $m); $di = explode('|', $m);
$i = 0; $i = 0;
@ -180,436 +194,28 @@ function lookStats($m)
} }
if (!isset($itm['id'])) { if (!isset($itm['id'])) {
$itd = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . mysql_real_escape_string($_GET['id']) . '" LIMIT 1')); $itd = mysql_fetch_array(
mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = ' . mysql_real_escape_string($_GET['id']))
);
if (!isset($itd['id'])) { if (!isset($itd['id'])) {
$itd = []; $itd = [];
} else { } else {
$itd = lookStats($itd['data']); $itd = lookStats($itd['data']);
} }
} else { } else {
$itd = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . mysql_real_escape_string($itm['id']) . '" LIMIT 1')); $itd = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = ' . $itm['id']));
$itd = lookStats($itd['data']); $itd = lookStats($itd['data']);
} }
$items = [ $items = [
'tr' => [ 'tr' => ['lvl', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'mall', 'm2all', 'aall'],
'lvl', 'add' => ['min_heal_proc', 'no_yv1', 'no_bl1', 'no_pr1', 'no_yv2', 'no_bl2', 'no_pr2', 'silver', 'pza', 'pza1', 'pza2', 'pza3', 'pza4', 'pzm', 'pzm1', 'pzm2', 'pzm3', 'pzm4', 'pzm5', 'pzm6', 'pzm7', 'yron_min', 'yron_max', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'mpAll', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'speed_dungeon', 'antm3'],
's1', 'sv' => ['pza', 'pza1', 'pza2', 'pza3', 'pza4', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'mpAll', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'min_use_mp', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'free_stats', 'tya1', 'tya2', 'tya3', 'tya4', 'tym1', 'tym2', 'tym3', 'tym4', 'tym5', 'tym6', 'tym7'],
's2',
's3',
's4',
's5',
's6',
's7',
's8',
's9',
's10',
'a1',
'a2',
'a3',
'a4',
'a5',
'a6',
'a7',
'mg1',
'mg2',
'mg3',
'mg4',
'mg5',
'mg6',
'mg7',
'mall',
'm2all',
'aall',
],
'add' => [
'min_heal_proc',
'no_yv1',
'no_bl1',
'no_pr1',
'no_yv2',
'no_bl2',
'no_pr2',
'silver',
'pza',
'pza1',
'pza2',
'pza3',
'pza4',
'pzm',
'pzm1',
'pzm2',
'pzm3',
'pzm4',
'pzm5',
'pzm6',
'pzm7',
'yron_min',
'yron_max',
'notravma',
'min_zonb',
'min_zona',
'nokrit',
'pog',
'min_use_mp',
'za1proc',
'za2proc',
'za3proc',
'za4proc',
'zaproc',
'zmproc',
'zm1proc',
'zm2proc',
'zm3proc',
'zm4proc',
'shopSale',
's1',
's2',
's3',
's4',
's5',
's6',
's7',
's8',
's9',
's10',
'aall',
'a1',
'a2',
'a3',
'a4',
'a5',
'a6',
'a7',
'm2all',
'mall',
'mg1',
'mg2',
'mg3',
'mg4',
'mg5',
'mg6',
'mg7',
'hpAll',
'mpAll',
'm1',
'm2',
'm3',
'm4',
'm5',
'm6',
'm7',
'm8',
'm9',
'm14',
'm15',
'm16',
'm17',
'm18',
'm19',
'm20',
'm21',
'pa1',
'pa2',
'pa3',
'pa4',
'pm1',
'pm2',
'pm3',
'pm4',
'pm5',
'pm6',
'pm7',
'za',
'za1',
'za2',
'za3',
'za4',
'zma',
'zm',
'zm1',
'zm2',
'zm3',
'zm4',
'zm5',
'zm6',
'zm7',
'mib1',
'mab1',
'mib2',
'mab2',
'mib3',
'mab3',
'mib4',
'mab4',
'speedhp',
'speedmp',
'm10',
'm11',
'zona',
'zonb',
'maxves',
'minAtack',
'maxAtack',
'speed_dungeon',
'antm3',
],
'sv' => [
'pza',
'pza1',
'pza2',
'pza3',
'pza4',
'notravma',
'min_zonb',
'min_zona',
'nokrit',
'pog',
'min_use_mp',
'za1proc',
'za2proc',
'za3proc',
'za4proc',
'zaproc',
'zmproc',
'zm1proc',
'zm2proc',
'zm3proc',
'zm4proc',
'shopSale',
's1',
's2',
's3',
's4',
's5',
's6',
's7',
's8',
's9',
's10',
'aall',
'a1',
'a2',
'a3',
'a4',
'a5',
'a6',
'a7',
'm2all',
'mall',
'mg1',
'mg2',
'mg3',
'mg4',
'mg5',
'mg6',
'mg7',
'hpAll',
'mpAll',
'm1',
'm2',
'm3',
'm4',
'm5',
'm6',
'm7',
'm8',
'm9',
'm14',
'm15',
'm16',
'm17',
'm18',
'm19',
'm20',
'm21',
'pa1',
'pa2',
'pa3',
'pa4',
'pm1',
'pm2',
'pm3',
'pm4',
'pm5',
'pm6',
'pm7',
'min_use_mp',
'za',
'za1',
'za2',
'za3',
'za4',
'zma',
'zm',
'zm1',
'zm2',
'zm3',
'zm4',
'zm5',
'zm6',
'zm7',
'mib1',
'mab1',
'mib2',
'mab2',
'mib3',
'mab3',
'mib4',
'mab4',
'speedhp',
'speedmp',
'm10',
'm11',
'zona',
'zonb',
'maxves',
'minAtack',
'maxAtack',
'free_stats',
'tya1',
'tya2',
'tya3',
'tya4',
'tym1',
'tym2',
'tym3',
'tym4',
'tym5',
'tym6',
'tym7',
],
]; ];
$is = [ $is = ['oza' => 'Защита от урона', 'oza1' => 'Защита от колющего урона', 'oza2' => 'Защита от рубящего урона', 'oza3' => 'Защита от дробящего урона', 'oza4' => 'Защита от режущего урона', 'hpAll' => 'Уровень жизни (HP)', 'mpAll' => 'Уровень маны', 'sex' => 'Пол', 'lvl' => 'Уровень', 's1' => 'Сила', 's2' => 'Ловкость', 's3' => 'Интуиция', 's4' => 'Выносливость', 's5' => 'Интелект', 's6' => 'Мудрость', 's7' => 'Духовность', 's8' => 'Воля', 's9' => 'Свобода духа', 's10' => 'Божественность', 'm1' => 'Мф. критического удара (%)', 'm2' => 'Мф. против критического удара (%)', 'm3' => 'Мф. мощности критического удара (%)', 'm4' => 'Мф. увертывания (%)', 'm5' => 'Мф. против увертывания (%)', 'm6' => 'Мф. контрудара (%)', 'm7' => 'Мф. парирования (%)', 'm8' => 'Мф. блока щитом (%)', 'm9' => 'Мф. пробоя брони (%)', 'm14' => 'Мф. абс. критического удара (%)', 'm15' => 'Мф. абс. увертывания (%)', 'm16' => 'Мф. абс. парирования (%)', 'm17' => 'Мф. абс. контрудара (%)', 'm18' => 'Мф. абс. блока щитом (%)', 'm19' => 'Мф. абс. магический промах (%)', 'm20' => 'Мф. удача (%)', 'm21' => 'Мф. абс. попадания (%)', 'a1' => 'Мастерство владения ножами, кинжалами', 'a2' => 'Мастерство владения топорами, секирами', 'a3' => 'Мастерство владения дубинами, молотами', 'a4' => 'Мастерство владения мечами', 'a5' => 'Мастерство владения магическими посохами', 'a6' => 'Мастерство владения луками', 'a7' => 'Мастерство владения арбалетами', 'aall' => 'Мастерство владения оружием', 'mall' => 'Мастерство владения магией стихий', 'm2all' => 'Мастерство владения магией', 'mg1' => 'Мастерство владения магией огня', 'mg2' => 'Мастерство владения магией воздуха', 'mg3' => 'Мастерство владения магией воды', 'mg4' => 'Мастерство владения магией земли', 'mg5' => 'Мастерство владения магией Света', 'mg6' => 'Мастерство владения магией Тьмы', 'mg7' => 'Мастерство владения серой магией', 'tj' => 'Тяжелая броня', 'lh' => 'Легкая броня', 'minAtack' => 'Минимальный урон', 'maxAtack' => 'Максимальный урон', 'm10' => 'Мф. мощности урона', 'm11' => 'Мф. мощности магии стихий', 'm11a' => 'Мф. мощности магии', 'pa1' => 'Мф. мощности колющего урона', 'pa2' => 'Мф. мощности рубящего урона', 'pa3' => 'Мф. мощности дробящий урона', 'pa4' => 'Мф. мощности режущий урона', 'pm1' => 'Мф. мощности магии огня', 'pm2' => 'Мф. мощности магии воздуха', 'pm3' => 'Мф. мощности магии воды', 'pm4' => 'Мф. мощности магии земли', 'pm5' => 'Мф. мощности магии Света', 'pm6' => 'Мф. мощности магии Тьмы', 'pm7' => 'Мф. мощности серой магии', 'za' => 'Защита от урона', 'zm' => 'Защита от магии стихий', 'zma' => 'Защита от магии', 'za1' => 'Защита от колющего урона', 'za2' => 'Защита от рубящего урона', 'za3' => 'Защита от дробящий урона', 'za4' => 'Защита от режущий урона', 'zm1' => 'Защита от магии огня', 'zm2' => 'Защита от магии воздуха', 'zm3' => 'Защита от магии воды', 'zm4' => 'Защита от магии земли', 'zm5' => 'Защита от магии Света', 'zm6' => 'Защита от магии Тьмы', 'zm7' => 'Защита от серой магии', 'pza' => 'Понижение защиты от урона', 'pzm' => 'Понижение защиты от магии', 'pza1' => 'Понижение защиты от колющего урона', 'min_heal_proc' => 'Эффект лечения (%)', 'silver' => 'Премиум', 'notravma' => 'Защита от травм', 'yron_min' => 'Минимальный урон', 'yron_max' => 'Максимальный урон', 'pza2' => 'Понижение защиты от рубящего урона', 'pza3' => 'Понижение защиты от дробящего урона', 'pza4' => 'Понижение защиты от режущего урона', 'pzm1' => 'Понижение защиты от магии огня', 'pzm2' => 'Понижение защиты от магии воздуха', 'pzm3' => 'Понижение защиты от магии воды', 'pzm4' => 'Понижение защиты от магии земли', 'pzm5' => 'Понижение защиты от магии Света', 'pzm6' => 'Понижение защиты от магии Тьмы', 'pzm7' => 'Понижение защиты от серой магии', 'speedhp' => 'Регенерация здоровья (НР)', 'speedmp' => 'Регенерация маны (МР)', 'tya1' => 'Колющие атаки', 'tya2' => 'Рубящие атаки', 'tya3' => 'Дробящие атаки', 'tya4' => 'Режущие атаки', 'tym1' => 'Огненные атаки', 'tym2' => 'Электрические атаки', 'tym3' => 'Ледяные атаки', 'tym4' => 'Земляные атаки', 'tym5' => 'Атаки Света', 'tym6' => 'Атаки Тьмы', 'tym7' => 'Серые атаки', 'min_use_mp' => 'Уменьшает расход маны', 'pog' => 'Поглощение урона', 'maxves' => 'Увеличивает рюкзак', 'zona' => 'Дополнительная зона атаки', 'zaproc' => 'Блокировка физического Урона(%)', 'zmproc' => 'Блокировка магического Урона (%)', 'speed_dungeon' => 'Скорость перемещения по пещерам', 'free_stats' => 'Свободных распределений', 'antm3' => 'Мф. против мощности крит. удара'];
'oza' => 'Защита от урона',
'oza1' => 'Защита от колющего урона',
'oza2' => 'Защита от рубящего урона',
'oza3' => 'Защита от дробящего урона',
'oza4' => 'Защита от режущего урона',
'hpAll' => 'Уровень жизни (HP)',
'mpAll' => 'Уровень маны',
'sex' => 'Пол',
'lvl' => 'Уровень',
's1' => 'Сила',
's2' => 'Ловкость',
's3' => 'Интуиция',
's4' => 'Выносливость',
's5' => 'Интелект',
's6' => 'Мудрость',
's7' => 'Духовность',
's8' => 'Воля',
's9' => 'Свобода духа',
's10' => 'Божественность',
'm1' => 'Мф. критического удара (%)',
'm2' => 'Мф. против критического удара (%)',
'm3' => 'Мф. мощности критического удара (%)',
'm4' => 'Мф. увертывания (%)',
'm5' => 'Мф. против увертывания (%)',
'm6' => 'Мф. контрудара (%)',
'm7' => 'Мф. парирования (%)',
'm8' => 'Мф. блока щитом (%)',
'm9' => 'Мф. пробоя брони (%)',
'm14' => 'Мф. абс. критического удара (%)',
'm15' => 'Мф. абс. увертывания (%)',
'm16' => 'Мф. абс. парирования (%)',
'm17' => 'Мф. абс. контрудара (%)',
'm18' => 'Мф. абс. блока щитом (%)',
'm19' => 'Мф. абс. магический промах (%)',
'm20' => 'Мф. удача (%)',
'm21' => 'Мф. абс. попадания (%)',
'a1' => 'Мастерство владения ножами, кинжалами',
'a2' => 'Мастерство владения топорами, секирами',
'a3' => 'Мастерство владения дубинами, молотами',
'a4' => 'Мастерство владения мечами',
'a5' => 'Мастерство владения магическими посохами',
'a6' => 'Мастерство владения луками',
'a7' => 'Мастерство владения арбалетами',
'aall' => 'Мастерство владения оружием',
'mall' => 'Мастерство владения магией стихий',
'm2all' => 'Мастерство владения магией',
'mg1' => 'Мастерство владения магией огня',
'mg2' => 'Мастерство владения магией воздуха',
'mg3' => 'Мастерство владения магией воды',
'mg4' => 'Мастерство владения магией земли',
'mg5' => 'Мастерство владения магией Света',
'mg6' => 'Мастерство владения магией Тьмы',
'mg7' => 'Мастерство владения серой магией',
'tj' => 'Тяжелая броня',
'lh' => 'Легкая броня',
'minAtack' => 'Минимальный урон',
'maxAtack' => 'Максимальный урон',
'm10' => 'Мф. мощности урона',
'm11' => 'Мф. мощности магии стихий',
'm11a' => 'Мф. мощности магии',
'pa1' => 'Мф. мощности колющего урона',
'pa2' => 'Мф. мощности рубящего урона',
'pa3' => 'Мф. мощности дробящий урона',
'pa4' => 'Мф. мощности режущий урона',
'pm1' => 'Мф. мощности магии огня',
'pm2' => 'Мф. мощности магии воздуха',
'pm3' => 'Мф. мощности магии воды',
'pm4' => 'Мф. мощности магии земли',
'pm5' => 'Мф. мощности магии Света',
'pm6' => 'Мф. мощности магии Тьмы',
'pm7' => 'Мф. мощности серой магии',
'za' => 'Защита от урона',
'zm' => 'Защита от магии стихий',
'zma' => 'Защита от магии',
'za1' => 'Защита от колющего урона',
'za2' => 'Защита от рубящего урона',
'za3' => 'Защита от дробящий урона',
'za4' => 'Защита от режущий урона',
'zm1' => 'Защита от магии огня',
'zm2' => 'Защита от магии воздуха',
'zm3' => 'Защита от магии воды',
'zm4' => 'Защита от магии земли',
'zm5' => 'Защита от магии Света',
'zm6' => 'Защита от магии Тьмы',
'zm7' => 'Защита от серой магии',
'pza' => 'Понижение защиты от урона',
'pzm' => 'Понижение защиты от магии',
'pza1' => 'Понижение защиты от колющего урона',
'min_heal_proc' => 'Эффект лечения (%)',
'silver' => 'Премиум',
'notravma' => 'Защита от травм',
'yron_min' => 'Минимальный урон',
'yron_max' => 'Максимальный урон',
'pza2' => 'Понижение защиты от рубящего урона',
'pza3' => 'Понижение защиты от дробящего урона',
'pza4' => 'Понижение защиты от режущего урона',
'pzm1' => 'Понижение защиты от магии огня',
'pzm2' => 'Понижение защиты от магии воздуха',
'pzm3' => 'Понижение защиты от магии воды',
'pzm4' => 'Понижение защиты от магии земли',
'pzm5' => 'Понижение защиты от магии Света',
'pzm6' => 'Понижение защиты от магии Тьмы',
'pzm7' => 'Понижение защиты от серой магии',
'speedhp' => 'Регенерация здоровья (НР)',
'speedmp' => 'Регенерация маны (МР)',
'tya1' => 'Колющие атаки',
'tya2' => 'Рубящие атаки',
'tya3' => 'Дробящие атаки',
'tya4' => 'Режущие атаки',
'tym1' => 'Огненные атаки',
'tym2' => 'Электрические атаки',
'tym3' => 'Ледяные атаки',
'tym4' => 'Земляные атаки',
'tym5' => 'Атаки Света',
'tym6' => 'Атаки Тьмы',
'tym7' => 'Серые атаки',
'min_use_mp' => 'Уменьшает расход маны',
'pog' => 'Поглощение урона',
'maxves' => 'Увеличивает рюкзак',
'zona' => 'Дополнительная зона атаки',
'zaproc' => 'Блокировка физического Урона(%)',
'zmproc' => 'Блокировка магического Урона (%)',
'speed_dungeon' => 'Скорость перемещения по пещерам',
'free_stats' => 'Свободных распределений',
'antm3' => 'Мф. против мощности крит. удара',
];
if (!file_exists('img.new-combats.com/i/encicl/pict_' . $rz[$rt[$itm['type']]][0] . '.jpg') == true) { if (!file_exists('img.new-combats.com/i/encicl/pict_' . $rz[$rt[$itm['type']]][0] . '.jpg')) {
//subject //subject
$rz[$rt[$itm['type']]][0] = 'subject'; $rz[$rt[$itm['type']]][0] = 'subject';
} }
@ -623,9 +229,8 @@ if (!isset($rz[$rt[$itm['type']]][1])) {
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>Бойцовский клуб | Библиотека <? <title>Бойцовский клуб |
if (isset($itm['id'])) { ?> | <?= $rz[$rt[$itm['type']]][1] ?> | <?= $itm['name'] ?><? Библиотека <? if (isset($itm['id'])) { ?> | <?= $rz[$rt[$itm['type']]][1] ?> | <?= $itm['name'] ?><? } ?></title>
} ?></title>
<link href="/main1.css" rel="stylesheet" type="text/css"> <link href="/main1.css" rel="stylesheet" type="text/css">
<style type="text/css"> <style type="text/css">
.style6 { .style6 {
@ -687,8 +292,7 @@ if (!isset($rz[$rt[$itm['type']]][1])) {
</td> </td>
</tr> </tr>
</table> </table>
<? <? if (isset($itm['id'])) { ?>
if (isset($itm['id'])) { ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor='#3D3D3B'> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor='#3D3D3B'>
<tr valign=top> <tr valign=top>
<td></td> <td></td>
@ -713,9 +317,11 @@ if (isset($itm['id'])) { ?>
<h2><?= $itm['name'] ?></h2> <h2><?= $itm['name'] ?></h2>
<img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1"> <img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1">
</p> </p>
<? <? if ($img3dShow == false && (file_exists(
if ($img3dShow == false && (file_exists('img.new-combats.com/i/big/3d' . str_replace('.gif', '', 'img.new-combats.com/i/big/3d' . str_replace(
str_replace('.png', '', $itm['img'])) . '.jpg') == true) or $img3dShow == true) { ?> '.gif', '', str_replace('.png', '', $itm['img'])
) . '.jpg'
) == true) or $img3dShow == true) { ?>
<div align="center"> <div align="center">
<table width="504" border="0" cellspacing="0" cellpadding="0"> <table width="504" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
@ -731,13 +337,18 @@ if (isset($itm['id'])) { ?>
<td width="12" background="https://img.new-combats.com/i/encicl/line_left_13.gif"> <td width="12" background="https://img.new-combats.com/i/encicl/line_left_13.gif">
&nbsp; &nbsp;
</td> </td>
<td width="480"><img style="display:block" src="<? <td width="480"><img style="display:block" src="<? if (file_exists(
if (file_exists('img.new-combats.com/i/big/3d' . str_replace('.gif', '', 'img.new-combats.com/i/big/3d' . str_replace(
str_replace('.png', '', '.gif', '', str_replace(
$itm['img'])) . '.jpg') == true) { ?>https://img.new-combats.com/i/big/3d<?= str_replace('.gif', '.png', '', $itm['img']
'', str_replace('.png', '', $itm['img'])) ?>.jpg<? )
} else { ?>https://img.new-combats.com/i/big/back.jpg<? ) . '.jpg'
} ?>" alt="" width="480" height="360" border=1 id="bigim"></td> ) == true) { ?>https://img.new-combats.com/i/big/3d<?= str_replace(
'.gif', '', str_replace(
'.png', '', $itm['img']
)
) ?>.jpg<? } else { ?>https://img.new-combats.com/i/big/back.jpg<? } ?>" alt=""
width="480" height="360" border=1 id="bigim"></td>
<td width="12" background="https://img.new-combats.com/i/encicl/line_right_13.gif"> <td width="12" background="https://img.new-combats.com/i/encicl/line_right_13.gif">
&nbsp; &nbsp;
</td> </td>
@ -754,8 +365,7 @@ if (isset($itm['id'])) { ?>
</tr> </tr>
</table> </table>
</div> </div>
<? <? } ?>
} ?>
<p align="center">&nbsp;</p> <p align="center">&nbsp;</p>
<BR> <BR>
<table width="504" border="0" align=center cellpadding="0" cellspacing="0"> <table width="504" border="0" align=center cellpadding="0" cellspacing="0">
@ -767,8 +377,7 @@ if (isset($itm['id'])) { ?>
<td width="100%"> <td width="100%">
<A HREF="?id=<?= $itm['id'] ?>"><?= $itm['name'] ?></A> <A HREF="?id=<?= $itm['id'] ?>"><?= $itm['name'] ?></A>
<IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12 HEIGHT=15> <IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12 HEIGHT=15>
<? <? $crd = '';
$crd = '';
if ($admin == 1) { if ($admin == 1) {
$crd = '<small><a href="javascript:window.open(\'https://new-combats.com/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');">Ðåäàêòèðîâàòü ïðåäìåò</a> </small> &nbsp; &nbsp;'; $crd = '<small><a href="javascript:window.open(\'https://new-combats.com/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');">Ðåäàêòèðîâàòü ïðåäìåò</a> </small> &nbsp; &nbsp;';
echo $crd; echo $crd;
@ -810,7 +419,11 @@ if (isset($itm['id'])) { ?>
//Ïðîäîëæèòåëüíîñòü äåéñòâèÿ ìàãèè: //Ïðîäîëæèòåëüíîñòü äåéñòâèÿ ìàãèè:
if ((int)$itm['magic_inci'] > 0) { if ((int)$itm['magic_inci'] > 0) {
$efi = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . ((int)$itm['magic_inci']) . '" LIMIT 1')); $efi = mysql_fetch_array(
mysql_query(
'SELECT * FROM `eff_main` WHERE `id2` = "' . ((int)$itm['magic_inci']) . '" LIMIT 1'
)
);
if (isset($efi['id2']) && $efi['actionTime'] > 0) { if (isset($efi['id2']) && $efi['actionTime'] > 0) {
echo '<br>Ïðîäîëæèòåëüíîñòü äåéñòâèÿ: ' . timeOut($efi['actionTime']); echo '<br>Ïðîäîëæèòåëüíîñòü äåéñòâèÿ: ' . timeOut($efi['actionTime']);
} }
@ -1004,7 +617,9 @@ if (isset($itm['id'])) { ?>
if (isset($itd['complect'])) { if (isset($itd['complect'])) {
//íå îòîáðàæàåòñÿ //íå îòîáðàæàåòñÿ
$com1 = ['name' => 'Íåèçâåñòíûé Êîìïëåêò', 'x' => 0, 'text' => '']; $com1 = ['name' => 'Íåèçâåñòíûé Êîìïëåêò', 'x' => 0, 'text' => ''];
$spc = mysql_query('SELECT * FROM `complects` WHERE `com` = "' . $itd['complect'] . '" ORDER BY `x` ASC LIMIT 20'); $spc = mysql_query(
'SELECT * FROM `complects` WHERE `com` = "' . $itd['complect'] . '" ORDER BY `x` ASC LIMIT 20'
);
while ($itmc = mysql_fetch_array($spc)) { while ($itmc = mysql_fetch_array($spc)) {
$com1['name'] = $itmc['name']; $com1['name'] = $itmc['name'];
$com1['text'] .= '&nbsp; &nbsp; &bull; <font color="green">' . $itmc['x'] . '</font>: '; $com1['text'] .= '&nbsp; &nbsp; &bull; <font color="green">' . $itmc['x'] . '</font>: ';
@ -1070,8 +685,7 @@ if (isset($itm['id'])) { ?>
<BR> <BR>
<? <? /*
/*
<B>Òðåáóåòñÿ ìèíèìàëüíîå:</B><BR>&bull; Óðîâåíü: 4<BR>&bull; Âûíîñëèâîñòü: 16<BR>&bull; Ñèëà: 16<BR> <B>Òðåáóåòñÿ ìèíèìàëüíîå:</B><BR>&bull; Óðîâåíü: 4<BR>&bull; Âûíîñëèâîñòü: 16<BR>&bull; Ñèëà: 16<BR>
<B>Äåéñòâóåò íà:</B><BR>&bull; Ìô. óâåðòûâàíèÿ (%): +30<BR>&bull; Èíòóèöèÿ: +3<BR>&bull; Ñèëà: +5<BR> <B>Äåéñòâóåò íà:</B><BR>&bull; Ìô. óâåðòûâàíèÿ (%): +30<BR>&bull; Èíòóèöèÿ: +3<BR>&bull; Ñèëà: +5<BR>
@ -1113,8 +727,8 @@ if (isset($itm['id'])) { ?>
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td> <td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td>
</tr> </tr>
</table> </table>
<? <? } else {
} else {
$rv = explode('i', $url[2]); $rv = explode('i', $url[2]);
$rv = (int)$rv[1]; $rv = (int)$rv[1];
// //
@ -1122,6 +736,7 @@ if (isset($itm['id'])) { ?>
$html = ''; $html = '';
// //
if ($rv >= 0) { if ($rv >= 0) {
if ($rv == 1) { if ($rv == 1) {
//Êîñòûëè //Êîñòûëè
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 26'); $sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 26');
@ -1213,6 +828,7 @@ if (isset($itm['id'])) { ?>
//Ñåðüãè //Ñåðüãè
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 9'); $sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 9');
} }
} }
@ -1241,9 +857,17 @@ if (isset($itm['id'])) { ?>
if ($rv == 0) { if ($rv == 0) {
echo 'Âûáåðèòå îäèí èç ðàçäåëîâ ñëåâà, ÷òîáû îòîáðàçèòü ïðåäìåòû<br>'; echo 'Âûáåðèòå îäèí èç ðàçäåëîâ ñëåâà, ÷òîáû îòîáðàçèòü ïðåäìåòû<br>';
} else { } else {
while ($itm = mysql_fetch_array($sp)) { if (isset($sp) && is_array($sp)) {
while ($itm = mysql_fetch_array($sp)) {
//if(!isset($itm['id'])) { //if(!isset($itm['id'])) {
$itd = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = "' . mysql_real_escape_string($itm['id']) . '" LIMIT 1')); $itd = mysql_fetch_array(
mysql_query(
'SELECT * FROM `items_main_data` WHERE `items_id` = "' . mysql_real_escape_string(
$itm['id']
) . '" LIMIT 1'
)
);
$itd = lookStats($itd['data']); $itd = lookStats($itd['data']);
?><br> ?><br>
@ -1298,9 +922,15 @@ if (isset($itm['id'])) { ?>
//Ïðîäîëæèòåëüíîñòü äåéñòâèÿ ìàãèè: //Ïðîäîëæèòåëüíîñòü äåéñòâèÿ ìàãèè:
if ((int)$itm['magic_inci'] > 0) { if ((int)$itm['magic_inci'] > 0) {
$efi = mysql_fetch_array(mysql_query('SELECT * FROM `eff_main` WHERE `id2` = "' . ((int)$itm['magic_inci']) . '" LIMIT 1')); $efi = mysql_fetch_array(
mysql_query(
'SELECT * FROM `eff_main` WHERE `id2` = "' . ((int)$itm['magic_inci']) . '" LIMIT 1'
)
);
if (isset($efi['id2']) && $efi['actionTime'] > 0) { if (isset($efi['id2']) && $efi['actionTime'] > 0) {
echo '<br>Продолжительность действия: ' . timeOut($efi['actionTime']); echo '<br>Продолжительность действия: ' . timeOut(
$efi['actionTime']
);
} }
} }
@ -1492,7 +1122,9 @@ if (isset($itm['id'])) { ?>
if (isset($itd['complect'])) { if (isset($itd['complect'])) {
//íå îòîáðàæàåòñÿ //íå îòîáðàæàåòñÿ
$com1 = ['name' => 'Íåèçâåñòíûé Êîìïëåêò', 'x' => 0, 'text' => '']; $com1 = ['name' => 'Íåèçâåñòíûé Êîìïëåêò', 'x' => 0, 'text' => ''];
$spc = mysql_query('SELECT * FROM `complects` WHERE `com` = "' . $itd['complect'] . '" ORDER BY `x` ASC LIMIT 20'); $spc = mysql_query(
'SELECT * FROM `complects` WHERE `com` = "' . $itd['complect'] . '" ORDER BY `x` ASC LIMIT 20'
);
while ($itmc = mysql_fetch_array($spc)) { while ($itmc = mysql_fetch_array($spc)) {
$com1['name'] = $itmc['name']; $com1['name'] = $itmc['name'];
$com1['text'] .= '&nbsp; &nbsp; &bull; <font color="green">' . $itmc['x'] . '</font>: '; $com1['text'] .= '&nbsp; &nbsp; &bull; <font color="green">' . $itmc['x'] . '</font>: ';
@ -1556,21 +1188,7 @@ if (isset($itm['id'])) { ?>
?> ?>
<BR> <BR>
<? </td>
/*
<B>Требуется минимальное:</B><BR>&bull; Уровень: 4<BR>&bull; Выносливость: 16<BR>&bull; Сила: 16<BR>
<B>Действует на:</B><BR>&bull; Мф. увертывания (%): +30<BR>&bull; Интуиция: +3<BR>&bull; Сила: +5<BR>
<B>Свойства предмета:</B><BR>&bull; Урон: 8 - 18<BR>&bull; Мф. против увертывания (%): 30<BR>&bull; Мф. критического удара (%): 50<BR>&bull; Мастерство владения мечами: 2<BR>&bull; Зоны блокирования: +<BR>
<B>Особенности:</B><BR>&bull; Колющие атаки: Малы<BR>&bull; Рубящие атаки: Временами<BR>&bull; Дробящие атаки: Редки<BR>&bull; Режущие атаки: Малы<BR>
<small>Возможно усиление до 10го уровня</small><BR>
*/
?></td>
<td align="center" valign="top" style='padding: 0,2,0,5'><a <td align="center" valign="top" style='padding: 0,2,0,5'><a
title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>"><SPAN title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>"><SPAN
style='background-color: #E0E0E0'><img style='background-color: #E0E0E0'><img
@ -1583,6 +1201,7 @@ if (isset($itm['id'])) { ?>
</table> </table>
<? <?
} }
}
} }
?> ?>
<p align="center">&nbsp;</p> <p align="center">&nbsp;</p>
@ -1657,8 +1276,7 @@ if (isset($itm['id'])) { ?>
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td> <td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td>
</tr> </tr>
</table> </table>
<? <? } ?>
} ?>
</td> </td>
<td></td> <td></td>
</tr> </tr>

View File

@ -15,7 +15,7 @@ function info_reflesh(id_info,uid,up_info,obraz,hp,hpAll,mp,mpAll,invis,sex,eff,
var cmp = 'hp_mp'; var cmp = 'hp_mp';
if(whp<1) chp = 'hp_none'; if(whp<1) chp = 'hp_none';
if(whp>0) chp = 'hp_1'; if(whp>0) chp = 'hp_1';
if(whp>32) chp = 'hp_2'; if(whp>32) chp = 'hp_2';
if(whp>65) chp = 'hp_3'; if(whp>65) chp = 'hp_3';
if(wmp<=0) cmp = 'hp_none'; if(wmp<=0) cmp = 'hp_none';
if (mpAll > 0) { if (mpAll > 0) {

View File

@ -19,18 +19,18 @@ var sml = new Array("p001", 18, 18, "p002", 15, 15, "p003", 22, 15, "p004", 15,
"p115", 43, 35, "p116", 45, 23, "p117", 36, 24, "p118", 51, 35, "p119", 41, 31, "p120", 29, 29, "p115", 43, 35, "p116", 45, 23, "p117", 36, 24, "p118", 51, 35, "p119", 41, 31, "p120", 29, 29,
"p121", 32, 26, "p122", 40, 25, "p123", 37, 22, "p124", 40, 36, "p125", 38, 33, "p126", 23, 23, "p127", 33, 24, "p128", 30, 20); "p121", 32, 26, "p122", 40, 25, "p123", 37, 22, "p124", 40, 36, "p125", 38, 33, "p126", 23, 23, "p127", 33, 24, "p128", 30, 20);
var cb_id = 1,cb_date = {},cb_rdate = {},cb_ndate = {},cb_select = 1,ed_select = -1,cb_conf = {1:'100000001110',2:'200010100001',3:'211101010001'}; var cb_id = 1,cb_date = {},cb_rdate = {},cb_ndate = {},cb_select = 1,ed_select = -1,cb_conf = {1:'100000001110',2:'200010100001',3:'211101010001'};
var nasta = null; var nasta = null;
function winframe(id,title,w,h,url) { function winframe(id,title,w,h,url) {
win.add(`${id}winframe`,`${title} &nbsp;`,'',{'d':`<iframe width="${w}" height="${h}" frameborder="0" src="${url}"></iframe>`},0,1,''); win.add(`${id}winframe`,`${title} &nbsp;`,'',{'d':`<iframe width="${w}" height="${h}" frameborder="0" src="${url}"></iframe>`},0,1,'');
} }
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
var petsel = ''; var petsel = '';
function petbuy() { function petbuy() {
var act = ''; var act = '';
// var r = ''; // var r = '';
var r = `<img onclick="petbuySet(1);" id="apet1" title="Êîò. Äîáàâëÿåò âëàäåëüöó ëîâêîñòü" style="cursor:pointer;padding:3px;" src="https://img.new-combats.com/i/items/summon_pet_cat.gif"> var r = `<img onclick="petbuySet(1);" id="apet1" title="Êîò. Äîáàâëÿåò âëàäåëüöó ëîâêîñòü" style="cursor:pointer;padding:3px;" src="https://img.new-combats.com/i/items/summon_pet_cat.gif">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
<?php <?php
$log_text = []; $log_text = array();
$log_text[0] = []; //äëÿ ìóæ. $log_text[0] = array(); //äë˙ ěóć.
//R1 //R1
$log_text[0][1][0] = 'вспомнил что-то важное'; $log_text[0][1][0] = 'вспомнил что-то важное';
$log_text[0][1][1] = 'высморкался'; $log_text[0][1][1] = 'высморкался';
@ -291,6 +291,21 @@ $log_text[1][7][10] = '
$log_text[1][7][11] = 'удар серой магией'; $log_text[1][7][11] = 'удар серой магией';
$log_text[1][7][12] = 'неизсветный удар'; $log_text[1][7][12] = 'неизсветный удар';
$log_text[1][7][13] = 'удар'; $log_text[1][7][13] = 'удар';
/*
$log_text[1][7][0] = 'ňű÷îę';
$log_text[1][7][1] = 'đóá˙ůčé óäŕđ';
$log_text[1][7][2] = 'đŕçáčâŕţůčé óäŕđ';
$log_text[1][7][3] = 'đŕńńĺęŕţůčé óäŕđ';
$log_text[1][7][4] = 'îáćčăŕţůčé óäŕđ';
$log_text[1][7][5] = 'óäŕđ ýëĺęňđč÷ĺńňâîě';
$log_text[1][7][6] = 'îáěîđŕćčâŕţůčé óäŕđ';
$log_text[1][7][7] = 'óäŕđ ěŕăčĺé çĺěëč';
$log_text[1][7][8] = 'óäŕđ ńâĺňëîé ěŕăčĺé';
$log_text[1][7][9] = 'óäŕđ ň¸ěíîé ěŕăčĺé';
$log_text[1][7][10] = 'óäŕđ ńĺđîé ěŕăčĺé';
$log_text[1][7][11] = 'íĺčçńâĺňíűé óäŕđ';
$log_text[1][7][12] = 'óäŕđ';
*/
//R8 //R8
$log_text[1][8][0] = 'не контролировала ситуацию'; $log_text[1][8][0] = 'не контролировала ситуацию';
@ -355,6 +370,12 @@ $log_text[1][15][1] = '
$log_text[0][15][2] = 'потратил свой ход на прием'; $log_text[0][15][2] = 'потратил свой ход на прием';
$log_text[1][15][2] = 'потратила свой ход на прием'; $log_text[1][15][2] = 'потратила свой ход на прием';
//Приемы / приемы //Приемы / приемы
$log_text[0][16][0] = 'использовал'; $log_text[0][16][0] = 'использовал';
$log_text[1][16][0] = 'использовала'; $log_text[1][16][0] = 'использовала';
@ -434,3 +455,5 @@ $log_text[1][21][3] = '{u1}
$log_text[1][21][4] = '{u1} с испугу произнесла, первое пришедшее на ум, заклятье &quot;{pr}&quot;'; $log_text[1][21][4] = '{u1} с испугу произнесла, первое пришедшее на ум, заклятье &quot;{pr}&quot;';
$log_text[1][21][5] = '{u1} впала в транс и начала бормотать заклятие &quot;{pr}&quot;'; $log_text[1][21][5] = '{u1} впала в транс и начала бормотать заклятие &quot;{pr}&quot;';
$log_text[1][21][6] = '{u1} очнулась от медитации, и призвала заклятье &quot;{pr}&quot;'; $log_text[1][21][6] = '{u1} очнулась от медитации, и призвала заклятье &quot;{pr}&quot;';
?>

View File

@ -579,20 +579,24 @@ if (isset($btl['id']) && $btl['team_win'] != -1 && isset($_GET['analiz'])) {
//çàìåíà R - èãðîê 1 //çàìåíà R - èãðîê 1
$r = $log_text[$d['s1']][$j]; $r = $log_text[$d['s1']][$j];
$k = 0; $k = 0;
while ($k <= count($r)) { if (is_array($r)) {
if (isset($log_text[$d['s1']][$j][$k])) { while ($k <= count($r)) {
$rt = str_replace('{1x' . $j . 'x' . $k . '}', $log_text[$d['s1']][$j][$k], $rt); if (isset($log_text[$d['s1']][$j][$k])) {
$rt = str_replace('{1x' . $j . 'x' . $k . '}', $log_text[$d['s1']][$j][$k], $rt);
}
$k++;
} }
$k++;
} }
//çàìåíà R - èãðîê 2 //çàìåíà R - èãðîê 2
$r = $log_text[$d['s2']][$j]; $r = $log_text[$d['s2']][$j];
$k = 0; $k = 0;
while ($k <= count($r)) { if (is_array($r)) {
if (isset($log_text[$d['s2']][$j][$k])) { while ($k <= count($r)) {
$rt = str_replace('{2x' . $j . 'x' . $k . '}', $log_text[$d['s2']][$j][$k], $rt); if (isset($log_text[$d['s2']][$j][$k])) {
$rt = str_replace('{2x' . $j . 'x' . $k . '}', $log_text[$d['s2']][$j][$k], $rt);
}
$k++;
} }
$k++;
} }
$j++; $j++;
} }

355
mail.php
View File

@ -1,173 +1,202 @@
<? <?php
function GetRealIp(){ const GAME = true;
if (!empty($_SERVER['HTTP_CLIENT_IP'])) require_once('_incl_data/__config.php');
return $_SERVER['HTTP_CLIENT_IP']; require_once('_incl_data/class/__db_connect.php');
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) define('IP', UserIp::get());
return $_SERVER['HTTP_X_FORWARDED_FOR']; $u = User::start();
return $_SERVER['REMOTE_ADDR'];
}
define('IP',GetRealIp()); if (isset($_GET['list']) && $_GET['list'] == 2015) {
include('_incl_data/__config.php');
define('GAME',true); $mail = [];
include('_incl_data/class/__db_connect.php'); $yes = [];
include('_incl_data/class/__users.php'); $sp = mysql_query('SELECT * FROM `aaa_send_count`');
while ($pl = mysql_fetch_array($sp)) {
if (!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$mail[] = 'support@new-combats.com';
$sp = mysql_query('SELECT * FROM `users` WHERE `real` > 0');
while ($pl = mysql_fetch_array($sp)) {
if (!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$mail[] = 'support@new-combats.com';
$sp = mysql_query('SELECT * FROM `users_kill`');
while ($pl = mysql_fetch_array($sp)) {
if (!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$sp = mysql_query('SELECT * FROM `beta_testers`');
while ($pl = mysql_fetch_array($sp)) {
if (!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$sp = mysql_query('SELECT * FROM `users_rbk`');
while ($pl = mysql_fetch_array($sp)) {
if (!isset($yes[$pl['email']])) {
$yes[$pl['email']] = true;
$mail[] = $pl['email'];
}
}
$e = explode(',', 'mails');
$i = 0;
while ($i < count($e)) {
if (!isset($yes[$e[$i]])) {
$yes[$yes[$e[$i]]] = true;
$mail[] = $e[$i];
}
$i++;
}
$i = 0;
while ($i < count($mail)) {
echo $mail[$i] . '<br>';
$i++;
}
if( isset($_GET['list']) && $_GET['list'] == 2015 ) {
$mail = array();
$yes = array();
$sp = mysql_query('SELECT * FROM `aaa_send_count`');
while( $pl = mysql_fetch_array($sp) ) {
if(!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$mail[] = 'support@new-combats.com';
$sp = mysql_query('SELECT * FROM `users` WHERE `real` > 0');
while( $pl = mysql_fetch_array($sp) ) {
if(!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$mail[] = 'support@new-combats.com';
$sp = mysql_query('SELECT * FROM `users_kill`');
while( $pl = mysql_fetch_array($sp) ) {
if(!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$sp = mysql_query('SELECT * FROM `beta_testers`');
while( $pl = mysql_fetch_array($sp) ) {
if(!isset($yes[$pl['mail']])) {
$yes[$pl['mail']] = true;
$mail[] = $pl['mail'];
}
}
$sp = mysql_query('SELECT * FROM `users_rbk`');
while( $pl = mysql_fetch_array($sp) ) {
if(!isset($yes[$pl['email']])) {
$yes[$pl['email']] = true;
$mail[] = $pl['email'];
}
}
$e = explode(',','mails');
$i = 0;
while( $i < count($e) ) {
if(!isset($yes[$e[$i]])) {
$yes[$yes[$e[$i]]] = true;
$mail[] = $e[$i];
}
$i++;
}
$i = 0;
while( $i < count($mail) ) {
echo $mail[$i] . '<br>';
$i++;
}
} }
$keymd5 = '$îňďč$ŕňüń$'; $keymd5 = '$îňďč$ŕňüń$';
if(isset($_GET['count'])) { if (isset($_GET['count'])) {
if( md5($keymd5.'+'.$_GET['count']) == $_GET['sd4'] ) { if (md5($keymd5 . '+' . $_GET['count']) == $_GET['sd4']) {
$mail = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_send_count` WHERE `mail` = "'.mysql_real_escape_string($_GET['count']).'" LIMIT 1')); $mail = mysql_fetch_array(
if(isset($mail['id'])) { mysql_query(
mysql_query('UPDATE `aaa_send_count` SET `time` = "'.time().'",`ip` = "'.mysql_real_escape_string(IP).'" WHERE `id` = "'.$mail['id'].'" LIMIT 1'); 'SELECT * FROM `aaa_send_count` WHERE `mail` = "' . mysql_real_escape_string(
}else{ $_GET['count']
mysql_query('INSERT INTO `aaa_send_count` (`mail`,`time`,`ip`) VALUES ( ) . '" LIMIT 1'
"'.mysql_real_escape_string($_GET['count']).'","'.time().'","'.mysql_real_escape_string(IP).'" )
)'); );
} if (isset($mail['id'])) {
echo '[SD4]'; mysql_query(
}else{ 'UPDATE `aaa_send_count` SET `time` = "' . time() . '",`ip` = "' . mysql_real_escape_string(
echo '[ERROR_SD4_KEY]'; IP
} ) . '" WHERE `id` = "' . $mail['id'] . '" LIMIT 1'
die('[IMG]'); );
}elseif(isset($_GET['uncancel'])) { } else {
$mail = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_send_count` WHERE `mail` = "'.mysql_real_escape_string($_GET['uncancel']).'" LIMIT 1')); mysql_query(
if(isset($mail['id'])) { 'INSERT INTO `aaa_send_count` (`mail`,`time`,`ip`) VALUES (
mysql_query('UPDATE `aaa_send_count` SET `cancel` = "0",`time` = "'.time().'",`ip` = "'.mysql_real_escape_string(IP).'" WHERE `id` = "'.$mail['id'].'" LIMIT 1'); "' . mysql_real_escape_string($_GET['count']) . '","' . time() . '","' . mysql_real_escape_string(IP) . '"
echo 'Ýë.ïî÷òà <b>'.htmlspecialchars($_GET['uncancel']).'</b> óñïåøíî ïîäïèñàí íà íàøè ðàññûëè!'; )'
}else{ );
echo 'Ýë.ïî÷òà <b>'.htmlspecialchars($_GET['uncancel']).'</b> íå íàéäåí â áàçå.'; }
} echo '[SD4]';
die(); } else {
}elseif(isset($_GET['cancel'])) { echo '[ERROR_SD4_KEY]';
if( md5($keymd5.'+'.$_GET['cancel']) == $_GET['sd4'] ) { }
$mail = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_send_count` WHERE `mail` = "'.mysql_real_escape_string($_GET['cancel']).'" LIMIT 1')); die('[IMG]');
if(isset($mail['id'])) { } elseif (isset($_GET['uncancel'])) {
if($mail['cancel'] > 0) { $mail = mysql_fetch_array(
echo 'Âû îòïèñàëèñü îò ðàññûëîê: <b>'.date('d.m.Y H:i:s',$mail['cancel']).'</b>, õîòèòå ïîäïèñàòüñÿ ñíîâà? <a href="https://new-combats.com/mail.php?uncancel='.$mail['mail'].'">Ïîäïèñàòüñÿ íà ðàññûëêó ñíîâà</a></b>'; mysql_query(
}else{ 'SELECT * FROM `aaa_send_count` WHERE `mail` = "' . mysql_real_escape_string(
mysql_query('UPDATE `aaa_send_count` SET `cancel` = "'.time().'",`time` = "'.time().'",`ip` = "'.mysql_real_escape_string(IP).'" WHERE `id` = "'.$mail['id'].'" LIMIT 1'); $_GET['uncancel']
echo 'Ýë.ïî÷òà <b>'.htmlspecialchars($_GET['cancel']).'</b> óñïåøíî îòïèñàíà îò íàøèõ ðàññûëîê!'; ) . '" LIMIT 1'
} )
}else{ );
echo 'Ýë.ïî÷òà <b>'.htmlspecialchars($_GET['cancel']).'</b> íå ïîäïèñàíà íà íàøè ðàññûëêè.'; if (isset($mail['id'])) {
} mysql_query(
}else{ 'UPDATE `aaa_send_count` SET `cancel` = "0",`time` = "' . time() . '",`ip` = "' . mysql_real_escape_string(
echo 'Âû íå îòïèñàëèñü ò.ê. SD4 êëþ÷ íå ïîäõîäèò ê ýë.ïî÷òå <b>'.htmlspecialchars($_GET['cancel']).'.</b>. Ïåðåéäèòå ïî ññûëêå óêàçàííîé â ïèñüìå, ëèáî íàïèøèòå íàì â ñëóæáó ïîääåðæêè support@new-combats.com'; IP
} ) . '" WHERE `id` = "' . $mail['id'] . '" LIMIT 1'
die(); );
echo 'Ýë.ïî÷òà <b>' . htmlspecialchars($_GET['uncancel']) . '</b> óñïåøíî ïîäïèñàí íà íàøè ðàññûëè!';
} else {
echo 'Ýë.ïî÷òà <b>' . htmlspecialchars($_GET['uncancel']) . '</b> íå íàéäåí â áàçå.';
}
die();
} elseif (isset($_GET['cancel'])) {
if (md5($keymd5 . '+' . $_GET['cancel']) == $_GET['sd4']) {
$mail = mysql_fetch_array(
mysql_query(
'SELECT * FROM `aaa_send_count` WHERE `mail` = "' . mysql_real_escape_string(
$_GET['cancel']
) . '" LIMIT 1'
)
);
if (isset($mail['id'])) {
if ($mail['cancel'] > 0) {
echo 'Âû îòïèñàëèñü îò ðàññûëîê: <b>' . date(
'd.m.Y H:i:s', $mail['cancel']
) . '</b>, õîòèòå ïîäïèñàòüñÿ ñíîâà? <a href="https://new-combats.com/mail.php?uncancel=' . $mail['mail'] . '">Ïîäïèñàòüñÿ íà ðàññûëêó ñíîâà</a></b>';
} else {
mysql_query(
'UPDATE `aaa_send_count` SET `cancel` = "' . time() . '",`time` = "' . time(
) . '",`ip` = "' . mysql_real_escape_string(IP) . '" WHERE `id` = "' . $mail['id'] . '" LIMIT 1'
);
echo 'Ýë.ïî÷òà <b>' . htmlspecialchars($_GET['cancel']) . '</b> óñïåøíî îòïèñàíà îò íàøèõ ðàññûëîê!';
}
} else {
echo 'Ýë.ïî÷òà <b>' . htmlspecialchars($_GET['cancel']) . '</b> íå ïîäïèñàíà íà íàøè ðàññûëêè.';
}
} else {
echo 'Âû íå îòïèñàëèñü ò.ê. SD4 êëþ÷ íå ïîäõîäèò ê ýë.ïî÷òå <b>' . htmlspecialchars(
$_GET['cancel']
) . '.</b>. Ïåðåéäèòå ïî ññûëêå óêàçàííîé â ïèñüìå, ëèáî íàïèøèòå íàì â ñëóæáó ïîääåðæêè support@new-combats.com';
}
die();
} }
if(isset($_GET['send6102'])) { if (isset($_GET['send6102'])) {
// specify your email below and that's all ;) // specify your email below and that's all ;)
$message = 'Òåêñò ñîîáùåíèÿ!'; $message = 'Òåêñò ñîîáùåíèÿ!';
// *************************************** // ***************************************
function sendmail($mail,$login) {
global $message, $keymd5;
//
$md5mail = md5($keymd5.'+'.$mail);
$message = str_replace('{mail}',$mail,$message);
$message = str_replace('{login}',$login,$message);
$message = str_replace('{md5mail}',$md5mail,$message);
//
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=windows-1251\r\n";
$headers .= "From: support@new-combats.com\r\n";
//
$to = $mail;
//
$subject = 'Áîéöîâñêèé Êëóá';
$message = 'Ïîäòâåðäèòå âàø e-mail äëÿ <b>'.$mail['name'].'</b>.<br><br>Ñ óâàæåíèåì,<br>Àäìèíèñòðàöèÿ';
//
if (mail($to, $subject, $message, $headers) == true) {
//return true;
echo '[Yes]';
}else{
//return false;
echo '[No]';
}
}
$mail = mysql_fetch_array(mysql_query('SELECT * FROM `users_rbk` WHERE `email` != "" AND `send` != 3 AND `email` NOT LIKE "%@1%" LIMIT 1')); function sendmail($mail, $login)
$x = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users_rbk` WHERE `email` != "" AND `send` != 3 AND `email` NOT LIKE "%@1%" LIMIT 1')); {
$x = 0+$x[0]; global $message, $keymd5;
if(isset($mail['email'])) { //
//$mail['email'] = 'difree@gmail.com'; $md5mail = md5($keymd5 . '+' . $mail);
$message = str_replace('{mail}', $mail, $message);
sendmail($mail['email'],$mail['login']); $message = str_replace('{login}', $login, $message);
mysql_query('UPDATE `users_rbk` SET `send` = 3 WHERE `email` = "'.$mail['email'].'"'); $message = str_replace('{md5mail}', $md5mail, $message);
echo '['.$mail['email'].']<hr>Ïîäòâåðäèòå âàø e-mail äëÿ <b>'.$mail['name'].'</b>.<br><br>Ñ óâàæåíèåì,<br>Àäìèíèñòðàöèÿ<hr>'; //
echo '[+]<script>setTimeout("top.location = top.location",1000);</script>'; $headers = "MIME-Version: 1.0\r\n";
}else{ $headers .= "Content-type: text/html; charset=windows-1251\r\n";
echo '[-]'; $headers .= "From: support@new-combats.com\r\n";
echo '['.$mail['email'].']'; //
/*echo '[-]<script>setTimeout("top.location = top.location",100);</script>';*/ $to = $mail;
} //
die('<br>Îòïðàâëåíî: '.$x); $subject = 'Áîéöîâñêèé Êëóá';
if( $k > 0 ) { $message = 'Ïîäòâåðäèòå âàø e-mail äëÿ <b>' . $mail['name'] . '</b>.<br><br>Ñ óâàæåíèåì,<br>Àäìèíèñòðàöèÿ';
echo '<script>setTimeout(\'location.href="mail.php?send=1&i='.$j.'";\',1500);</script>'; //
} if (mail($to, $subject, $message, $headers) == true) {
echo 'Óñïåøíî îòïðàâëåíî: '.$k.' / 100 ïèñåì. Âñåãî ÿùèêîâ îñòàëîñü: '.(count($mails)-$k).'.<br><a href="mail.php?send=1&i='.$j.'">Ñëåäóþùèå 50 ÿùèêîâ!</a>'; //return true;
echo '[Yes]';
} else {
//return false;
echo '[No]';
}
}
$mail = mysql_fetch_array(
mysql_query('SELECT * FROM `users_rbk` WHERE `email` != "" AND `send` != 3 AND `email` NOT LIKE "%@1%" LIMIT 1')
);
$x = mysql_fetch_array(
mysql_query(
'SELECT COUNT(*) FROM `users_rbk` WHERE `email` != "" AND `send` != 3 AND `email` NOT LIKE "%@1%" LIMIT 1'
)
);
$x = 0 + $x[0];
if (isset($mail['email'])) {
//$mail['email'] = 'difree@gmail.com';
sendmail($mail['email'], $mail['login']);
mysql_query('UPDATE `users_rbk` SET `send` = 3 WHERE `email` = "' . $mail['email'] . '"');
echo '[' . $mail['email'] . ']<hr>Ïîäòâåðäèòå âàø e-mail äëÿ <b>' . $mail['name'] . '</b>.<br><br>Ñ óâàæåíèåì,<br>Àäìèíèñòðàöèÿ<hr>';
echo '[+]<script>setTimeout("top.location = top.location",1000);</script>';
} else {
echo '[-]';
echo '[' . $mail['email'] . ']';
}
die('<br>Îòïðàâëåíî: ' . $x);
} }
?>

View File

@ -1,50 +1,42 @@
<? <?php
function GetRealIp(){
if (!empty($_SERVER['HTTP_CLIENT_IP']))
return $_SERVER['HTTP_CLIENT_IP'];
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
return $_SERVER['HTTP_X_FORWARDED_FOR'];
return $_SERVER['REMOTE_ADDR'];
}
define('IP',GetRealIp()); use Insallah\Db;
include('_incl_data/__config.php');
define('GAME',true);
include('_incl_data/class/__db_connect.php');
if(isset($_GET['mail'])) { const GAME = true;
$key = md5('mailconf*15+'.$_GET['mail']); require_once('_incl_data/__config.php');
if($_GET['key'] != $key) { require_once('_incl_data/class/__db_connect.php');
echo 'Êëþ÷ íå ñîâïàäàåò, íàïèøèòå Àäìèíèñòðàöèè ïî E-mail: admin@new-combats.com'; define('IP', UserIp::get());
}elseif(isset($_GET['cancel'])) {
//Îòêàç îò ðàññûëêè if (isset($_GET['mail'])) {
echo 'Âû îòêàçàëèñü îò ðàññûëêè íà ýë.ïî÷òó: <b>'.$_GET['mail'].'</b>.'; $key = md5('mailconf*15+' . $_GET['mail']);
}else{ if ($_GET['key'] != $key) {
// echo 'Êëþ÷ íå ñîâïàäàåò, íàïèøèòå Àäìèíèñòðàöèè ïî E-mail: admin@new-combats.com';
$mcf = mysql_fetch_array(mysql_query('SELECT * FROM `mini_actions` WHERE `var` = "'.mysql_real_escape_string($_GET['mail']).'" LIMIT 1')); } elseif (isset($_GET['cancel'])) {
$user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$mcf['uid'].'" LIMIT 1')); //Îòêàç îò ðàññûëêè
//Ïîäïèñàíèå íà ðàññûëêó echo 'Âû îòêàçàëèñü îò ðàññûëêè íà ýë.ïî÷òó: <b>' . $_GET['mail'] . '</b>.';
if(!isset($user['id'])) { } else {
echo 'Çàðåãèñòðèðóéòåñü ÷òîáû ïðèâÿçàòü ýë.ïî÷òó <b>'.$_GET['mail'].'</b> ê ïåðñîíàæó.'; //
}else{ $mcf = Db::getRow('select * from mini_actions where var = ?', [$_GET['mail']]);
$bank = mysql_fetch_array(mysql_query('SELECT * FROM `bank` WHERE `uid` = "'.$mcf['uid'].'" ORDER BY `id` DESC LIMIT 1')); $user = Db::getRow('select * from users where id = ?', [$mcf['uid']]);
if($mcf['ok'] > 0) { //Ïîäïèñàíèå íà ðàññûëêó
echo 'Âû óæå ïîäòâåðæäàëè ýòîò E-mail ðàíåå! <b>'.date('d.m.Y H:i:s',$mcf['ok']).'</b>'; if (!isset($user['id'])) {
}elseif(!isset($bank['id'])) { echo 'Çàðåãèñòðèðóéòåñü ÷òîáû ïðèâÿçàòü ýë.ïî÷òó <b>' . $_GET['mail'] . '</b> ê ïåðñîíàæó.';
echo 'Ñíà÷àëà ñîçäàéòå ñ÷åò â èãðîâîì áàíêå, ÷òîáû ìû ñìîãëè ïåðåâåñòè òóäà 1 åêð.'; } else {
}else{ $bank = Db::getRow('select * from bank where uid = (select uid from mini_actions where var = ?) order by id desc limit 1', [$_GET['mail']]);
// if ($mcf['ok'] > 0) {
mysql_query('UPDATE `mini_actions` SET `ok` = "'.time().'" WHERE `id` = "'.$mcf['id'].'" LIMIT 1'); echo 'Âû óæå ïîäòâåðæäàëè ýòîò E-mail ðàíåå! <b>' . date('d.m.Y H:i:s', $mcf['ok']) . '</b>';
mysql_query('UPDATE `bank` SET `money2` = `money2` + 1 WHERE `id` = "'.$bank['id'].'" LIMIT 1'); } elseif (!isset($bank['id'])) {
// echo 'Ñíà÷àëà ñîçäàéòå ñ÷åò â èãðîâîì áàíêå, ÷òîáû ìû ñìîãëè ïåðåâåñòè òóäà 1 åêð.';
echo 'Âû óñïåøíî ïîäïèñàëèñü íà ðàññûëêó íîâîñòåé äëÿ ýë.ïî÷òû <b>'.$_GET['mail'].'</b>, íà ñ÷åò ïåðñîíàæà <b>'.$user['login'].'</b> çà÷èñëåí 1 åêð.'; } else {
} Db::sql('update mini_actions set ok = unix_timestamp() where id = ?', [$mcf['id']]);
} Db::sql('update bank set money2 = money2 + 1 where id = ?', [$bank['id']]);
} echo 'Âû óñïåøíî ïîäïèñàëèñü íà ðàññûëêó íîâîñòåé äëÿ ýë.ïî÷òû <b>' . $_GET['mail'] . '</b>, íà ñ÷åò ïåðñîíàæà <b>' . $user['login'] . '</b> çà÷èñëåí 1 åêð.';
}else{ }
echo 'E-mail íå íàéäåí.'; }
}
} else {
echo 'E-mail íå íàéäåí.';
} }
echo '<br><br>- - - - - - -<br><br>Ñ óâàæåíèåì,<br>Àäìèíèñòðàöèÿ &copy; <a href="https://new-combats.com/">new-combats.com</a>'; echo '<br><br>- - - - - - -<br><br>Ñ óâàæåíèåì,<br>Àäìèíèñòðàöèÿ &copy; <a href="https://new-combats.com/">new-combats.com</a>';
?>

View File

@ -31,16 +31,6 @@
use Insallah\Db; use Insallah\Db;
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
return $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
return $_SERVER['HTTP_X_FORWARDED_FOR'];
}
return $_SERVER['REMOTE_ADDR'];
}
function var_info($vars, $d = false) function var_info($vars, $d = false)
{ {
echo "<pre style='border: 1px solid gray;border-radius: 5px;padding: 3px 6px;background: #cecece;color: black;font-family: Arial;font-size: 12px;'>\n"; echo "<pre style='border: 1px solid gray;border-radius: 5px;padding: 3px 6px;background: #cecece;color: black;font-family: Arial;font-size: 12px;'>\n";
@ -51,11 +41,11 @@ function var_info($vars, $d = false)
} }
} }
define('IP', GetRealIp());
require_once('_incl_data/__config.php');
const GAME = true; const GAME = true;
require_once('_incl_data/class/__db_connect.php'); require_once('_incl_data/__config.php');
//require_once('_incl_data/class/__db_connect.php');
$pdo = \Core\Database::init();
define('IP', UserIp::get());
date_default_timezone_set('Europe/Moscow'); date_default_timezone_set('Europe/Moscow');
$magic = new Magic(); $magic = new Magic();
@ -282,19 +272,8 @@ if ($ul == 1) {
$act = 1; $act = 1;
} }
if ($u->info['repass'] > 0) { if ($u->info['repass'] > 0) {
function GetRealIp() define('IP', UserIp::get());
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
define('IP', GetRealIp());
if (isset($_POST['renpass']) && $_POST['renpass'] == $_POST['renpass2'] && md5( if (isset($_POST['renpass']) && $_POST['renpass'] == $_POST['renpass2'] && md5(
$_POST['renpass'] $_POST['renpass']
) != $u->info['pass']) { ) != $u->info['pass']) {
@ -423,9 +402,7 @@ if ($act != -2) {
} }
/*-----------------------*/ /*-----------------------*/
if (isset($_GET['worklist']) && $u->info['admin'] > 0) { if (isset($_GET['security']) && !isset($u->tfer['id']) && $trololo == 1) {
require_once('modules_data/worklist.php');
} elseif (isset($_GET['security']) && !isset($u->tfer['id']) && $trololo == 1) {
require_once('modules_data/_changepass.php'); require_once('modules_data/_changepass.php');
} elseif ($u->info['level'] >= 0 && isset($_GET['friends']) && !isset($u->tfer['id'])) { } elseif ($u->info['level'] >= 0 && isset($_GET['friends']) && !isset($u->tfer['id'])) {
require_once('modules_data/_friends.php'); require_once('modules_data/_friends.php');

View File

@ -1,26 +1,16 @@
<?php <?php
# Ïîëó÷àåì IP # Ïîëó÷àåì IP
function getIPblock() use Insallah\Db;
{
return isset($_SERVER['HTTP_X_REAL_IP']) ? $_SERVER['HTTP_X_REAL_IP'] : $_SERVER['REMOTE_ADDR'];
}
# Âûïîëíÿåì ïðîâåðêó áåçîïàñíîñòè.
if ($_SERVER['HTTP_CF_CONNECTING_IP'] != $_SERVER['SERVER_ADDR'] && $_SERVER['HTTP_CF_CONNECTING_IP'] != '127.0.0.1') {
die('Hello pussy!');
}
if (getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && getIPblock() != '' && getIPblock(
) != '91.228.152.24') {
die(getIPblock() . '<br>' . $_SERVER['SERVER_ADDR']);
}
include('_incl_data/__config.php');
const GAME = true; const GAME = true;
include('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php'); include('_incl_data/class/__db_connect.php');
if (!in_array(UserIp::get(), ['', '127.0.0.1', '91.228.152.24', $_SERVER['SERVER_ADDR']])) {
die(UserIp::get() . '<br>' . $_SERVER['SERVER_ADDR']);
}
function e($t) function e($t)
{ {
mysql_query( mysql_query(
@ -38,18 +28,13 @@ if (isset($_GET['cron_core'])) {
if (md5($id['id'] . '_brfCOreW@!_' . $id['pass']) == $_GET['cron_core']) { if (md5($id['id'] . '_brfCOreW@!_' . $id['pass']) == $_GET['cron_core']) {
$uzr = mysql_fetch_array( $uzr = mysql_fetch_array(
mysql_query( mysql_query(
'SELECT `id`,`login`,`pass` FROM `users` WHERE `id` = "' . mysql_real_escape_string( 'SELECT `id`,`login`,`pass` FROM `users` WHERE `id` = ' . $id['id'] . ' AND `pass` = "' . mysql_real_escape_string($id['pass']) . '"'));
$id['id']
) . '" AND `pass` = "' . mysql_real_escape_string($id['pass']) . '" LIMIT 1'
)
);
if (isset($uzr['id'])) { if (isset($uzr['id'])) {
$CRON_CORE = true; $CRON_CORE = true;
$_COOKIE['login'] = $uzr['login']; $_COOKIE['login'] = $uzr['login'];
$_COOKIE['pass'] = $uzr['pass']; $_COOKIE['pass'] = $uzr['pass'];
$_POST['id'] = 'reflesh'; $_POST['id'] = 'reflesh';
if (isset($_GET['atack'])) { if (isset($_GET['atack'])) {
$_POST['atack'] = $_GET['atack']; $_POST['atack'] = $_GET['atack'];
} }
@ -86,26 +71,17 @@ $tjs = '';
#--------äëÿ îáùàãè, è ïîçæå äëÿ ïî÷òû #--------äëÿ îáùàãè, è ïîçæå äëÿ ïî÷òû
$sleep = $u->testAction('`vars` = "sleep" AND `uid` = "' . $u->info['id'] . '" LIMIT 1', 1); $sleep = $u->testAction('`vars` = "sleep" AND `uid` = "' . $u->info['id'] . '" LIMIT 1', 1);
if ($u->room['file'] != "objaga" && $sleep['id'] > 0) { if ($u->room['file'] != "objaga" && $sleep['id'] > 0) {
mysql_query('UPDATE `actions` SET `vars` = "unsleep" WHERE `id` = "' . $sleep['id'] . '" LIMIT 1'); mysql_query('UPDATE `actions` SET `vars` = "unsleep" WHERE `id` = ' . $sleep['id']);
}
if ($u->room['file'] == "objaga" || $u->room['file'] == "post") {
$trololo = 0;
} else {
$trololo = 1;
} }
$trololo = $u->room['file'] == "objaga" || $u->room['file'] == "post" ? 0 : 1;
#--------äëÿ îáùàãè, è ïîçæå äëÿ ïî÷òû #--------äëÿ îáùàãè, è ïîçæå äëÿ ïî÷òû
if ($u->info['online'] < time() - 60) { if ($u->info['online'] < time() - 60) {
$filter->setOnline($u->info['online'], $u->info['id']); $filter->setOnline($u->info['online'], $u->info['id']);
mysql_query( Db::sql('update users set online = unix_timestamp(), timeMain = unix_timestamp() where id = ?', [$u->info['id']]);
"UPDATE `users` SET `online`='" . time() . "',`timeMain`='" . time(
) . "' WHERE `id`='" . $u->info['id'] . "' LIMIT 1"
);
} elseif ($u->info['timeMain'] < time() - 60) { } elseif ($u->info['timeMain'] < time() - 60) {
mysql_query( Db::sql('update users set online = unix_timestamp(), timeMain = unix_timestamp() where id = ?', [$u->info['id']]);
"UPDATE `users` SET `online`='" . time() . "',`timeMain`='" . time(
) . "' WHERE `id`='" . $u->info['id'] . "' LIMIT 1"
);
} }
if (!isset($u->info['id']) || ($u->info['joinIP'] == 1 && $u->info['ip'] != $_SERVER['HTTP_X_REAL_IP']) || $u->info['banned'] > 0) { if (!isset($u->info['id']) || ($u->info['joinIP'] == 1 && $u->info['ip'] != $_SERVER['HTTP_X_REAL_IP']) || $u->info['banned'] > 0) {
@ -114,33 +90,23 @@ if (!isset($u->info['id']) || ($u->info['joinIP'] == 1 && $u->info['ip'] != $_SE
if (isset($_GET['atak_user']) && $u->info['battle'] == 0 && $_GET['atak_user'] != $u->info['id']) { if (isset($_GET['atak_user']) && $u->info['battle'] == 0 && $_GET['atak_user'] != $u->info['id']) {
if ($u->room['noatack'] == 0) { if ($u->room['noatack'] == 0) {
$ua = mysql_fetch_array( $ua = Db::getValue('select clan from users where id = ?', [$_GET['atak_user']]);
mysql_query( $cruw = Db::getValue(
'SELECT `id`,`clan` FROM `users` WHERE`id` = "' . mysql_real_escape_string( 'select id from clan_wars where ((clan1 = ? and clan2 = ?) or (clan1 = ? and clan2 = ?)) and time_finish > unix_timestamp() limit 1',
$_GET['atak_user'] [
) . '" LIMIT 1' $ua, $u->info['clan'], $u->info['clan'], $ua,
) ]
);
$cruw = mysql_fetch_array(
mysql_query(
'SELECT `id` FROM `clan_wars` WHERE
((`clan1` = "' . $ua['clan'] . '" AND `clan2` = "' . $u->info['clan'] . '") OR (`clan2` = "' . $ua['clan'] . '" AND `clan1` = "' . $u->info['clan'] . '")) AND
`time_finish` > ' . time() . ' LIMIT 1'
)
); );
unset($ua); unset($ua);
if (isset($cruw['id'])) { if (isset($cruw)) {
$cruw = 1; $cruw = 1;
} }
$ua = mysql_fetch_array( $ua = Db::getRow(
mysql_query( 'select * from stats left join users on stats.id = users.id where (atack > unix_timestamp() or atack = 1 or 1 = ?) and stats.id = ?',
'SELECT `s`.`team`,`s`.`id`,`s`.`bbexp`,`u`.`battle`,`u`.`id`,`u`.`room`,`u`.`login`,`u`.`online` FROM `stats` AS `s` LEFT JOIN `users` AS `u` ON `s`.`id` = `u`.`id` WHERE (`s`.`atack` > "' . time( [$cruw, $_GET['atak_user']]
) . '" OR `s`.`atack` = 1 OR 1 = ' . $cruw . ') AND `s`.`id` = "' . mysql_real_escape_string(
$_GET['atak_user']
) . '" LIMIT 1'
)
); );
if (isset($ua['id']) && $ua['online'] > time() - 520) { if (isset($ua['id']) && $ua['online'] > time() - 520) {
$usta = $u->getStats($ua['id'], 0); // ñòàòû öåëè $usta = $u->getStats($ua['id'], 0); // ñòàòû öåëè
$minHp = $usta['hpAll'] / 100 * 33; // ìèíèìàëüíûé çàïàñ çäîðîâüÿ öåëè ïðè êîòîðîì ìîæíî íàïàñòü $minHp = $usta['hpAll'] / 100 * 33; // ìèíèìàëüíûé çàïàñ çäîðîâüÿ öåëè ïðè êîòîðîì ìîæíî íàïàñòü
@ -149,20 +115,21 @@ if (isset($_GET['atak_user']) && $u->info['battle'] == 0 && $_GET['atak_user'] !
$magic->atackUser($u->info['id'], $ua['id'], $ua['team'], $ua['battle'], $ua['bbexp'], 50); $magic->atackUser($u->info['id'], $ua['id'], $ua['team'], $ua['battle'], $ua['bbexp'], 50);
$rtxt = '[img[items/pal_button8.gif]] &quot;' . $u->info['login'] . '&quot; ñîâåðøèë' . $sx . ' íàïàäåíèå ïî ìåòêå íà ïåðñîíàæà &quot;' . $ua['login'] . '&quot;.'; $rtxt = '[img[items/pal_button8.gif]] &quot;' . $u->info['login'] . '&quot; ñîâåðøèë' . $sx . ' íàïàäåíèå ïî ìåòêå íà ïåðñîíàæà &quot;' . $ua['login'] . '&quot;.';
mysql_query( Db::sql(
"INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time( 'insert into chat (new, type, typeTime, time, city, room, text) values (1,6,1,unix_timestamp(),?,?,?)',
) . "','6','0','1')" [
$u->info['city'],
$u->info['room'],
$rtxt,
]
); );
header('location: main.php'); header('location: main.php');
die(); die();
} else { } else {
if ($ua['room'] != $u->info['room']) { $u->error = $ua['room'] != $u->info['room'] ?
//Ïåðñîíàæ â äðóãîé êîìíàòå 'Ïåðñîíàæ íàõîäèòñÿ â äðóãîé êîìíàòå' :
$u->error = 'Ïåðñîíàæ íàõîäèòñÿ â äðóãîé êîìíàòå'; 'Ïåðñîíàæ èìååò ñëèøêîì ìàëûé óðîâåíü æèçíåé.';
} else {
$u->error = 'Ïåðñîíàæ èìååò ñëèøêîì ìàëûé óðîâåíü æèçíåé.';
}
} }
} else { } else {
//Íà ïåðñîíàæà íåëüçÿ íàïàñòü //Íà ïåðñîíàæà íåëüçÿ íàïàñòü
@ -175,12 +142,20 @@ if (isset($_GET['atak_user']) && $u->info['battle'] == 0 && $_GET['atak_user'] !
if ($u->info['battle_text'] != '') { if ($u->info['battle_text'] != '') {
//Ïîêàçûâàåì ñèñòåìêó è çàíîñèì äàííûå //Ïîêàçûâàåì ñèñòåìêó è çàíîñèì äàííûå
if ($u->info['last_b'] > 0) { if ($u->info['last_b'] > 0) {
mysql_query( Db::sql(
'INSERT INTO `battle_last` (`battle_id`,`uid`,`time`,`act`,`level`,`align`,`clan`,`exp`) VALUES ("' . $u->info['last_b'] . '","' . $u->info['id'] . '","' . time( 'insert into battle_last (battle_id, uid, time, act, align, clan, exp) values (?,?,unix_timestamp(),?,?,?,?)',
) . '","' . $u->info['last_a'] . '","' . $u->info['level'] . '","' . $u->info['align'] . '","' . $u->info['clan'] . '","' . $u->info['exp'] . '")' [
$u->info['last_b'],
$u->info['id'],
$u->info['last_a'],
$u->info['align'],
$u->info['clan'],
$u->info['exp'],
]
); );
} }
mysql_query('UPDATE `stats` SET `battle_text` = "",`last_b`="0" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); Db::sql('update stats set battle_text = ?, last_b = 0 where id = ?', ['', $u->info['id']]);
} }
$act = -2; $act = -2;
@ -200,17 +175,6 @@ if ($ul == 1) {
$act = 1; $act = 1;
} }
if ($u->info['repass'] > 0 && $u->info['id'] != 5433446) { if ($u->info['repass'] > 0 && $u->info['id'] != 5433446) {
function GetRealIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
return $ip;
}
/*-----------------------*/ /*-----------------------*/
if ($u->info['battle'] == 0) { if ($u->info['battle'] == 0) {
@ -256,7 +220,7 @@ if ($u->info['repass'] > 0 && $u->info['id'] != 5433446) {
} }
} elseif ($u->info['battle_text'] != '') { } elseif ($u->info['battle_text'] != '') {
mysql_query('UPDATE `stats` SET `battle_text` = "",`last_b`="0" WHERE `id` = "' . $u->info['id'] . '" LIMIT 1'); Db::sql('update stats set battle_text = ?, last_b = 0 where id = ?', ['', $u->info['id']]);
} }
if ($magic->youuse > 0) { if ($magic->youuse > 0) {

Some files were not shown because too many files have changed in this diff Show More