[DiscordArchive] What's the difference between the - and regular versions of a spell in the spell_proc table?
[DiscordArchive] What's the difference between the - and regular versions of a spell in the spell_proc table?
Archived author: Snowcraft • Posted: 2025-08-04T15:29:37.548000+00:00
Original source
Yey. I got my spell_proc entry to actually work this time.
Archived author: stoneharry • Posted: 2025-08-04T15:30:11.234000+00:00
Original source
This only makes sense to me if a DELETE occurs somewhere though. UPDATEs, shouldn't result in the deletion of the record, especially as client side you can continue to interact with the item until you change map or relog
Archived author: Takenbacon • Posted: 2025-08-04T15:30:16.705000+00:00
Original source
for local testing I would run multiple threads and apply random timed sleeps in async mysql threads, it helped reproduce a lot of weird shit
Archived author: stoneharry • Posted: 2025-08-04T15:30:32.929000+00:00
Original source
i.e: changing the items position in your bag would execute a update server side, and I assume throw an error if the item no longer exists
Archived author: stoneharry • Posted: 2025-08-04T15:30:48.713000+00:00
Original source
seems more like a cache issue, but really no idea at this point. It's most likely threading somewhere.
Archived author: walkline • Posted: 2025-08-04T15:32:53.764000+00:00
Original source
To the items disappearing topic. Also take into account that item guid generator is not thread safe, some collisions may lead to items disappearing.
Archived author: Takenbacon • Posted: 2025-08-04T15:34:47.220000+00:00
Original source
is it even possible for it to really be unsafe? I can't remember the implementation but isn't it just an increment? it's atomic-ish by nature even if not explicitly defined
Archived author: stoneharry • Posted: 2025-08-04T15:35:39.777000+00:00
Original source
Is it actually using atomic instructions? I can verify that at least
Archived author: Takenbacon • Posted: 2025-08-04T15:37:09.054000+00:00
Original source
https://github.com/TrinityCore/TrinityCo...ator.h#L34
[Embed: TrinityCore/src/server/game/Entities/Object/ObjectGuidSequenceGener...]
TrinityCore Open Source MMO Framework (master = 11.1.7.61967, 3.3.5 = 3.3.5a.12340, cata classic = 4.4.2.60895) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...enerator.h
Archived author: stoneharry • Posted: 2025-08-04T15:38:04.589000+00:00
Original source
Ah but you're looking in master, it's not kept very in sync with 3.3.5