[0.15.12] Crash on Scenario Start

This subforum contains all the issues which we already resolved.
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 525
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[0.15.12] Crash on Scenario Start

Post 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
Rseding91
Factorio Staff
Factorio Staff
Posts: 14341
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.12] Crash on Scenario Start

Post 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?
If you want to get ahold of me I'm almost always on Discord.
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 525
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

Re: [0.15.12] Crash on Scenario Start

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14341
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.12] Crash on Scenario Start

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”