[Pogamut-list] Run bot from command line

cazub pogamut-forum at artemis.ms.mff.cuni.cz
Tue Oct 14 23:16:07 CEST 2008


Re: Run bot from command line
Hey guys, figured out how to run from the command line, but only on the local machine. With 10 command prompts, UT server, and netbeans all on the same PC things are very slow :P . 
   What is needed to run the bots from the command line on a remote computer (one not on the same PC as netbeans or UT server)? I think i need to link to the remote parser somehow but no idea how. Or perhaps something else is missing? 

java -jar myjaronRemoteComputer.jar 192.168.2.4:3000    is my command and the URI is parsed from Args[0] within the main function.


Also is there a way to automate things further so i can start 4 bots at a time with the same program? I've try'd creating 4 diffrent bots and launching with the code up above but only one bot gets launched and executed.

MyBot? bot1 = new MyBot();
MyBot? bot2 = new MyBot();
MyBot? bot3 = new MyBot();
MyBot? bot3 = new MyBot();

AgentLauncher? launcher1 = new AgentLauncher(bot1, gameBots, true);
launcher1.launch();
AgentLauncher? launcher2 = new AgentLauncher(bot2, gameBots, true);
launcher2.launch();
........ and so on , this does not work.



----

Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=291&comments_parentId=207&post_reply=1#form>





More information about the Pogamut-list mailing list