Make sure your game is not minimized or in a non-active state. The bot has to execute when the client is active (it doesn't have to be in foreground, just not minimized). It should work fine in Fullscreen, Windowed, or Windowed Fullscreen, but you can try changing that to see if it makes a difference.