Forums WoW Modding Support Archives Azerothcore Discord Archives [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?

[DiscordArchive] Maybe a better place to start looking is, what do the crash logs say cause the crash?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
08-08-2025, 09:37 PM
#11
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
rektbyfaith
08-08-2025, 09:37 PM #11

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

rektbyfaith
Administrator
0
08-08-2025, 09:37 PM
#12
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
rektbyfaith
08-08-2025, 09:37 PM #12

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

rektbyfaith
Administrator
0
08-08-2025, 09:37 PM
#13
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
rektbyfaith
08-08-2025, 09:37 PM #13

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

rektbyfaith
Administrator
0
08-08-2025, 09:38 PM
#14
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
rektbyfaith
08-08-2025, 09:38 PM #14

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

rektbyfaith
Administrator
0
08-08-2025, 09:40 PM
#15
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 :/
rektbyfaith
08-08-2025, 09:40 PM #15

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 :/

rektbyfaith
Administrator
0
08-08-2025, 09:40 PM
#16
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
rektbyfaith
08-08-2025, 09:40 PM #16

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

rektbyfaith
Administrator
0
08-08-2025, 09:42 PM
#17
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
rektbyfaith
08-08-2025, 09:42 PM #17

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

rektbyfaith
Administrator
0
08-08-2025, 09:43 PM
#18
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
rektbyfaith
08-08-2025, 09:43 PM #18

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

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