You start and stop the AutoAttack, but doesn't look like you ever make a call to the AutoAttack that actually contains the loop, this would mean it would have to be running already prior to hitting auto-attack...so is it running, or should this call it at this point?
eRead the top post. It clearly states that when a mob logins in, it will start auto_start()
Which makes it it when auto_attacvk is active, it will make it attack.
As was asked about your last post, you missed the procedure definition that contains your while loop for auto attack. Could you post this full procedure?
I think the issue is in this piece:
You start and stop the AutoAttack, but doesn't look like you ever make a call to the AutoAttack that actually contains the loop, this would mean it would have to be running already prior to hitting auto-attack...so is it running, or should this call it at this point?