dev-php74 #30
@ -5,81 +5,18 @@ ini_set('display_errors', 'Off');
|
||||
setlocale(LC_CTYPE, "ru_RU.CP1251");
|
||||
date_default_timezone_set('Europe/Moscow');
|
||||
|
||||
$c = [
|
||||
'ver' => '1.8.3.7',
|
||||
];
|
||||
/* Конфигурации игры */
|
||||
$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
|
||||
header('Cache-Control: no-cache, no-store, must-revalidate');
|
||||
header('Pragma: no-cache');
|
||||
header('Expires: 0');
|
||||
|
||||
//Сервера
|
||||
$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>';
|
||||
require_once 'mysql_override.php';
|
||||
|
||||
//Валюта
|
||||
$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';
|
||||
|
||||
// Попробуем в автозагрузку.
|
||||
// Никогда не заработает с такими названиями классов и файлов!
|
||||
// "На потом."
|
||||
// Попробуем в автозагрузку.
|
||||
// Никогда не заработает с такими названиями классов и файлов!
|
||||
// "На потом."
|
||||
spl_autoload_register(function ($className) {
|
||||
# 1 with namespaces
|
||||
# 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
45
_incl_data/autoload.php
Normal 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
40
_incl_data/class/Core/Mail.php
Normal file
40
_incl_data/class/Core/Mail.php
Normal 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
@ -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('>', '', $txt);
|
||||
$txt = str_replace('<', '', $txt);
|
||||
$txt = str_replace('"', '', $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('"', '', $testEN2);
|
||||
$testEN2 = str_replace(' ', '', $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);
|
||||
}
|
||||
}
|
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Insallah;
|
||||
|
||||
use Core\Database;
|
||||
use Exception;
|
||||
use http\Message;
|
||||
use PDO;
|
||||
@ -50,6 +51,7 @@ class Db
|
||||
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . self::CHARSET,
|
||||
]
|
||||
);
|
||||
// self::$db = Database::pdoinit();
|
||||
} catch (PDOException $e) {
|
||||
throw new Exception($e->getMessage());
|
||||
}
|
||||
|
@ -4,8 +4,7 @@ namespace Insallah;
|
||||
|
||||
class Runes
|
||||
{
|
||||
/** Создаём руну в зависимости от уровня.
|
||||
*
|
||||
/** Создаём руну в зависимости от уровня.
|
||||
* @param $level
|
||||
*
|
||||
* @return array
|
||||
@ -15,7 +14,7 @@ class Runes
|
||||
if (!in_array($level, [8, 9, 10])) {
|
||||
return [];
|
||||
}
|
||||
$power = [8 => 3, 9 => 5, 10 => 7];
|
||||
$power = [8 => 3, 9 => 3, 10 => 5];
|
||||
$stats = [8 => 1, 9 => 3, 10 => 3];
|
||||
$rand9 = array_rand(array_flip(['hpAll', 'm2', 'm5']));
|
||||
$runes = [
|
||||
@ -27,24 +26,24 @@ class Runes
|
||||
['s5', 'm11', 'mpAll', 'pzm']
|
||||
];
|
||||
$vars = [
|
||||
's1' => ['Сила', mt_rand(1, $stats[$level])],
|
||||
's2' => ['Ловкость', mt_rand(1, $stats[$level])],
|
||||
's3' => ['Интуиция', mt_rand(1, $stats[$level])],
|
||||
's5' => ['Интеллект', mt_rand(1, $stats[$level])],
|
||||
'pa1' => ['Мощности Колющего урона', mt_rand(1, $power[$level])],
|
||||
'pa2' => ['Мощности Рубящего урона', mt_rand(1, $power[$level])],
|
||||
'pa3' => ['Мощности Дробящего урона', mt_rand(1, $power[$level])],
|
||||
'pa4' => ['Мощности Режущего урона', mt_rand(1, $power[$level])],
|
||||
'm2' => ['мф. Против Критического Удара', mt_rand(5, 15)],
|
||||
'm3' => ['МК', mt_rand(1, 3)],
|
||||
'antm3' => ['ПМК', mt_rand(1, 3)],
|
||||
'm5' => ['мф. Против Увертывания', mt_rand(5, 10)],
|
||||
'm11' => ['Мощности Магии стихии', mt_rand(1, $power[$level])],
|
||||
's1' => ['Сила', mt_rand(1, $stats[$level])],
|
||||
's2' => ['Ловкость', mt_rand(1, $stats[$level])],
|
||||
's3' => ['Интуиция', mt_rand(1, $stats[$level])],
|
||||
's5' => ['Интеллект', mt_rand(1, $stats[$level])],
|
||||
'pa1' => ['Мощности Колющего урона', mt_rand(1, $power[$level])],
|
||||
'pa2' => ['Мощности Рубящего урона', mt_rand(1, $power[$level])],
|
||||
'pa3' => ['Мощности Дробящего урона', mt_rand(1, $power[$level])],
|
||||
'pa4' => ['Мощности Режущего урона', mt_rand(1, $power[$level])],
|
||||
'm2' => ['мф. Против Критического Удара', mt_rand(5, 15)],
|
||||
'm3' => ['МК', mt_rand(1, 3)],
|
||||
'antm3' => ['ПМК', mt_rand(1, 3)],
|
||||
'm5' => ['мф. Против Увертывания', mt_rand(5, 10)],
|
||||
'm11' => ['Мощности Магии стихии', mt_rand(1, $power[$level])],
|
||||
'hpAll' => ['HP', mt_rand(5, 15)],
|
||||
'mpAll' => ['MP', mt_rand(10, 20)],
|
||||
'pzm' => ['Подавление защиты от магии', 1],
|
||||
'za' => ['Защита от Урона', mt_rand(5, 10)],
|
||||
'zma' => ['Защита от Магии', mt_rand(5, 10)]
|
||||
'pzm' => ['Подавление защиты от магии', 1],
|
||||
'za' => ['Защита от Урона', mt_rand(5, 10)],
|
||||
'zma' => ['Защита от Магии', mt_rand(5, 10)]
|
||||
];
|
||||
|
||||
$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]];
|
||||
$resultRune = array_combine($rune, $runeVals);
|
||||
$resultText = array_combine($runeTxt, $runeVals);
|
||||
if ($level < 10) { // Отрезаем параметр 4.
|
||||
if ($level < 10) { // Отрезаем параметр 4.
|
||||
array_pop($resultRune);
|
||||
array_pop($resultText);
|
||||
}
|
||||
if ($level < 9) { // Отрезаем параметр 3.
|
||||
if ($level < 9) { // Отрезаем параметр 3.
|
||||
array_pop($resultRune);
|
||||
array_pop($resultText);
|
||||
}
|
||||
//Строчка data в базу
|
||||
//Строчка data в базу
|
||||
$returnData = '|' . http_build_query($resultRune, '', '|');
|
||||
$returnData = str_replace('|', '|add_', $returnData);
|
||||
//Строчка человекопонятных параметров в статус.
|
||||
//Строчка человекопонятных параметров в статус.
|
||||
$returnText = urldecode(http_build_query($resultText, '', ', '));
|
||||
$returnText = 'Характеристики Руны: ' . str_replace('=', ': +', $returnText) . '.';
|
||||
$returnText = 'Характеристики Руны: ' . str_replace('=', ': +', $returnText) . '.';
|
||||
return [$returnData, $returnText];
|
||||
}
|
||||
|
||||
/** Выкусывает руну из предмета.
|
||||
/** Выкусывает руну из предмета.
|
||||
*
|
||||
* @param array $itemDataArray
|
||||
* data предмета
|
||||
* data предмета
|
||||
*
|
||||
* @return array массив, item - предмет, rune - руна из предмета, rune_id - id руны.
|
||||
* Оба в подготовленном строчном формате для data
|
||||
* @return array массив, item - предмет, rune - руна из предмета, rune_id - id руны.
|
||||
* Оба в подготовленном строчном формате для data
|
||||
*/
|
||||
public static function removeRuneData($itemDataArray)
|
||||
{
|
||||
# Ищем есть ли в предмете руна определённого типа.
|
||||
# Ищем есть ли в предмете руна определённого типа.
|
||||
$runeid = array_search('rune_id', array_flip($itemDataArray));
|
||||
if (!in_array($runeid, [6001, 6002, 6003])) {
|
||||
return [];
|
||||
}
|
||||
$bonusArgs = 0;
|
||||
# В зависимости от типа руны считаем количество элементов-бонусов.
|
||||
# В зависимости от типа руны считаем количество элементов-бонусов.
|
||||
if ($runeid === 6001) {
|
||||
$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
@ -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
@ -7,7 +7,6 @@ class UserStats
|
||||
/**
|
||||
* Ñîáèðàåò ñóììû âñåõ áîíóñîâ ñ îäåòûõ ïðåäìåòîâ è àêòèâíûõ ýôåêòîâ.
|
||||
* @param $userId
|
||||
* @param bool $showAll
|
||||
* @return array
|
||||
*/
|
||||
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';
|
||||
$iData = $db::getColumn($q, [$userId, $userId]);
|
||||
$params = [];
|
||||
$params2 = json_decode(str_replace(['=', '|'], ['":', ',"'], '{"' . $iData . '}'), true);
|
||||
foreach ($iData as $datum) {
|
||||
foreach (explode('|', $datum) as $inner) {
|
||||
list($a, $b) = explode('=', $inner);
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -11,28 +11,10 @@ $db = [
|
||||
];
|
||||
$dsn = 'mysql:host=' . $db['s'] . ';dbname=' . $db['d'];
|
||||
|
||||
if (function_exists('date_default_timezone_set')) {
|
||||
date_default_timezone_set('Europe/Moscow');
|
||||
}
|
||||
include './_incl_data/mysql_override.php';
|
||||
|
||||
$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_query('SET NAMES cp1251');
|
||||
|
||||
if (!function_exists('GetRealIp')) {
|
||||
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"]);
|
@ -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 = "Íå õâàòàåò ðåñóðñîâ "Ëó÷èñòûé òîïàç"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ëó÷èñòûé ðóáèí"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Òûñÿ÷åëåòíèé êàìåíü"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ïëîä çìåèíîãî äåðåâà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ãëóáèííûé êàìåíü"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñòàëü"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Ýññåíöèÿ ïðàâåäíîãî ãíåâà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Øåïîò ãîð"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êàìåíü çàòàåííîãî ñîëíöà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë ãîëîñà ïðåäêîâ"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñãóñòîê ýôèðà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ëó÷èñòîå Ñåðåáðî"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë ñòàáèëüíîñòè"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë ãîëîñà ïðåäêîâ"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Øåïîò ãîð"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Òûñÿ÷åëåòíèé êàìåíü"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ïëîä çìåèíîãî äåðåâà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñãóñòîê àñòðàëà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñòàëü"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Êàìåíü çàòàåííîãî ñîëíöà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë âðåìåí"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Òûñÿ÷åëåòíèé êàìåíü"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ãëóáèííûé êàìåíü"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êîæà çìåèíîãî äåðåâà"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Ëó÷èñòûé òîïàç"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Òûñÿ÷åëåòíèé êàìåíü"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ïëîä çìåèíîãî äåðåâà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñãóñòîê ýôèðà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êîæà Îáùåãî Âðàãà"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Ñòèõèàëèÿ"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ëó÷èñòûé ðóáèí"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë ñòàáèëüíîñòè"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Ñòèõèàëèÿ"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ëó÷èñòûé ðóáèí"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë ñòàáèëüíîñòè"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Ñãóñòîê àñòðàëà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñãóñòîê ýôèðà"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Êðèñòàëë òûñÿ÷è îòâåòîâ"";
|
||||
}
|
||||
} 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 = "Íå õâàòàåò ðåñóðñîâ "Óñêîðèòåëü äëÿ Ãîëåìîâ"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Ñìàçêà äëÿ Ãîëåìîâ"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Òîïëèâî äëÿ Ãîëåìîâ"";
|
||||
}
|
||||
} else {
|
||||
$err = "Íå õâàòàåò ðåñóðñîâ "Çà÷àðîâàòü êîëüöî: Âûòÿãèâàíèå äóøè [1]"";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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; "> </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>
|
@ -5,7 +5,7 @@ if(!defined('GAME'))
|
||||
}
|
||||
|
||||
//Âûäàåì ïðåäìåòû, íî íå ðàíüøå 00:00:00 01-01-2013
|
||||
if(date('Y')==2021) {
|
||||
if(date('Y')==2023) {
|
||||
/*
|
||||
|
||||
2. Íîâîãîäíèé Øîêîëàä (ïîëíîå âîñò. õï)
|
||||
@ -33,7 +33,7 @@ if(date('Y')==2021) {
|
||||
|
||||
//Îòêðûòêà (x1)
|
||||
$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');
|
||||
|
||||
|
||||
$u->error = 'Вы успешно использовали "'.$itm['name'].'". В инвентарь добавлены подарки. С Новым, 2021, Годом!';
|
||||
$u->error = 'Вы успешно использовали "'.$itm['name'].'". В инвентарь добавлены подарки. С Новым, 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
|
||||
}
|
||||
}else{
|
||||
$u->error = 'Подарок возможно использовать не раньше 01.01.2021';
|
||||
$u->error = 'Подарок возможно использовать не раньше 01.01.2023';
|
||||
}
|
||||
|
||||
?>
|
@ -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 = 'Õàîñíèêè íå ìîãóò ïîëüçîâàòüñÿ ïðîïóñêîì!';
|
||||
}
|
||||
}
|
||||
?>
|
@ -5,71 +5,42 @@ if(!defined('GAME'))
|
||||
}
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Êðèòîâèêà</i>, ';
|
||||
$this->addItem(6361,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6361,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6364,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5237,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5229,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5219,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5211,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5199,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5192,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5186,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5178,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5168,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5161,$this->info['id'],'|nosale=1|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']);
|
||||
$this->addItem(842,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(842,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(749,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(666,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(580,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(594,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(642,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(814,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(777,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(787,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(803,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2621,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2621,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(871,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -3,70 +3,43 @@ if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Îãíÿ</i>, ';
|
||||
$this->addItem(850,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(751,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(669,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(822,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(583,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(597,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(644,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(810,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4983,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4543,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5003,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, ';
|
||||
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(5153,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5157,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5165,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5173,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5181,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5189,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5195,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5205,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5216,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5224,$this->info['id'],'|nosale=1|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(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>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2146,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -3,72 +3,42 @@ if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Òàíêà</i>, ';
|
||||
$this->addItem(6394,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6405,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6397,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6143,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6151,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6144,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6145,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6147,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6148,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6149,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6150,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6152,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6153,$this->info['id'],'|nosale=1|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(6154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4648,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4654,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4647,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4651,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4962,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4968,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4650,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4653,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4652,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4987,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4646,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4649,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2430,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(870,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -4,72 +4,43 @@ if(!defined('GAME'))
|
||||
die();
|
||||
}
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Òîïîðà</i>, ';
|
||||
$this->addItem(6383,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6383,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6386,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6142,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(6142,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5163,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5171,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5177,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5184,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5194,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5201,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5209,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5221,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5228,$this->info['id'],'|nosale=1|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(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>, ';
|
||||
$this->addItem(6483,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6483,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6484,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6485,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6486,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6487,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6488,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6489,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6490,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6491,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6492,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(6493,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2665,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2665,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(870,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -4,72 +4,43 @@ if(!defined('GAME'))
|
||||
die();
|
||||
}
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Óâîðîò÷èêà</i>, ';
|
||||
$this->addItem(6372,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6372,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6375,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(5146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5146,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5162,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5170,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2472,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5179,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5187,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5193,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5200,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5210,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5220,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5230,$this->info['id'],'|nosale=1|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(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>, ';
|
||||
$this->addItem(605,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(605,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(748,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(667,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2469,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(735,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(579,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(593,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(641,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(813,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(775,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(786,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(802,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ñâèòêè, çàòî÷êè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(872,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(994,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -3,70 +3,43 @@ if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Âîäû</i>, ';
|
||||
$this->addItem(851,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(753,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(670,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(823,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(584,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(598,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(645,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(812,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4984,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4544,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5004,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, ';
|
||||
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(5155,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5158,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5166,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5175,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5182,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5191,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5196,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5206,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5217,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5225,$this->info['id'],'|nosale=1|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(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>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2147,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -3,70 +3,43 @@ if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Âîçäóõà</i>, ';
|
||||
$this->addItem(848,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(752,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(671,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(820,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(581,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(595,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(646,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(811,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4982,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4545,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5002,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, ';
|
||||
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(5152,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5156,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5164,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5172,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5180,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5188,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5197,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5204,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5215,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5223,$this->info['id'],'|nosale=1|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(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>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2148,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -3,70 +3,43 @@ if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà Çåìëè</i>, ';
|
||||
$this->addItem(849,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(750,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(668,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1176,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(821,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(582,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(596,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(643,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(809,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4985,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4546,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5005,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4401,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
$io .= '<i>Ïîäàðî÷íûé êîìïëåêò Ìàãà</i>, ';
|
||||
$this->addItem(6406,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(6409,$this->info['id'],'|nosale=1|srok=604800|sudba='.$this->info['login']);
|
||||
$this->addItem(5154,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5159,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5167,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5174,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2475,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5183,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5190,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5198,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5207,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5218,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(5226,$this->info['id'],'|nosale=1|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(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>, ';
|
||||
$this->addItem(4935,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(4944,$this->info['id'],'|nosale=1|sudba='.$this->info['login']);
|
||||
$this->addItem(2712,$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(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(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']);
|
||||
$io .= '<i>Ñâèòêè è ïðî÷èå ìàòåðèàëû....</i>, ';
|
||||
$this->addItem(2712,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2687,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4736,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(873,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); // ýëèê
|
||||
$this->addItem(2139,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2140,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(5046,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2390,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4941,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(4942,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(1460,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(2149,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']); //óñèëîê
|
||||
$this->addItem(1001,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
$this->addItem(3102,$this->info['id'],'|nosale=1|srok=864000|sudba='.$this->info['login']);
|
||||
|
||||
?>
|
@ -42,7 +42,7 @@ if(!defined('GAME'))
|
||||
}
|
||||
$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*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.']';
|
||||
}
|
||||
|
@ -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);
|
||||
?>
|
@ -1,11 +1,14 @@
|
||||
<?
|
||||
|
||||
if (!defined('GAME')) {
|
||||
if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
|
||||
if( $itm['magic_inci'] == 'yarostzvezd' ) {
|
||||
$pvr = [];
|
||||
|
||||
|
||||
|
||||
$pvr = array();
|
||||
|
||||
//Äåéñòâèå ïðè êëèêå
|
||||
$pvr['trs7'] = 5;
|
||||
@ -28,35 +31,13 @@ if ($itm['magic_inci'] == 'yarostzvezd') {
|
||||
|
||||
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = 22 AND `v1` = "priem" AND `v2` = 325');
|
||||
mysql_query("
|
||||
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
|
||||
(
|
||||
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);
|
||||
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
|
||||
( 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>';
|
||||
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
|
||||
|
||||
}else{
|
||||
$u->error = '<font color=red><b>Ñâèòîê âîçìîæíî èñïîëüçîâàòü òîëüêî â áîþ</b></font>';
|
||||
}
|
||||
|
@ -24,8 +24,8 @@ if( isset($pr_momental_this)) {
|
||||
unset( $pr_used_this );
|
||||
}else{
|
||||
|
||||
$pvr['hp_0'] = 1;
|
||||
$pvr['hp_1'] = 95;
|
||||
$pvr['hp_0'] = 50;
|
||||
$pvr['hp_1'] = 65;
|
||||
|
||||
//
|
||||
$pvr['hp'] = floor(rand($pvr['hp_0'],$pvr['hp_1']));
|
||||
|
@ -7,7 +7,7 @@ if(!defined('GAME')) {
|
||||
*/
|
||||
$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['promah_type'] = $pvr['hp'][3];
|
||||
$pvr['promah'] = $pvr['hp'][2];
|
||||
|
@ -122,7 +122,7 @@ if( isset($pr_used_this) && isset($pr_moment) ) {
|
||||
};
|
||||
unset( $pr_used_this );
|
||||
}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['promah_type'] = $pvr['hp'][3];
|
||||
$pvr['promah'] = $pvr['hp'][2];
|
||||
|
@ -6,7 +6,7 @@ if(!defined('GAME')) {
|
||||
Ïðèåì: Êàìåííûé Äîæäü [8]
|
||||
*/
|
||||
$pvr = array();
|
||||
$pvr['hp_0'] = 13;
|
||||
$pvr['hp_0'] = 30;
|
||||
//Äåéñòâèå ïðè êëèêå
|
||||
$pvr['hp'] = $pvr['hp_0'];
|
||||
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 );
|
||||
|
@ -24,8 +24,8 @@ if( isset($pr_momental_this)) {
|
||||
unset( $pr_used_this );
|
||||
}else{
|
||||
|
||||
$pvr['hp_0'] = 25;
|
||||
$pvr['hp_1'] = 51;
|
||||
$pvr['hp_0'] = 30;
|
||||
$pvr['hp_1'] = 50;
|
||||
|
||||
//
|
||||
$pvr['hp'] = floor($pvr['hp_1']);
|
||||
|
@ -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);
|
||||
?>
|
@ -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);
|
||||
?>
|
@ -36,7 +36,7 @@ $pvr = array();
|
||||
|
||||
//Èñïîëüçóåì ïðîâåðêó íà óðîí ïðèåìîâ
|
||||
$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'] ) {
|
||||
$pvr['hp'] = $pvr['lim'];
|
||||
}
|
||||
@ -50,6 +50,7 @@ $pvr = array();
|
||||
$btl->priemYronSave($u->info['id'],$pvr['uid'],$pvr['hp'],0);
|
||||
|
||||
|
||||
|
||||
if( $pvr['hpNow'] > $pvr['hpAll'] ) {
|
||||
$pvr['hpNow'] = $pvr['hpAll'];
|
||||
}elseif( $pvr['hpNow'] < 0 ) {
|
||||
@ -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');
|
||||
|
||||
//
|
||||
if(!$pvr['promah']) {
|
||||
if(!$pvr['krit']) {
|
||||
if( $pvr['promah'] == false ) {
|
||||
if( $pvr['krit'] == false ) {
|
||||
$prv['color2'] = '006699';
|
||||
if(isset($btl->mcolor[$btl->mname['îãîíü']])) {
|
||||
$prv['color2'] = $btl->mcolor[$btl->mname['îãîíü']];
|
||||
@ -95,7 +96,12 @@ $pvr = array();
|
||||
($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']++;
|
||||
}
|
||||
@ -104,6 +110,12 @@ $pvr = array();
|
||||
$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);
|
||||
?>
|
@ -7,7 +7,7 @@ if(!defined('GAME')) {
|
||||
*/
|
||||
$pvr = array();
|
||||
//Äåéñòâèå ïðè êëèêå
|
||||
$pvr['hp'] = rand(40,80);
|
||||
$pvr['hp'] = rand(50,90);
|
||||
//$pvr['hp'] = floor($pvr['hp']*0.95);
|
||||
//$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 ); //
|
||||
|
@ -11,7 +11,7 @@ $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHE
|
||||
if( $pvr['x5']['x'] < 5 ) {
|
||||
$prv['x'] = '';
|
||||
if( $pvr['x5']['x'] > 0 ) {
|
||||
$prv['x'] = ' x'.($pvr['x5']['x']+1);
|
||||
$prv['x'] = ' x'.($pvr['x5']['x']+1).'';
|
||||
}
|
||||
//
|
||||
$this->addEffPr($pl,$id);
|
||||
|
@ -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);
|
||||
?>
|
@ -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);
|
||||
?>
|
@ -1,13 +1,7 @@
|
||||
<?php
|
||||
<?
|
||||
|
||||
/**
|
||||
* @var $this Priems
|
||||
* @var $btl Battle
|
||||
* @var $id int
|
||||
* @var $pl array
|
||||
*/
|
||||
if (!$id) {
|
||||
exit();
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
/*
|
||||
Ïðèåì: Ïûëàþùàÿ Ñìåðòü
|
||||
@ -17,10 +11,10 @@ $pvr['mg'] = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid
|
||||
if (
|
||||
$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;
|
||||
} elseif (!isset($pvr['mg']['id'])) {
|
||||
echo '<b style="color: red">Íà ïåðñîíàæå íåò ïîæèðàþùåãî ïëàìåíè (Âàøåãî çàêëÿòèÿ)</b>';
|
||||
echo '<font color=red><b>Íŕ ďĺđńîíŕćĺ íĺň ďîćčđŕţůĺăî ďëŕěĺíč (Âŕřĺăî çŕęë˙ňč˙)</b></font>';
|
||||
$cup = true;
|
||||
} else {
|
||||
//Äåéñòâèå ïðè êëèêå
|
||||
@ -30,6 +24,25 @@ if (
|
||||
// Óðîí = 150% îñòàâøåãîñÿ óðîíà (óðîí çà õîä * êîëè÷åñòâî õîäîâ * 150/100).
|
||||
$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);
|
||||
|
||||
@ -64,13 +77,25 @@ if (
|
||||
|
||||
$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'] . ']';
|
||||
|
||||
$btl->priemAddLog($id, 1, 2, $u->info['id'], $this->ue['id'],
|
||||
'<font color^^^^#' . $prv['color'] . '>Ïûëàþùàÿ Ñìåðòü</font>',
|
||||
'<font color^^^^#' . $prv['color2'] . '>Ďűëŕţůŕ˙ Ńěĺđňü</font>',
|
||||
$prv['text2'],
|
||||
($btl->hodID + 1)
|
||||
);
|
||||
@ -83,3 +108,4 @@ if (
|
||||
$this->mintr($pl);
|
||||
}
|
||||
unset($pvr);
|
||||
?>
|
@ -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['mpNow'] = floor($u->stats['mpNow']);
|
||||
$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->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['hpNow'] = floor($u->stats['hpNow']);
|
||||
$pvr['hpAll'] = $u->stats['hpAll'];
|
||||
|
@ -11,14 +11,14 @@ $pvr['x5'] = mysql_fetch_array(mysql_query('SELECT `id`,`x` FROM `eff_users` WHE
|
||||
if( $pvr['x5']['x'] < 5 ) {
|
||||
$prv['x'] = '';
|
||||
if( $pvr['x5']['x'] > 0 ) {
|
||||
$prv['x'] = ' x'.($pvr['x5']['x']+1);
|
||||
$prv['x'] = ' x'.($pvr['x5']['x']+1).'';
|
||||
}
|
||||
//
|
||||
$this->addEffPr($pl,$id);
|
||||
//
|
||||
$prv['effx'] = '';
|
||||
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']) ) {
|
||||
//Ðàçáèðàåì äàòó $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['i'] = 0; $prv['inf'] = '';
|
||||
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']]);
|
||||
if($u->is[$prv['vi']]!='') {
|
||||
if($prv['j'][$prv['v'][$prv['i']]]>0) {
|
||||
|
@ -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']['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']['m_k'] < 1 ) { $at['p'][$a]['atack'][$j]['yron']['m_k'] = 1; }
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php /**@var $this Priems*/
|
||||
<?php /**@var $this priems*/
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
<?php
|
||||
/** Ïðèåì: Îëåäåíåíèå: Ðàçáèòü! (êàêîãî-òî õðåíà íåêîòîðûå ïðè¸ìû ïîëíîñòüþ óìèðàþò ïðè ïåðåíîñå â _cron_)
|
||||
* @var $this Priems
|
||||
* @var $btl Battle
|
||||
* @var $id int
|
||||
* @var $pl array
|
||||
*/
|
||||
/** Ïðèåì: Îëåäåíåíèå: Ðàçáèòü! @var $this priems */
|
||||
if (!$id) {
|
||||
exit();
|
||||
}
|
||||
@ -51,18 +46,28 @@ if (!isset($pvr['mg']['id'])) {
|
||||
|
||||
//Öâåò ïðèåìà
|
||||
if ($pvr['promah']) {
|
||||
$prv['color'] = $this->logColor['miss'];
|
||||
$prv['color2'] = '909090';
|
||||
$prv['color'] = '909090';
|
||||
} elseif ($pvr['krit']) {
|
||||
$prv['color'] = $this->logColor['crit'];
|
||||
$prv['color2'] = 'FF0000';
|
||||
$prv['color'] = 'FF0000';
|
||||
} 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'] . ']';
|
||||
if ($pvr['promah_type'] == 2) {
|
||||
$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'] . ']';
|
||||
}
|
||||
$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'];
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/** @var $this Priems*/
|
||||
/** @var $this priems*/
|
||||
if(!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
|
@ -6,8 +6,8 @@ if(!defined('GAME')) {
|
||||
Ïðèåì: Êàìåííûé Öâåòîê [8]
|
||||
*/
|
||||
$pvr = array();
|
||||
$pvr['hp_0'] = 40;
|
||||
$pvr['hp_1'] = 14;
|
||||
$pvr['hp_0'] = 51;
|
||||
$pvr['hp_1'] = 45;
|
||||
//Äåéñòâèå ïðè êëèêå
|
||||
$pvr['hp'] = $pvr['hp_0'];
|
||||
$pvr['hp'] = $this->magatack( $u->info['id'], $this->ue['id'], $pvr['hp'], 'çåìëÿ', 1 );
|
||||
|
@ -7,7 +7,7 @@ if(!defined('GAME')) {
|
||||
*/
|
||||
$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['promah_type'] = $pvr['hp'][3];
|
||||
$pvr['promah'] = $pvr['hp'][2];
|
||||
|
@ -59,7 +59,7 @@ $pvr = array();
|
||||
$prv['color'] = '909090';
|
||||
}
|
||||
|
||||
|
||||
//$this->mg2static_points( $this->ue['id'] , $btl->stats[$btl->uids[$u->info['id']]] );
|
||||
$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'].']';
|
||||
|
@ -149,7 +149,7 @@ if(isset($hod))
|
||||
}elseif($pl['id']==93)
|
||||
{
|
||||
//молния [8]
|
||||
$hpmin = rand(1,87);
|
||||
$hpmin = rand(40,50);
|
||||
}elseif($pl['id']==94)
|
||||
{
|
||||
//молния [9]
|
||||
|
@ -1,3 +1 @@
|
||||
<?
|
||||
$txt .= '<br><b><font color=red>Ó âàñ íåò ïîäõîäÿùèõ ïðåäìåòîâ äëÿ îáìåíà...</b></font>';
|
||||
?>
|
||||
<?php $txt.= '<br><strong style="color: red;">Ó âàñ íåò ïîäõîäÿùèõ ïðåäìåòîâ äëÿ îáìåíà...</strong>';
|
||||
|
@ -9,8 +9,8 @@ die();
|
||||
|
||||
define('GAME',true);
|
||||
setlocale(LC_CTYPE ,"ru_RU.CP1251");
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
function error($e)
|
||||
{
|
||||
|
@ -69,8 +69,8 @@ define('GAME',true);
|
||||
|
||||
setlocale(LC_CTYPE ,"ru_RU.CP1251");
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
//Îáíóëåíèå ïåðåäà÷ ðàç â ñóòêè
|
||||
mysql_query('UPDATE `stats` SET `transfers` = 100 WHERE `transfers` < 200');
|
||||
|
479
batl_1.js1
479
batl_1.js1
@ -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) + ' ' );
|
||||
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 += ' <b>ïðîòèâ</b> ';
|
||||
}
|
||||
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;
|
||||
}
|
||||
};
|
23
buttons.php
23
buttons.php
@ -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>');
|
||||
}
|
||||
|
||||
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/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
$filter = new Filter();
|
||||
$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/hpregen.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
|
||||
|
||||
@ -181,8 +170,8 @@ if ($u->info['activ'] > 0) {
|
||||
}
|
||||
?>
|
||||
|
||||
<link href="./js/registrationTraining/trainingModal.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="./js/registrationTraining/trainingElements.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="./js/trainingModals/registration/trainingModalStyles.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<style type="text/css">
|
||||
/* Additional classes examples */
|
||||
.woman a {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?
|
||||
include('_incl_data/__config.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
?>
|
||||
<HTML><HEAD>
|
||||
<link rel=stylesheet type="text/css" href="https://img.new-combats.com/css/main.css">
|
||||
|
@ -4,7 +4,8 @@
|
||||
<meta charset="windows-1251">
|
||||
<title>Íîâûé «Áîéöîâñêèé Êëóá» - ëåãåíäàðíàÿ áðàóçåðíàÿ îíëàéí èãðà</title>
|
||||
<meta name="description" content="Áðàóçåðíàÿ èãðà ñòàðûé ÁÊ. Ñòàðûé Áîéöîâñêèé Êëóá. Íîâûé Áîéöîâñêèé Êëóá."/>
|
||||
<meta name="keywords" content="Бойцовский клуб играть, бойцовский клуб, Combats.com, старый бойцовский клуб, игра бойцовский клуб, играть в комбатс, комбатс, браузерная онлайн игра, Acombats, старый БК, играть в старый БК, oldcombats, онлайн мир, маг, likebk, Comabts, legbk, acomabts.com, гайд крит, гайд уворот, гайд танк, гайд крит"/>
|
||||
<meta name="keywords"
|
||||
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 http-equiv="Cache-Control" content="max-age=3600"/>
|
||||
<meta name="msapplication-config" content="browserconfig.xml"/>
|
||||
@ -12,30 +13,31 @@
|
||||
<!-- capcha google counter -->
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-background"><img class="img1" src="werhr.jpg" alt="Старый бойцовский клуб играть и общаться вместе с нами new-combats.com">
|
||||
<div align="center">
|
||||
<div class="page-background">
|
||||
<img class="img1" src="werhr.jpg" alt="Ñòàðûé áîéöîâñêèé êëóá èãðàòü è îáùàòüñÿ âìåñòå ñ íàìè new-combats.com">
|
||||
<div style="text-align: center; margin-bottom: 50px;">
|
||||
<a href='/news' target="_blank">Íîâîñòè ïðîåêòà</a>
|
||||
<a href='/repass'>Âîññòàíîâëåíèå ïàðîëÿ</a>
|
||||
<a href='/register'>Ðåãèñòðàöèÿ â èãðå</a>
|
||||
<a href='/forum' target="_blank">Ôîðóì ïðîåêòà</a>
|
||||
<a href="/rating_pers" target="_blank">Ðåéòèíã ïåðñîíàæåé</a>
|
||||
<a href="/rating_clans" target="_blank">Ðåéòèíã êëàíîâ</a>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
<h1>Êîíòàêòû</h1>
|
||||
|
||||
<p align="center">Контактная информация <br>
|
||||
<div style="text-align: center; margin-bottom: 50px;">
|
||||
Êîíòàêòíàÿ èíôîðìàöèÿ <br>
|
||||
Ìû ðàñïîëîæåíû ïî àäðåñó: ã. Ìîñêâà, óë. Íàó÷íûé ïðîåçä ä.8 ñòð.1 <br>
|
||||
Äëÿ ñâÿçè: +79107779911 <br>
|
||||
График работы: ПН-ПТ 10:00 – 18:00, СБ-ВС - выходной<strong></p><br><br><br>
|
||||
<div align="center">
|
||||
Ãðàôèê ðàáîòû: ÏÍ-ÏÒ 10:00 – 18:00, ÑÁ-ÂÑ - âûõîäíîé
|
||||
</div>
|
||||
<div style="text-align: center; font-weight: bold;">
|
||||
<a href="/encicl/law2.html" target="_blank">Ïîëüçîâàòåëüñêîå Ñîãëàøåíèå</a>
|
||||
<a href="/encicl/law3.html" target="_blank">Ïîëèòèêà Êîíôèåäåíöàëüíîñòè</a>
|
||||
<a href="/encicl/law4.html" target="_blank">Ïóáëè÷íûé äîãîâîð îôåðòû</a>
|
||||
<a href="/support/index.php" target="_blank">Ïîääåðæêà</a>
|
||||
<a href="/support/index.php" target="_blank">Êîíòàêòû</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -24,8 +24,8 @@ if(getIP() != $_SERVER['SERVER_ADDR'] && getIP() != '127.0.0.1' && getIP() != ''
|
||||
|
||||
define('GAME',true);
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
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")');
|
||||
|
@ -27,8 +27,9 @@ if(getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && get
|
||||
|
||||
define('GAME',true);
|
||||
setlocale(LC_CTYPE ,"ru_RU.CP1251");
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
//require_once('_incl_data/class/__user.php');
|
||||
|
||||
function send($text) {
|
||||
return mysql_query('INSERT INTO `chat` (`new`,`type`,`to`,`text`,`time`) VALUES (1,6,"Èãðîìèð","'.$text.'",'.time().')');
|
||||
|
@ -22,8 +22,10 @@ function getIPblock() {
|
||||
define('GAME', true);
|
||||
setlocale(LC_CTYPE ,"ru_RU.CP1251");
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.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() {
|
||||
|
@ -23,8 +23,8 @@ if(getIPblock() != $_SERVER['SERVER_ADDR'] && getIPblock() != '127.0.0.1' && get
|
||||
|
||||
define('GAME',true);
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
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")');
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
define('GAME',true);
|
||||
setlocale(LC_CTYPE ,"ru_RU.CP1251");
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
$html = '';
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
//die('Что-то тут не так...');
|
||||
|
||||
define('GAME',true);
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
//рейтинг персонажей
|
||||
|
||||
|
@ -24,8 +24,8 @@ if(!isset($_GET['test']))
|
||||
|
||||
define('GAME',true);
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
|
||||
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")');
|
||||
|
42
cron_zv.php
42
cron_zv.php
@ -1,44 +1,26 @@
|
||||
<?php
|
||||
|
||||
# Ïîëó÷àåì IP
|
||||
function getIPblock()
|
||||
{
|
||||
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']);
|
||||
}
|
||||
use Insallah\Db;
|
||||
|
||||
const GAME = true;
|
||||
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
/**@var $pdo PDO */
|
||||
$zv = new FightRequest();
|
||||
|
||||
function send_chat($type, $from, $text, $time)
|
||||
{
|
||||
global $pdo;
|
||||
$pdo->prepare('insert into chat (text, city, login, type, new, time, room) values (?,?,?,?,?,?,?)')->execute([$text, 'capitalcity', $from, $type, 1, $time, 3]);
|
||||
$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);
|
||||
|
||||
foreach ($sp as $pl) {
|
||||
if (!$pl['id']) {
|
||||
continue;
|
||||
}
|
||||
|
||||
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']);
|
||||
$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>';
|
||||
}
|
||||
}
|
||||
|
||||
$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) {
|
||||
inuser_go_btl($pl);
|
||||
}
|
||||
|
||||
$zv = new FightRequest();
|
||||
$zv->testCronZv();
|
||||
|
@ -1,22 +1,10 @@
|
||||
<?php
|
||||
# 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;
|
||||
|
||||
include_once('_incl_data/__config.php');
|
||||
include_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
|
||||
if (!$u->info['admin']) {
|
||||
@ -157,18 +145,6 @@ if (isset($_POST['saveObjPosition'])) {
|
||||
);
|
||||
echo 'Äàííûå ñîõðàíåíû';
|
||||
} 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'])) {
|
||||
echo 'Îáúåêò ñîçäàí';
|
||||
if (mysql_query(
|
||||
@ -308,8 +284,6 @@ if (!isset($_GET['look'])) {
|
||||
'height': $(objs).height() + 'px'
|
||||
});
|
||||
resizeObj1(event, iii);
|
||||
//$('#eo').bind('mousedown',function(event){ moveObj1(event); });
|
||||
//$(top.obi['obj']).css({'background-color':'red'});
|
||||
}
|
||||
|
||||
function resizeObj1(e, iii) {
|
||||
@ -395,7 +369,6 @@ if (!isset($_GET['look'])) {
|
||||
$('#Dungeon2').unbind('click');
|
||||
|
||||
$('#' + $(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'});
|
||||
|
||||
$('#eo').css({
|
||||
@ -438,8 +411,6 @@ if (!isset($_GET['look'])) {
|
||||
'height': $(objs).height() + 'px'
|
||||
});
|
||||
moveObj1(event);
|
||||
//$('#eo').bind('mousedown',function(event){ moveObj1(event); });
|
||||
//$(top.obi['obj']).css({'background-color':'red'});
|
||||
}
|
||||
|
||||
function moveObj1(e) {
|
||||
|
@ -1,22 +1,10 @@
|
||||
<?php
|
||||
# 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;
|
||||
|
||||
include_once('_incl_data/__config.php');
|
||||
include_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
|
||||
if (!$u->info['admin']) {
|
||||
|
@ -1,22 +1,10 @@
|
||||
<?php
|
||||
# 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;
|
||||
|
||||
include_once('_incl_data/__config.php');
|
||||
include_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
|
||||
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">
|
||||
id ïåùåðû: <input name="id_dn" value="<?= $_POST['id_dn'] ?>"><br>
|
||||
botlogin: <input name="botlogin" value="<?= $_POST['botlogin'] ?>"><br>
|
||||
id ïåùåðû: <label>
|
||||
<input name="id_dn" value="<?= $_POST['id_dn'] ?>">
|
||||
</label><br>
|
||||
botlogin: <label>
|
||||
<input name="botlogin" value="<?= $_POST['botlogin'] ?>">
|
||||
</label><br>
|
||||
<input type="submit" value="Ïåðåéòè">
|
||||
</form>
|
||||
--------------- Áîòû -------------:<br>
|
||||
@ -50,4 +42,4 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
}
|
||||
?>
|
||||
|
||||
</hr>
|
||||
<hr>
|
||||
|
@ -1,22 +1,10 @@
|
||||
<?php
|
||||
# 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;
|
||||
|
||||
include_once('_incl_data/__config.php');
|
||||
include_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
|
||||
if (!$u->info['admin']) {
|
||||
@ -39,7 +27,6 @@ if (isset($pl['id'])) {
|
||||
|
||||
mysql_query(
|
||||
'UPDATE `test_bot` SET
|
||||
|
||||
`login` = "' . mysql_real_escape_string($_POST['login']) . '",
|
||||
`obraz` = "' . mysql_real_escape_string($_POST['obraz']) . '",
|
||||
`level` = "' . mysql_real_escape_string($_POST['level']) . '",
|
||||
|
9
do.php
9
do.php
@ -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
54
dz.php
@ -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 'èùè îøèáêó';
|
||||
}
|
||||
?>
|
51
enter.php
51
enter.php
@ -1,25 +1,14 @@
|
||||
<?php
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
const GAME = true;
|
||||
|
||||
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('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$chat = new Chat();
|
||||
//session_reset();
|
||||
|
||||
if (isset($_GET['login'])) {
|
||||
$_POST['login'] = $_GET['login'];
|
||||
@ -39,7 +28,6 @@ if (isset($_SESSION['login'])) {
|
||||
if (isset($_GET['cookie_login']) && $_GET['cookie_login'] != '') {
|
||||
setcookie('login', $_GET['cookie_login'], time() + 60 * 60 * 24 * 7, '', $c['host']);
|
||||
setcookie('pass', $_GET['cookie_pass'], time() + 60 * 60 * 24 * 7, '', $c['host']);
|
||||
//header('location: /bk');
|
||||
die();
|
||||
}
|
||||
|
||||
@ -72,7 +60,7 @@ function md5m($src)
|
||||
$res = [16];
|
||||
$src = utf8_encode($src);
|
||||
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 ($j = 0; $j < 4; $j++) {
|
||||
@ -199,7 +187,6 @@ if (!isset($u['id'])) {
|
||||
</div>
|
||||
</BODY>
|
||||
<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>
|
||||
|
||||
var dopass = '';
|
||||
@ -258,34 +245,6 @@ if (!isset($u['id'])) {
|
||||
} else if (n == 11) {
|
||||
|
||||
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']);
|
||||
|
||||
} else {
|
||||
|
83
enter2.php
83
enter2.php
@ -1,46 +1,28 @@
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<!DOCTYPE>
|
||||
<html lang="ru">
|
||||
<head><title></title><meta charset="windows-1251"></head>
|
||||
<body>
|
||||
Çàïðîñ âòîðîãî ïàðîëÿ ê ïåðñîíàæó.
|
||||
Çàïðîñ âòîðîãî ïàðîëÿ ê ïåðñîíàæó.<br><br>
|
||||
<img id="pass" onClick="" width="295" src="i/pin/e0.png" alt=""><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="p7" alt="" src=""><img id="p8" alt="" src=""><img id="p9" alt="" src=""><br>
|
||||
<img onClick="keypush(12);" src="i/pin/12.png" alt="">
|
||||
<img id="p0" name="image" src="" alt="">
|
||||
<img onClick="keypush(11);" src="i/pin/11.png" alt="">
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<img id="pass" onClick="" width="295" src="i/pin/e0.png" >
|
||||
<br>
|
||||
<br>
|
||||
<img id="p1" onClick="" src="" >
|
||||
<img id="p2" onClick="" src="" >
|
||||
<img id="p3" onClick="" src="" >
|
||||
<br>
|
||||
<img id="p4" onClick="" src="" >
|
||||
<img id="p5" onClick="" src="" >
|
||||
<img id="p6" onClick="" src="" >
|
||||
<br>
|
||||
<img id="p7" onClick="" src="" >
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<div id="text"></div>
|
||||
</body>
|
||||
<script>
|
||||
var dopass = '';
|
||||
var tdopass = '';
|
||||
var lenth = 0;
|
||||
randomp();
|
||||
function randomp()
|
||||
{
|
||||
|
||||
function randomp() {
|
||||
var ss = new Array();
|
||||
var n = 0;
|
||||
while (n<10)
|
||||
{
|
||||
while (n < 10) {
|
||||
ss[n] = n;
|
||||
n++;
|
||||
}
|
||||
@ -49,24 +31,19 @@
|
||||
var k = 0;
|
||||
var m = 0;
|
||||
var tmpp = 0;
|
||||
while (i<10)
|
||||
{
|
||||
while (i < 10) {
|
||||
k = getRandomInt(10);
|
||||
m = getRandomInt(10);
|
||||
if (k != m)
|
||||
{
|
||||
if (k != m) {
|
||||
tmpp = ss[k];
|
||||
ss[k] = ss[m];
|
||||
ss[m] = tmpp;
|
||||
i++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
n = 10;
|
||||
while (n>-1)
|
||||
{
|
||||
while (n > -1) {
|
||||
n = n - 1;
|
||||
document.getElementById('p' + n).setAttribute("src", "i/pin/" + ss[n] + ".png");
|
||||
document.getElementById('p' + n).setAttribute("onClick", "keypush(" + ss[n] + ");");
|
||||
@ -77,36 +54,24 @@
|
||||
function getRandomInt(max) {
|
||||
return Math.floor(Math.random() * Math.floor(max));
|
||||
}
|
||||
function keypush(n)
|
||||
{
|
||||
if (n==12 )
|
||||
{
|
||||
if (lenth>0)
|
||||
{
|
||||
|
||||
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)
|
||||
{
|
||||
} else if (n == 11) {
|
||||
//document.getElementById("text").innerHTML = ''+dopass;
|
||||
println(dopass);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if (lenth<8)
|
||||
{
|
||||
} else {
|
||||
if (lenth < 8) {
|
||||
dopass = dopass + '' + n;
|
||||
lenth++;
|
||||
document.getElementById('pass').setAttribute("src", "i/pin/e" + lenth + ".png");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
@ -7,7 +7,7 @@ header( 'Pragma: no-cache' );
|
||||
header( 'Content-Type: text/html; charset=windows-1251' );
|
||||
|
||||
define('GAME',true);
|
||||
include('../_incl_data/class/__db_connect.php');
|
||||
require_once('../_incl_data/class/__db_connect.php');
|
||||
mysql_query('SET NAMES utf8');
|
||||
|
||||
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
|
||||
|
@ -1,16 +1,8 @@
|
||||
<?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());
|
||||
include('_incl_data/__config.php');
|
||||
define('GAME',true);
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
const GAME = true;
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
|
||||
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'].'" }';
|
||||
|
||||
?>
|
@ -1,7 +1,13 @@
|
||||
<?php
|
||||
const GAME = true;
|
||||
if (!defined('GAME_VERSION')) {
|
||||
require_once '_incl_data/autoload.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();
|
||||
?>
|
||||
|
||||
|
@ -49,7 +49,7 @@ if( $url[2] == 'upload' && $u->info['admin'] > 0 ) {
|
||||
}else{
|
||||
|
||||
if( isset($_FILES['filename']) && $u->info['admin'] > 0 ) {
|
||||
include('class.upload.php');
|
||||
require_once('class.upload.php');
|
||||
$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'));
|
||||
if( $count > 3 && $u->info['admin'] == 0 ) {
|
||||
|
119
index.php
119
index.php
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
if (isset($_GET['time'])) {
|
||||
echo time() . '<br>' . date('d.m.Y H:i:s', (int)$_GET['time']);
|
||||
@ -6,92 +6,110 @@ if(isset($_GET['time'])) {
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru-RU">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="windows-1251">
|
||||
<title>Новый «Бойцовский Клуб» - легендарная браузерная онлайн игра</title>
|
||||
<meta name="description" content="Браузерная игра старый БК. Старый Бойцовский Клуб. Новый Бойцовский Клуб."/>
|
||||
<meta name="keywords" content="Бойцовский клуб играть, бойцовский клуб, Combats.com, старый бойцовский клуб, игра бойцовский клуб, играть в комбатс, комбатс, браузерная онлайн игра, Acombats, старый БК, играть в старый БК, oldcombats, онлайн мир, маг, likebk, Comabts, legbk, acomabts.com, гайд крит, гайд уворот, гайд танк, гайд крит"/>
|
||||
<title>Новый «Бойцовский Клуб» - легендарная браузерная онлайн игра</title>
|
||||
<meta name="description" content="Захватывающая многопользовательская онлайн-игра «New Combats» ждет героев меча и магии на поле боя. Окунись в мир полюбившегося миллионам игроков БК (RPG Олд Комбатс)."/>
|
||||
<meta name="keywords"
|
||||
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 http-equiv="Cache-Control" content="max-age=3600"/>
|
||||
<meta name="msapplication-config" content="browserconfig.xml"/>
|
||||
<link type="text/css" rel="stylesheet" href="stylen.css"/>
|
||||
<!-- capcha google counter -->
|
||||
<link rel="canonical" href="https://new-combats.com/">
|
||||
</head>
|
||||
<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">
|
||||
<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" />
|
||||
<p><!--<a onclick="submit();" style="cursor: pointer;">Вход</a>-->
|
||||
<!--style="transform:scale(0.54);transform-origin:0 0;"-->
|
||||
<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"/>
|
||||
<p>
|
||||
<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>
|
||||
<a href='/news' target="_blank">Новости проекта</a>
|
||||
<a href='/repass'>Восстановление пароля</a>
|
||||
<a href='/register'>Регистрация в игре</a>
|
||||
<a href='/forum' target="_blank">Форум проекта</a>
|
||||
<a href="/rating_pers" target="_blank">Рейтинг персонажей</a>
|
||||
<a href="/rating_clans" target="_blank">Рейтинг кланов</a>
|
||||
<a href='/news' target="_blank">Новости проекта</a>
|
||||
<a href='/repass'>Восстановление пароля</a>
|
||||
<a href='/register'>Регистрация в игре</a>
|
||||
<a href='/forum' target="_blank">Форум проекта</a>
|
||||
<a href="/rating_pers" target="_blank">Рейтинг персонажей</a>
|
||||
<a href="/rating_clans" target="_blank">Рейтинг кланов</a>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<h1>Новый Бойцовский Клуб</h1>
|
||||
<h1>Новый Бойцовский Клуб</h1>
|
||||
<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>.
|
||||
Желаем Вам побед и преданных союзников в <strong> проекте «Нового Бойцовского Клуба»</strong>.
|
||||
|
||||
</small><br>
|
||||
<h2>Игровой мир «Бойцовский клуб»</h2>
|
||||
<h2>Игровой мир «Бойцовский клуб»</h2>
|
||||
<small class="megatext">
|
||||
|
||||
<p align="center">Игровой процесс сохранен в жанре <strong>старого бойцовского клуба «oldbk»</strong>. Ваш персонаж создается в <strong>мире Новый Бойцовский Клуб</strong>. При создании персонажа Вас ждет выбор пути <strong>Одного из четырех магов ( Воздуха, Воды, Огня или Земли ) или же Одного из пяти воинов ( Критовик, Уворот, Танк, Топор, Критоуворот )</strong>. В самой игре Вас ждет масса локаций, где Вы сможете обмениваться боевым опытом, повышать мастерство, прокачивать своего героя. Если возникнут какие — либо вопросы на помощь всегда придут подсказки в общем чате или статьи в новостях проекта.
|
||||
<p align="center">Игровой процесс сохранен в жанре <strong>старого бойцовского клуба «oldbk»</strong>. Ваш персонаж создается в <strong>мире Новый Бойцовский Клуб</strong>. При создании персонажа Вас ждет выбор пути <strong>Одного из
|
||||
четырех магов ( Воздуха, Воды, Огня или Земли ) или же Одного из пяти воинов ( Критовик, Уворот, Танк, Топор, Критоуворот )</strong>. В самой игре Вас ждет масса локаций, где Вы сможете обмениваться боевым опытом, повышать
|
||||
мастерство, прокачивать своего героя. Если возникнут какие — либо вопросы на помощь всегда придут подсказки в общем чате или статьи в новостях проекта.
|
||||
|
||||
Основой игрового процесса являются хаотические поединки, а так же обычные физические поединки, которые вы осуществляете с другими персонажами. Каждый бой заключается в обмене ударами с противником с использованием приемов. Чем больше поединков Вы проводите, тем сильнее становится персонаж. Каждые выходные, мы увеличиваем награду за проведение поединков для наших любимых игроков.
|
||||
Основой игрового процесса являются хаотические поединки, а так же обычные физические поединки, которые вы осуществляете с другими персонажами. Каждый бой заключается в обмене ударами с противником с использованием приемов. Чем больше
|
||||
поединков Вы проводите, тем сильнее становится персонаж. Каждые выходные, мы увеличиваем награду за проведение поединков для наших любимых игроков.
|
||||
|
||||
Стиль боя сохранен также в традициях <strong>старого бойцовского клуба «combats.com»</strong>. Тактику и развитие персонажа Вы выбираете по своему желанию.
|
||||
Стиль боя сохранен также в традициях <strong>старого бойцовского клуба «combats.com»</strong>. Тактику и развитие персонажа Вы выбираете по своему желанию.
|
||||
|
||||
Также Вас ждут захватывающие походы в пещеры, а именно Катакомбы, Бездная, Пещера Мглы, Потерянный Вход, Пещера Тысячи Проклятий, Тропа Инвизиции, Гора Легиона, Туманные Низины, Грибница или Канализация, ну а в дополнение у Вас будет возможность проверить своего бойца в Изломе Хаоса.
|
||||
Также Вас ждут захватывающие походы в пещеры, а именно Катакомбы, Бездная, Пещера Мглы, Потерянный Вход, Пещера Тысячи Проклятий, Тропа Инвизиции, Гора Легиона, Туманные Низины, Грибница или Канализация, ну а в дополнение у Вас будет
|
||||
возможность проверить своего бойца в Изломе Хаоса.
|
||||
|
||||
</small><br>
|
||||
<h3>Социальная составляющая игры «Бойцовский клуб».</h3>
|
||||
<h3>Социальная составляющая игры «Бойцовский клуб».</h3>
|
||||
<small class="megatext">
|
||||
|
||||
<p align="center"><strong>Новый Бойцовский клуб</strong> - это игра, которая покорила сердца многих пользователей рунета в 2004 — 2009 годах. <strong>«combats.com»</strong> версии 2, отличался особым жанром игры на тот момент — MMORPG. Одной из основных особенностей игры <strong>«Бойцовский Клуб»</strong>, помимо захватывающих боев, также являлась социальная составляющая.
|
||||
<p align="center"><strong>Новый Бойцовский клуб</strong> - это игра, которая покорила сердца многих пользователей рунета в 2004 — 2009 годах. <strong>«combats.com»</strong> версии 2, отличался особым жанром игры на тот момент — MMORPG.
|
||||
Одной из основных особенностей игры <strong>«Бойцовский Клуб»</strong>, помимо захватывающих боев, также являлась социальная составляющая.
|
||||
|
||||
В процессе игры каждый игрок имел возможность общаться с другими игроками в общем, клановом или приватном чате. Обмениваться опытом, делиться важной информацией или просто весело проводить время. При отсутствии социальных сетей в тот момент — это было немаловажным фактором для выбора подходящих проектов <strong>«Браузерной Игры»</strong>.
|
||||
В процессе игры каждый игрок имел возможность общаться с другими игроками в общем, клановом или приватном чате. Обмениваться опытом, делиться важной информацией или просто весело проводить время. При отсутствии социальных сетей в тот
|
||||
момент — это было немаловажным фактором для выбора подходящих проектов <strong>«Браузерной Игры»</strong>.
|
||||
|
||||
В проекте<strong>Новый Бойцовский Клуб</strong> также сохранен стиль общения <strong>«Старого Бойцовского Клуба», а так же добавлена уникальная в своем роде для всех « Браузерных Проектов » <strong>Голосовые Сообщения</strong>></strong>.
|
||||
В проекте <strong>Новый Бойцовский Клуб</strong> также сохранен стиль общения <strong>«Старого Бойцовского Клуба»</strong>, а так же добавлена уникальная в своем роде функция: <strong>Голосовые Сообщения</strong>.
|
||||
</small><br>
|
||||
<h4>Проект Старого Бойцовского клуба, который использует как основание игру «combats.com» , «old-combats.com», «likebk.com» и многие другие проекты по типу «Бойцовский Клуб»</h4><br></p>
|
||||
<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>
|
||||
<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> ";
|
||||
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>
|
||||
<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)})
|
||||
(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", {
|
||||
@ -100,16 +118,18 @@ topRPGc += "&r="+escape(document.referrer)+"' width='1' height='1' border='0'><a
|
||||
accurateTrackBounce: true
|
||||
});
|
||||
</script>
|
||||
<noscript><div><img src="https://mc.yandex.ru/watch/88861153" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||
<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>
|
||||
<a href="/encicl/law3.html" target="_blank">Политика Конфиеденцальности</a>
|
||||
<a href="/encicl/law4.html" target="_blank">Публичный договор оферты</a>
|
||||
<a href="/support/index.php" target="_blank">Поддержка</a>
|
||||
<a href="/contacts.html" target="_blank">Контакты</a>
|
||||
<a href="/encicl/law2.html" target="_blank">Пользовательское Соглашение</a>
|
||||
<a href="/encicl/law3.html" target="_blank">Политика Конфиеденцальности</a>
|
||||
<a href="/encicl/law4.html" target="_blank">Публичный договор оферты</a>
|
||||
<a href="/support/index.php" target="_blank">Поддержка</a>
|
||||
<a href="/contacts.html" target="_blank">Контакты</a>
|
||||
</div>
|
||||
<!-- capcha google counter -->
|
||||
<script>
|
||||
@ -212,7 +232,6 @@ topRPGc += "&r="+escape(document.referrer)+"' width='1' height='1' border='0'><a
|
||||
});
|
||||
</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>
|
||||
</html>
|
||||
|
@ -1 +0,0 @@
|
||||
тест
|
@ -1 +0,0 @@
|
||||
<?phpinfo();?>
|
556
items_info.php
556
items_info.php
@ -1,10 +1,15 @@
|
||||
<?php
|
||||
|
||||
define('GAME', time());
|
||||
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
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) {
|
||||
$admin = 0;
|
||||
} else {
|
||||
@ -53,7 +58,7 @@ $rz = [
|
||||
['ring', 'Êîëüöà'], // 25
|
||||
['necklace', 'Îæåðåëüÿ'], // 26
|
||||
['earring', 'Ñåðüãè'], // 27
|
||||
['other', 'Разное'] // 28
|
||||
['other', 'Разное'], // 28
|
||||
];
|
||||
|
||||
// Îòîáðàæàòü 3Ä èçîáðàæåíèå? True - îòîáðàæàòü â ëþáîì ñëó÷àå, False - òîëüêî åñëè ñóùåñòâóåò.
|
||||
@ -95,15 +100,23 @@ $rt = [
|
||||
62 => 22,
|
||||
67 => 28, // 67 ðàçíîå
|
||||
32 => 22, // 32 èíãðèäèåíòû, ìàã.ïðåäìåòû
|
||||
34 => 28 // 34 ключи, разное
|
||||
34 => 28, // 34 ключи, разное
|
||||
];
|
||||
|
||||
/* Ïîëüçîâàòåëü */
|
||||
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)
|
||||
@ -162,6 +175,7 @@ function timeOut($ttm)
|
||||
|
||||
function lookStats($m)
|
||||
{
|
||||
if (empty($m)) return [];
|
||||
$ist = [];
|
||||
$di = explode('|', $m);
|
||||
$i = 0;
|
||||
@ -180,436 +194,28 @@ function lookStats($m)
|
||||
}
|
||||
|
||||
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'])) {
|
||||
$itd = [];
|
||||
} else {
|
||||
$itd = lookStats($itd['data']);
|
||||
}
|
||||
} 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']);
|
||||
}
|
||||
|
||||
$items = [
|
||||
'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',
|
||||
],
|
||||
'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',
|
||||
],
|
||||
'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'],
|
||||
'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 = [
|
||||
'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' => 'Мф. против мощности крит. удара',
|
||||
];
|
||||
$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' => 'Мф. против мощности крит. удара'];
|
||||
|
||||
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
|
||||
$rz[$rt[$itm['type']]][0] = 'subject';
|
||||
}
|
||||
@ -623,9 +229,8 @@ if (!isset($rz[$rt[$itm['type']]][1])) {
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
|
||||
<title>Бойцовский клуб | Библиотека <?
|
||||
if (isset($itm['id'])) { ?> | <?= $rz[$rt[$itm['type']]][1] ?> | <?= $itm['name'] ?><?
|
||||
} ?></title>
|
||||
<title>Бойцовский клуб |
|
||||
Библиотека <? if (isset($itm['id'])) { ?> | <?= $rz[$rt[$itm['type']]][1] ?> | <?= $itm['name'] ?><? } ?></title>
|
||||
<link href="/main1.css" rel="stylesheet" type="text/css">
|
||||
<style type="text/css">
|
||||
.style6 {
|
||||
@ -687,8 +292,7 @@ if (!isset($rz[$rt[$itm['type']]][1])) {
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
if (isset($itm['id'])) { ?>
|
||||
<? if (isset($itm['id'])) { ?>
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor='#3D3D3B'>
|
||||
<tr valign=top>
|
||||
<td></td>
|
||||
@ -713,9 +317,11 @@ if (isset($itm['id'])) { ?>
|
||||
<h2><?= $itm['name'] ?></h2>
|
||||
<img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1">
|
||||
</p>
|
||||
<?
|
||||
if ($img3dShow == false && (file_exists('img.new-combats.com/i/big/3d' . str_replace('.gif', '',
|
||||
str_replace('.png', '', $itm['img'])) . '.jpg') == true) or $img3dShow == true) { ?>
|
||||
<? if ($img3dShow == false && (file_exists(
|
||||
'img.new-combats.com/i/big/3d' . str_replace(
|
||||
'.gif', '', str_replace('.png', '', $itm['img'])
|
||||
) . '.jpg'
|
||||
) == true) or $img3dShow == true) { ?>
|
||||
<div align="center">
|
||||
<table width="504" border="0" cellspacing="0" cellpadding="0">
|
||||
<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>
|
||||
<td width="480"><img style="display:block" src="<?
|
||||
if (file_exists('img.new-combats.com/i/big/3d' . str_replace('.gif', '',
|
||||
str_replace('.png', '',
|
||||
$itm['img'])) . '.jpg') == 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="480"><img style="display:block" src="<? if (file_exists(
|
||||
'img.new-combats.com/i/big/3d' . str_replace(
|
||||
'.gif', '', str_replace(
|
||||
'.png', '', $itm['img']
|
||||
)
|
||||
) . '.jpg'
|
||||
) == 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>
|
||||
@ -754,8 +365,7 @@ if (isset($itm['id'])) { ?>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?
|
||||
} ?>
|
||||
<? } ?>
|
||||
<p align="center"> </p>
|
||||
<BR>
|
||||
<table width="504" border="0" align=center cellpadding="0" cellspacing="0">
|
||||
@ -767,8 +377,7 @@ if (isset($itm['id'])) { ?>
|
||||
<td width="100%">
|
||||
<A HREF="?id=<?= $itm['id'] ?>"><?= $itm['name'] ?></A>
|
||||
<IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12 HEIGHT=15>
|
||||
<?
|
||||
$crd = '';
|
||||
<? $crd = '';
|
||||
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> ';
|
||||
echo $crd;
|
||||
@ -810,7 +419,11 @@ if (isset($itm['id'])) { ?>
|
||||
|
||||
//Ïðîäîëæèòåëüíîñòü äåéñòâèÿ ìàãèè:
|
||||
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) {
|
||||
echo '<br>Ïðîäîëæèòåëüíîñòü äåéñòâèÿ: ' . timeOut($efi['actionTime']);
|
||||
}
|
||||
@ -1004,7 +617,9 @@ if (isset($itm['id'])) { ?>
|
||||
if (isset($itd['complect'])) {
|
||||
//íå îòîáðàæàåòñÿ
|
||||
$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)) {
|
||||
$com1['name'] = $itmc['name'];
|
||||
$com1['text'] .= ' • <font color="green">' . $itmc['x'] . '</font>: ';
|
||||
@ -1070,8 +685,7 @@ if (isset($itm['id'])) { ?>
|
||||
<BR>
|
||||
|
||||
|
||||
<?
|
||||
/*
|
||||
<? /*
|
||||
|
||||
<B>Òðåáóåòñÿ ìèíèìàëüíîå:</B><BR>• Óðîâåíü: 4<BR>• Âûíîñëèâîñòü: 16<BR>• Ñèëà: 16<BR>
|
||||
<B>Äåéñòâóåò íà:</B><BR>• Ìô. óâåðòûâàíèÿ (%): +30<BR>• Èíòóèöèÿ: +3<BR>• Ñèëà: +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"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
} else {
|
||||
<? } else {
|
||||
|
||||
$rv = explode('i', $url[2]);
|
||||
$rv = (int)$rv[1];
|
||||
//
|
||||
@ -1122,6 +736,7 @@ if (isset($itm['id'])) { ?>
|
||||
$html = '';
|
||||
//
|
||||
if ($rv >= 0) {
|
||||
|
||||
if ($rv == 1) {
|
||||
//Êîñòûëè
|
||||
$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');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1241,9 +857,17 @@ if (isset($itm['id'])) { ?>
|
||||
if ($rv == 0) {
|
||||
echo 'Âûáåðèòå îäèí èç ðàçäåëîâ ñëåâà, ÷òîáû îòîáðàçèòü ïðåäìåòû<br>';
|
||||
} else {
|
||||
if (isset($sp) && is_array($sp)) {
|
||||
while ($itm = mysql_fetch_array($sp)) {
|
||||
|
||||
//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']);
|
||||
|
||||
?><br>
|
||||
@ -1298,9 +922,15 @@ if (isset($itm['id'])) { ?>
|
||||
|
||||
//Ïðîäîëæèòåëüíîñòü äåéñòâèÿ ìàãèè:
|
||||
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) {
|
||||
echo '<br>Продолжительность действия: ' . timeOut($efi['actionTime']);
|
||||
echo '<br>Продолжительность действия: ' . timeOut(
|
||||
$efi['actionTime']
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1492,7 +1122,9 @@ if (isset($itm['id'])) { ?>
|
||||
if (isset($itd['complect'])) {
|
||||
//íå îòîáðàæàåòñÿ
|
||||
$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)) {
|
||||
$com1['name'] = $itmc['name'];
|
||||
$com1['text'] .= ' • <font color="green">' . $itmc['x'] . '</font>: ';
|
||||
@ -1556,21 +1188,7 @@ if (isset($itm['id'])) { ?>
|
||||
|
||||
?>
|
||||
<BR>
|
||||
<?
|
||||
/*
|
||||
|
||||
<B>Требуется минимальное:</B><BR>• Уровень: 4<BR>• Выносливость: 16<BR>• Сила: 16<BR>
|
||||
<B>Действует на:</B><BR>• Мф. увертывания (%): +30<BR>• Интуиция: +3<BR>• Сила: +5<BR>
|
||||
<B>Свойства предмета:</B><BR>• Урон: 8 - 18<BR>• Мф. против увертывания (%): 30<BR>• Мф. критического удара (%): 50<BR>• Мастерство владения мечами: 2<BR>• Зоны блокирования: +<BR>
|
||||
|
||||
<B>Особенности:</B><BR>• Колющие атаки: Малы<BR>• Рубящие атаки: Временами<BR>• Дробящие атаки: Редки<BR>• Режущие атаки: Малы<BR>
|
||||
|
||||
|
||||
|
||||
<small>Возможно усиление до 10го уровня</small><BR>
|
||||
|
||||
*/
|
||||
?></td>
|
||||
</td>
|
||||
<td align="center" valign="top" style='padding: 0,2,0,5'><a
|
||||
title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>"><SPAN
|
||||
style='background-color: #E0E0E0'><img
|
||||
@ -1584,6 +1202,7 @@ if (isset($itm['id'])) { ?>
|
||||
<?
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<p align="center"> </p>
|
||||
<BR>
|
||||
@ -1657,8 +1276,7 @@ if (isset($itm['id'])) { ?>
|
||||
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
} ?>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -932,7 +932,7 @@ var chat = {
|
||||
else if (key.match(/youtu\.be/i)) trueURL.push(key)
|
||||
else if (key.match(/twitch\.tv/i)) trueURL.push(key)
|
||||
else if (key.match(/new-combats\.com/i)) trueURL.push(key)
|
||||
else if (key.match(/https:\/\/rpgtop\.su\/vote\/25443/i)) trueURL.push(key)
|
||||
else if (key.match(/https:\/\/rpgtop\.su\/vote\/26677/i)) trueURL.push(key)
|
||||
else if (key.match(/inf\.php/i)) trueURL.push(key)
|
||||
else falseURL = true
|
||||
}
|
||||
@ -951,7 +951,7 @@ var chat = {
|
||||
return `<a class="URL-a" href="${match}" target="_blank">${match}</a>`
|
||||
}
|
||||
else {
|
||||
return `<a class="URL-a" href="http://${match}" target="_blank">${match}</a>`
|
||||
return `<a class="URL-a" href="https://${match}" target="_blank">${match}</a>`
|
||||
}
|
||||
}
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
$log_text = [];
|
||||
$log_text[0] = []; //äëÿ ìóæ.
|
||||
$log_text = array();
|
||||
$log_text[0] = array(); //äë˙ ěóć.
|
||||
//R1
|
||||
$log_text[0][1][0] = 'вспомнил что-то важное';
|
||||
$log_text[0][1][1] = 'высморкался';
|
||||
@ -291,6 +291,21 @@ $log_text[1][7][10] = '
|
||||
$log_text[1][7][11] = 'удар серой магией';
|
||||
$log_text[1][7][12] = 'неизсветный удар';
|
||||
$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
|
||||
$log_text[1][8][0] = 'не контролировала ситуацию';
|
||||
@ -355,6 +370,12 @@ $log_text[1][15][1] = '
|
||||
$log_text[0][15][2] = 'потратил свой ход на прием';
|
||||
$log_text[1][15][2] = 'потратила свой ход на прием';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Приемы / приемы
|
||||
$log_text[0][16][0] = 'использовал';
|
||||
$log_text[1][16][0] = 'использовала';
|
||||
@ -434,3 +455,5 @@ $log_text[1][21][3] = '{u1}
|
||||
$log_text[1][21][4] = '{u1} с испугу произнесла, первое пришедшее на ум, заклятье "{pr}"';
|
||||
$log_text[1][21][5] = '{u1} впала в транс и начала бормотать заклятие "{pr}"';
|
||||
$log_text[1][21][6] = '{u1} очнулась от медитации, и призвала заклятье "{pr}"';
|
||||
|
||||
?>
|
4
logs.php
4
logs.php
@ -579,21 +579,25 @@ if (isset($btl['id']) && $btl['team_win'] != -1 && isset($_GET['analiz'])) {
|
||||
//çàìåíà R - èãðîê 1
|
||||
$r = $log_text[$d['s1']][$j];
|
||||
$k = 0;
|
||||
if (is_array($r)) {
|
||||
while ($k <= count($r)) {
|
||||
if (isset($log_text[$d['s1']][$j][$k])) {
|
||||
$rt = str_replace('{1x' . $j . 'x' . $k . '}', $log_text[$d['s1']][$j][$k], $rt);
|
||||
}
|
||||
$k++;
|
||||
}
|
||||
}
|
||||
//çàìåíà R - èãðîê 2
|
||||
$r = $log_text[$d['s2']][$j];
|
||||
$k = 0;
|
||||
if (is_array($r)) {
|
||||
while ($k <= count($r)) {
|
||||
if (isset($log_text[$d['s2']][$j][$k])) {
|
||||
$rt = str_replace('{2x' . $j . 'x' . $k . '}', $log_text[$d['s2']][$j][$k], $rt);
|
||||
}
|
||||
$k++;
|
||||
}
|
||||
}
|
||||
$j++;
|
||||
}
|
||||
|
||||
|
99
mail.php
99
mail.php
@ -1,22 +1,14 @@
|
||||
<?
|
||||
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());
|
||||
include('_incl_data/__config.php');
|
||||
define('GAME',true);
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
include('_incl_data/class/__users.php');
|
||||
<?php
|
||||
const GAME = true;
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
|
||||
if (isset($_GET['list']) && $_GET['list'] == 2015) {
|
||||
|
||||
$mail = array();
|
||||
$yes = array();
|
||||
$mail = [];
|
||||
$yes = [];
|
||||
$sp = mysql_query('SELECT * FROM `aaa_send_count`');
|
||||
while ($pl = mysql_fetch_array($sp)) {
|
||||
if (!isset($yes[$pl['mail']])) {
|
||||
@ -77,13 +69,25 @@ $keymd5 = '$
|
||||
|
||||
if (isset($_GET['count'])) {
|
||||
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(
|
||||
mysql_query(
|
||||
'SELECT * FROM `aaa_send_count` WHERE `mail` = "' . mysql_real_escape_string(
|
||||
$_GET['count']
|
||||
) . '" LIMIT 1'
|
||||
)
|
||||
);
|
||||
if (isset($mail['id'])) {
|
||||
mysql_query('UPDATE `aaa_send_count` SET `time` = "'.time().'",`ip` = "'.mysql_real_escape_string(IP).'" WHERE `id` = "'.$mail['id'].'" LIMIT 1');
|
||||
mysql_query(
|
||||
'UPDATE `aaa_send_count` SET `time` = "' . time() . '",`ip` = "' . mysql_real_escape_string(
|
||||
IP
|
||||
) . '" WHERE `id` = "' . $mail['id'] . '" LIMIT 1'
|
||||
);
|
||||
} else {
|
||||
mysql_query('INSERT INTO `aaa_send_count` (`mail`,`time`,`ip`) VALUES (
|
||||
mysql_query(
|
||||
'INSERT INTO `aaa_send_count` (`mail`,`time`,`ip`) VALUES (
|
||||
"' . mysql_real_escape_string($_GET['count']) . '","' . time() . '","' . mysql_real_escape_string(IP) . '"
|
||||
)');
|
||||
)'
|
||||
);
|
||||
}
|
||||
echo '[SD4]';
|
||||
} else {
|
||||
@ -91,9 +95,19 @@ if(isset($_GET['count'])) {
|
||||
}
|
||||
die('[IMG]');
|
||||
} elseif (isset($_GET['uncancel'])) {
|
||||
$mail = mysql_fetch_array(mysql_query('SELECT * FROM `aaa_send_count` WHERE `mail` = "'.mysql_real_escape_string($_GET['uncancel']).'" LIMIT 1'));
|
||||
$mail = mysql_fetch_array(
|
||||
mysql_query(
|
||||
'SELECT * FROM `aaa_send_count` WHERE `mail` = "' . mysql_real_escape_string(
|
||||
$_GET['uncancel']
|
||||
) . '" LIMIT 1'
|
||||
)
|
||||
);
|
||||
if (isset($mail['id'])) {
|
||||
mysql_query('UPDATE `aaa_send_count` SET `cancel` = "0",`time` = "'.time().'",`ip` = "'.mysql_real_escape_string(IP).'" WHERE `id` = "'.$mail['id'].'" LIMIT 1');
|
||||
mysql_query(
|
||||
'UPDATE `aaa_send_count` SET `cancel` = "0",`time` = "' . time() . '",`ip` = "' . mysql_real_escape_string(
|
||||
IP
|
||||
) . '" WHERE `id` = "' . $mail['id'] . '" LIMIT 1'
|
||||
);
|
||||
echo 'Ýë.ďî÷ňŕ <b>' . htmlspecialchars($_GET['uncancel']) . '</b> óńďĺříî ďîäďčńŕí íŕ íŕřč đŕńńűëč!';
|
||||
} else {
|
||||
echo 'Ýë.ďî÷ňŕ <b>' . htmlspecialchars($_GET['uncancel']) . '</b> íĺ íŕéäĺí â áŕçĺ.';
|
||||
@ -101,19 +115,32 @@ if(isset($_GET['count'])) {
|
||||
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'));
|
||||
$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>';
|
||||
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');
|
||||
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';
|
||||
echo 'Âû íå îòïèñàëèñü ò.ê. SD4 êëþ÷ íå ïîäõîäèò ê ýë.ïî÷òå <b>' . htmlspecialchars(
|
||||
$_GET['cancel']
|
||||
) . '.</b>. Ïåðåéäèòå ïî ññûëêå óêàçàííîé â ïèñüìå, ëèáî íàïèøèòå íàì â ñëóæáó ïîääåðæêè support@new-combats.com';
|
||||
}
|
||||
die();
|
||||
}
|
||||
@ -123,7 +150,8 @@ if(isset($_GET['send6102'])) {
|
||||
$message = 'Ňĺęńň ńîîáůĺíč˙!';
|
||||
// ***************************************
|
||||
|
||||
function sendmail($mail,$login) {
|
||||
function sendmail($mail, $login)
|
||||
{
|
||||
global $message, $keymd5;
|
||||
//
|
||||
$md5mail = md5($keymd5 . '+' . $mail);
|
||||
@ -149,8 +177,14 @@ if(isset($_GET['send6102'])) {
|
||||
}
|
||||
}
|
||||
|
||||
$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'));
|
||||
$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';
|
||||
@ -162,12 +196,7 @@ if(isset($_GET['send6102'])) {
|
||||
} else {
|
||||
echo '[-]';
|
||||
echo '[' . $mail['email'] . ']';
|
||||
/*echo '[-]<script>setTimeout("top.location = top.location",100);</script>';*/
|
||||
|
||||
}
|
||||
die('<br>Îňďđŕâëĺíî: ' . $x);
|
||||
if( $k > 0 ) {
|
||||
echo '<script>setTimeout(\'location.href="mail.php?send=1&i='.$j.'";\',1500);</script>';
|
||||
}
|
||||
echo 'Óñïåøíî îòïðàâëåíî: '.$k.' / 100 ïèñåì. Âñåãî ÿùèêîâ îñòàëîñü: '.(count($mails)-$k).'.<br><a href="mail.php?send=1&i='.$j.'">Ñëåäóþùèå 50 ÿùèêîâ!</a>';
|
||||
}
|
||||
?>
|
32
mailconf.php
32
mailconf.php
@ -1,16 +1,11 @@
|
||||
<?
|
||||
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'];
|
||||
}
|
||||
<?php
|
||||
|
||||
define('IP',GetRealIp());
|
||||
include('_incl_data/__config.php');
|
||||
define('GAME',true);
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
use Insallah\Db;
|
||||
|
||||
const GAME = true;
|
||||
require_once('_incl_data/__config.php');
|
||||
require_once('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
|
||||
if (isset($_GET['mail'])) {
|
||||
$key = md5('mailconf*15+' . $_GET['mail']);
|
||||
@ -21,22 +16,20 @@ if(isset($_GET['mail'])) {
|
||||
echo 'Вы отказались от рассылки на эл.почту: <b>' . $_GET['mail'] . '</b>.';
|
||||
} else {
|
||||
//
|
||||
$mcf = mysql_fetch_array(mysql_query('SELECT * FROM `mini_actions` WHERE `var` = "'.mysql_real_escape_string($_GET['mail']).'" LIMIT 1'));
|
||||
$user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$mcf['uid'].'" LIMIT 1'));
|
||||
$mcf = Db::getRow('select * from mini_actions where var = ?', [$_GET['mail']]);
|
||||
$user = Db::getRow('select * from users where id = ?', [$mcf['uid']]);
|
||||
//Подписание на рассылку
|
||||
if (!isset($user['id'])) {
|
||||
echo 'Зарегистрируйтесь чтобы привязать эл.почту <b>' . $_GET['mail'] . '</b> к персонажу.';
|
||||
} else {
|
||||
$bank = mysql_fetch_array(mysql_query('SELECT * FROM `bank` WHERE `uid` = "'.$mcf['uid'].'" ORDER BY `id` DESC LIMIT 1'));
|
||||
$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) {
|
||||
echo 'Вы уже подтверждали этот E-mail ранее! <b>' . date('d.m.Y H:i:s', $mcf['ok']) . '</b>';
|
||||
} elseif (!isset($bank['id'])) {
|
||||
echo 'Сначала создайте счет в игровом банке, чтобы мы смогли перевести туда 1 екр.';
|
||||
} else {
|
||||
//
|
||||
mysql_query('UPDATE `mini_actions` SET `ok` = "'.time().'" WHERE `id` = "'.$mcf['id'].'" LIMIT 1');
|
||||
mysql_query('UPDATE `bank` SET `money2` = `money2` + 1 WHERE `id` = "'.$bank['id'].'" LIMIT 1');
|
||||
//
|
||||
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 екр.';
|
||||
}
|
||||
}
|
||||
@ -47,4 +40,3 @@ if(isset($_GET['mail'])) {
|
||||
|
||||
echo '<br><br>- - - - - - -<br><br>С уважением,<br>Администрация © <a href="https://new-combats.com/">new-combats.com</a>';
|
||||
|
||||
?>
|
35
main.php
35
main.php
@ -31,16 +31,6 @@
|
||||
|
||||
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)
|
||||
{
|
||||
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;
|
||||
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');
|
||||
|
||||
$magic = new Magic();
|
||||
@ -282,19 +272,8 @@ if ($ul == 1) {
|
||||
$act = 1;
|
||||
}
|
||||
if ($u->info['repass'] > 0) {
|
||||
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', UserIp::get());
|
||||
|
||||
define('IP', GetRealIp());
|
||||
if (isset($_POST['renpass']) && $_POST['renpass'] == $_POST['renpass2'] && md5(
|
||||
$_POST['renpass']
|
||||
) != $u->info['pass']) {
|
||||
@ -423,9 +402,7 @@ if ($act != -2) {
|
||||
}
|
||||
|
||||
/*-----------------------*/
|
||||
if (isset($_GET['worklist']) && $u->info['admin'] > 0) {
|
||||
require_once('modules_data/worklist.php');
|
||||
} elseif (isset($_GET['security']) && !isset($u->tfer['id']) && $trololo == 1) {
|
||||
if (isset($_GET['security']) && !isset($u->tfer['id']) && $trololo == 1) {
|
||||
require_once('modules_data/_changepass.php');
|
||||
} elseif ($u->info['level'] >= 0 && isset($_GET['friends']) && !isset($u->tfer['id'])) {
|
||||
require_once('modules_data/_friends.php');
|
||||
|
128
main_bot.php
128
main_bot.php
@ -1,26 +1,16 @@
|
||||
<?php
|
||||
|
||||
# Ïîëó÷àåì IP
|
||||
function getIPblock()
|
||||
{
|
||||
return isset($_SERVER['HTTP_X_REAL_IP']) ? $_SERVER['HTTP_X_REAL_IP'] : $_SERVER['REMOTE_ADDR'];
|
||||
}
|
||||
use Insallah\Db;
|
||||
|
||||
# Âûïîëíÿåì ïðîâåðêó áåçîïàñíîñòè.
|
||||
|
||||
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;
|
||||
include('_incl_data/__config.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)
|
||||
{
|
||||
mysql_query(
|
||||
@ -38,18 +28,13 @@ if (isset($_GET['cron_core'])) {
|
||||
if (md5($id['id'] . '_brfCOreW@!_' . $id['pass']) == $_GET['cron_core']) {
|
||||
$uzr = mysql_fetch_array(
|
||||
mysql_query(
|
||||
'SELECT `id`,`login`,`pass` FROM `users` WHERE `id` = "' . mysql_real_escape_string(
|
||||
$id['id']
|
||||
) . '" AND `pass` = "' . mysql_real_escape_string($id['pass']) . '" LIMIT 1'
|
||||
)
|
||||
);
|
||||
'SELECT `id`,`login`,`pass` FROM `users` WHERE `id` = ' . $id['id'] . ' AND `pass` = "' . mysql_real_escape_string($id['pass']) . '"'));
|
||||
if (isset($uzr['id'])) {
|
||||
$CRON_CORE = true;
|
||||
$_COOKIE['login'] = $uzr['login'];
|
||||
$_COOKIE['pass'] = $uzr['pass'];
|
||||
$_POST['id'] = 'reflesh';
|
||||
|
||||
|
||||
if (isset($_GET['atack'])) {
|
||||
$_POST['atack'] = $_GET['atack'];
|
||||
}
|
||||
@ -86,26 +71,17 @@ $tjs = '';
|
||||
#--------äëÿ îáùàãè, è ïîçæå äëÿ ïî÷òû
|
||||
$sleep = $u->testAction('`vars` = "sleep" AND `uid` = "' . $u->info['id'] . '" LIMIT 1', 1);
|
||||
if ($u->room['file'] != "objaga" && $sleep['id'] > 0) {
|
||||
mysql_query('UPDATE `actions` SET `vars` = "unsleep" WHERE `id` = "' . $sleep['id'] . '" LIMIT 1');
|
||||
}
|
||||
if ($u->room['file'] == "objaga" || $u->room['file'] == "post") {
|
||||
$trololo = 0;
|
||||
} else {
|
||||
$trololo = 1;
|
||||
mysql_query('UPDATE `actions` SET `vars` = "unsleep" WHERE `id` = ' . $sleep['id']);
|
||||
}
|
||||
|
||||
$trololo = $u->room['file'] == "objaga" || $u->room['file'] == "post" ? 0 : 1;
|
||||
|
||||
#--------äëÿ îáùàãè, è ïîçæå äëÿ ïî÷òû
|
||||
if ($u->info['online'] < time() - 60) {
|
||||
$filter->setOnline($u->info['online'], $u->info['id']);
|
||||
mysql_query(
|
||||
"UPDATE `users` SET `online`='" . time() . "',`timeMain`='" . time(
|
||||
) . "' WHERE `id`='" . $u->info['id'] . "' LIMIT 1"
|
||||
);
|
||||
Db::sql('update users set online = unix_timestamp(), timeMain = unix_timestamp() where id = ?', [$u->info['id']]);
|
||||
} elseif ($u->info['timeMain'] < time() - 60) {
|
||||
mysql_query(
|
||||
"UPDATE `users` SET `online`='" . time() . "',`timeMain`='" . time(
|
||||
) . "' WHERE `id`='" . $u->info['id'] . "' LIMIT 1"
|
||||
);
|
||||
Db::sql('update users set online = unix_timestamp(), timeMain = unix_timestamp() where id = ?', [$u->info['id']]);
|
||||
}
|
||||
|
||||
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 ($u->room['noatack'] == 0) {
|
||||
$ua = mysql_fetch_array(
|
||||
mysql_query(
|
||||
'SELECT `id`,`clan` FROM `users` WHERE`id` = "' . mysql_real_escape_string(
|
||||
$_GET['atak_user']
|
||||
) . '" LIMIT 1'
|
||||
)
|
||||
);
|
||||
$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'
|
||||
)
|
||||
$ua = Db::getValue('select clan from users where id = ?', [$_GET['atak_user']]);
|
||||
$cruw = Db::getValue(
|
||||
'select id from clan_wars where ((clan1 = ? and clan2 = ?) or (clan1 = ? and clan2 = ?)) and time_finish > unix_timestamp() limit 1',
|
||||
[
|
||||
$ua, $u->info['clan'], $u->info['clan'], $ua,
|
||||
]
|
||||
);
|
||||
unset($ua);
|
||||
if (isset($cruw['id'])) {
|
||||
if (isset($cruw)) {
|
||||
$cruw = 1;
|
||||
}
|
||||
|
||||
$ua = mysql_fetch_array(
|
||||
mysql_query(
|
||||
'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(
|
||||
) . '" OR `s`.`atack` = 1 OR 1 = ' . $cruw . ') AND `s`.`id` = "' . mysql_real_escape_string(
|
||||
$_GET['atak_user']
|
||||
) . '" LIMIT 1'
|
||||
)
|
||||
$ua = Db::getRow(
|
||||
'select * from stats left join users on stats.id = users.id where (atack > unix_timestamp() or atack = 1 or 1 = ?) and stats.id = ?',
|
||||
[$cruw, $_GET['atak_user']]
|
||||
);
|
||||
|
||||
if (isset($ua['id']) && $ua['online'] > time() - 520) {
|
||||
$usta = $u->getStats($ua['id'], 0); // ñòàòû öåëè
|
||||
$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);
|
||||
|
||||
$rtxt = '[img[items/pal_button8.gif]] "' . $u->info['login'] . '" ñîâåðøèë' . $sx . ' íàïàäåíèå ïî ìåòêå íà ïåðñîíàæà "' . $ua['login'] . '".';
|
||||
mysql_query(
|
||||
"INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,'" . $u->info['city'] . "','" . $u->info['room'] . "','','','" . $rtxt . "','" . time(
|
||||
) . "','6','0','1')"
|
||||
Db::sql(
|
||||
'insert into chat (new, type, typeTime, time, city, room, text) values (1,6,1,unix_timestamp(),?,?,?)',
|
||||
[
|
||||
$u->info['city'],
|
||||
$u->info['room'],
|
||||
$rtxt,
|
||||
]
|
||||
);
|
||||
|
||||
header('location: main.php');
|
||||
die();
|
||||
} else {
|
||||
if ($ua['room'] != $u->info['room']) {
|
||||
//Ïåðñîíàæ â äðóãîé êîìíàòå
|
||||
$u->error = 'Ïåðñîíàæ íàõîäèòñÿ â äðóãîé êîìíàòå';
|
||||
} else {
|
||||
$u->error = 'Ïåðñîíàæ èìååò ñëèøêîì ìàëûé óðîâåíü æèçíåé.';
|
||||
}
|
||||
$u->error = $ua['room'] != $u->info['room'] ?
|
||||
'Ïåðñîíàæ íàõîäèòñÿ â äðóãîé êîìíàòå' :
|
||||
'Ïåðñîíàæ èìååò ñëèøêîì ìàëûé óðîâåíü æèçíåé.';
|
||||
}
|
||||
} 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['last_b'] > 0) {
|
||||
mysql_query(
|
||||
'INSERT INTO `battle_last` (`battle_id`,`uid`,`time`,`act`,`level`,`align`,`clan`,`exp`) VALUES ("' . $u->info['last_b'] . '","' . $u->info['id'] . '","' . time(
|
||||
) . '","' . $u->info['last_a'] . '","' . $u->info['level'] . '","' . $u->info['align'] . '","' . $u->info['clan'] . '","' . $u->info['exp'] . '")'
|
||||
Db::sql(
|
||||
'insert into battle_last (battle_id, uid, time, act, align, clan, exp) values (?,?,unix_timestamp(),?,?,?,?)',
|
||||
[
|
||||
$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;
|
||||
@ -200,17 +175,6 @@ if ($ul == 1) {
|
||||
$act = 1;
|
||||
}
|
||||
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) {
|
||||
@ -256,7 +220,7 @@ if ($u->info['repass'] > 0 && $u->info['id'] != 5433446) {
|
||||
}
|
||||
|
||||
} 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) {
|
||||
|
26
map.php
26
map.php
@ -1,16 +1,8 @@
|
||||
<?php
|
||||
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'];
|
||||
}
|
||||
define('IP',GetRealIp());
|
||||
include('_incl_data/__config.php');
|
||||
const GAME = true;
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
define('IP', UserIp::get());
|
||||
$u = User::start();
|
||||
|
||||
if ($u->info['banned'] || !isset($u->info['id'])) {
|
||||
@ -19,13 +11,11 @@ if($u->info['banned'] || !isset($u->info['id'])) {
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
|
||||
<meta http-equiv=Cache-Control Content=no-cache>
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
<meta http-equiv=Expires Content=0>
|
||||
<link href="https://img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body style="padding-top:0px; margin-top:7px; height:100%; background-color:#dedede; background-image:url(/i/bgmain.jpg);">
|
||||
@ -36,7 +26,8 @@ if($u->info['banned'] || !isset($u->info['id'])) {
|
||||
<!-- -->
|
||||
<br><br>
|
||||
<h3>Òåñòîâàÿ ëîêàöèÿ</h3>
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="400" id="FlashID" title="test_map">
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="400" id="FlashID"
|
||||
title="test_map">
|
||||
<param name="movie" value="map/main.swf">
|
||||
<param name="quality" value="high">
|
||||
<param name="wmode" value="opaque">
|
||||
@ -54,7 +45,10 @@ if($u->info['banned'] || !isset($u->info['id'])) {
|
||||
<!-- Áðàóçåð îòîáðàæàåò ñëåäóþùåå àëüòåðíàòèâíîå ñîäåðæèìîå äëÿ ïîëüçîâàòåëåé Flash Player 6.0 è áîëåå ñòàðûõ âåðñèé. -->
|
||||
<div>
|
||||
<h4>Äëÿ ñîäåðæèìîãî ýòîé ñòðàíèöû òðåáóåòñÿ áîëåå íîâàÿ âåðñèÿ Adobe Flash Player.</h4>
|
||||
<p><a href="https://www.adobe.com/go/getflashplayer"><img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Ïîëó÷èòü ïðîèãðûâàòåëü Adobe Flash Player" width="112" height="33" /></a></p>
|
||||
<p><a href="https://www.adobe.com/go/getflashplayer"><img
|
||||
src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
|
||||
alt="Ïîëó÷èòü ïðîèãðûâàòåëü Adobe Flash Player" width="112" height="33"/></a>
|
||||
</p>
|
||||
</div>
|
||||
<!--[if !IE]>-->
|
||||
</object>
|
||||
|
@ -299,10 +299,10 @@ $srok = array(15=>'15
|
||||
{
|
||||
if(isset($_POST['usem1']))
|
||||
{
|
||||
include('moder/usem1.php');
|
||||
require_once('moder/usem1.php');
|
||||
}elseif(isset($_POST['teleport']))
|
||||
{
|
||||
//include('moder/teleport.php');
|
||||
//require_once('moder/teleport.php');
|
||||
}
|
||||
}
|
||||
if(isset($_POST['tologin'],$_POST['message'])) {
|
||||
|
@ -435,10 +435,6 @@ if (isset($_GET['mAjax'])) {
|
||||
<div style="z-index: 2; position: relative; width:100%; display:table; box-sizing: border-box; margin: 0; padding: 0 5px 3px 5px;">
|
||||
<div style="display:table-cell;"><!-- Êíîïêè âîçâðàòà è äðóãèå--></div>
|
||||
<div style="display:table-cell; text-align: right;">
|
||||
<?php if ($u->info['admin']): ?>
|
||||
<input class="btnnew2" type="button" onclick="location.href='main.php?worklist'"
|
||||
style="color:red" value="Ðàáî÷èé ïëàí"/>
|
||||
<?php endif; ?>
|
||||
<input class="btn btn-success" type="button"
|
||||
onclick="top.frames['main'].location='main.php?titul&rnd=<?php
|
||||
echo $code; ?>'" value="Äîñòèæåíèÿ"/>
|
||||
|
@ -115,10 +115,10 @@ function closeMod()
|
||||
$go = 0;
|
||||
if(isset($_GET['go'])){$go = round($_GET['go']);}
|
||||
if($go==2 && $u->info['admin']>0){
|
||||
include('moder/new/editor.php');
|
||||
require_once('moder/new/editor.php');
|
||||
}
|
||||
if($go==1 && $p['editAlign']==1){
|
||||
include('moder/new/editalign.php');
|
||||
require_once('moder/new/editalign.php');
|
||||
}
|
||||
?>
|
||||
<div id="useMagic" style="display:none; position:absolute; border:solid 1px #776f59; left: 50px; top: 186px;" class="modpow">
|
||||
@ -155,13 +155,13 @@ $uer = '';
|
||||
if(isset($_GET['usemod'])){
|
||||
$srok = array(5=>'5 ìèíóò',15=>'15 ìèíóò',30=>'30 ìèíóò',60=>'îäèí ÷àñ',180=>'òðè ÷àñà',360=>'øåñòü ÷àñîâ',720=>'äâåíàäöàòü ÷àñîâ',1440=>'îäíè ñóòêè',4320=>'òðîå ñóòîê');
|
||||
$srokt = array(1=>'1 äåíü',3=>'3 äíÿ',7=>'íåäåëþ',14=>'2 íåäåëè',30=>'ìåñÿö',60=>'2 ìåñÿöà',365=>'ãîä',24=>'áåññðî÷íî',6=>'÷àñèê');
|
||||
if(isset($_POST['usem1'])){include('moder/usem1.php');}
|
||||
elseif(isset($_POST['usem2'])){include('moder/usem2.php');}
|
||||
elseif(isset($_POST['usesm'])){include('moder/usesm.php');}
|
||||
elseif(isset($_POST['useban'])){include('moder/useban.php');}
|
||||
elseif(isset($_POST['useunban'])){include('moder/useunban.php');}
|
||||
elseif(isset($_POST['usehaos'])){include('moder/usehaos.php');}
|
||||
elseif(isset($_POST['useshaos'])){include('moder/useshaos.php');}
|
||||
if(isset($_POST['usem1'])){require_once('moder/usem1.php');}
|
||||
elseif(isset($_POST['usem2'])){require_once('moder/usem2.php');}
|
||||
elseif(isset($_POST['usesm'])){require_once('moder/usesm.php');}
|
||||
elseif(isset($_POST['useban'])){require_once('moder/useban.php');}
|
||||
elseif(isset($_POST['useunban'])){require_once('moder/useunban.php');}
|
||||
elseif(isset($_POST['usehaos'])){require_once('moder/usehaos.php');}
|
||||
elseif(isset($_POST['useshaos'])){require_once('moder/useshaos.php');}
|
||||
|
||||
}
|
||||
/*ïîäêëþ÷àåì ñêðèïòû ê àáèëêàì ;)*/
|
||||
|
@ -233,7 +233,7 @@ if(isset($p['id']) || $u->info['align']==1 || $u->info['align']==3)
|
||||
|
||||
if(isset($_GET['newuidinv'])) {
|
||||
$_GET['newuidinv'] = htmlspecialchars($_GET['newuidinv']);
|
||||
include('_inv_moder.php');
|
||||
require_once('_inv_moder.php');
|
||||
die();
|
||||
}
|
||||
if($go == 3 && $u->info['admin'] > 0) {
|
||||
@ -833,90 +833,90 @@ function closeMod()
|
||||
//čńďîëüçóĺě ěîë÷ŕíęó
|
||||
if(isset($_POST['usevampir']))
|
||||
{
|
||||
include('moder/usevampir.php');
|
||||
require_once('moder/usevampir.php');
|
||||
}elseif(isset($_POST['usem1']))
|
||||
{
|
||||
include('moder/usem1.php');
|
||||
require_once('moder/usem1.php');
|
||||
}elseif(isset($_POST['usem2']))
|
||||
{
|
||||
include('moder/usem2.php');
|
||||
require_once('moder/usem2.php');
|
||||
}elseif(isset($_POST['usesm']))
|
||||
{
|
||||
include('moder/usesm.php');
|
||||
require_once('moder/usesm.php');
|
||||
}elseif(isset($_POST['useban']))
|
||||
{
|
||||
include('moder/useban.php');
|
||||
require_once('moder/useban.php');
|
||||
}elseif(isset($_POST['useunban']))
|
||||
{
|
||||
include('moder/useunban.php');
|
||||
require_once('moder/useunban.php');
|
||||
}elseif(isset($_POST['usehaos']))
|
||||
{
|
||||
include('moder/usehaos.php');
|
||||
require_once('moder/usehaos.php');
|
||||
}elseif(isset($_POST['useshaos']))
|
||||
{
|
||||
include('moder/useshaos.php');
|
||||
require_once('moder/useshaos.php');
|
||||
}elseif(isset($_POST['teleport'])){
|
||||
include('moder/teleport.php');
|
||||
require_once('moder/teleport.php');
|
||||
}elseif(isset($_POST['teleport-cometome'])){
|
||||
include('moder/teleport-cometome.php');
|
||||
require_once('moder/teleport-cometome.php');
|
||||
}elseif(isset($_POST['usedeletinfo']))
|
||||
{
|
||||
include('moder/usedeletinfo.php');
|
||||
require_once('moder/usedeletinfo.php');
|
||||
}elseif(isset($_POST['unusedeletinfo']))
|
||||
{
|
||||
include('moder/unusedeletinfo.php');
|
||||
require_once('moder/unusedeletinfo.php');
|
||||
}elseif(isset($_POST['unmoder']))
|
||||
{
|
||||
include('moder/unmoder.php');
|
||||
require_once('moder/unmoder.php');
|
||||
}elseif(isset($_POST['gomoder']))
|
||||
{
|
||||
include('moder/moder.php');
|
||||
require_once('moder/moder.php');
|
||||
}elseif(isset($_POST['use_carcer'])){
|
||||
include('moder/use_carcer.php');
|
||||
require_once('moder/use_carcer.php');
|
||||
}elseif(isset($_POST['v_carcer'])){
|
||||
include('moder/v_carcer.php');
|
||||
require_once('moder/v_carcer.php');
|
||||
}elseif(isset($_POST['usepro'])){
|
||||
include('moder/usepro.php');
|
||||
require_once('moder/usepro.php');
|
||||
}elseif(isset($_POST['usemarry'])){
|
||||
include('moder/usemarry.php');
|
||||
require_once('moder/usemarry.php');
|
||||
}elseif(isset($_POST['useunmarry'])){
|
||||
include('moder/useunmarry.php');
|
||||
require_once('moder/useunmarry.php');
|
||||
}elseif(isset($_POST['usenoper'])) {
|
||||
include('moder/usenoper.php');
|
||||
require_once('moder/usenoper.php');
|
||||
}elseif(isset($_POST['useunnoper'])) {
|
||||
include('moder/useunnoper.php');
|
||||
require_once('moder/useunnoper.php');
|
||||
}elseif(isset($_POST['usenoper2'])) {
|
||||
include('moder/usenoper2.php');
|
||||
require_once('moder/usenoper2.php');
|
||||
}elseif(isset($_POST['useunnoper2'])) {
|
||||
include('moder/useunnoper2.php');
|
||||
require_once('moder/useunnoper2.php');
|
||||
}elseif(isset($_POST['useunalign'])) {
|
||||
include('moder/useunalign.php');
|
||||
require_once('moder/useunalign.php');
|
||||
}elseif(isset($_POST['usehpa'])) {
|
||||
include('moder/usehpa.php');
|
||||
require_once('moder/usehpa.php');
|
||||
}elseif(isset($_POST['usempa'])) {
|
||||
include('moder/usempa.php');
|
||||
require_once('moder/usempa.php');
|
||||
}elseif(isset($_POST['usenevid'])) {
|
||||
include('moder/usenevid.php');
|
||||
require_once('moder/usenevid.php');
|
||||
}elseif(isset($_POST['usepro2'])) {
|
||||
include('moder/usepro2.php');
|
||||
require_once('moder/usepro2.php');
|
||||
}elseif(isset($_POST['useunfight'])) {
|
||||
include('moder/useunfight.php');
|
||||
require_once('moder/useunfight.php');
|
||||
}elseif(isset($_POST['usesex'])) {
|
||||
include('moder/usesex.php');
|
||||
require_once('moder/usesex.php');
|
||||
}elseif(isset($_POST['uselogin'])) {
|
||||
include('moder/uselogin.php');
|
||||
require_once('moder/uselogin.php');
|
||||
}elseif(isset($_POST['usealign7'])) {
|
||||
include('moder/usealign7.php');
|
||||
require_once('moder/usealign7.php');
|
||||
}elseif(isset($_POST['usealign3'])) {
|
||||
include('moder/usealign3.php');
|
||||
require_once('moder/usealign3.php');
|
||||
}elseif(isset($_POST['usealign1'])) {
|
||||
include('moder/usealign1.php');
|
||||
require_once('moder/usealign1.php');
|
||||
}elseif(isset($_POST['useuntravm'])) {
|
||||
include('moder/useuntravm.php');
|
||||
require_once('moder/useuntravm.php');
|
||||
}elseif(isset($_POST['useatack'])) {
|
||||
include('moder/useatack.php');
|
||||
require_once('moder/useatack.php');
|
||||
}elseif(isset($_POST['100kexp'])) {
|
||||
include('moder/100kexp.php');
|
||||
require_once('moder/100kexp.php');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -863,19 +863,8 @@ $tma = '';
|
||||
|
||||
<TABLE cellSpacing=0>
|
||||
<TR id="str" onMouseDown="ChangeSkill(event,this)" onMouseUp="DropTimer()"
|
||||
onClick="OnClick(event,this);">
|
||||
<TD>• Ñèëà:</TD>
|
||||
<TD width=40 class="skill" align="right" wdth=30><?= $u->stats['s1'] ?></TD>
|
||||
<TD width=60 noWrap><?= $str ?></TD>
|
||||
<?php
|
||||
if ($u->info['ability'] > 0) { ?>
|
||||
<TD>
|
||||
<IMG id="minus_str" SRC=https://img.new-combats.com/i/minus.gif class="nonactive"
|
||||
ALT="óìåíüøèòü">
|
||||
<IMG SRC=https://img.new-combats.com/i/plus.gif class=skill ALT="óâåëè÷èòü"
|
||||
id="plus_str">
|
||||
</TD>
|
||||
<?php } ?>
|
||||
onclick="OnClick(event,this);"> <TD>• Ñèëà:</TD> <TD width=40 class="skill" align="right" wdth=30><?= $u->stats['s1'] ?><BR></small></TD> <TD width=60 noWrap><?= $dex ?></TD> <?php
|
||||
if ($u->info['ability'] > 0) { ?> <TD><IMG id="minus_dex" SRC=https://img.new-combats.com/i/minus.gif class="nonactive" ALT="óìåíüøèòü"> <IMG SRC=https://img.new-combats.com/i/plus.gif class=skill ALT="óâåëè÷èòü" id="plus_dex"></TD><?php } ?>
|
||||
</TR>
|
||||
<TR id="dex" onMouseDown="ChangeSkill( event, this )" onMouseUp="DropTimer()"
|
||||
onclick="OnClick(event,this);">
|
||||
@ -895,12 +884,7 @@ $tma = '';
|
||||
<TD width=40 class="skill" align="right" wdth=30><?= $u->stats['s3'] ?><BR></small></TD>
|
||||
<TD width=60 noWrap><?= $inst ?></TD>
|
||||
<?php
|
||||
if ($u->info['ability'] > 0) { ?>
|
||||
<TD><IMG id="minus_inst" SRC=https://img.new-combats.com/i/minus.gif class="nonactive"
|
||||
ALT="óìåíüøèòü"> <IMG SRC=https://img.new-combats.com/i/plus.gif
|
||||
class=skill ALT="óâåëè÷èòü" id="plus_inst">
|
||||
</TD><?php
|
||||
} ?>
|
||||
if ($u->info['ability'] > 0) { ?> <TD><IMG id="minus_dex" SRC=https://img.new-combats.com/i/minus.gif class="nonactive" ALT="óìåíüøèòü"> <IMG SRC=https://img.new-combats.com/i/plus.gif class=skill ALT="óâåëè÷èòü" id="plus_dex"></TD><?php } ?>
|
||||
</TR>
|
||||
<TR id="power" onMouseDown="ChangeSkill( event, this )" onMouseUp="DropTimer()"
|
||||
onclick="OnClick(event,this);">
|
||||
@ -908,12 +892,7 @@ $tma = '';
|
||||
<TD width=40 class="skill" align="right" wdth=30><?= $u->stats['s4'] ?><BR></small></TD>
|
||||
<TD width=60 noWrap></TD>
|
||||
<?php
|
||||
if ($u->info['ability'] > 0) { ?>
|
||||
<TD><IMG id="minus_power" SRC=https://img.new-combats.com/i/minus.gif class="nonactive"
|
||||
ALT="óìåíüøèòü"> <IMG SRC=https://img.new-combats.com/i/plus.gif
|
||||
class=skill ALT="óâåëè÷èòü" id="plus_power">
|
||||
</TD><?php
|
||||
} ?>
|
||||
if ($u->info['ability'] > 0) { ?> <TD><IMG id="minus_dex" SRC=https://img.new-combats.com/i/minus.gif class="nonactive" ALT="óìåíüøèòü"> <IMG SRC=https://img.new-combats.com/i/plus.gif class=skill ALT="óâåëè÷èòü" id="plus_dex"></TD><?php } ?>
|
||||
</TR>
|
||||
<?php
|
||||
if ($u->info['level'] > 3) { ?>
|
||||
@ -2318,7 +2297,7 @@ $tma = '';
|
||||
}
|
||||
}
|
||||
|
||||
if (count($coms['new']) > 0) {
|
||||
if (is_array($coms['new']) && count($coms['new']) > 0) {
|
||||
$cmss = '';
|
||||
$i = 0;
|
||||
while ($i < count($coms['new'])) {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ if(!defined('GAME'))
|
||||
|
||||
$old_battle = true;
|
||||
|
||||
include('jx/battle/log_text.php');
|
||||
require_once('jx/battle/log_text.php');
|
||||
|
||||
if( $old_battle == true ) {
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user