On Thu, 5 Feb 1998, S. Mead wrote: > #0 0x4ee9c in perform_violence () at fight.c:1009 > 1009 if (ch->equipment[j]) { Undoubtable your ch, which is a pointer to char_data, has been shifted or the memory it was pointing to deallocated. Run gdb just like you did to get the above output and type the following: print *ch This is going to dump the memory contents ch points to, hopefully in a semi-readable way, to your screen. If things look legit (ie, somewhere you should see name={"Some character or mob name here"} and str=18 vs: name={"\0\786~^#Jdf"} etc etc then the ch pointer isn't your problem - if it's gibberish something happened to it - check the code and look at everything that refers to the ch variable. Hope the above is correct and helps :O Brian bhelms1@gl.umbc.edu +------------------------------------------------------------+ | 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