extraexits.txt
extraexits.txt · 1.8 KB
From the archive extraexits.zip
Download the archive « Back to the archive contents
This is a patch to add four additional exits to rom 2.4. (northeast, northwest, southeast, and southwest) I added this patch to my mud, after wanting to do this for a long time, then finding a file explaining how to do it on Darkoth's page, (thanks Darkoth) The file is included here as extraexits.c just so you know what I took my work from. :) I've got Ivan's olc installed here, so some of these patches may not work for you. It should be easy enough though, to figure out where they go and apply them by hand when you see the *.rej files. The adding of the directions was easy enough, but all those little places where stock rom didn't use MAX_EXITS instead of putting in hard coded numbers (5) made it a bit more difficult. Anyway, this patch only changes those to 9, and adds the directions themselves to the required files. For whatever reason though, there doesn't seem to be any way to make nw a global alias for northwest (or the rest of them) but I'm sure I'm just overlooking something. Anyway, I think I got all the places that needed changing. Only two spots that aren't changed in these patches, and that's because this patch was created *after* I had actually gotten it all working, and I can't remember which file they were in. But in one of these files (one of the ones getting patched) is new_exit and old_exit (at least I think that's their names)) and the original line had [6] in it. I've changed it to [10], but I can't remember the rest of the line, so perhaps someone who applies this patch will let me know what it was. Also, if I've missed any places that should have been patched, let me know, and of course the reverse is true too. If I patched a place that should have been left alone, I'd like to know that too. This is version 1.0 of this patch, just for referrence purposes. Enjoy. tsiegel@softcon.com (panther@tsc2 on imc)