Fire Place


Have a nice evening at a warm campfire

Content
2 years ago
1.1
5.13K
Manufacturing

b [compat] Crash in conjunction with mod "rampant"

8 months ago

The mod Fire Place (2.1.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event fire-place::on_nth_tick(60)
The mod Rampant (3.3.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Rampant::script_raised_built (ID 79)
Rampant/libs/ChunkPropertyUtils.lua:134: table index is nil
stack traceback:
Rampant/libs/ChunkPropertyUtils.lua:134: in function <Rampant/libs/ChunkPropertyUtils.lua:121>
(...tail calls...)
Rampant/libs/ChunkUtils.lua:508: in function 'registerEnemyBaseStructure'
Rampant/control.lua:368: in function 'onEnemyBaseBuild'
Rampant/control.lua:393: in function <Rampant/control.lua:388>
stack traceback:
[C]: in function 'create_entity'
fire-place/control.lua:27: in function 'update'
fire-place/control.lua:79: in function <fire-place/control.lua:78>

7 months ago
(updated 7 months ago)

I just had a crash like this too:

Reporting a bug:
Versions: Fire Place (2.1.0), Rampant: 3.3.3, Factorio (experimental) build: 1.1.89 (build 61629, win64).
Was Fire Place and Rampant added at the start of the game: Yes
A brief description of what you are experiencing: I experienced three errors all at one: a non-recoverable error from the "fire-place" mod, which then immediately caused to errors from the "Rampant" mod. All three errors were posted in a note on the screen. I took and have attached a screenshot to this message.
What mods are you using? Nearly 255 mods.

Here is the text from the error:

Notice
The mod Fire Place (2.1.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event fire-place::on_nth_tick(60)
The mod Rampant (3.3.3) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Rampant::script_raised_built (ID 79)
Rampant/libs/Chunk PropertyUtils.lua: 134: table index is nil
stack traceback:
Rampant/libs/Chunk PropertyUtils.lua: 134: in function
<Rampant/libs/Chunk PropertyUtils.lua: 121>
(...tail calls...)
Rampant/libs/ChunkUtils.lua:508: in function
'registerEnemyBaseStructure'
Rampant/control.lua:368: in function 'onEnemyBaseBuild'
Rampant/control.lua:393: in function
<Rampant/control.lua:388>
stack traceback:
[C]: in function 'create_entity'
_fire-place__/control.lua:27: in function 'update'
fire-place/control.lua:79: in function
<fire-place/control.lua:78>

LEAVE A GOOD DESCRIPTION:
I created a fireplace. I placed the fireplace on the ground. I put coal in the fireplace. I was going to put fish in it to cook, but within these intermediary moments the error log came up with the three errors.

Please note that I have also informed the creator of Rampant, Venden, about this issue too since it included Rampant errors.

2 months ago
(updated 2 months ago)

I encountered this, too. Placed a fireplace, then loaded it with coal in both the fuel and input slots. <1s after it started, it crashed:

The mod Fire Place (2.1.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event fire-place::on_nth_tick(60)
The mod Rampant (3.3.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Rampant::script_raised_built (ID 79)
__Rampant__/libs/ChunkPropertyUtils.lua:134: table index is nil
stack traceback:
    __Rampant__/libs/ChunkPropertyUtils.lua:134: in function <__Rampant__/libs/ChunkPropertyUtils.lua:121>
    (...tail calls...)
    __Rampant__/libs/ChunkUtils.lua:508: in function 'registerEnemyBaseStructure'
    __Rampant__/control.lua:371: in function 'onEnemyBaseBuild'
    __Rampant__/control.lua:393: in function <__Rampant__/control.lua:388>
stack traceback:
    [C]: in function 'create_entity'
    __fire-place__/control.lua:27: in function 'update'
    __fire-place__/control.lua:79: in function <__fire-place__/control.lua:78>
2 months ago
(updated 2 months ago)

Until the mod author fixes this, in control.lua, starting line 27, change this:

entity.surface.create_entity{
    name = name,
    position = entity.position,
    raise_built = true,
}

To this:

entity.surface.create_entity{
    name = name,
    position = entity.position,
    force = "neutral",
    raise_built = true,
}

Without that line defining the force, the game defaults to force "enemy", which rampant is then picking up thinking it's a new biter spawner, which of course it isn't, so it crashes when working with a fire entity that it's expecting to be a spawner. XD (I think the actual point where it's crashing is in attempting to get/use an entity ID, which fire doesn't have.)

2 months ago

Until the mod author fixes this, in control.lua, starting line 27, change this:

entity.surface.create_entity{ name = name, position = entity.position, raise_built = true, }

To this:

entity.surface.create_entity{ name = name, position = entity.position, force = "neutral", raise_built = true, }

Without that line defining the force, the game defaults to force "enemy", which rampant is then picking up thinking it's a new biter spawner, which of course it isn't, so it crashes when working with a fire entity that it's expecting to be a spawner. XD (I think the actual point where it's crashing is in attempting to get/use an entity ID, which fire doesn't have.)

Thank you!

New response