Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] could practically copy this player.cpp into mine so that the bug should be gone?

[DiscordArchive] could practically copy this player.cpp into mine so that the bug should be gone?

[DiscordArchive] could practically copy this player.cpp into mine so that the bug should be gone?

rektbyfaith
Administrator
0
07-31-2022, 01:49 PM
#1
Archived author: Krutok • Posted: 2022-07-31T13:49:44.392000+00:00
Original source

could practically copy this player.cpp into mine so that the bug should be gone?
rektbyfaith
07-31-2022, 01:49 PM #1

Archived author: Krutok • Posted: 2022-07-31T13:49:44.392000+00:00
Original source

could practically copy this player.cpp into mine so that the bug should be gone?

rektbyfaith
Administrator
0
07-31-2022, 01:51 PM
#2
Archived author: Tea • Posted: 2022-07-31T13:51:45.489000+00:00
Original source

if you copy the entire file, you will break all other custom changes that fork has on top of our code
rektbyfaith
07-31-2022, 01:51 PM #2

Archived author: Tea • Posted: 2022-07-31T13:51:45.489000+00:00
Original source

if you copy the entire file, you will break all other custom changes that fork has on top of our code

rektbyfaith
Administrator
0
07-31-2022, 01:55 PM
#3
Archived author: Krutok • Posted: 2022-07-31T13:55:03.723000+00:00
Original source

No, I just mean the one line of code:

change:

if (m_session->HasPermission(rbac::RBAC_PERM_USE_START_GM_LEVEL))
{
uint32 gm_level = std::max(sWorld->getIntConfig(CONFIG_START_GM_LEVEL), sWorld->getIntConfig(CONFIG_START_DEATH_KNIGHT_PLAYER_LEVEL));
if (gm_level > start_level)
start_level = gm_level;
}
with

if (m_session->HasPermission(rbac::RBAC_PERM_USE_START_GM_LEVEL))
{
uint32 gm_level = GetClass() != CLASS_DEATH_KNIGHT
? sWorld->getIntConfig(CONFIG_START_GM_LEVEL)
: std::max(sWorld->getIntConfig(CONFIG_START_GM_LEVEL), sWorld->getIntConfig(CONFIG_START_DEATH_KNIGHT_PLAYER_LEVEL));

if (gm_level > start_level)
start_level = gm_level;
}
rektbyfaith
07-31-2022, 01:55 PM #3

Archived author: Krutok • Posted: 2022-07-31T13:55:03.723000+00:00
Original source

No, I just mean the one line of code:

change:

if (m_session->HasPermission(rbac::RBAC_PERM_USE_START_GM_LEVEL))
{
uint32 gm_level = std::max(sWorld->getIntConfig(CONFIG_START_GM_LEVEL), sWorld->getIntConfig(CONFIG_START_DEATH_KNIGHT_PLAYER_LEVEL));
if (gm_level > start_level)
start_level = gm_level;
}
with

if (m_session->HasPermission(rbac::RBAC_PERM_USE_START_GM_LEVEL))
{
uint32 gm_level = GetClass() != CLASS_DEATH_KNIGHT
? sWorld->getIntConfig(CONFIG_START_GM_LEVEL)
: std::max(sWorld->getIntConfig(CONFIG_START_GM_LEVEL), sWorld->getIntConfig(CONFIG_START_DEATH_KNIGHT_PLAYER_LEVEL));

if (gm_level > start_level)
start_level = gm_level;
}

rektbyfaith
Administrator
0
07-31-2022, 01:55 PM
#4
Archived author: Tea • Posted: 2022-07-31T13:55:20.040000+00:00
Original source

yes, you should be able to change just that line
rektbyfaith
07-31-2022, 01:55 PM #4

Archived author: Tea • Posted: 2022-07-31T13:55:20.040000+00:00
Original source

yes, you should be able to change just that line

rektbyfaith
Administrator
0
07-31-2022, 01:56 PM
#5
Archived author: Krutok • Posted: 2022-07-31T13:56:32.672000+00:00
Original source

this should not destroy the custom codes
rektbyfaith
07-31-2022, 01:56 PM #5

Archived author: Krutok • Posted: 2022-07-31T13:56:32.672000+00:00
Original source

this should not destroy the custom codes

rektbyfaith
Administrator
0
07-31-2022, 02:05 PM
#6
Archived author: Krutok • Posted: 2022-07-31T14:05:27.743000+00:00
Original source

fix works new chars start at level 1
rektbyfaith
07-31-2022, 02:05 PM #6

Archived author: Krutok • Posted: 2022-07-31T14:05:27.743000+00:00
Original source

fix works new chars start at level 1

rektbyfaith
Administrator
0
07-31-2022, 02:20 PM
#7
Archived author: Krutok • Posted: 2022-07-31T14:20:22.871000+00:00
Original source

but i have another question, why can't you create accounts in the game but only in the console?
rektbyfaith
07-31-2022, 02:20 PM #7

Archived author: Krutok • Posted: 2022-07-31T14:20:22.871000+00:00
Original source

but i have another question, why can't you create accounts in the game but only in the console?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)