> My first time posting so hopefully I do this correctly. I am pretty new to > coding but I am picking it up slowly. I added the dual-wield skill and a > second attack skill to my code(after alot of necessary modification). Now > when testing it, the mud randomly crashes during the middle of combat. Here > is what gdb outputs: When you put in dual_wield code and gave the character a second attack with it, you added another call to hit() im assuming. What you need to do is put a FIGHTING(ch) check before you call the 2nd hit. What is happening is you kill the mob on the first hit and are trying to call the 2nd hit with no victim, cuz the mob is already dead. Hope this helps... Joe aka Moradin of Awakened Dawn +------------------------------------------------------------+ | 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