Page 1 of 1

[BUG] Chunk generation crash?

Posted: Fri Jun 23, 2017 7:24 pm
by Tauro
I'm getting this error, I think it's because of chunk generation:

71.903 Error MainLoop.cpp:943: Exception at tick 20617755: Error while running event rso-mod::on_chunk_generated (ID 12)
__rso-mod__/control.lua:630: attempt to compare number with nil

Re: [BUG] Chunk generation crash?

Posted: Sat Jun 24, 2017 11:18 am
by orzelek
You are correct.
I have no idea how... that line has 2 conditionals with 3 variables that are initialized or present in config file.
Please make sure you have current version of mod and it's not modified.

If it still crashes then please post save/mods and I'll take a look. There might be configuration that somehow slips past all the checks I have.

Re: [BUG] Chunk generation crash?

Posted: Sun Jun 25, 2017 8:09 pm
by Tauro
It was the config that I was using that seemed to cause the crash, it had "slightly" buffed up spawn rates :)

It's weird because I've had this save since 0.15.4 or so and it was working fine up until now.

http://imgur.com/a/1EYnW

Re: [BUG] Chunk generation crash?

Posted: Wed Jun 28, 2017 5:08 pm
by orzelek
You did not merge changes to config file that were made recently on collision avoidance.
So you don't have one of variables and therefore a crash since code expects it to exists.