[Add] About time I added timer support for AI.
[Fix] Buffer overflow in AI.