[Encore] Encore Express - WinMOO

Kevin Jepson kevijeps at telusplanet.net
Wed Oct 17 17:44:39 MDT 2007


Hi Truna
I use the "Emergency Wizard Mode" to change the Wizard password and login
and give each user a new password using the new system.

Here is the instructions on how to do that from the DU docs.
Note this is for a lrage MOO (not EnCore based), usually if they are using
test databases there aren't many if any users so the Wizard character change
may be all that is necessary.

Enjoy.
Ciao
KJ
===============================
http://pythonmoo.co.uk/mirror/du.org/MOO_requirements.html#db_conversion

How do I convert a MOO Database from one operating system to another?

If you are using a MOO Database other than a core to establish a MOO, there
is typically a problem of incompatible password encryption systems if the
new operating system that will be running the MOO is of a different general
type that the one the Database was initially developed on. This is almost
always the case when switching between UNIX, Win95, WinNT, and MacOS
systems, and may also rarely be encountered when switching between different
UNIX systems. The solution to the problem is to generate new passwords for
all the characters in the MOO. It is assumed that you will have a regular
character on the MOO, so you can test to insure the passwords have been
reinitialized properly. Note also that in order to send out the new
passwords to each person, the MOO will need to be able to send email (i.e.
been compiled with outbound connections allowed, have $network.active set to
1, and have a valid $network.maildrop address).

BE SURE TO SET ASIDE A COPY OF THE DATABASE AS A BACKUP BEFORE FOLLOWING
THIS PROCEDURE!!!!

The passwords may be reinitialized, and mail sent to all users informing
them of their new password as follows:

1. Modify the script or command that launches the MOO to start it in
"emergency wizard mode." This generally means adding the switch "-e" after
the "moo" command itself, in the script, batch file, or command line used to
launch the MOO. After the MOO loads, it should inform you that it is
entering emergency wizard mode, rather than present the regular welcome
screen. Note that if you are using a Win95/NT or MacOS system, this appears
in the "console" display. You do not need to connect to the MOO via Telnet
to use emergency wizard mode, and in fact you can't.

2. Set the archiwizard's password to zero, to allow you to connect to it
without a password. In nearly all MOOs, the archwizard is object #2, so set
the password with:

;#2.password = 0

3. Determine the name of the archwizard character with:

;#2.name

4. Type "continue" to exit emergency wizard mode and allow the MOO to start
listening for connections.

5. Connect to the MOO's regular text interface, using your favorite MUD/MOO
client program. From there, connect to the archwizard character with:

connect <name> ""

where <name> is the name (not in quotes) that you obtained in step 3, and
the `""' is a pair of double quotes with nothing between them.

<<<< This may be all that is required in many cases when using A Winmoo DB
for testing KJ >>>>>

6. At this point, you should be connected to the archwizard character. Now
add the command that will set new passwords for everyone, using:

@verb me:@initpasswords none none none rd

7. Now program the command by entering the following lines, including the
last line, which is just a period on a line by itself:

@program me:@initpasswords
if (caller!=this)
return player:notify("Nope.");
elseif (!this.wizard)
return player:notify("Sorry, only a wizard character can do this, and you
are not one.");
endif
for who in (setremove(setremove(players(),#2),$hacker))
if (who.password && !index(who.password," "))
"skip guests and characters with passwords that are impossible to type";
$wiz_utils:set_password(who, password=$wiz_utils:random_password(6), #2);
if ($network.active && who.email_address)
"send the new password by email";
$network:raw_sendmail(who.email_address, "Date: " +
$time_utils:ctime_for_email(), tostr("From: ",$network.MOO_name,"
<",$network.reply_address,">"), tostr("To: ",who.name,"
<",who.email_address,">"), "Subject: new password", "", tostr("The password
for your MOO character ",who.name," at ",$network.MOO_name," has been
changed to: ",password),"Please use this new password the next time you
connect to your MOO character.");
endif
endif
$command_utils:suspend_if_needed(10);
"use a long suspend, since the sendmail tasks tend to pile up badly";
endfor
player:notify("Done!");
.

8. Type "@initpassword" to run the command. The MOO will generate new
passwords for every registered character in the MOO who has ever connected,
and send out email notifying them of their new password.

9. Finally, you should set the password for the archwizard character. If the
archwizard is not actually used as an active character (recommended), then
use:

@set me.password to "impossible password to type"

otherwise use:

@newpassword me is <password>

to set a new password for yourself. On some MOOs, you may have to use
"@password" instead of the "@newpassword" command.

10. Before using "@quit" to end your session, try connecting to your
regular, non-wizard character on the MOO to make sure the new passwords have
been set properly.

11. After you have successfully re-initialized the passwords for the MOO,
you should remove the @initpasswords command with:

@rmverb #2:@initpasswords  

-----Original Message-----
From: truna aka j.turner [mailto:truna at acid.net.au] 
Sent: Wednesday, October 17, 2007 4:46 PM
To: Kevin Jepson; encore at encore-consortium.org
Subject: Re: [Encore] Encore Express - WinMOO

hello kevin ...

ah winmoo! some of my students are taking their work home and using winmoo
as a local site to play in ...

we have had interesting issues - one is the password thing ... how do you
change the passwords when winmoo doesn't recognise your wizard p/w?

and another oddity that is driving us a bit bonkers - a new room description
doesn't show exits and only the room owner can use the @exits command ...

any help greatly appreciated!

cheers, love truna




More information about the Encore mailing list