[MOD 0.15.x] Ore Chaos

Topics and discussion about specific mods
abordoli
Fast Inserter
Fast Inserter
Posts: 131
Joined: Thu May 25, 2017 1:19 am
Contact:

Re: [MOD 0.15.x] Ore Chaos

Post by abordoli »

Still not working even with 0.16.27 :( Love this mod!
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [MOD 0.15.x] Ore Chaos

Post by eradicator »

Looks like the error is caused by one of the default values in settings.lua.

Code: Select all

name = "orechaos-udf-chance" .. str_i,
type = "double-setting",
setting_type = "runtime-global",
-- default_value = ((i == 1) and 1/6) or 0, --broken for w/e reason
default_value = 0, --use this instead
maximum_value = 1,
minimum_value = 0,
order = str_i .. "f",
No clue why though. Or how this mod works at all. After i extracted it i had to reencode all the .txt files to utf8-bom, and resave all the .pngs with paint to make it work at all.
blueblue
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Tue Apr 11, 2017 7:39 pm
Contact:

Re: [MOD 0.15.x] Ore Chaos

Post by blueblue »

Hi all. I'm sorry I only just saw this, I didnt check the forum and the mod portal for a while. Thanks to eradicator's debugging work I can make a working version of the mod right now. I still dont understand the source of the problem and setting that value to 0 makes the mod settings look a bit dumb but it's the best I can do right now. I hope I can investigate the crash a bit more eventually but I'm on vacation right now so that may have to wait. Thanks to everyone who tried to alert me and thanks to eradicator. Seriously, I'd have no idea where to even start debugging.
After i extracted it i had to reencode all the .txt files to utf8-bom, and resave all the .pngs with paint to make it work at all.
Cannot reproduce that one though, that sounds horrible. It works for me.
unique_2 on discord and mod portal
Post Reply

Return to “Mods”