Pick Lock

From: Josh Smith (OnceOwnsYou@aol.com)
Date: 11/22/00


Yeah I've had a problem with pick lock failing several several times on my
MUD and I was wondering if anyone had any idea on how to fix this.

Picks set up in act.movement.c, and here's my code for it:

case SCMD_PICK:
    LOCK_DOOR(ch->in_room, obj, door);
    if (back)
      LOCK_DOOR(other_room, obj, rev_dir[door]);
    send_to_char("The lock quickly yields to your skills.\r\n", ch);
    strcpy(buf, "$n skillfully picks the lock on ");
    break;
  }

Anyone got any ideas? For some people it fails over 300 times. No
exaggeration there either :)

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT