Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] so even trying to use player:SaveToDB() immediately after executing the mysql command doesnt work to

[DiscordArchive] so even trying to use player:SaveToDB() immediately after executing the mysql command doesnt work to

[DiscordArchive] so even trying to use player:SaveToDB() immediately after executing the mysql command doesnt work to

rektbyfaith
Administrator
0
08-08-2025, 09:44 PM
#1
Archived author: Ahuramazda • Posted: 2025-08-08T21:44:10.218000+00:00
Original source

so even trying to use player:SaveToDB() immediately after executing the mysql command doesnt work to save it?
rektbyfaith
08-08-2025, 09:44 PM #1

Archived author: Ahuramazda • Posted: 2025-08-08T21:44:10.218000+00:00
Original source

so even trying to use player:SaveToDB() immediately after executing the mysql command doesnt work to save it?

rektbyfaith
Administrator
0
08-08-2025, 09:44 PM
#2
Archived author: Ahuramazda • Posted: 2025-08-08T21:44:30.473000+00:00
Original source

just for clarification... making sure eyeballing it was a bad idea or not
rektbyfaith
08-08-2025, 09:44 PM #2

Archived author: Ahuramazda • Posted: 2025-08-08T21:44:30.473000+00:00
Original source

just for clarification... making sure eyeballing it was a bad idea or not

rektbyfaith
Administrator
0
08-08-2025, 09:45 PM
#3
Archived author: metallinos • Posted: 2025-08-08T21:45:36.307000+00:00
Original source

No, the issue is that saving to the db will hard overwrite anything you change in the characters table directly
rektbyfaith
08-08-2025, 09:45 PM #3

Archived author: metallinos • Posted: 2025-08-08T21:45:36.307000+00:00
Original source

No, the issue is that saving to the db will hard overwrite anything you change in the characters table directly

rektbyfaith
Administrator
0
08-08-2025, 09:45 PM
#4
Archived author: metallinos • Posted: 2025-08-08T21:45:55.272000+00:00
Original source

You can only edit this table directly when a player is logged out
rektbyfaith
08-08-2025, 09:45 PM #4

Archived author: metallinos • Posted: 2025-08-08T21:45:55.272000+00:00
Original source

You can only edit this table directly when a player is logged out

rektbyfaith
Administrator
0
08-08-2025, 09:46 PM
#5
Archived author: Ahuramazda • Posted: 2025-08-08T21:46:24.575000+00:00
Original source

ok, very interesting info then
rektbyfaith
08-08-2025, 09:46 PM #5

Archived author: Ahuramazda • Posted: 2025-08-08T21:46:24.575000+00:00
Original source

ok, very interesting info then

rektbyfaith
Administrator
0
08-08-2025, 09:46 PM
#6
Archived author: Ahuramazda • Posted: 2025-08-08T21:46:32.235000+00:00
Original source

cause I had nooo idea at all it worked that way, lol
rektbyfaith
08-08-2025, 09:46 PM #6

Archived author: Ahuramazda • Posted: 2025-08-08T21:46:32.235000+00:00
Original source

cause I had nooo idea at all it worked that way, lol

rektbyfaith
Administrator
0
08-08-2025, 09:47 PM
#7
Archived author: metallinos • Posted: 2025-08-08T21:47:10.710000+00:00
Original source

Thank God it works that way, though. Otherwise the whole server would be very very laggy and dependent on sequential database operations. It would have huuuge diffs and be largely unplayable
rektbyfaith
08-08-2025, 09:47 PM #7

Archived author: metallinos • Posted: 2025-08-08T21:47:10.710000+00:00
Original source

Thank God it works that way, though. Otherwise the whole server would be very very laggy and dependent on sequential database operations. It would have huuuge diffs and be largely unplayable

rektbyfaith
Administrator
0
08-08-2025, 09:50 PM
#8
Archived author: Ahuramazda • Posted: 2025-08-08T21:50:10.638000+00:00
Original source

def food for thought though and nice idea of making a timed event after logout
rektbyfaith
08-08-2025, 09:50 PM #8

Archived author: Ahuramazda • Posted: 2025-08-08T21:50:10.638000+00:00
Original source

def food for thought though and nice idea of making a timed event after logout

rektbyfaith
Administrator
0
08-08-2025, 09:50 PM
#9
Archived author: Ahuramazda • Posted: 2025-08-08T21:50:18.029000+00:00
Original source

Ill see what I can maybe brainstorm for it
rektbyfaith
08-08-2025, 09:50 PM #9

Archived author: Ahuramazda • Posted: 2025-08-08T21:50:18.029000+00:00
Original source

Ill see what I can maybe brainstorm for it

rektbyfaith
Administrator
0
08-09-2025, 04:43 AM
#10
Archived author: Aldori • Posted: 2025-08-09T04:43:08.857000+00:00
Original source

I think the talent reset upon every login is due to this line:

https://github.com/azerothcore/azerothco....cpp#L2578
[Embed: azerothcore-wotlk/src/server/game/Entities/Player/Player.cpp at mas...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...Player.cpp
rektbyfaith
08-09-2025, 04:43 AM #10

Archived author: Aldori • Posted: 2025-08-09T04:43:08.857000+00:00
Original source

I think the talent reset upon every login is due to this line:

https://github.com/azerothcore/azerothco....cpp#L2578
[Embed: azerothcore-wotlk/src/server/game/Entities/Player/Player.cpp at mas...]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...Player.cpp

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