Log in

No account? Create an account

February 23rd, 2013

Previous Entry Share Flag Next Entry
11:13 pm - Pronouns and Passwords
I recently wrote a couple of TinyMUSH patches, and I thought they might be of interest to other people.

Backstory: I run a small TinyMUSH world, as an online place for friends of myself and my wife to hang out. It has a rather long history, originally having started as a TinyMUX 1.6 world in 1998, and it's moved around to various Linux and FreeBSD hosts over the years. Because of TinyMUSH's simplistic use of the crypt() function, the result was a database with three different password hash formats in it. I'd patched TinyMUX to cope with that, and when we recently upgraded to TinyMUSH 3.2, I had to write a new patch.

I also wanted the ability to set custom pronouns. Some of my friends get creative with pronouns for non-binary genders, and unlike MUCKs, MUSHes have only a few hard-coded gender pronoun options. The patch I wrote allows using custom ones just by setting attributes on your character.

The patch is written against TinyMUSH 3.2. I don't think the code I modified has changed much in a while, so it may apply cleanly against other versions, too. I also wrote up a quick description of how to configure custom pronouns; I suggest putting it in the news.txt file, e.g. as "news pronouns".

EDIT: That patch had a nasty memory leak. Guess my C programming is rustier than I thought. I've replaced it with a version that hopefully WON'T crash your server.

(2 comments | Leave a comment)


[User Picture]
Date:February 24th, 2013 08:19 am (UTC)
Going waaaay back before instant messenger thingies, meeting and hangin' with folks was super fun on mushes and mucks and muds.... If you would like another birdy to peek in once and a while, pheel phree to note me de tails... ^v^
Do ya still write this stuff in Forth and tings like dat?
[User Picture]
Date:February 24th, 2013 08:11 pm (UTC)
These were actually patches to the source code of the actual server, written in C. MUSHes have their own type of internal scripting language, but it's not nearly as extensive as MUF is on MUCKs, so changes like this mean altering the server code and recompiling.
Squawk Sheet

> Recent Entries
> Archive
> Friends
> Profile

My website
My photos

Comics that don't suck:
Ozy and Millie by D.C. Simpson
Newshounds by Thomas K. Dye
Something Happens by Thomas K. Dye
Raine Dog by D.C. Simpson
xkcd by Randall Munroe
Little Dee by Chris Baldwin
Wondermark by David Malki

Blogs that don't suck:
Rick Steves' Travel as a Political Act
Hack a Day
Bob Hoover's Blog
You Are Dumb
Electoral Vote

Musicians that don't suck:
The Tragically Hip
Pepe Deluxé
Mark Knopfler
D.C. Simpson

> Go to Top