On Tue, 6 Jan 1998, Brian Williams - Nashak wrote: >On Tue, 6 Jan 1998, George wrote: > >OLC_ZNUM is the realnum of the zone, GET_OLC_ZONE is vnum i.e.: >21 86 >where olc_zone is 86, but it's on real_zone number 21.. later I use: >if (GET_OLC_ZONE(ch) != zone_table[OLC_ZNUM(d)].number) { > can't edit except yer zone; > return; >} Find the line: CREATE(d->olc, struct olc_data, 1); Do not use OLC_xxx macros before that line. If you're worried about real/virtual zones, try real_zone() -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST