Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
Discord Group Whatsapp Group Facebook Page Instagram Page
items


Image Name Description Armor
8266 Koshei's ancient amulet 0
2125 crystal necklace 0
2126 bronze necklace 0
2129 wolf tooth chain 0
2130 golden amulet Many gems glitter on the amulet. 0
2131 star amulet 0
2132 silver necklace 0
2133 ruby necklace 0
2135 scarab amulet 0
2136 demonbone amulet 0
2142 ancient amulet 0
2661 scarf 0
2161 strange talisman 0
2170 silver amulet 0
2171 platinum amulet It is an amulet of protection. 0
2172 bronze amulet 0
2173 amulet of loss 0
2196 broken amulet 0
2197 stone skin amulet 0
2198 elven amulet 0
2199 garlic necklace 0
2200 protection amulet 0
2201 dragon necklace 0

portugues espanhol ingles polones

Whoops! There was an error.
TypeError
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 TypeError thrown with message "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" Stacktrace: #2 TypeError in /home/www/templates/old-school/OldWelcomeBox.php:8 #1 MyAAC\Plugin\OldWelcomeBox:__construct in /home/www/templates/old-school/index.php:269 #0 require in /home/www/index.php:172
Stack frames (3)
2
TypeError
/templates/old-school/OldWelcomeBox.php8
1
MyAAC\Plugin\OldWelcomeBox __construct
/templates/old-school/index.php269
0
require
/index.php172
/home/www/templates/old-school/OldWelcomeBox.php
<?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')) {
Arguments
  1. "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"
    
/home/www/templates/old-school/index.php
                                        <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
/home/www/index.php
    }
}
 
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);
 
Arguments
  1. "/home/www/templates/old-school/index.php"
    

Environment & details:

Key Value
type
"necklace"
empty
empty
empty
Key Value
myaac_csrf_token
"97c095d1b1b2b9d6c475538bbd9a661dce8e9ee3"
myaac_last_visit
1751968995
myaac_last_uri
"/index.php/items?type=necklace"
Key Value
USER
"www-data"
HOME
"/var/www"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_CONNECTING_IP
"216.73.216.229"
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
"95bec02f2aff109c-ORD"
HTTP_X_FORWARDED_FOR
"216.73.216.229"
REDIRECT_STATUS
"200"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_ADDR
"5.161.103.118"
REMOTE_USER
""
REMOTE_PORT
""
REMOTE_ADDR
"216.73.216.229"
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/items?type=necklace"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"type=necklace"
SCRIPT_FILENAME
"/home/www/index.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1751968995.7547
REQUEST_TIME
1751968995
empty
0. Whoops\Handler\PrettyPageHandler