TShock icon indicating copy to clipboard operation
TShock copied to clipboard

Item duping with SSC on

Open red9350 opened this issue 5 months ago • 7 comments

Tshock latest stable release. It's possible to duplicate items / lose a player's inventory when SSC is on.

To reproduce:

  • turn on SSC
  • login with a player
  • have the player put down or pick up items
  • save and quit without executing /logout
  • log back in

The player's inventory will have rolled back to how it was before putting down or picking up the item, thus allowing to duplicate the item or lose a player's inventory progress.

If manually executing /logout instead, the inventory is saved

red9350 avatar Jul 28 '25 22:07 red9350

Does the player have the SSC bypass permission?

zyrafaq avatar Jul 29 '25 05:07 zyrafaq

No, default group and I'm in owner

red9350 avatar Jul 29 '25 07:07 red9350

Are you running TShock on a Mac with Apple silicon?

aaa1115910 avatar Jul 30 '25 17:07 aaa1115910

Nope, on an Oracle cloud server with an ARM processor though, so it's close enough i guess

red9350 avatar Jul 30 '25 17:07 red9350

Nope, on an Oracle cloud server with an ARM processor though, so it's close enough i guess

The ARM processor may be the problem. #3012 mentioned that it might be fixed in the latest net9 pre-release

aaa1115910 avatar Jul 30 '25 17:07 aaa1115910

Tshock latest stable release. It's possible to duplicate items / lose a player's inventory when SSC is on.

To reproduce:

  • turn on SSC
  • login with a player
  • have the player put down or pick up items
  • save and quit without executing /logout
  • log back in

The player's inventory will have rolled back to how it was before putting down or picking up the item, thus allowing to duplicate the item or lose a player's inventory progress.

If manually executing /logout instead, the inventory is saved

server not sync with player inventory if u have plugin to modify player inventory /armor delete it

pacenadhif778 avatar Aug 25 '25 15:08 pacenadhif778

Please make sure that the player doesn't have the SSC bypass permission. It is very likely so.

zyrafaq avatar Aug 25 '25 18:08 zyrafaq