[BUG] Buff and Attack switch causes stackoverflow
Single buff (Flow pierce force) with speed buff (grass walk) causes too many switches within CastBuff
state.
After killing all 3 monsters within area, bot switches from Attack
to Attack
state.
The connection has been made!
ag_remote_send_buffers 2001
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
The thread 0x1c6c has exited with code 0 (0x0).
The thread 0x4658 has exited with code 0 (0x0).
The thread 0x3050 has exited with code 0 (0x0).
The thread 0xde8 has exited with code 0 (0x0).
The thread 0x2a44 has exited with code 0 (0x0).
The thread 0x10cc has exited with code 0 (0x0).
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
Switch to state <LobotDLL.StateMachine.Training.CastBuff>
...
Switch to state <LobotDLL.StateMachine.Training.Attack>
Attack InitializeEventhandlers() - invocationcount:1
Switch to 5B8C51
Despawn 5B8C51
Switch to 5B8F8E
Despawn 5B8F8E
Attack RemoveEventhandlers() - invocationcount:0
Switch to state <LobotDLL.StateMachine.Training.Attack>
Attack InitializeEventhandlers() - invocationcount:1
Switch to 5B8D07
Despawn 5B8D07
Attack RemoveEventhandlers() - invocationcount:0
Switch to state <LobotDLL.StateMachine.Training.Attack>
Attack InitializeEventhandlers() - invocationcount:1
Attack RemoveEventhandlers() - invocationcount:0
Switch to state <LobotDLL.StateMachine.Training.Attack>
Attack InitializeEventhandlers() - invocationcount:1
Attack RemoveEventhandlers() - invocationcount:0
Switch to state <LobotDLL.StateMachine.Training.Attack>
Attack InitializeEventhandlers() - invocationcount:1
Attack RemoveEventhandlers() - invocationcount:0
...
Process is terminated due to StackOverflowException.
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll