Advance and Set level Prob + one other

From: Brian Beffa (MortalCity@aol.com)
Date: 08/12/00


This is an error I got, i didnt find errors in it, obviously.

SYSERR: Mob using '((((ch)))->player_specials->saved.pref)' at mobact.c:74.

I checked out that line and it looked fine.

And when I set then advance or advance then set someone a level, the mud
crashes sometimes and the chars level is set to -74.  Does anyone know where
to find a patch for this?

mobact.c


    /* Scavenger (picking up objects) */
    if (MOB_FLAGGED(ch, MOB_SCAVENGER) && !FIGHTING(ch) && AWAKE(ch))
      if (world[ch->in_room].contents && !number(0, 10)) {
        max = 1;
        best_obj = NULL;
        for (obj = world[ch->in_room].contents; obj; obj = obj->next_content)
          if (CAN_GET_OBJ(ch, obj) && GET_OBJ_COST(obj) > max) { /* <-- line
74 */
            best_obj = obj;
            max = GET_OBJ_COST(obj);
          }
        if (best_obj != NULL) {
          obj_from_room(best_obj);


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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