[0.12.20] [Twinsen] No 'you won' or 'rockets sent' after launching

This subforum contains all the issues which we already resolved.
wjzijderveld
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Oct 17, 2015 12:12 pm
Contact:

[0.12.20] [Twinsen] No 'you won' or 'rockets sent' after launching

Post by wjzijderveld »

I can hardly believe this would actually be a bug, but I can't find a reason why this would happen. I don't get any error in the Lua console nor in the logfile.

In my current save I decided to build and launch a rocket. This to see what the factory could take and expand from there to fire more rockets.
But after I launched it... nothing happend. No end screen, no window with my 'score', it just happily closed again and started filling up again.
And yes, there is a satellite in there.

I launched a second rocket, but still nothing. Next day I tried again (I thought, maybe a restart of the game helped), but still nothing.
I disabled all my mods and tried again, still nothing.

I'm on Arch Linux, 64bit.
Attached my savegame + last log (which is quit boring).
My mod list
Attachments
rso_efficient_oil.zip
Current save
(16.27 MiB) Downloaded 395 times
factorio-current.log
factorio-current.log
(2.14 KiB) Downloaded 383 times
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.20] No 'you won' or 'rockets sent' after launching

Post by Oxyd »

The victory screen is handled by your save's control.lua, but there is no control.lua in your save. So it's all working as it should.

The likely reason for your lack of control.lua is that you created that save using the --create option. There was a bug in old versions of 0.12 (up to 0.12.9) where --create wouldn't put the proper control.lua into your save.

You can sort this out by copying the freeplay control.lua into your save.

So, moving to duplicates. Unless you have a reason to believe it's a different issue than the one in the linked thread.
wjzijderveld
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Oct 17, 2015 12:12 pm
Contact:

Re: [0.12.20] No 'you won' or 'rockets sent' after launching

Post by wjzijderveld »

Hi Oxyd,

Thanks for you reply!
I don't understand how I didn't find that thread when searching for existing bug reports, ah well.

The proposed solution worked, so I now have a rocket-sent counter (after also adding locale to the save, which was also missing). Thanks for that!

I didn't create a game via the CLI and I don't remember not having any starting kit. So not sure how this happened, it doesn't seem the same as the thread you mentioned to me.
I didn't (un)pack a save game before, so I have no clue how I could have removed it myself. Maybe a mod messed it up?
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.20] No 'you won' or 'rockets sent' after launching

Post by Oxyd »

wjzijderveld wrote:I didn't create a game via the CLI and I don't remember not having any starting kit. So not sure how this happened, it doesn't seem the same as the thread you mentioned to me.
I didn't (un)pack a save game before, so I have no clue how I could have removed it myself. Maybe a mod messed it up?
Did you start the game through some custom scenario? This control.lua is a part of the Freeplay scenario, so if you used a different scenario, you'd get a save with that scenario's control.lua (possibly none, if that scenario doesn't use any control.lua).
wjzijderveld
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Oct 17, 2015 12:12 pm
Contact:

Re: [0.12.20] No 'you won' or 'rockets sent' after launching

Post by wjzijderveld »

Oxyd wrote:
wjzijderveld wrote:I didn't create a game via the CLI and I don't remember not having any starting kit. So not sure how this happened, it doesn't seem the same as the thread you mentioned to me.
I didn't (un)pack a save game before, so I have no clue how I could have removed it myself. Maybe a mod messed it up?
Did you start the game through some custom scenario? This control.lua is a part of the Freeplay scenario, so if you used a different scenario, you'd get a save with that scenario's control.lua (possibly none, if that scenario doesn't use any control.lua).
I don't use a scenario specific, just used 'new game'. But as far as I understand that should be the Freeplay scenario?
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.20] No 'you won' or 'rockets sent' after launching

Post by Oxyd »

Yes, New Game starts Freeplay. That definitely sounds like something that shouldn't happen then.

There was a similar bug where someone's control.lua just disappeared. But for that person, the issue somehow resolved itself by updating to 0.12.11, which apparently doesn't apply here.

So, moving back to bug reports.
Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.12.20] No 'you won' or 'rockets sent' after launching

Post by Twinsen »

Did you use the map editor? Saving in map editor will not create control.lua
Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.12.20] [Twinsen] No 'you won' or 'rockets sent' after launching

Post by Twinsen »

Possibly fixed in 0.13.

From the 0.13 changelog:
- Loading a scenario without control.lua will automatically load the freeplay game mode scripts.
This means new maps created in the map editor will get the freeplay game mode.
- Loading a scenario in the map editor will preserve it's scripts.
This means custom freeplay/sandbox maps can be created in-game.
Post Reply

Return to “Resolved Problems and Bugs”