renumber.help
renumber.help · 2.7 KB
From the archive renumberV2.zip
Download the archive « Back to the archive contents
54 RENUMBER~ Syntax: renumber <area filename> <new vnum base> [flags] Flags: fillgaps verbose progs global Example: renumber haon.are 6100 fillgaps verbose The renumber command renumbers an entire area to a new vnum base. All rooms, objects and mobs will be renumbered, and all references to them will be fixed (changed to reflect the new vnum for each object/mob/room). These references include: resets, exits, shops, repair shops, and the objvals of some objects (containers and levers). Unless the "&Rfillgaps&D" flag is supplied, the command doesn't fill vnum gaps. If you just want to fill the gaps in the area instead of changing the vnum base, simply supply the same vnum base (duh!). If the "&Rverbose&D" flag is not supplied the command will simply report the actions. If it's supplied, it will also list all the vnum changes, and report details on all the reference fixes. If the "&Rprogs&D" flag is supplied, programs with references to renumbered vnums will be changed. WARNING: This might mean numbers that are NOT references to those vnums are changed as well. &RIT IS NOT RECOMMENDED TO USE THIS AND FILLGAPS, BECAUSE CONFLICTS ARE LIKELY TO ARISE.&D If the "&Rglobal&D" flag is supplied, every area in the game will be checked for references, and corrected as appropriate. This obviously takes much more processing power, but the extra time helps assure consistancy in the entire game. The command will only modify references inside the area, except for two-way exits leading into the area, wich will be listed if the "&Rverbose&D" flag is supplied (so that you know that you also have to save those areas). Mobprogs can also contain references to vnums, but since prog parsing is far beyond this command, all it does is perform simple string searches and warn you if it finds any (possible) references, and it only does this if the "&Rverbose&D" flag is supplied. This search is performed only in the progs inside this area, not in every mudprog in the game. In conclusion, all references are modified by the command except&D: * resets in other areas for things being renumbered * references to these vnums in mobprogs in other areas * one-way entrances to the area A prototype area can only be moved inside its vnum range, never out of it. The vnum ranges for proto areas are not touched; the ones for normal areas are changed to reflect the renumbering. Proto builders can only move their own area. Finaly, please bare in mind that there's no way to change hard-coded vnums except by changing code. So you'd be advised to &Rcheck the code&D if you ever decide to renumber any of these areas: &Rlimbo.are, newdark.are, newacad.are&D. ~