Noxys Trees

by _Noxy_

Makes the trees spread slowly but also die off with certain condition. Made to be performant and multiplayer friendly. Very configurable.

1 year, 8 months ago
0.15 - 2.0
17.9K

g error with 2.0 version

1 year, 8 months ago

failed to load stack trace back Noxys_Trees/Data-updates.lua:14:in main chunk attempt to perform arithmetic on feild "emissons_per_second" (a table value)

1 year, 8 months ago

Thanks for the report. Should be fixed in 0.5.1. And as bonus I added the ability to change tree collision sizes.

1 year, 8 months ago

cheers, loaded without issue

1 year, 8 months ago

👍

5 days ago

Мод Noxys Trees (0.5.2) вызвал неустранимую ошибку. Пожалуйста, сообщите об этой ошибке автору мода. Error while running event Noxys_Trees::on_tick (ID 0) Unknown entity name: uranium-ore stack traceback: [C]: in function 'count_entities_filtered' Noxys_Trees/control.lua:746: in function 'spawn_trees' Noxys_Trees/control.lua:797: in function 'process_chunk' Noxys_Trees/control.lua:937: in function <Noxys_Trees/control.lua:882

5 days ago

Тема: Critical error on game start / load: Unknown entity name: uranium-ore (Noxys Trees 0.5.2)

Hello, I’m getting an unrecoverable crash with Noxys Trees (version 0.5.2). The mod fails on the on_tick event because it tries to call count_entities_filtered for the entity uranium-ore, which is not found in the game.

Error log:

text

Переносить

Свернуть

Копировать
Error while running event Noxys_Trees::on_tick (ID 0)
Unknown entity name: uranium-ore
stack traceback:
[C]: in function 'count_entities_filtered'
Noxys_Trees/control.lua:746: in function 'spawn_trees'
Noxys_Trees/control.lua:797: in function 'process_chunk'
Noxys_Trees/control.lua:937: in function <Noxys_Trees/control.lua:882>
Environment:

Factorio version: 2.x (specify 2.0 or 2.1 here)
Mod version: Noxys Trees 0.5.2
Key conflicting mods: Angel’s Refining, Angel’s Exploration, Bob’s Mods (they replace/remove vanilla ores including uranium-ore)
Reproduction steps: Start game / load save with this mod list → crash almost immediately on tick.
It looks like the mod assumes the existence of the vanilla uranium-ore entity, but in setups with ore‑overhaul mods that entity is removed or renamed, causing the crash.

Could you please add a check for the entity existence before calling count_entities_filtered, or make the mod compatible with ore‑replacing mods?

Thank you!

New response