I do have every thing as i see it from what you wrote but this
ZONE_FLAGS(loc) (zone[(loc)].zone_flags)
My whole problem is it crashes where I said it did last time.
in act.movement.c
in do_simple_move
it crashes here
if (ZONE_FLAGGED(EXIT(ch, dir)->to_room, ZONE_QUEST)){
always crashes on the EXIT(ch, dir)->to_room
if anyone has some insight i would be much appreciative. This is the only
part of what i am coding that is giving me fits. Could be that my brain is
fried from other issues at work im dealing with :)
>From: Del <caminturn@EARTHLINK.NET>
>Reply-To: Circle Discussion List <CIRCLE@post.queensu.ca>
>To: CIRCLE@post.queensu.ca
>Subject: Re: [CIRCLE] zone flag checks
>Date: Sat, 20 Apr 2002 01:11:10 -0400
>
>Scott Meisenholder wrote:
> >
> > ok probably having brain fart can someone point out the obvious.
> >
> > Zone_flagged (loc, flagged) (IS_SET(ZONE_FLAGS((loc), FLAGS)))
> > zone_flags (loc) (zone(loc).zone_flags)
> >
>
>I noticed the capitalizations, did you copy/paste this or type this?
>Also, you need ZONE_FLAGS to be before ZONE_FLAGGED.
>
>
>And that looks strangely familiar to something I was messing with a while
>ago:
>#define ZONE_FLAGS(loc) (world[(loc)].zone_flags)
>#define ZONE_FLAGGED(loc, flag) (IS_SET(ZONE_FLAGS(loc), (flag)))
>
>--
> +---------------------------------------------------------------+
> | 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/ |
> +---------------------------------------------------------------+
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
--
+---------------------------------------------------------------+
| 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