[Pogamut-list] Logic Exception

Sören Dierkes soeren.dierkes at informatik.uni-oldenburg.de
Mon Jul 11 16:59:34 CEST 2011


Hi,

I wrote a simple Bot with a Bayes Classifier, but I got a few Problems.
A simple method like:

     protected void stateHit() {
         log.info("Decision is: HIT");
         enemy = 
players.getNearestVisiblePlayer(players.getVisibleEnemies().values());
         if (oldAction != Action.GET_ATTACKED) {
             while(!enemy.isVisible()) {
                 getAct().act(new Rotate(2000,"left"));
                 oldAction = Action.GET_ATTACKED;
             }
         }
     }

throws a logic iteration exception. This method works fine before, maybe 
someone can help me.

Thanks

Sören



More information about the Pogamut-list mailing list