JimViebke / IslandMUD

A C++ MUD
MIT License
9 stars 3 forks source link

The server crashes when a user disconnects while in a room with a Hostile_NPC_Corporal #199

Closed JimViebke closed 8 years ago

JimViebke commented 8 years ago

This could be related to generating outbound messages. The code doesn't check if the referenced users are still online, though I'm not sure if it's possible for the player object to be removed during an update.

JimViebke commented 8 years ago

Probably fixed in 3efcd09; closing unless issue reappears.

JimViebke commented 8 years ago

Re-opening. If the player disconnects while standing in a room with an NPC, the server crashes.

JimViebke commented 8 years ago

Not a duplicate of #200.

JimViebke commented 8 years ago

Two issues reproducibly caused this, fixed in 0eaa402 and df7556d.