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
account/create
To play on Pristine you need an account. All you have to do to create your new account is to enter an account name, password, country and your email address. Also you have to agree to the terms presented below. If you have done so, your account name will be shown on the following page and your account password will be sent to your email address along with further instructions. If you do not receive the email with your password, please check your spam filter.

Create Pristine Account
Account Name:
Email Address:
Country:
Password:
Repeat password:
Character Name:
Sex:
Please select the following check box:

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:

empty
empty
empty
empty
Key Value
myaac_csrf_token
"bfe6316f977e2cf1c03bdc2e6d27b1529f48ba1e"
myaac_last_visit
1752291657
myaac_last_uri
"/index.php/account/create"
Key Value
USER
"www-data"
HOME
"/var/www"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_CONNECTING_IP
"216.73.216.158"
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
"95dd85ad2decf60a-ORD"
HTTP_X_FORWARDED_FOR
"216.73.216.158"
REDIRECT_STATUS
"200"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_ADDR
"5.161.103.118"
REMOTE_USER
""
REMOTE_PORT
""
REMOTE_ADDR
"216.73.216.158"
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/account/create"
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
1752291657.8278
REQUEST_TIME
1752291657
empty
0. Whoops\Handler\PrettyPageHandler