Page 1 of 1

[0.15.12] Crash on Scenario Start

Posted: Thu May 18, 2017 11:08 pm
by Mylon
So I'm working on developing a scenario and when I tried to add in Oarc, Factorio crashes on start.

Relevant log file: https://www.dropbox.com/s/zhjwty3a06aq5 ... 5.zip?dl=0

Relevant scenario: https://www.dropbox.com/s/zhjwty3a06aq5 ... 5.zip?dl=0

Additional notes: I forgot to uncomment out the initialization. When I did, that's when the crash happened. The initialization block I hacked in, from oarc_events.lua

Code: Select all

Event.register(-1, oarc_init)

function oarc_init()
    ConfigureAlienStartingParams()

	if ENABLE_SEPARATE_SPAWNS then
        InitSpawnGlobalsAndForces()
    end
end

Re: [0.15.12] Crash on Scenario Start

Posted: Thu May 18, 2017 11:43 pm
by Rseding91
It looks like you pasted the same file twice.

Can you upload the full set of mods you're using that reproduces the crash?

Re: [0.15.12] Crash on Scenario Start

Posted: Fri May 19, 2017 12:27 am
by Mylon
Oops, here's the scenario file: https://www.dropbox.com/s/f2h2sv2208itr ... g.zip?dl=0

No mod mods active, only this scenario.

Re: [0.15.12] Crash on Scenario Start

Posted: Fri May 19, 2017 2:30 am
by Rseding91
Thanks for the scenario. I've fixed the crash for the next version of 0.15. The problem is you're trying to register a negative event ID which isn't valid.