Skip to content

platinum coins duping themselves #2004

@Nephthis

Description

@Nephthis
  • TShock version: 4.4.0 pre 11

I noticed some strange behaviour with platinum coins (and possibly other coins).
Unfortunately I didn't have debug logs active at the time and the problem seems to be difficult to reproduce but I will try to add some logs as soon as I can reproduce the bug.
For now I can only describe it:

when I was killed in an artificial underground crimson biome I dropped about 70 platinum, I came back to it, killed a few enemies to get there and collected about 170 platinum.
Later I had about 280 platinum coins with me, got killed and collected 816 platinum coins when I came back.
It appears that if an enemy collects the coins and drops them when you kill it the amount is significantly higher than the amount it collected (though I can't verify as of yet that the coins were indeed picked up by an enemy).
If it helps, at the time of my deaths there were the following enemies present:
Giant Bat,
Skeleton Archer,
Armored Skeleton,
Rock Golem,
Ichor Sticker,
Crimslime,
Herpling

I will try to reproduce the event but it's rather difficult to get the right enemy to pick up the coins.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions