• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior 2012] First Tibia Global Layout

got just one problem

Warning: mysql_connect(): Access denied for user 'www-data'@'localhost' (using password: NO) in xxx /pages/accountmanagement.php on line 717 Access denied for user 'www-data'@'localhost' (using password: NO)
 
MAN PLEASE HELP ME, CREATE ACCOUNT DON'T WORK, LAG AND WHITE SCREEN AND NO CREATE

manow ajudae, quando cria a conta ele da lag, fica tela branca, e não cria, isso quando todas as informações estão corretas, vc é br né? '-'

sorry my bad english
 
Hey man, nice work, but i have this problem, when i create a account i have to create a character WITHOUT vocation, and when i create a character with a existent acc i can choose the vocation, can you fix it?
 
Hey man, nice work, but i have this problem, when i create a account i have to create a character WITHOUT vocation, and when i create a character with a existent acc i can choose the vocation, can you fix it?
Yes i can, but what do u want ? create with or without vocation ?
 
Ok. go to folder config and open config.php file and

change this
Code:
$config['site']['newchar_vocations'][0] = array(0 => 'Rook Sample', 1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');

for this

Code:
$config['site']['newchar_vocations'][0] = array(0 => 'Rook Sample');
 
Ok. go to folder config and open config.php file and

change this
Code:
$config['site']['newchar_vocations'][0] = array(0 => 'Rook Sample', 1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');

for this

Code:
$config['site']['newchar_vocations'][0] = array(0 => 'Rook Sample');
Ty man, another question, how i can add a page in that layout? i'm new in gesior 2012 because i want add war system page
 
Man, another question, how i can show the guild of a player in characters.php?
 
just add this

Code:
$rank_of_player = $player->getRank();
        if(!empty($rank_of_player))
            {
                $bgcolor = (($number_of_rows++ % 2 == 1) ?  $config['site']['darkborder'] : $config['site']['lightborder']);
                    $main_content .= '
                        <tr bgcolor='.$bgcolor.'>
                            <td>Guild Membership</td>
                            <td>' . htmlspecialchars($rank_of_player->getName()) . ' of the <a href="?subtopic=guilds&action=show&guild='. $rank_of_player->getGuild()->getID() .'">' . htmlspecialchars($rank_of_player->getGuild()->getName()) . '</a></td>
                        </tr>
                    ';
            }
 
just add this

Code:
$rank_of_player = $player->getRank();
        if(!empty($rank_of_player))
            {
                $bgcolor = (($number_of_rows++ % 2 == 1) ?  $config['site']['darkborder'] : $config['site']['lightborder']);
                    $main_content .= '
                        <tr bgcolor='.$bgcolor.'>
                            <td>Guild Membership</td>
                            <td>' . htmlspecialchars($rank_of_player->getName()) . ' of the <a href="?subtopic=guilds&action=show&guild='. $rank_of_player->getGuild()->getID() .'">' . htmlspecialchars($rank_of_player->getGuild()->getName()) . '</a></td>
                        </tr>
                    ';
            }
Ty man the last thing (i feel i'm annoying you ) but when on account management login on on my account, i wanna manage my acc on this link index.php?subtopic=accountmanagement&action=manage, and the web say this: No database selected
What's wrong?
 
Solved, just go to createaccout.php and change this:

PHP:
$voc = array(); // if empty, Rook Sample will be used
for this:
PHP:
$voc = array(); // if empty, Rook Sample will be used
$voc[1] = 'Sorcerer';
$voc[2] = 'Druid';
$voc[3] = 'Paladin';
$voc[4] = 'Knight';
 
Very good job!! rep++ Just a few more problems...
How can I change the download page when you have created an account to 8.6, I tried to change from 10.10 to 8.6 in create account.php but didn't worked :p

and I can't make "New news" :/

And forum doesn't work for me

Best regards,
Freddzor11
 
Back
Top