[DiscordArchive] Maybe a better place to start looking is, what do the crash logs say cause the crash?
[DiscordArchive] Maybe a better place to start looking is, what do the crash logs say cause the crash?
Archived author: metallinos • Posted: 2025-08-08T21:37:11.327000+00:00
Original source
So updating any character table while the character is logged in usually means your change will be overwritten by a logout
Archived author: metallinos • Posted: 2025-08-08T21:37:27.381000+00:00
Original source
So, just use https://www.azerothcore.org/eluna/Player...alent.html instead to update the cache and the server will handle the db save on its own
[Embed: Player:AddBonusTalent - Eluna]
API documentation for the Player:AddBonusTalent method in the Eluna engine.
https://www.azerothcore.org/eluna/Player...alent.html
Archived author: metallinos • Posted: 2025-08-08T21:37:45.727000+00:00
Original source
But again the issue isn't the script, it's the understanding of the runtime
Archived author: metallinos • Posted: 2025-08-08T21:38:15.611000+00:00
Original source
Forcing the server to crash before a periodical save is carried out means your local db change won't be overwritten and will be loaded in after the crash
Archived author: Ahuramazda • Posted: 2025-08-08T21:40:07.122000+00:00
Original source
The AddBonusTalent thing cant be used in my version due to being older, and when I tried to update to a newer version and recompile I was getting all kinds of errors , thats part of why iw as going the route I have been :/
Archived author: metallinos • Posted: 2025-08-08T21:40:45.303000+00:00
Original source
Well long story short you can't update any part of the characters table during the runtime so you're out of luck unless you decide to update your core
Archived author: metallinos • Posted: 2025-08-08T21:42:39.879000+00:00
Original source
If you want to get creative, you can write a more complex script that:
1. Tracks and retains the extra talent points in Eluna cache as they are being awarded
2. Award a "normal" talent point to the player (which will be lost next time the player logs in due to talent system verifications)
3. After next logout, run the execute to save the extra bonus talent to the characters table, but with a timed event say 1000ms after logout
Archived author: metallinos • Posted: 2025-08-08T21:43:00.666000+00:00
Original source
It should work but would be rather ineffective and still lock you in with an old and likely a bit hacky setup