noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
463 stars 25 forks source link

Game crash when loading a new map and another player is in the server #591

Closed Ephreaym closed 1 year ago

Ephreaym commented 1 year ago

Loading a new map works fine when alone. But when somebody joins the server loading a new map results in a crash.

Would be a nice priority fix since it’s demotivating for players.

Poomex commented 1 year ago

Can confirm, had multiple crashes of my server while playing in quest mode. It always kicks all players and switches to another map. Players cannot join again and it needs to be restarted. Here's the log. opennox-server.log

dennwc commented 1 year ago

I currently reliably hit a variation of this where joining the chat lobby game works, but then switching the map just freezes the server. Bisected to a97a41aa3383caf05690c96b22fdc0691e09b616, specifically in nox_xxx_spriteDeleteAll_45A5E0 or nox_xxx_spriteIsPlayerSprite_45A630. Still figuring out what's wrong. If it's the same bug, it started from v1.8.12-alpha2.

dennwc commented 1 year ago

Fixed. It will be in the next alpha.