Re: [NEWBIE]small problem

From: lijster op planet (lijster1@planet.nl)
Date: 03/25/02


> First, your snippet/patch for adding Mob races is extremely
> outdated, so you will have several places where this type of
> mismatch will occur.
> Second, I _believe_ (not exactly sure) that what you are looking
> for is in db.c at line 1196 in stock circle:
> --------------------------------------------
>   GET_SEX(mob_proto + i) = t[2];
>
>   GET_CLASS(mob_proto + i) = 0;
> --------------------------------------------
>
> ***********MAILER CODE****************
>
> You will also want to add a new macro similar to the GET_CLASS
> macro in utils.h, thus
> #define GET_CLASS(ch)   ((ch)->player.chclass)
> Becomes:
> #define GET_RACE(ch)    ((ch)->player.race)
>
> But DO NOT copy/paste that definition into utils.h, you have to
> work it out the best way for you

Thanks, I noticed it was outdated, got 104 errors and 8 warnings while
compiling the the mud with the snippet.

I'll try your idea and hope for the best.

thanks.

> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
>
> --
>    +---------------------------------------------------------------+
>    | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
>    | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
>    | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
>    +---------------------------------------------------------------+

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT