[BUG] Chunk generation crash?

Replaces resource spawning system, so that the distances between resources are much bigger. Railway is needed then.

Moderators: orzelek, Dark

Post Reply
Tauro
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed May 20, 2015 1:23 am
Contact:

[BUG] Chunk generation crash?

Post 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

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [BUG] Chunk generation crash?

Post 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.

Tauro
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed May 20, 2015 1:23 am
Contact:

Re: [BUG] Chunk generation crash?

Post 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

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [BUG] Chunk generation crash?

Post 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.

Post Reply

Return to “Resource Spawner Overhaul”