TShock icon indicating copy to clipboard operation
TShock copied to clipboard

464' and 466' tiles placement may cause StackOverflowException between WorldGen.TileFrame() and WorldGen.Check5x4()

Open IEEERemainder opened this issue 5 years ago • 4 comments

TShock version: 4.3.25, API v2.1, OTAPI v2.0.0.27

Stack Trace: default

Reproduction steps: It was too hard to locate a problem, only traffic dump analysis allows to define that.

  1. Build 5 block width platform from solid blocks.
  2. Use custom client or terraria patcher to use NetMessage.SendData(17, -1, -1, 1, (float)x, (float)y, 466f, 0, 0, 0) where (x, y) = coordinates of the middle block above the platform. default

Result: default

IEEERemainder avatar Sep 24 '18 12:09 IEEERemainder

Confirming that it has happened countless times, we had it with 3x2 furniture when players attempted to overwrite a part of a furniture block with cheats.

This is effectively a Terraria problem, not really something you can blame TShock for.

bartico6 avatar Sep 26 '18 19:09 bartico6

I did it but nothing happened, do you mind giving me your client/TerrariaPatcherPlugin?

AxeelAnder avatar Oct 24 '18 15:10 AxeelAnder

Confirmed before. It might be caused by image Not sure though

AxeelAnder avatar May 05 '20 11:05 AxeelAnder