Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] has WPP been updated to parse spawntracking yet?

[DiscordArchive] has WPP been updated to parse spawntracking yet?

[DiscordArchive] has WPP been updated to parse spawntracking yet?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-04-2025, 05:22 PM
#1
Archived author: Telegrill • Posted: 2025-01-04T17:22:43.804000+00:00
Original source

has WPP been updated to parse spawntracking yet?
rektbyfaith
01-04-2025, 05:22 PM #1

Archived author: Telegrill • Posted: 2025-01-04T17:22:43.804000+00:00
Original source

has WPP been updated to parse spawntracking yet?

rektbyfaith
Administrator
0
01-04-2025, 05:26 PM
#2
Archived author: ModoX • Posted: 2025-01-04T17:26:13.550000+00:00
Original source

thoon
rektbyfaith
01-04-2025, 05:26 PM #2

Archived author: ModoX • Posted: 2025-01-04T17:26:13.550000+00:00
Original source

thoon

rektbyfaith
Administrator
0
01-04-2025, 05:26 PM
#3
Archived author: ModoX • Posted: 2025-01-04T17:26:16.555000+00:00
Original source

it was just merged to master
rektbyfaith
01-04-2025, 05:26 PM #3

Archived author: ModoX • Posted: 2025-01-04T17:26:16.555000+00:00
Original source

it was just merged to master

rektbyfaith
Administrator
0
01-04-2025, 05:26 PM
#4
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 <Confusedword:770403424965492738>
rektbyfaith
01-04-2025, 05:26 PM #4

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 <Confusedword:770403424965492738>

rektbyfaith
Administrator
0
01-04-2025, 05:28 PM
#5
Archived author: SpikeZ • Posted: 2025-01-04T17:28:35.685000+00:00
Original source

I dont see a commit to wpp soooo......
rektbyfaith
01-04-2025, 05:28 PM #5

Archived author: SpikeZ • Posted: 2025-01-04T17:28:35.685000+00:00
Original source

I dont see a commit to wpp soooo......

rektbyfaith
Administrator
0
01-04-2025, 05:29 PM
#6
Archived author: MaxtorCoder • Posted: 2025-01-04T17:29:48.861000+00:00
Original source


[Image: image.png?ex=690c324c&is=690ae0cc&hm=3d9...3aea42a6f&]
rektbyfaith
01-04-2025, 05:29 PM #6

Archived author: MaxtorCoder • Posted: 2025-01-04T17:29:48.861000+00:00
Original source


[Image: image.png?ex=690c324c&is=690ae0cc&hm=3d9...3aea42a6f&]

rektbyfaith
Administrator
0
01-04-2025, 05:38 PM
#7
Archived author: Northstrider • Posted: 2025-01-04T17:38:50.864000+00:00
Original source

c'thoon
rektbyfaith
01-04-2025, 05:38 PM #7

Archived author: Northstrider • Posted: 2025-01-04T17:38:50.864000+00:00
Original source

c'thoon

rektbyfaith
Administrator
0
01-04-2025, 06:59 PM
#8
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:Confusedtring_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:Confusedtring_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:Confusedtring_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; * /
rektbyfaith
01-04-2025, 06:59 PM #8

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:Confusedtring_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:Confusedtring_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:Confusedtring_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; * /

rektbyfaith
Administrator
0
01-04-2025, 07:02 PM
#9
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..
rektbyfaith
01-04-2025, 07:02 PM #9

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..

rektbyfaith
Administrator
0
01-04-2025, 07:03 PM
#10
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
rektbyfaith
01-04-2025, 07:03 PM #10

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

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)