Factorio Standard Library

by Nexela

The Factorio Standard Library is a project to bring Factorio modders high-quality, commonly-required utilities and tools.

Internal
2 years ago
0.17 - 1.1
406K

b Logfile spam

3 years ago

my logfile contains 30000x this line:

1491.373 Script @stdlib/stdlib/area/chunk.lua:38: WARNING: Area for Position not found in package.loaded

https://prnt.sc/10opbos
I suspect that it has something to do with the "trim surface" function.

3 years ago

A mod is using the chunk lib without first requiring the area lib before it. In the future I will change this to an error instead of a warning and include a stack trace.

If you are unsure which mod is calling the function I will need your mod list.json file

3 years ago

without stacktrace it is difficult to find something when the original code comes from another author.
https://github.com/kuxynator/Kux-OrbitalIonCannon/blob/master/src/modules/autotargeter.lua
maybe you can give me a hint how to fix this spam

3 years ago

has been done. have looked in your code, where the message is generated.
if someone doesn't have a clue, he is quite lost when it comes to something like this. could have been avoided.

3 years ago
(updated 3 years ago)

del

New response