[0.15.32] Incredibly unhelpful error message

This subforum contains all the issues which we already resolved.
Post Reply
Bilka
Factorio Staff
Factorio Staff
Posts: 3228
Joined: Sat Aug 13, 2016 9:20 am
Contact:

[0.15.32] Incredibly unhelpful error message

Post by Bilka »

When trying to set the technology_difficutly or the recipe_difficulty to a number other than 0 or 1 the error message will be incredibly unhelpful:Image

Setting to 1.5 or 0.5 doesn't give an error and sets to 1 and 0 respectively.

When setting the value in control.lua, the error message will also not show which function or line the error is in, only the event is shown, and that also has no line:
Image

I was also under assumption that the difficulty could only be set using the http://lua-api.factorio.com/latest/defi ... y_settings , and not using 0 and 1.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.32] Incredibly unhelpful error message

Post by posila »

Thanks for the report. The error message will be fixed in next release.

Values of those defines are just numbers.

Post Reply

Return to “Resolved Problems and Bugs”