Skip to content

bodyswap is refusing to take control of creatures #5962

Description

@jefgrg

Hi so im using BETA DFhack and the Newest OF DF. in adventure mode wanted to take over a dragon or a wolf aka an animal. but this error came.

gui/sandbox

Command finished successfully

bodyswap

...teamapps/common/Dwarf Fortress/hack/scripts/bodyswap.lua:37: Cannot invoke field unit.create_nemesis(): invalid argument count.
stack traceback:
[C]: in method 'create_nemesis'
...teamapps/common/Dwarf Fortress/hack/scripts/bodyswap.lua:37: in global 'createNemesis'
...teamapps/common/Dwarf Fortress/hack/scripts/bodyswap.lua:114: in global 'swapAdvUnit'
...teamapps/common/Dwarf Fortress/hack/scripts/bodyswap.lua:143: in local 'script_code'
...team\steamapps\common\Dwarf Fortress\hack\lua\dfhack.lua:1117: in function 'dfhack.run_script_with_env'
(...tail calls...)
[C]: in field 'runCommand'
...team\steamapps\common\Dwarf Fortress\hack\lua\dfhack.lua:1160: in upvalue '_run_command'
...team\steamapps\common\Dwarf Fortress\hack\lua\dfhack.lua:1164: in function 'dfhack.run_command_silent'
[C]: in field 'hideGuard'
...apps/common/Dwarf Fortress/hack/scripts/gui/launcher.lua:1148: in function <...apps/common/Dwarf Fortress/hack/scripts/gui/launcher.lua:1126>
[C]: in field 'on_submit'
...ommon\Dwarf Fortress\hack\lua\gui\widgets\edit_field.lua:44: in method 'onInput'
...ommon\Dwarf Fortress\hack\lua\gui\widgets\edit_field.lua:214: in function 'gui.widgets.edit_field.onInput'
...)\Steam\steamapps\common\Dwarf Fortress\hack\lua\gui.lua:862: in function <...)\Steam\steamapps\common\Dwarf Fortress\hack\lua\gui.lua:856>
(...tail calls...)
...)\Steam\steamapps\common\Dwarf Fortress\hack\lua\gui.lua:1119: in function <...)\Steam\steamapps\common\Dwarf Fortress\hack\lua\gui.lua:1103>
[C]: in ?

i tried gui/sandbox to take control or assume control and press ESC key and then game crashed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions