devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Finding two identical items in the same session

Open Chance4us opened this issue 2 years ago • 2 comments

I thought that we can no longer dupe. But somehow received a duplicate of "ring of sorcery". Not able to pick up both items, so it's a duped item. dupe

dupe.zip

Chance4us avatar Jun 24 '23 19:06 Chance4us

I was looking into this the other day because I'd received similar examples of duplicates from another player on Discord. It turns out the chances of this are a lot higher than you'd think.

Basically, you can find duplicates like this across different dlvls because the maximum RNG distance between any two dlvl seeds is 25 random numbers at the most. It takes around 2k-4k random numbers to generate all the objects and monsters on the level. Most of those random numbers are used when generating monsters, and it's all done right after seeding the RNG, so there's plenty of opportunity for overlap between the random number sequences used to generate different dlvls. If a monster's seed matches exactly with another monster that is located on another dlvl and the two monsters have the same mlvl, you will get an exact duplicate like the one in your save file.

StephenCWills avatar Jun 24 '23 20:06 StephenCWills

I would say they are identical more then that they where duped, they are perfectly legit you just found the same item twice.

AJenbo avatar Jun 24 '23 23:06 AJenbo