Page 1 of 1

[2.0.15] Crash running command (Commander::setMultiCommand)

Posted: Thu Nov 07, 2024 10:08 am
by Gerkiz
Hello,

I get a crash when running the following command. Tried it on 2.0.14 and 2.0.15 - both crashed.

1. Start Factorio
2. Ctrl + left mouse button on "Single player"
3. Run the command that is below
4. Crash

Code: Select all

/c
local character = game.player.character
if not character or not character.valid then
    return
end

local surface = character.surface
surface.set_multi_command(
    {
        command = {
            type = defines.command.go_to_location,
            destination_entity = character,
            radius = 32,
            distraction = defines.distraction.by_enemy
        },
        unit_count = 512,
        force = 'enemy',
        unit_search_distance = 32
    }
)
/Gerkiz

Re: [2.0.15] Crash running command (Commander::setMultiCommand)

Posted: Thu Nov 21, 2024 2:30 pm
by Loewchen
Ref.: 121565