[DiscordArchive] gues that does not work?
[DiscordArchive] gues that does not work?
Archived author: fealix • Posted: 2019-09-27T17:46:39.880000+00:00
Original source
but not sure what to look for yet
Archived author: MMjr • Posted: 2019-09-27T17:49:52.907000+00:00
Original source
```#
# StrictPlayerNames
# Description: Limit player name to language specific symbol set. Prevents character
# creation and forces rename request if not allowed symbols are used
# Default: 0 - (Disable, Limited server timezone dependent client check)
# 1 - (Enabled, Strictly basic Latin characters)
# 2 - (Enabled, Strictly realm zone specific, See RealmZone setting,
# Note: Client needs to have the appropriate fonts installed which support
# the charset. For non-official localization, custom fonts need to be
# placed in clientdir/Fonts.
# 3 - (Enabled, Basic Latin characters + server timezone specific)
StrictPlayerNames = 0
#
# StrictCharterNames
# Description: Limit guild/arena team charter names to language specific symbol set.
# Prevents charter creation if not allowed symbols are used.
# Default: 0 - (Disable, Limited server timezone dependent client check)
# 1 - (Enabled, Strictly basic Latin characters)
# 2 - (Enabled, Strictly realm zone specific, See RealmZone setting,
# Note: Client needs to have the appropriate fonts installed which support
# the charset. For non-official localization, custom fonts need to be
# placed in clientdir/Fonts.
# 3 - (Enabled, Basic Latin characters + server timezone specific)
StrictCharterNames = 0
```
Archived author: MMjr • Posted: 2019-09-27T17:50:07.027000+00:00
Original source
Can you check these settings in your worldserver.conf
Archived author: MMjr • Posted: 2019-09-27T17:50:07.980000+00:00
Original source
?
Archived author: fealix • Posted: 2019-09-27T17:50:09.507000+00:00
Original source
yeah both are set to 0 on mine
Archived author: MMjr • Posted: 2019-09-27T17:50:16.901000+00:00
Original source
ah that should be good then
Archived author: fealix • Posted: 2019-09-27T17:51:10.682000+00:00
Original source
im wondering if its baked in to the game. I am able to rename people to swear words and it sticks but GM is a no go
Archived author: MMjr • Posted: 2019-09-27T17:56:25.853000+00:00
Original source
in the ObjectMgr.cpp
tring const& name, LocaleConstant locale, bool create /*= false*/)Archived author: MMjr • Posted: 2019-09-27T17:56:52.610000+00:00
Original source
```
ResponseCodes ObjectMgr::CheckPlayerName(std:
tring const& name, LocaleConstant locale, bool create /*= false*/)
{
std::wstring wname;
if (!Utf8toWStr(name, wname))
return CHAR_NAME_INVALID_CHARACTER;
if (wname.size() > MAX_PLAYER_NAME)
return CHAR_NAME_TOO_LONG;
uint32 minName = sWorld->getIntConfig(CONFIG_MIN_PLAYER_NAME);
if (wname.size() < minName)
return CHAR_NAME_TOO_SHORT;
uint32 strictMask = sWorld->getIntConfig(CONFIG_STRICT_PLAYER_NAMES);
if (!isValidString(wname, strictMask, false, create))
return CHAR_NAME_MIXED_LANGUAGES;
wstrToLower(wname);
for (size_t i = 2; i < wname.size(); ++i)
if (wname[i] == wname[i-1] && wname[i] == wname[i-2])
return CHAR_NAME_THREE_CONSECUTIVE;
return ValidateName(wname, locale);
}```
Archived author: MMjr • Posted: 2019-09-27T17:57:39.693000+00:00
Original source
However this says noting about GM not being allowed in the name