Page 1 of 1

[0.17.10] Updater bug

Posted: Mon Mar 11, 2019 8:44 pm
by Dev-iL
After running into a scenario error in the NPE in 17.9, I decided to give this another go after the update.
I updated the game using the auto updater and wanted to start the scenario, but got the following notice:

Image

Code: Select all

  78.999 Loading Level.dat: 324661 bytes.
  79.000 Info Scenario.cpp:147: Map version 0.17.10-0
  79.093 Checksum for script C:/<>/Factorio/temp/currently-playing/control.lua: 1009293566
  79.158 Error AppManager.cpp:606: The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_init()
C:/<>/Factorio/data/core/lualib/story.lua:11: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'pairs'
	C:/<>/Factorio/data/core/lualib/story.lua:11: in function 'make_helpers'
	C:/<>/Factorio/data/core/lualib/story.lua:44: in function 'story_init'
	C:/<>/Factorio/temp/currently-playing/control.lua:5: in function <C:/<>/Factorio/temp/currently-playing/control.lua:4

Re: [17.10] Can't start NPE

Posted: Tue Mar 12, 2019 10:24 am
by wheybags
That's not the NPE, that's some corrupted copy of the old "First steps" campaign.
I'm not sure how that ended up in your copy of the game, maybe an updater bug?
Can you post a zip of your data/base/campaigns folder?

Re: [0.17.10] Updater bug

Posted: Tue Mar 12, 2019 6:18 pm
by Dev-iL
Hmm, you're right - I hadn't noticed it was the wrong campaign!

I had some old version of Factorio (don't even remember which) and overwrote it with 17.9, then updated to 17.10. So I had some old migration files (which prevented me from joining MP games, which I had to delete manually) and apparently these two old campaigns ("beta" and "demo").

So I agree this is definitely not an NPE bug... and probably not an updater bug either. At most - a feature request regarding adding some "game folder integrity checker" to report files that "shouldn't be there".

Feel free to delete this post or Not-a-bug it.

Thanks, and sorry for the false alarm!

P.S.
I can upload those folders if you think it's still necessary.

Re: [0.17.10] Updater bug

Posted: Tue Mar 12, 2019 9:57 pm
by wheybags
Dev-iL wrote: Tue Mar 12, 2019 6:18 pm P.S.
I can upload those folders if you think it's still necessary.
Naw, it's cool. Thanks for the report anyway!