Hardcode, Bugs, Releases, Contrib patches
Named registers via setr() and setq()
Submitted by Kelvin McCorvin on Thu, 2008-07-03 12:03.One of the absolute worse things about softcode is its register system. The need for such a thing is great, and our code is littered with things like %q3,%q4,%q5, which can make sense when you're writing things. But looking back at something even as short as a week later usually means trying to figure out what in the world %q3 is. Or worse yet, getting them mixed up.
Something I've been whining for on MUX as well is named registers. RhostMUSH is the only one I know of so far that has this. Basically, something like this would be legal:
> think [setr(SOMEVAR, value)][r(SOMEVAR)]
Newsfiles, but no news directory!
Submitted by Nano on Mon, 2008-03-24 17:41.This's been bothering me to no end. I can go in and edit up index.nws and pennmush.nws, and typing 'news (news file)' works like a charm. But here's where I hit a little problem; typing 'news' alone doesn't seem to bring up the index. Infact, all it gives me is 'No entry for 'NEWS'.' So, anyone know what I'm doing wrong?
Integer Maps
Submitted by raevnos on Thu, 2008-01-31 15:53.Integer Maps map unsigned 32-bit integer keys to arbitrary pointers. They were added in 1.8.3p7. They're used in a number of places; for example, in queue entry process id related code (src/cque.c), and in looking up the structure representing a connected socket via its descriptor number (src/bsd.c).
PennMUSH and OpenID
Submitted by Kelvin McCorvin on Fri, 2008-01-18 10:04.I was wondering if anyone had an OpenID implementation for PennMUSH. This is something I'd really be interested in across multiple games for the sake of consistency.
1.8.3p6 and 1.8.2p8 are out
Submitted by raevnos on Tue, 2008-01-01 19:36.Get them at http://download.pennmush.org/Source
All users are encouraged to update; there is a crash fix in these. Lots of internal changes for 1.8.3, less user-visible.
- raevnos's blog
- Login or register to post comments
Threading and Penn, part 2
Submitted by raevnos on Thu, 2007-11-15 09:55.Earlier I mentioned some of the difficulties with making a multi-threaded mush (Read it here.)
- raevnos's blog
- Login or register to post comments
- Read more
Moving to a new site (by Rhyanna)
Submitted by javelin on Sat, 2007-11-03 13:34.Moving to a New Site (Rhyanna)
Sometimes it becomes necessary for a MUSH to move to a new site. These are some of the common reasons:
* The site gets taken offline because of host problems.
* The site provider graduates / flunks out / otherwise loses their account.
* The MUSH starts taking up too much memory, disk space, or CPU time.
* The sysadmin of the site realizes that a MUSH is being run without permission. (This is far more common than it ought to be. Always get permission before running a MUSH.)
Tricks with core dumps (by Rhyanna)
Submitted by javelin on Sat, 2007-11-03 13:32.Recovering a db from a core dump
I have recently managed to recover a PennMUSH 1.50 database from a core file. I will explain what I did, in the hopes that this technique may be useful to others.
I will assume that at the beginning, you are in the game/ directory, and that your core file is in the same file, named core. You should also have a debugger available. I only know gdb, so I can't give directions for using debuggers other than gdb.
PennMUSH 1.8.2p7 and 1.8.3p5 Released
Submitted by raevnos on Fri, 2007-10-05 21:46.The PennMUSH developers are pleased to announce the release of new patchlevels: 1.8.2p7 for the stable line and 1.8.3p5 for the development line. Get them at http://download.pennmush.org/Source.
JIT part 2
Submitted by raevnos on Sat, 2007-08-11 10:44.Success!
I have lock bytecode being compiled to native powerpc binary on-demand. There's still a lot of work -- this is so far just in proof-of-concept -- and don't expect to see it in a Penn release any time soon (If ever). Among many other things, I need to do some benchmarking and find out if there's any benefit to doing this.
Transcript of a gdb session follows the break.
- raevnos's blog
- Login or register to post comments
- Read more

Click 
