Re: [newbie] medit problem

From: Del (caminturn@earthlink.net)
Date: 03/18/00


You will have to check the medit.c code.
Follow it through to see what it does with the variable you set.

You select 6 to change level?

    case '6':
      OLC_MODE(d) = MEDIT_LEVEL;
      i++;
      break;

down to

  case MEDIT_LEVEL:
    GET_LEVEL(OLC_MOB(d)) = LIMIT(i, 1, 100);
    break;

Does that stuff look right?


mattcpu wrote:
>
> Ok sorry forgot to mention it. i am using brian's game coding. and nope
> gain isn't part of the stock coding.
> my medit problem is when you are making a mob ex. medit 1000  you can do
> the mobs name and
> description but when you go and choose the level its already set for level
> 2 for the mob and when you try and change it to say level 5 and hit enter
> for it. it will not accept it and changes it back to level 2
> just as though you didn't try to set it for level 5.
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | 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/10/01 PDT