Recovering from a lost God password (1.8.0+)

Recovering from a lost God password (1.8.0+) Tyr Tue, 2005-01-04 15:22

Having forgotten the god pw on my tinkering site, I went into the db to hack it out...and lo and behold, the instructions in the Guide for 1.7.x no longer applied! The new db format deprecated them. With Jav's help, I figured out how to do it with the new format.

Instructions are as follows:
Decompress your outdb and open it in your favorite editor. Look for an attribute resembling this:

attrcount 10

Reduce it by one.
Then look for something like this:

 name "XYXXY"
  owner #1
  flags "no_command wizard locked internal"
  derefs 0
  value "XX13793169753747280487"

Delete everything between the end of the previous attribute and the !2 (signifying the start of #2). Save. Re-compress, restart your game, et voilĂ ! You've just hacked #1's pw.

A tool to recover a lost #1 password

A tool to recover a lost #1 password javelin Sat, 2010-07-31 21:48

Brazil of TinyMUX fame has written Omega, a flatfile converter that can remove #1's password attribute on PennMUSH as well as other server flavors. Check it out at ftp://ftp.tinymux.org/TinyMUX/omega-1.0.9.10.tgz

Run as: omega -1 mydb mydb.out

He suggests that you examine a diff between the original and omegafied db to make sure it's only changed what you wanted it to, just in case.