=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- OasisOLC (v2.0.1) LITE for CircleMUD 3.1 Copyright (C) 2004 G. Davis Monday, March 23rd, 2004 mixcoatl77@yahoo.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I shall begin by stating, up front, that I mean no disrespect to any of the recent maintainers of the OasisOLC system by releasing this patch. Quite the contrary. However, I'm finding myself incapable of using these newest contributions to OasisOLC because the direction these new maintainers chose to take is more than substantially different from my own and that of previous maintainers. If memory serves, it was intended that OasisOLC plus genolc be a core online building subsystem and default implementation. Instead, recent versions have become a platform for much completely non-OLC related functionality. Such modules as aedit and cedit, to name a few, are functionalities I not only do not need, but quite explicitly do not want. Improvements to the core OasisOLC goals have been all but ignored, with a few exceptions, since v2.0.1 of OasisOLC. In conclusion, this patch serves to fill a gap in online building systems: a clean, lightweight version of OasisOLC for those coders or administrators who, like myself, want only that core OLC functionality upon which to build. CONTENTS/CHANGELOG * OasisOLC v2.0.1 * Added OasisOLC version to boot sequence and do_gen_ps() * Fixed numerous assumptions that sh_int = IDXTYPE * Fixed global buffer usage throughout OasisOLC * Corrected case clobbering in search_block(), one_word(), one_argument() and any_one_arg() * Modified one_word() to accept either single or double quotes * Fixed a bug in do_oasis() that prevented zone saving from working * Fixed real_shop() to take a shop_vnum and return a shop_rnum * Added header flower block and include sentry to constants.h * Added include sentries to genmob.h, genobj.h, genolc.h, genshp.h, genwld.h, and genzon.h * Changed default Makefile.in target to circle (was: all) * Added a clobber target to Makefile.in INSTALLATION: Simply copy the oasisLITE.patch file into your MUD's root-level directory, usually circle3.1, and apply it using the patch command. The first path element will likely need to be stripped to get it to patch in cleanly. A demonstration of this sequence is shown below: % cp oasisLite.patch circle3.1 % cd circle-3.1 % patch -p1 -u < oasisLITE.patch After manually patching any rejected chunks (*.rej files), reconfigure, re- compile the source code and run. Provided there aren't many changes in your source tree, this process should be relatively problem-free. SUPPORT: [*** Insert standard disclaimer here ***] Backups should be made if this patch is being applied to modified source. Furthermore, I've tested this only against stock CircleMUD 3.1. I can make no claim as to its suitability or compatibility to prior or subsequent releases of CircleMUD. If commands, patches, snippets, or other add-ons have been added to your game I can be nearly certain this patch will not go in cleanly: backups are absolutely critical. I will not be held responsible if you somehow come to destroy your source tree while attempting to apply this patch. In any case, should a problem arise that is specific to this patch, I shall do my best to be of assistance. While it may seem rude to some, I haven't the time in my busy schedule to give instruction on patching by hand, compiler errors, or elementary C "stuff". But, I will gladly make time for any issue related directly to this patch, itself. My email address may be found below. =-=-=-=-=-=-=-=-=- -Geoff Davis (mixcoatl77@yahoo.com)