General information | |||
---|---|---|---|
Health: 9999999 Experience: 6000 Speed: 320 |
Summonable: Impossible Convinceable: Impossible |
Armor: 0 Defense: 0 |
Summons | Voices |
---|---|
30% chance to summon a Rift Worm |
"The ultimate will finally consume this unworthy existence!" "My masters and I will tear down barriers and join the ultimate in its realm!" "The power of the Yalahari will all be mine!" "He who has returned from beyond has taught me secrets you can't even grasp!" "You can't hope to penetrate my shields!" "Do you really think you could beat me?" |
<?php
namespace MyAAC\Plugin;
class OldWelcomeBox
{
private $db;
public function __construct(\OTS_DB_MySQL $db)
{
$this->db = $db;
}
public function getTotal()
{
$total = [];
$query = $this->db->query('SELECT count(*) as `how_much` FROM `accounts`;')->fetch(\PDO::FETCH_ASSOC);
$total['accounts'] = $query['how_much'];
$total['bannedAccounts'] = $this->getBannedPlayers();
$query = $this->db->query('SELECT count(1) as `how_much` FROM `players`;')->fetch(\PDO::FETCH_ASSOC);
$total['players'] = $query['how_much'];
$query = $this->db->query('SELECT count(1) as `how_much` FROM `guilds`;')->fetch(\PDO::FETCH_ASSOC);
$total['guilds'] = $query['how_much'];
$query = $this->db->query('SELECT count(1) as `how_much` FROM `houses`;')->fetch(\PDO::FETCH_ASSOC);
$total['houses'] = $query['how_much'];
$query = $this->db->query('SELECT count(1) as `how_much` FROM `houses` WHERE `owner` = 0;')->fetch(\PDO::FETCH_ASSOC);
$total['freeHouses'] = $query['how_much'];
$query = $this->db->query('SELECT count(1) as `how_much` FROM `houses` WHERE `owner` != 0;')->fetch(\PDO::FETCH_ASSOC);
$total['rentedHouses'] = $query['how_much'];
if (tableExist('players_online')) {
$query = $this->db->query('SELECT count(1) as `how_much` FROM `players_online`')->fetch(\PDO::FETCH_ASSOC);
$total['online'] = $query['how_much'];
}
else if (fieldExist('online', 'players')) {
"MyAAC\Plugin\OldWelcomeBox::__construct(): Argument #1 ($db) must be of type OTS_DB_MySQL, DebugBar\DataCollector\PDO\TraceablePDO given, called in /home/www/templates/old-school/index.php on line 269"
<img src="<?= $template_path; ?>/slides/38.png">
</div>
</div>
</div>
</div>
</div>
<br>
<div class="border_bottom"></div>
</div>
<div class="right_box">
<div class="corner_lt"></div><div class="corner_rt"></div><div class="corner_lb"></div><div class="corner_rb"></div>
<div class="title"><img src="<?= $template_path; ?>/images/info.png"><span style="background-image: url(<?= $template_path; ?>/widget_texts/serverinfo.png);"></span></div>
<div class="content">
<div class="rise-up-content">
<table class="sinfotable" cellspacing="0">
<?php
use MyAAC\Plugin\OldWelcomeBox;
require __DIR__ . '/OldWelcomeBox.php';
$oldWelcomeBox = new OldWelcomeBox($db);
$total = $oldWelcomeBox->getTotalCached();
?>
<tr>
<td>
<b>Status:</b></td><td> <img style="vertical-align:middle;" src="<?= $template_path; ?>/images/on.png" alt="<?= ($status['online'] ? 'Online' : 'Offline'); ?>">
</td>
</tr>
<tr>
<td>
<b>Antibot: </b>
</td>
<td><img style="vertical-align:middle;" src="<?= $template_path; ?>/images/on.png" alt="<?= ($status['online'] ? 'Online' : 'Offline'); ?>">
<script>
// Set the date we're counting down to
var countDownDate = new Date("Jan 5, 2030 23:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
}
}
if(setting('core.views_counter'))
require_once SYSTEM . 'counter.php';
if(setting('core.visitors_counter')) {
$visitors = new Visitors(setting('core.visitors_counter_ttl'));
}
/**
* @var OTS_Account $account_logged
*/
if ($logged && admin()) {
$content .= $twig->render('admin-bar.html.twig', [
'username' => USE_ACCOUNT_NAME ? $account_logged->getName() : $account_logged->getId()
]);
}
$title_full = (isset($title) ? $title . ' - ' : '') . $config['lua']['serverName'];
require $template_path . '/' . $template_index;
echo base64_decode('PCEtLSBQb3dlcmVkIGJ5IE15QUFDIDo6IGh0dHBzOi8vd3d3Lm15LWFhYy5vcmcvIC0tPg==') . PHP_EOL;
if(superAdmin()) {
echo '<!-- Generated in: ' . round(microtime(true) - START_TIME, 4) . 'ms -->';
/** echo PHP_EOL . '<!-- Queries done: ' . $db->queries() . ' -->';
*/
if (method_exists($db, 'queries')) {
echo PHP_EOL . '<!-- Queries done: ' . $db->queries() . ' -->';
}
if(function_exists('memory_get_peak_usage')) {
echo PHP_EOL . '<!-- Peak memory usage: ' . convert_bytes(memory_get_peak_usage(true)) . ' -->';
}
}
$hooks->trigger(HOOK_FINISH);
"/home/www/templates/old-school/index.php"
Key | Value |
name | "Azerus"
|
Key | Value |
myaac_csrf_token | "d148d653a6f22844b943077c0990bed0ccfb638c"
|
myaac_last_visit | 1752525862
|
myaac_last_uri | "/index.php/monsters/Azerus"
|
Key | Value |
USER | "www-data"
|
HOME | "/var/www"
|
HTTP_CF_VISITOR | "{"scheme":"https"}"
|
HTTP_CF_IPCOUNTRY | "US"
|
HTTP_CF_CONNECTING_IP | "216.73.216.103"
|
HTTP_CDN_LOOP | "cloudflare; loops=1"
|
HTTP_HOST | "pristineworld.online"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
|
HTTP_ACCEPT_ENCODING | "gzip, br"
|
HTTP_ACCEPT | "*/*"
|
HTTP_CF_RAY | "95f3db92fe7f61b1-ORD"
|
HTTP_X_FORWARDED_FOR | "216.73.216.103"
|
REDIRECT_STATUS | "200"
|
SERVER_NAME | "_"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "5.161.103.118"
|
REMOTE_USER | "" |
REMOTE_PORT | "" |
REMOTE_ADDR | "216.73.216.103"
|
SERVER_SOFTWARE | "nginx/1.18.0"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REQUEST_SCHEME | "http"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
DOCUMENT_ROOT | "/home/www"
|
DOCUMENT_URI | "/index.php"
|
REQUEST_URI | "/index.php/monsters/Azerus"
|
SCRIPT_NAME | "/index.php"
|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
SCRIPT_FILENAME | "/home/www/index.php"
|
PATH_INFO | "" |
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1752525862.9598
|
REQUEST_TIME | 1752525862
|