WheelMUD
                                
                                 WheelMUD copied to clipboard
                                
                                    WheelMUD copied to clipboard
                            
                            
                            
                        Can get multiple copies of player into the world
Logging in, quitting, and logging in immediately again can result in two versions of the player being loaded. We need the login system to search for matching players from the PlayerManager first before trying to load the player from the document DB.
Similarly for logging in to a new terminal while the player is already connected; the old terminal is disconnected but we end up with a second copy of the player Thing in the world.
@duaneking adds: "On login, check for prior session and attach to it if it exists?" Indeed, a viable approach.
I can't reproduce either scenario. Can you clarify the steps/timing?
Log in, "l" to look at room. Disconnect or quit. Reconnect. Log in with the same character. "L" again. You will see a copy of yourself in the room.