Re: Delete characters

From: Brian Christopher Guilbault (guil9964@nova.gmi.edu)
Date: 07/05/96


On Thu, 4 Jul 1996, Eduardo Gutierrez de Oliveira wrote:

> Being an Implementor you can set the password to whatever you want (set 
> file player passwd anything). You can also delete the character several 
> ways, you can log with the new password and do it manually.

This will not delete the character but is related...we use a master
password so that imps can log on as any character without having to
change the PW for the character. In fact, they never even have to know
it. In your structs.h just add a line:

#define IMP_PASS = "<your_master_pw>"

Then in interpreter.c search for the line "/* turn echo back on */". 
Below that is a line to check the password of the character. Change it to 
this:

      if((strncmp(arg,IMP_PASS,MAX_PWD_LENGTH)) && (strncmp(CRYPT(arg,
GET_PASSWD(d->character)), GET_PASSWD(d->character), MAX_PWD_LENGTH))) {

That way, the game will accept your master pw as a valid pw for any 
character. Then, guard this secret with your life :-)

  -Brian


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Brian Guilbault - GMI Engineering Institute
E-mail: guil9964@gmi.edu, dante@i-55.com
WWW: http://www.gmi.edu/~guil9964
QuarantineMUD: Telnet to exit1.i-55.com 4000
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



This archive was generated by hypermail 2b30 : 12/07/00 PST