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

[ MyAAC] Can anyone help me with this error ??

You'd need to post players.php
Town is the townId in the database, apparently you're trying to put letters in there.
 
You need to configure towns.

In config.php - towns.
me towns "Honrus,Acropole,Papremis" can you send me the correct code?


Code:
// town list used when creating character
    // won't be displayed if there is only one item (rookgaard for example)
    'character_towns' => array(1),

    // characters lenght
    // This is the minimum and the maximum length that a player can create a character. It is highly recommend the maximum lenght be 21.
    'character_name_min_length' => 4,
    'character_name_max_length' => 21,

    // list of towns
    // if you use TFS 1.3 with support for 'towns' table in database, then you can ignore this - it will be configured automatically (generated from your .OTBM map)
    'towns' => array(
        0 => 'No town',
        1 => 'Sample town'
    ),
 
this would depend on what your town numbers are in your map editor
Code:
// list of towns
     'towns' => array(
        0 => 'No town',
        1 => 'Honrus',
        2 => 'Acropole',
        3 => 'Papremis',
    ),

on a real map.
1584238077076.png
Code:
// list of towns
     'towns' => array(
        0 => 'No town',
        1 => 'Venore',
        2 => 'Thais',
        51 => 'Dawnport',
        52 => 'Feyrist',
    ),

@edit.
I forgot how ugly the player editor looks, I had made some changes a while back. I must remember to work on the newest version and update it.
 
this would depend on what your town numbers are in your map editor
Code:
// list of towns
     'towns' => array(
        0 => 'No town',
        1 => 'Honrus',
        2 => 'Acropole',
        3 => 'Papremis',
    ),

on a real map.
View attachment 43105
Code:
// list of towns
     'towns' => array(
        0 => 'No town',
        1 => 'Venore',
        2 => 'Thais',
        51 => 'Dawnport',
        52 => 'Feyrist',
    ),

@edit.
I forgot how ugly the player editor looks, I had made some changes a while back. I must remember to work on the newest version and update it.


this correctly as you put it, I will now update php and tell you what happened. Thanks for a while.
Post automatically merged:

Problem solved friend, very grateful!
 
Last edited:
Back
Top