Author Topic: Delete Character from servervault?  (Read 312 times)

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Delete Character from servervault?
« on: May 11, 2012, 01:16:31 am »


                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.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Delete Character from servervault?
« Reply #1 on: May 11, 2012, 02:46:24 am »


               the option works only in singleplayer or server with localvault enabled
               
               

               
            

Legacy_acomputerdood

  • Sr. Member
  • ****
  • Posts: 378
  • Karma: +0/-0
Delete Character from servervault?
« Reply #2 on: May 11, 2012, 03:47:57 am »


               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.
               
               

               
            

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
Delete Character from servervault?
« Reply #3 on: May 13, 2012, 04:28:31 pm »


               @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) .....
               
               

               
            

Legacy_Knight_Shield

  • Hero Member
  • *****
  • Posts: 812
  • Karma: +0/-0
Delete Character from servervault?
« Reply #4 on: May 31, 2012, 10:00:04 pm »


               

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?