Re: Bug & Question

From: ShadowLord (dkoepke@california.com)
Date: 04/07/96


On Wed, 27 Mar 1996, Macabre wrote:

> I've been running CircleMUD v3.10 which is Great but I have noticed that
> the 'look in bottle' or 'look in bag' commands don't work.  I'm not sure
> but I think that they used to in version 2.

Someone already posted the fix for this, it's in generic_find (handler.c),
I believe FIND_OBJ_EQUIP (or something similar).  I don't remember it's
specifics, but it was an 'if' statement that had, 'isname([whatever]) ==
0' and the fix being removing the '== 0'.

Heh, I'm sure that did a _WHOLE_ world of good :)


> I created another class and put all
> the constants in utils.c and structs.h (IS_<CLASS>, etc) to my guy and
> everything works except the practice commands shows the list as being
> a ton of !UNUSED! and on the 7th page (out of 10) are the rest of the
> spells for everyone.  Have you ever had this problem?  If so could you
> tell me what I did wrong or what I need to do to fix it.  Oh, and I
> also set the NUM_CLASSES constant to the correct number of classes.
> Oh, well just wanted to tell you about the bug and ask for some help.
> I love the MUD you made, it kicks ass.
>


In spell_parser.c you need to make the functions spello() and
unused_spell() set the spell's min_level for the new class.  It shouldn't
be too terribly difficult.  Also, don't forgot to give your class
spells/skills in class.c.



This archive was generated by hypermail 2b30 : 12/18/00 PST