Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Anyone using unix-sock for mysql connections on linux?

[DiscordArchive] Anyone using unix-sock for mysql connections on linux?

[DiscordArchive] Anyone using unix-sock for mysql connections on linux?

rektbyfaith
Administrator
0
08-07-2025, 05:08 PM
#1
Archived author: BrokenGabe • Posted: 2025-08-07T17:08:29.592000+00:00
Original source

Anyone using unix-sock for mysql connections on linux?
rektbyfaith
08-07-2025, 05:08 PM #1

Archived author: BrokenGabe • Posted: 2025-08-07T17:08:29.592000+00:00
Original source

Anyone using unix-sock for mysql connections on linux?

rektbyfaith
Administrator
0
08-07-2025, 06:04 PM
#2
Archived author: BrokenGabe • Posted: 2025-08-07T18:04:36.418000+00:00
Original source

nvm
rektbyfaith
08-07-2025, 06:04 PM #2

Archived author: BrokenGabe • Posted: 2025-08-07T18:04:36.418000+00:00
Original source

nvm

rektbyfaith
Administrator
0
08-07-2025, 06:41 PM
#3
Archived author: Algardo • Posted: 2025-08-07T18:41:39.266000+00:00
Original source

Hello guys Im having problems using playercreateinfo_spell_custom table. I changed the PlayerStart.CustomSpells to 1 in config, its working, when i log with fresh character, he learns the spells.
The problem comes when i unlearn some spells and when i log out and log in, spells are learnt again.
Reading the documentation made me think its only on first char logging, anyone can confirm if its bug or it must work like that, so spells playercreateinfo_spell_custom must be spells player never unlearn.
Thanks in advance.

*"This table holds information on what spells newly created characters should start with if the PlayerStart.AllSpells setting is enabled in worldserver.conf. A character in this table is defined by his/her race and class combination."*
rektbyfaith
08-07-2025, 06:41 PM #3

Archived author: Algardo • Posted: 2025-08-07T18:41:39.266000+00:00
Original source

Hello guys Im having problems using playercreateinfo_spell_custom table. I changed the PlayerStart.CustomSpells to 1 in config, its working, when i log with fresh character, he learns the spells.
The problem comes when i unlearn some spells and when i log out and log in, spells are learnt again.
Reading the documentation made me think its only on first char logging, anyone can confirm if its bug or it must work like that, so spells playercreateinfo_spell_custom must be spells player never unlearn.
Thanks in advance.

*"This table holds information on what spells newly created characters should start with if the PlayerStart.AllSpells setting is enabled in worldserver.conf. A character in this table is defined by his/her race and class combination."*

rektbyfaith
Administrator
0
08-07-2025, 06:48 PM
#4
Archived author: Nyeriah • Posted: 2025-08-07T18:48:04.345000+00:00
Original source

Disable spell validation in config
rektbyfaith
08-07-2025, 06:48 PM #4

Archived author: Nyeriah • Posted: 2025-08-07T18:48:04.345000+00:00
Original source

Disable spell validation in config

rektbyfaith
Administrator
0
08-07-2025, 06:50 PM
#5
Archived author: Revision • Posted: 2025-08-07T18:50:28.390000+00:00
Original source

I can only see spells from playercreateinfo_spell_custom being triggered on login and not on first login.
rektbyfaith
08-07-2025, 06:50 PM #5

Archived author: Revision • Posted: 2025-08-07T18:50:28.390000+00:00
Original source

I can only see spells from playercreateinfo_spell_custom being triggered on login and not on first login.

rektbyfaith
Administrator
0
08-07-2025, 06:54 PM
#6
Archived author: Algardo • Posted: 2025-08-07T18:54:11.202000+00:00
Original source

if you mean ValidateSkillLearnedBySpells, doesnt work
rektbyfaith
08-07-2025, 06:54 PM #6

Archived author: Algardo • Posted: 2025-08-07T18:54:11.202000+00:00
Original source

if you mean ValidateSkillLearnedBySpells, doesnt work

rektbyfaith
Administrator
0
08-07-2025, 07:02 PM
#7
Archived author: Algardo • Posted: 2025-08-07T19:02:10.828000+00:00
Original source

ye but in documentation it says it holds information on what spells NEWLY CREATED CHARACTERS should start with, dunno if its working as intented or its an error and it should be in OnPlayerFirstLogin
rektbyfaith
08-07-2025, 07:02 PM #7

Archived author: Algardo • Posted: 2025-08-07T19:02:10.828000+00:00
Original source

ye but in documentation it says it holds information on what spells NEWLY CREATED CHARACTERS should start with, dunno if its working as intented or its an error and it should be in OnPlayerFirstLogin

rektbyfaith
Administrator
0
08-07-2025, 07:35 PM
#8
Archived author: Algardo • Posted: 2025-08-07T19:35:41.466000+00:00
Original source

i just commented // LearnCustomSpells(); from
bool Player::LoadFromDB(ObjectGuid playerGuid, CharacterDatabaseQueryHolder const& holder) - playerstorage.cpp
void Player::resetSpells() - player.cpp

(in case its useful for someone)

i guess it wont break anything, but if you think so, i appreciate any comment about it
rektbyfaith
08-07-2025, 07:35 PM #8

Archived author: Algardo • Posted: 2025-08-07T19:35:41.466000+00:00
Original source

i just commented // LearnCustomSpells(); from
bool Player::LoadFromDB(ObjectGuid playerGuid, CharacterDatabaseQueryHolder const& holder) - playerstorage.cpp
void Player::resetSpells() - player.cpp

(in case its useful for someone)

i guess it wont break anything, but if you think so, i appreciate any comment about it

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