Aller au contenu

Photo

Delete Character from servervault?


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
Buddywarrior

Buddywarrior
  • Members
  • 256 messages
 Without NWNX, is a player able to delete the character they are logged on with? For example, if they want to clean up their character selection.

#2
Shadooow

Shadooow
  • Members
  • 4 471 messages
the option works only in singleplayer or server with localvault enabled

#3
acomputerdood

acomputerdood
  • Members
  • 219 messages
on my server, we've implemented a system that's player-driven and can do that.

there's a "suicide booth" in one of the areas that the player can "use". activating the booth will print a message to the server's logfile along the lines of "DELETEME:playername:cdkey:charactername". each restart, there's a script that scans through the log file looking for that entry. it then knows to do an "rm servervault/playername.bic database/playername" or whatever.

you obviously need a linux server to do what we do, though it may be within the realm of possibility of windows. don't really know much about that.

#4
Melkior_King

Melkior_King
  • Members
  • 135 messages
@Buddywarrior:
We implemented something like that for "Diablo - The Dark Wanderer", but it requires an external program. The player talks to a NPC and asks for the char to be deleted. The NPC sets the toon's race to a unique string. During server reset, the external program is run. It searches a database created by the NPC to find who has asked for deletion, then searches all toons under that account for the string and deletes those toons. Then the database is also deleted.

@acomputerdood:
I think it might be possible to do what you're suggesting under Windoze using the legacy DOS commands. Making it automatic might be a problem. I'll have to investigate that. If it can be done automatically, that would be better than what I have now.

(Let the head-scratching begin) .....

#5
Knight_Shield

Knight_Shield
  • Members
  • 444 messages

acomputerdood wrote...

on my server, we've implemented a system that's player-driven and can do that.

there's a "suicide booth" in one of the areas that the player can "use". activating the booth will print a message to the server's logfile along the lines of "DELETEME:playername:cdkey:charactername". each restart, there's a script that scans through the log file looking for that entry. it then knows to do an "rm servervault/playername.bic database/playername" or whatever.

you obviously need a linux server to do what we do, though it may be within the realm of possibility of windows. don't really know much about that.



I run a server on ubuntu server , would you share that setup?