DarkCastleMUD / DarkCastle

Dark Castle is a text-based MUD (multi-user dungeon) that was originally based on DIKU MUD around 1995. It has been running since then.
https://www.dcastle.org/
GNU Lesser General Public License v2.1
12 stars 11 forks source link

linkdead characters that are deleted remain linkdead #177

Open jhhudso opened 2 years ago

jonjelinek commented 2 years ago

Help me understand how to test this issue. Keep in mind I haven't played DC in a long time, nor was I an immortal, and this is my first glimpse of the codebase. Thanks again for sharing out most of it.

Does 'delete' mean an immortal deleting the character from existence, where their player files are removed from disk, and yet the deleted player continues to display on the live server as linkdead?

jhhudso commented 2 years ago

Delete in this case means a player that has gone linkdead, then they log back in and choose to delete their character from the main menu (option 5, then typing ERASE ME), they remain linkdead in the game, their player file is moved to archive/selfdeleted/.

When an immortal uses zap to delete a player, everything (I think) is cleaned up properly. Their player file is moved to archive/zapped/ and their linkdead character is booted from the game.

bdunavant commented 2 years ago

How would one get into this situation to begin with? It used to be that logging into a character that was linkdead caused you to skip the menu, and immediately take the link back over. Did that change?

TehDreadPirateRoberts commented 2 years ago

This happens with a new character. To create the issue follow these steps:

  1. Create a new character
  2. Complete full login process (you are now in The DC++ Reception Area)
  3. Disconnect and go linkdead
  4. Login to character you just created but stop at the screen right after the MOTD before you Make your choice:
  5. Delete the character

Now that character is still linkdead and will show up when you login to your imm and type linkdead