[DiscordArchive] Anyone using unix-sock for mysql connections on linux?
[DiscordArchive] Anyone using unix-sock for mysql connections on linux?
Archived author: BrokenGabe • Posted: 2025-08-07T17:08:29.592000+00:00
Original source
Anyone using unix-sock for mysql connections on linux?
Archived author: BrokenGabe • Posted: 2025-08-07T18:04:36.418000+00:00
Original source
nvm
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."*
Archived author: Nyeriah • Posted: 2025-08-07T18:48:04.345000+00:00
Original source
Disable spell validation in config
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.
Archived author: Algardo • Posted: 2025-08-07T18:54:11.202000+00:00
Original source
if you mean ValidateSkillLearnedBySpells, doesnt work
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
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