Create

Create

86M Downloads

Crash Involving Auto-Placing and Auto-Destroying Gantry Shaft Machine

Vraalika opened this issue ยท 3 comments

commented

Describe the Bug

Deployer and Drill are part of the same contraption mounted on a Gantry Carriage, with the machines placed in a way where the Deployer places Gantry Shafts to allow the contraption to self-extend, and the Drill in a way to cause the contraption to reclaim Gantry Shafts allowing it to self-retract.

When changing the direction of the Gantry from retract to extend while the Drill was still operating, the game experienced a crash. The crash occurs when the machine attempts to place a new Gantry Shaft after the Drill partially damaged the previous one.

Crash does not occur if either one of the machines are placed in the world; the crash only occurs if the machines are part of the same actively moving contraption.

Oddly, it yields a server crash even in singleplayer, and causes the world that crashed to be hidden from world selection until game is restarted

Example world and crash logs below.

vhgtrehvrthvrtsb.zip

Reproduction Steps

  1. Assemble machine to that can place its own Gantry Shafts when extending, but destroy/reclaim those Gantry Shafts when retracting.
  2. Creative Engine -> Gearshift -> Gantry Shaft -> Gantry Carriage -> Drill+Deployer
  3. Extend contraption, allow Deployer to place a few shafts
  4. Retract contraption via gearshift, allow drill to break/damage a few shafts
  5. Crash occurs exactly when deployer goes to deploy new shaft

Expected Result

Gantry-based contraption should be able to be freely extended and retracted at any point along the breaking and placing process without crashing.

Screenshots and Videos

Quick clip of example machine in action, and crashing.
https://drive.google.com/file/d/1TDs99Wbe7WKusEEoqUaO-tRPptWzcVHI/view?usp=sharing

Crash Report or Log

https://pastebin.com/zcxNz4d1 https://pastebin.com/pSRHYdk0

Operating System

Windows 10

Mod Version

0.3.2f

Minecraft Version

1.16.5

Forge Version

36.2.0

Other Mods

Operating on the Go Create modpack, pack version 1.6.1.
https://www.curseforge.com/minecraft/modpacks/go-create

Additional Context

No response

commented

Crash log indicates this is a compatibility issue with the Blue Skies mod

commented

It's on Blue Skies' end, they're not checking if the target of their Dungeon Protection code is a fakeplayer, and it checks for a capability that a fakeplayer won't have.
There is a fix mod that has been made for this using Mixins: https://www.curseforge.com/minecraft/mc-mods/random-blue-skies-fix/files/3577261

commented

Fantastic! Gantries are my favourite method of self-locomoting machines, so it's great to have a fix just for this.