korean account and character name #3283
-
I don't speak English very well, so I write with a translator. I want to make this in Korean. But as soon as I start, I have a problem. I like the classic style and I don't want to separate the account and the character. So I set MULTISESSION_MODE = 0, AUTO_CREATE_CHARACTER_WITH_ACCOUNT = True. Then when I create account #1, there is no problem, the account and the character have the same name. But when I create a second normal account and enter the game, the character name is XXX. If I delete the character and enter the same character name as the account name with charcreate again, it works fine. So I created another account name in English and entered the game, and the character name was set as normal for the English account. Perhaps this problem occurs when the account is created and the character is created with a Korean account name, so where should I look? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
So to make sure I understand what's happening:
What you need to do is override the # in typeclasses/characters.py
# ...
class Character(ObjectParent, DefaultCharacter):
# ...
@classmethod
def normalize_name(cls, name):
return name This is because by default, the
|
Beta Was this translation helpful? Give feedback.
So to make sure I understand what's happening:
MULTISESSION_MODE=0
, the Character name becomesXXX
.What you need to do is override the
mygame/typeclasses/characters.py
Character class
e.g. like this:This is because by default, the
normalize_name
method is "latinifiying" the character name - this is done for security reasons, to avoid people putting Unicode characters in there that make it look like another name. Non…