[Klonan] [1.0.0] Early savegame can leave behind invulnerable player
Posted: Sat Aug 15, 2020 1:53 pm
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?
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?