I have been experiencing a lag type crash. The game does not technicaly
"crash" but lags infinitly, thus not allowing me to peer at my debugger
file. I have to bring it down and put it back up manually. It started
doing this once I implemented a haste spell. The code I added is:
(after normal hit calls for fighting)
if ((IS_AFFECTED(ch, AFF_HASTE)) && (GET_POS(ch) == POS_FIGHTING)) {
int rand_num;
rand_num = number(1,100);
rand_num += (GET_LEVEL(ch) / 2);
if(rand_num > 65)
hit(ch, FIGHTING(ch), TYPE_UNDEFINED);
}
Any clues to why this would be happening?
Chuck Reed
+------------------------------------------------------------+
| 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/08/00 PST