[DiscordArchive] has WPP been updated to parse spawntracking yet?
[DiscordArchive] has WPP been updated to parse spawntracking yet?
Archived author: Telegrill • Posted: 2025-01-04T17:22:43.804000+00:00
Original source
has WPP been updated to parse spawntracking yet?
Archived author: ModoX • Posted: 2025-01-04T17:26:13.550000+00:00
Original source
thoon
Archived author: ModoX • Posted: 2025-01-04T17:26:16.555000+00:00
Original source
it was just merged to master
word:770403424965492738>
Archived author: Telegrill • Posted: 2025-01-04T17:26:53.857000+00:00
Original source
ah well, I thought it was set up at the same time <
word:770403424965492738>
Archived author: SpikeZ • Posted: 2025-01-04T17:28:35.685000+00:00
Original source
I dont see a commit to wpp soooo......
![[Image: image.png?ex=690c324c&is=690ae0cc&hm=3d9...3aea42a6f&]](https://cdn.discordapp.com/attachments/376457124726702080/1325154230876766339/image.png?ex=690c324c&is=690ae0cc&hm=3d9f658103d9ea0b9694ddb640227ee9c3286eddc6415d8e4cc1ccf3aea42a6f&)
Archived author: MaxtorCoder • Posted: 2025-01-04T17:29:48.861000+00:00
Original source
![[Image: image.png?ex=690c324c&is=690ae0cc&hm=3d9...3aea42a6f&]](https://cdn.discordapp.com/attachments/376457124726702080/1325154230876766339/image.png?ex=690c324c&is=690ae0cc&hm=3d9f658103d9ea0b9694ddb640227ee9c3286eddc6415d8e4cc1ccf3aea42a6f&)
Archived author: Northstrider • Posted: 2025-01-04T17:38:50.864000+00:00
Original source
c'thoon
tring_view name, LocaleConstant locale, bool create /*= false*/)
tring_view name)
tring_view name)Archived author: Иллидан • Posted: 2025-01-04T18:59:53.690000+00:00
Original source
I searched the entire project for CheckPlayerName and it was found in ObjectMgr.cpp and ObjectMgr.h in the following functions
ResponseCodes ObjectMgr::CheckPlayerName(std:
tring_view 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 sDB2Manager.ValidateName(wname, locale);
}
bool ObjectMgr::IsValidCharterName(std:
tring_view name)
{
std::wstring wname;
if (!Utf8toWStr(name, wname))
return false;
if (wname.size() > MAX_CHARTER_NAME)
return false;
uint32 minName = sWorld->getIntConfig(CONFIG_MIN_CHARTER_NAME);
if (wname.size() < minName)
return false;
uint32 strictMask = sWorld->getIntConfig(CONFIG_STRICT_CHARTER_NAMES);
return isValidString(wname, strictMask, true);
}
PetNameInvalidReason ObjectMgr::CheckPetName(std:
tring_view name)
{
std::wstring wname;
if (!Utf8toWStr(name, wname))
return PET_NAME_INVALID;
if (wname.size() > MAX_PET_NAME)
return PET_NAME_TOO_LONG;
uint32 minName = sWorld->getIntConfig(CONFIG_MIN_PET_NAME);
if (wname.size() < minName)
return PET_NAME_TOO_SHORT;
/ * uint32 strictMask = sWorld->getIntConfig(CONFIG_STRICT_PET_NAMES);
if (!isValidString(wname, strictMask, false))
return PET_NAME_MIXED_LANGUAGES; * /
Archived author: Иллидан • Posted: 2025-01-04T19:02:24.120000+00:00
Original source
I have disabled such blocks for now, but I doubt that this is exactly what is responsible for checking the contents in the names of characters and pets, it seems that in the previous version of Triniticore, similar checks were found in other parts of the project, but I don’t remember what I entered into the search bar then..
Archived author: Tea • Posted: 2025-01-04T19:03:24.639000+00:00
Original source
ah yes, you completely didnt understand what hotfixes database is for