Page 1 of 1

[0.12.4] dying on alt surface in MP -> respawn redraw fail

Posted: Fri Aug 21, 2015 6:37 pm
by GopherAtl
when you die on a surface other than nauvis in MP, you respawn to nauvis, but initially it will still render some of the surface you died on?

Repro case with the very early wip of my tardis mod...

launch a mp world wiht the mod. Connect to the world. (shouldn't actually need multiple players, one on headless server should work, just need the respawn on death behavior)

teleport yourself into the tardis

Code: Select all

/c game.local_player.teleport({1,1},"tardis")
create somethign to kill you

Code: Select all

/c game.surfaces.tardis.create_entity{name="medium-biter",position={0,0}}
provoke it if necessary (spacebar!)

wait to die

the tardis mod is attached again here

:edit:

first, note that manually creating a surface has the same effect; I'm not doing anyhthing special with on die events for characters or anything.

Second, went to repro again to take a screenshot, and this time the game just completely crashed. About to try a 3rd time...

Re: [0.12.4] dying on alt surface in MP -> respawn redraw fail

Posted: Fri Aug 21, 2015 7:29 pm
by Narc
I just did this on our multiplayer server that we used for testing (I was helping @GopherAtl with the tests) and it's now pretty consistently crashing Factorio.

Re: [0.12.4] dying on alt surface in MP -> respawn redraw fail

Posted: Mon Aug 24, 2015 3:34 pm
by Oxyd
GopherAtl wrote:when you die on a surface other than nauvis in MP, you respawn to nauvis, but initially it will still render some of the surface you died on?
Fixed in 0.12.5.
Narc wrote:I just did this on our multiplayer server that we used for testing (I was helping @GopherAtl with the tests) and it's now pretty consistently crashing Factorio.
This is actually this bug which was fixed earlier, also for 0.12.5.