[DiscordArchive] What leads you to believe player object was deleted from that crashlog?
[DiscordArchive] What leads you to believe player object was deleted from that crashlog?
Archived author: Takenbacon • Posted: 2025-01-09T14:54:42.050000+00:00
Original source
What leads you to believe player object was deleted from that crashlog?
Archived author: Takenbacon • Posted: 2025-01-09T14:54:55.490000+00:00
Original source
Looks more like a form of memory corruption to me
Archived author: Takenbacon • Posted: 2025-01-09T14:55:14.676000+00:00
Original source
Not that the whole player object data is bad
Archived author: Takenbacon • Posted: 2025-01-09T15:01:53.340000+00:00
Original source
I suppose it could be possible if there's a spell that forces a logout or something odd?
rocessSpellQueue is one of the first (well almost) functions called in Player::Update. I believe in most cases it is the first function that interacts with a container. This makes me think that we would encounter such crash if we were using a deleted player object.
Archived author: walkline • Posted: 2025-01-09T15:20:34.214000+00:00
Original source
I don't have direct evidence that this is the case in the crash. But what makes you think that the whole object was not deleted in that crash log? I think Player:
rocessSpellQueue is one of the first (well almost) functions called in Player::Update. I believe in most cases it is the first function that interacts with a container. This makes me think that we would encounter such crash if we were using a deleted player object.
Archived author: Takenbacon • Posted: 2025-01-09T16:03:06.956000+00:00
Original source
It could be, I would lean more into possibly a queued spell causing a logout rather than somehow a lingering reference in the map container though, that would be exceptionally difficult to do
Archived author: Takenbacon • Posted: 2025-01-09T16:03:42.795000+00:00
Original source
But with all these janky mods doing weird ass stuff who knows anymore
Archived author: walkline • Posted: 2025-01-09T23:44:59.048000+00:00
Original source
What the heck? Is it a bugged linked list implementation for cases when it's the beginning or the end of the list, or did I misunderstand something? https://github.com/azerothcore/azerothco...List.h#L54
Archived author: Sogla • Posted: 2025-01-10T10:27:33.640000+00:00
Original source
I learned that the head and tail in this LinkedList implementation are "sentinel nodes". They hold no values and only mark the beginning and end of the list, so they aren't considered to be part of the list