[DiscordArchive] I guess this could end up causing a player to lose an item. If we get a duplicate GUID and we're usi
[DiscordArchive] I guess this could end up causing a player to lose an item. If we get a duplicate GUID and we're usi
Archived author: walkline • Posted: 2025-01-29T16:11:21.690000+00:00
Original source
I guess this could end up causing a player to lose an item. If we get a duplicate GUID and we're using the REPLACE command for item_instance, the last replace query would overwrite player A item with one belonging to player B, right?
Archived author: walkline • Posted: 2025-01-29T16:16:49.857000+00:00
Original source
From my understanding, spell related item creation is just one example we're probably creating items all over the place, so fixing this would require a huge refactoring. If we bother to fix it, using atomic operations for item creation would probably be easier, and I don't think it would have a significant impact on performance.
![[Image: IMG_3792.jpg?ex=690c215b&is=690acfdb&hm=...4c077552f&]](https://cdn.discordapp.com/attachments/376074396915335170/1334195735125823511/IMG_3792.jpg?ex=690c215b&is=690acfdb&hm=3d29bb2bb53277fbee92a99b5d6ccacb5ca858bd53a33cab82c75ea4c077552f&)
Archived author: Mernhard • Posted: 2025-01-29T16:17:31.466000+00:00
Original source
<@216234897390436353> how fix it?) last build
![[Image: IMG_3792.jpg?ex=690c215b&is=690acfdb&hm=...4c077552f&]](https://cdn.discordapp.com/attachments/376074396915335170/1334195735125823511/IMG_3792.jpg?ex=690c215b&is=690acfdb&hm=3d29bb2bb53277fbee92a99b5d6ccacb5ca858bd53a33cab82c75ea4c077552f&)
Archived author: ModoX • Posted: 2025-01-29T16:18:29.910000+00:00
Original source
eh, sec
Archived author: Telegrill • Posted: 2025-01-29T16:21:39.571000+00:00
Original source
i mean the other way around is using mutex and lock_guard
Archived author: Telegrill • Posted: 2025-01-29T16:23:00.307000+00:00
Original source
pretty effective, but might lead to contention due to high concurrency, but I can't really think of any scenarios where this would be a problem, Shauren might
Archived author: Telegrill • Posted: 2025-01-29T16:24:39.356000+00:00
Original source
well, any scenarios where this would lead to the problem*
Archived author: ModoX • Posted: 2025-01-29T17:30:05.675000+00:00
Original source
fixed