• 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 v0.8.10 / MyAAC v0.9.0-alpha Character name with numbers

error656

New Member
Joined
Aug 27, 2007
Messages
60
Reaction score
1
Hello
I would like to be able to use numbers when creating a character's name. I couldn't find such an option in the configuration, or I overlooked it. If this is not possible in the configuration, has anyone made such changes directly in the files, or knows what should be changed.
Thank you for any help.
Regards
Error656
 

Attachments

looks like this would be enough:


I also need to change system\libs\CreateCharacter.php

in section:

Lua:
$name_length = strlen($name);
        if(strspn($name, "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM- '") != $name_length) {
            $errors['name'] = 'This name contains invalid letters, words or format. Please use only a-Z, - , \' and space.';
            return false;
        }

but it work now, Thank you very much.
 
Back
Top