Somewhere, somehow i must have messed something up in the look function or something to do with the sexes. Whenever I look at certain mobs or players it reverts to it intead of he or she. I went in to the code and commented out a few lines of code that dealt with hermaphrodytes. Could that have messed it up? Any help would be appreciated. thanks.
What Vladaar says about starting again on this score has merit, but I would only recommend that if you cannot wrk yourr way back (hopefully you will find your way back without needing to start again, it makes for better learning and understanding of the code
Anywho, can you identify what output functions are producing this "it" you don't want? I'm guessing this could be the act() function as it deals with a lot of this sorta output). In which case you may want to take a look acat the act() func in comm.c and look at how it deals wth the him/her/it he/she/it substitutions and if its handing Hermaphrodite as you wish. this may be dependant on the way the enumeration is setup in the code (in olc.h if I remeber rightly)
If it isn't act (and I'd be surprised if it wasn't as act() is a very useful function for this sorta thing) then you ned to pick one case of your problem (a PART of do_look() as do_look is rather an extensive function in some ways) and look how its processing the sex field wrong. The chances are the check will be similar all over the place (another reason I rekon its act).
Oh, as you're using afk you'll want to check if its act, act_neww or act_string that is used, as i can't remeber, my own mud doessn't have all those variatons, so check which one to be sure is being used in dd_look()