Re: [CODE][CRASH]Classes

From: Rob O'Connor (rene@EDENEAST.COM)
Date: 03/09/98


--Rob O'Connor <rene@EDENEAST.COM> wrote:
CI>>
CI>> my last post..
CI>> I corrected the compile warning by setting max # of classes in
CI>structs.h
CI>> to 9..
CI>> however it still crashes just as they type Y to accept the stats they
CI>> rolled.
CI>>
CI>> but it wont happen with CLASS_MAGIC_USER CLASS_THIEF CLASS_WARRIOR or
CI>> CLASS_CLERIC  just the new 5..
CI>> I also havnt added skills/spells for the 5 new classes, im thinking
CI>that
CI>> might have a small role in it?  Since I just made the classes, I had
CI>> them in but no skills yet...

CI>Assuming you're using stock code, did you add the statements to assign
CI>the stats to the spots you want them? That is, there are a set of
CI>statements that
CI>take the numbers rolled and assign them to an order
CI>determined by class. Such as
CI>ch->real.abils.statname = table[0];

CI>I don't remember off hand every step to adding classes, however it is
CI>a safe bet if you go through class.c,
CI>structs.h and constants.c you will find most of what needs to be
CI>changed to get things working. Just check for things and expand them
CI>as looks logical. If there is some structure with stuff defined for
CI>the 4 starting classes, add logical additions to cover for your new
CI>classes.

CI>There's an excellent document that goes through this
CI>process step by step, it's in an ftp directory I *think* on the
CI>circlemud homepage. It's called class.doc and should answer every
CI>question you have
CI>on the matter :)

CI>Andy

CI>_________________________________________________________
CI>DO YOU YAHOO!?
CI>Get your free @yahoo.com address at http://mail.yahoo.com


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











yes, the problem turned out to be I simply left out 2xp tables and it
was causing the errors.


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



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