[Pogamut-list] Connection to external server

fireball787b pogamut-forum at diana.ms.mff.cuni.cz
Thu Jan 3 15:38:41 CET 2013


Re: Connection to external server

Author: fireball787b

Hi!

My main looks like:

public static void main(String args[]) throws PogamutException {
       new UT2004BotRunner(     // class that wrapps logic for bots executions, suitable to run single bot in single JVM
                SmartBot.class,  // which UT2004BotController it should instantiate
                "SmartBot"       // what name the runner should be using
        ).setMain(true)          // tells runner that is is executed inside MAIN method, thus it may block the thread and watch whether agent/s are correctly executed
         .startAgent();          // tells the runner to start 1 agent

        // It is easy to start multiple bots of the same class, comment runner above and uncomment following
       // new UT2004BotRunner(SmartBot.class, "SmartBot").setMain(true)
         //.startAgents(8);         // tells the runner to start 3 agents at once
    }

Could it be something from the config fileS?

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=6&comments_parentId=1094&post_reply=1#form>




More information about the Pogamut-list mailing list