Jump to content

Exploit and possible crash when using "Relocate To"


Sanchozz
  • Branch: Live Branch Version: Linux Pending

If we use the Relocate To command first a piece of garbage, and then an animal, to the same target cell.
Duplicants who do not have the Critter Ranching skill will still be able to catch and move this animal.
However, when Flydo tries to catch this animal, the game will crash.

Quote

[11:47:22.132] [1] [ERROR] Missing drone multitool anims for context 0x3FFA6E26

I made a demo in the sandbox. I disabled all mods for the purity of the experiment.

in a normal game, the probability of encountering a crash is extremely small.
But it increases significantly if the end user uses the Mass Move Tool mod.
What's worse - the game can falsely blame uninvolved mods.

Cause of the problem:
MovePickupableChore sets its choreType and preconditions once at startup based on whether the first object to be moved in the queue is an animal or not.

My suggestion for fixing:
add another check to the MovePickupableChore.States.IsDeliveryComplete method
If the current object is an animal and the next one is not an animal, or vice versa, then the method should return true.
then the Chore will complete successfully.
then the CancellableMove component will recreate the Chore with the correct choreType and preconditions.

Beeta Test Flydo 2.sav


Steps to Reproduce

"Relocate To" first a piece of garbage, and then an animal, to the same target cell.

  • Wavey 1



User Feedback


Since Bug Fix Update is coming, now might be a good time to take a look and fix it.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...