On Thu, 27 Jun 2002, Mythran wrote: >----- Original Message ----- >From: "Alex" <fletchra@qsilver.queensu.ca> > >> > > 140 155 4 >> > > 142 142 5 >> > Uh.. The game won't shift its wheels? :) I mean it's legal, and >> > zone #4 will have 140 - 141 , 143 - 155 rooms, right? >> Nope, zone 4 will have 140-155. :) zone 5 will be only room 142. >> > >Yeah, I have noticed the addition of top and bottom. I didn't think they >could overlap! > >Now, for a single zone (say zone #1 with vnums 1-50) I can have 1 builder in >charge of the the whole zone, one building in charge of vnums 1-25, one in >charge of 26-50 and maybe another helping them both in vnums 15-30??? 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 -- +---------------------------------------------------------------+ | 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