  | |  | 2 part question.. | 2 part question.. 2004-04-26 - By Brandon Tracy
Back Referencing the dreaded "95" skill bug. It hit us in a skill yesterday, for unknown reasons, as the "fix" for it was already installed in our revision. So I looked at the struct.
struct skill_type { char* name; /* Name of skill */ sh_int skill_level[MAX_CLASS]; /* Level needed by class */ sh_int skill_adept[MAX_CLASS]; /* Max attainable % in this skill */ sh_int race_level[MAX_RACE]; /* Racial abilities: level */ sh_int race_adept[MAX_RACE]; /* Racial abilities: adept */
Now, oddly enough, in my code.. MAX_RACE and MAX_CLASS are bot set to 40 ... but there are MAX_PC_CLASS and MAX_PC_RACE variables set somewhere in tables.c? I'm soo confused. Anyone have any insight on why my aggressive style skill got set to minpos 95?
A possibility I thought of is that I *know* we have a memory leak somewhere. Can someone tell me how to track it down? It core dumps now and again when trying to free memory, and the last two cores have both been while DISPOSE'ing of a paf on an object. Is there a good free program to figure out what mucked up the memory it was trying to free?
I'm confusing myself >_< All this got so much worse after installing the bug fixes Nivek listed.. http://www.cs.utk.edu/~london/smaug/bugfix.html
Any help would be GREATLY appreciated.
-Senrai
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Earn $52 per hosting referral at Lunarpages.
|
|
 |