devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

MP: Crashes caused by invalid player graphics when leaving and entering the level

Open AJenbo opened this issue 2 years ago • 2 comments

3 players Player 1, 2, 3 all on the same level player 3 leaves the game player 3 is now standing frozen on screen (getting hit animation) player 3 rejoins player 1 and 2 gets an assert error as player 3's graphics is unloaded as he enters town

AJenbo avatar Apr 24 '23 22:04 AJenbo

Managed to capture a stack trace from another one.

2 players in game both on lvl 13 enter staris for 14 at the same time game dies after fading in to level 14

image

The junk was found at 89x46 the other player was registered at being on 14 at 89x46

AJenbo avatar Apr 25 '23 02:04 AJenbo

Player 2 was on lvl 16, plr 1 warped there with TP

image _pLvlChanging = false plrlevel = 0

AJenbo avatar Apr 25 '23 02:04 AJenbo