renumber.help
renumber.help · 2.1 KB
From the archive Renumber.zip
Download the archive « Back to the archive contents
54 RENUMBER~ &YSyntax: renumber <area filename> <new vnum base> [flags] Flags: fillgaps verbose &pExample: renumber haon.are 6100 fillgaps verbose&w 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 "&pfillgaps&w" 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 "&pverbose&w" 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. The command will only modify references inside the area, except for two-way exits leading into the area, wich will be listed if the "&wverbose&p" 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 "verbose" flag is supplied. This search is performed only in the progs inside this area, not in every mudprog in the game. In conclusion, &Gall references are modified by the command except&w: &p* &Gresets in other areas for things being renumbered &p* &Greferences to these vnums in mobprogs in other areas &p* &Gone-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&w if you ever decide to renumber any of these areas: &rlimbo.are, newdark.are, newacad.are&w. ~