You have to be careful how you figure out what the zone number is though. > If you're checking for "can this person edit this room", you want to check > whether the room falls within the range of the zone they're allowed to > edit. Don't check whether the room they're in belongs to the zone they can > edit. The distinction is subtle, but there's only one "room->zone" for all > zones that it could belong to. The "room->zone" is assigned 'greedily' in > db.c, that is the zone only increments when loading a room that cannot > exist in the current zone. So zones of 1-8 and 2-4 will result in ->zone > being the same for all 8 rooms. To do otherwise would cause a lot more > code changes... > > -- > George Greer > greerga@circlemud.org As of right now, I am implementing a function, can_edit_zone. This function, when called, will check to see if a player/builder can edit/modify a zone/obj/ mob/et cetera. This is the primary function that will need to be updated. Of course, this is for my mud only. I don't understand why a similar function has never been introduced into the list of functions in OasisOLC or some other OLC. **SHRUG** Oh well...my thoughts...:) Mythran -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT