Topic: [3.85] log duplication glitch  (Read 1576 times)


Fineland

« on: January 03, 2025, 01:21:42 AM »
I found a duplication glitch specific to logs that causes it to reach the 16-bit integer limit.
I was building my cabin with hired companions. Assigned one to splitting planks and saw that he was splitting my log pile that was going to be my wall. So I headed to the pile and started construction of a wall and before pausing my companion finished splitting. After unpausing I noticed extra logs were still around.
Game doesn't seem to crash with it around but I haven't messed with the pile yet.

Plotinus

« Reply #1 on: January 03, 2025, 08:40:36 AM »
How many logs did you have before you asked the companion to split logs, 65535? How did you get so many?

Fineland

« Reply #2 on: January 03, 2025, 11:31:31 AM »
I had 6 logs on that pile, I believe I caused a stack overflow due to the companion splitting a log and the game trying to process 5 - 6.

Plotinus

« Reply #3 on: January 03, 2025, 12:14:21 PM »
Wow, cool. Nice find :)