• 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!

Windows (Help) Temple position is wrong

Aldo Axel

New Member
Joined
Jul 14, 2014
Messages
70
Reaction score
4
Sup, i got a problem when i create a char in my web (gesior) jumping an error saying temple position is wrong... but i my config.php is correct i edited config correctly, and town id is correctly.
Here i put my config.php:

PHP:
<?PHP


$config['site']['newchar_towns'][0] = array(3);
$config['site']['newchar_towns'][1] = array(3);
$config['site']['newchar_towns'] = array(3);

$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight');
$vocation_name[0][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight');
$vocation_name[1][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');

#######################################
######### Cidades do Servidor #########
#######################################
$towns_list[0] = array(2 => 'Carlin', 3 => 'Thais', 4 => 'Venore', 5 => 'Ab Dendriel', 6 => 'Kazorddon', 7 => 'Darashia', 8 => 'Ankrahmun', 9 => 'Edron', 10 => 'Liberty Bay', 11 => 'Port Hope', 12 => 'Svargrond', 13 => 'Yalahar', 14 => 'Farmine', 17 => 'Gray Island');

?>
Thanks!
P: sorry for my bad english.
 
And I'm supposed to set in acc mang?
I think this edit, or else correct me:


PHP:
in_content .= '<tr><td><input type="radio" name="newchartown" value="'.$town_id.'" ';
if($newchar_town == $town_id)
$main_content .= 'checked="checked" ';
$main_content .= '>'.$towns_list[$world_id][$town_id].'</td></tr>';
 
check your char samples pos in the database maybe?
Could be the solution to an execution of SQL in phpmyadmin forcibly put to create a char id town X or certain position?
Auto answer-question.
 
Back
Top