<snipped>
> do_function(NULL, &do_activate_teleporter, buf);

ERROR---------^^^^^
cause: no char info passed to second function.

> void do_activate_teleporter( CHAR_DATA *ch, char *argument )
> {
<snipped>
>     if ( ( obj = get_obj_list(ch, argument, in_room->contents) ) == NULL )
    ERROR              ---------^^
    cause: ch is passed from calling function.. in this case NULL.
    get_obj_list has an ifcheck for can_see_obj....
    see the beginings of the problem?

<snipped>
> when i leave the function with the break under the do_function(NULL,
> &do_activate_teleporter, buf); the mud crashes with a sigsegv fault in
> handler.c and bool can_see_obj but when i place it above the sprintf in
the
> case 'T' the mud loads, places the teleporters right but doesn't activate
> them. i was wondering if anyone could help me at all. i'm not sure if my
> problem is in the load_teleporters or do_activate_teleporters, any help
> would be greatly appreciated, because this is stumping me. thanks.

have fun :)
steve, stuck at home and bored silly. :)


Reply via email to