Page 2 of 2

Re: [MOD 0.15.x] Ore Chaos

Posted: Fri Mar 02, 2018 11:12 pm
by abordoli
Still not working even with 0.16.27 :( Love this mod!

Re: [MOD 0.15.x] Ore Chaos

Posted: Sat Mar 03, 2018 12:41 am
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.

Re: [MOD 0.15.x] Ore Chaos

Posted: Sat Mar 03, 2018 1:46 am
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.