Items incorrectly flagged as duplicate
I got a shrine that changed my potions into rejuvenation, then I tossed them all on the ground in town. Later I found the same shrine again, and when I tossed the second set of rejuvenation potions on the ground, it said "Duplicate item detected. Removing" I highly doubt this bug exists in the original game binary
What version?
I doubt this isn't also affecting the original game. We haven't even fixed the original bug that makes the shrine turn any item into a rejuvenation potion if holding it while using the shrine.
DevilutionX v1.1.0-99a433f2
Ok, I guess this is the beta build posted here? https://github.com/diasurgical/devilutionX/issues/52#issuecomment-767264577 https://github.com/diasurgical/devilutionX/commit/99a433f2
Hellfire or Diablo?
I was using Arch Linux x64 with DevilutionX v1.1.0-99a433f2 compiled as per the read me, running Diablo. To give more detail to the happenings, I had saved and started a new dungeon with the character, it probably had potions left over from saving. I had many full heal potions from the vendor, and a few minor heal and/or mana potions when I activated the first rejuvenation potion shrine. So I went to town and dropped all the potions, bought eight or more full heal potions, then went back to come across a second instance of that shrine. I tried to drop the second set of rejuvenation potions in town as well, but two or three drops generated the duplicate item removal message.
it's a vanilla bug, it wasn't uncommon for potions to get flagged as duplicates @AJenbo I'd suggest removing the check for duplicated items as it's doing more harm than good 😂
Yeah, I have had some thoughts about doing that. It's pretty trivial to avoid for anyone that is determined to chat, and we have already solved the most common way of duplicating things.
It's only useful imo for debugging to make sure items don't legitimately spawn as dupes. That and for people who plan on implementing a server where you don't want people to cheat (in diablo 2 dupes are only deleted online)
EDIT: some historical trivia. In Diablo 2 they added dupe deletion in patch 1.06 but then removed it in the next patch due to a design flaw. At the time the game was much more like Diablo 1 but you could keep your maps and new monsters spawn each time. Thus it was common for monsters to seed the same and drop the exact same items legitimately that would be treated as dupes. They finally added proper randomization making it unlikely anything would be identical.
This is now "fixed", because we do not perform this check anymore