Skip to content

v0.18.1

Choose a tag to compare

@anxo0 anxo0 released this 29 Sep 00:27
· 23 commits to main since this release
616d768

A fix for the crash guests still got on 0.18.0 while the host was building. Going through Steam's relays was not the answer to that one; thanks to everyone who came back and said so, and to Mies117 for the crash log that pointed the right way.

A guest's game could crash while the host was building. The game recycles its straw: a straw that gets used up, scooped by a bucket or the vac or eaten by a belt or a machine, leaves the world, and the same piece comes back later as a different straw. The mod kept hold of its copies of the host's straw through that. It kept moving them, kept reading where they were after they had left the world (the "!is_inside_tree" errors at the end of the crash logs), and when the host's straw went away it put the piece back in the pool a second time, while a belt, a hand or a machine was using it as something else. Building moves and clears a lot of straw, which is why it happened then. The mod now lets go of a straw the moment the game takes it out of the world.

In a test where the guest's game used up some of its copies and then made straw of its own, the host clearing its straw used to wipe out all ten of the guest's own straws. Now all ten stay, and there are no errors on either side.

I cannot reproduce the crash itself without two PCs on Steam, so please tell me either way. If it still happens on 0.18.1, the newest crash_....log in %APPDATA%\Godot\app_userdata\Haystack Incremental\crashes is what I need.

Install is unchanged: copy the mods folder next to FindTheNeedle.exe and add these two lines to override.cfg.

[autoload]
MPMod="*mods/multiplayer/mp.gd"

A game update replaces override.cfg, so if co-op disappears from your menu after one, add those lines again. install-helper.bat below does it for you. Every player needs this same version.