[Klonan] [1.0.0] Early savegame can leave behind invulnerable player

This subforum contains all the issues which we already resolved.
PoempelFox
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Aug 15, 2020 1:28 pm
Contact:

[Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by PoempelFox »

During our celebratory 1.0.0-release multiplayer game, we've hit a strange bug:
One player is invulnerable. He also permanently sees the message "Press Tab to skip cutscene" accross his quickbar.

This was probably caused by the following sequence of events:
1.) Create a new map for the multiplayer game by using the ingame-GUI to create a new freeplay map and twiddle with the settings until satisfied. Start the freeplay.
2.) Immediately (most importantly: before the cutscene ends!), save the game
3.) Copy this savegame over to the (headless) server, start the game on the server with that savegame
4.) Have a different player join the multiplayer game first.
5.) Now when the player who originally created the map joins, he will permanently be invulnerable, even across server restarts. He also permanently sees the "Press Tab to skip cutscene" message across his quickbar, and has problems changing weapons or taking out/putting in ammunition - that only works on every n-th attempt [begin edit] because even though it doesn't look like it, the message goes across the whole width of the screen, and thereby blocks most of the Ammo icons and the bottom row of the quickbar - you have to hit the uppermost pixels to be able to grab something there [end edit].

My guess is that the player is set to invulnerable for the duration of the cutscene so he cannot be hurt by the explosion, but the timer that should remove this again never fires because he is disconnected when that happens, in this (admittedly complex) scenario?
Last edited by PoempelFox on Sun Aug 23, 2020 6:18 pm, edited 1 time in total.
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [1.0.0] Early savegame can leave behind invulnerable player

Post by Qon »

I wonder if this can exploited somehow in a speedrun? Invulnerability is useless though, players don't take damage in any%, but maybe this gives some other (maybe emergent) property also...
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Klonan »

Its strange that the cutscene doesn't continue one he joins again,

Will investigate,
But likely only to be fixed in 1.1
User avatar
Windsinger
Inserter
Inserter
Posts: 42
Joined: Fri Mar 20, 2020 7:33 pm
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Windsinger »

Can say i have this problem too and the initial post description are spot on :D

If i dont wait untill the cutscene is over, i'm doomed with that "Press Tab to skip cutscene" thing, on the plus side, nothing can kill me though :twisted:
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Klonan »

Should be fixed for the next release
Speadge
Fast Inserter
Fast Inserter
Posts: 136
Joined: Tue Mar 29, 2016 10:01 am
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Speadge »

Klonan wrote: Mon Aug 31, 2020 12:34 pm Should be fixed for the next release
its not fixed in 1.1.5

edit: "old" save from v 1.0.0 - didnt try to create a new game
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Klonan »

Speadge wrote: Tue Dec 08, 2020 6:17 pm
Klonan wrote: Mon Aug 31, 2020 12:34 pm Should be fixed for the next release
its not fixed in 1.1.5

edit: "old" save from v 1.0.0 - didnt try to create a new game
its 'not fixed' in what way?

Do you have a way to spawn invulnerable players in 1.1?
Speadge
Fast Inserter
Fast Inserter
Posts: 136
Joined: Tue Mar 29, 2016 10:01 am
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Speadge »

Klonan wrote: Tue Dec 08, 2020 9:05 pm
Speadge wrote: Tue Dec 08, 2020 6:17 pm
Klonan wrote: Mon Aug 31, 2020 12:34 pm Should be fixed for the next release
its not fixed in 1.1.5
edit: "old" save from v 1.0.0 - didnt try to create a new game
its 'not fixed' in what way?

Do you have a way to spawn invulnerable players in 1.1?
Sorry, thought you had a save to test this on.
no, i have not tested to "create" this bug in 1.1. As my edit stated, i have a 1.0 save that has still this line on bottom.
it wouldnt be a big problem if the whole horizontal line(as high as the fonts) wouldnt be clickable at all (shortcuts, ammo,...)

I would have expected that your fix removes this bug in existing saves..
need savegame?
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Klonan »

Speadge wrote: Wed Dec 09, 2020 8:06 pm I would have expected that your fix removes this bug in existing saves..
need savegame?
No, I didn't worry about a migration, because its just a minor issue and not common

You can fix it with a console command:
/c game.player.gui.screen.skip_cutscene_label.destroy()
Speadge
Fast Inserter
Fast Inserter
Posts: 136
Joined: Tue Mar 29, 2016 10:01 am
Contact:

Re: [Klonan] [1.0.0] Early savegame can leave behind invulnerable player

Post by Speadge »

Klonan wrote: Fri Dec 11, 2020 8:08 am
No, I didn't worry about a migration, because its just a minor issue and not common

You can fix it with a console command:
/c game.player.gui.screen.skip_cutscene_label.destroy()
worked fine, thanks
Post Reply

Return to “Resolved Problems and Bugs”