[Pogamut-list] Run bot from command line
jakub.gemrot
pogamut-forum at artemis.ms.mff.cuni.cz
Wed Oct 15 11:54:21 CEST 2008
Re: Re: Run bot from command line
1) Local parser means that the agent instantiate it's own parser - it has nothing to do with NetBeans ;-) ... it just mean "hey you have to parse GB protocol on your own" and local parser is part of the PogamutCore.jar so it's ok (that also means no need to run NetBeans on the computer where UT2004 server is running - in fact, you only need UT2004+GameBots running on that computer, you don't even need java to have installed there)
2) try this
java.net.URI gameBots = new URI(args[0]);
bot mybot = new bot();
AgentLauncher launcher = new AgentLauncher(mybot, gameBots, true);
launcher.launch();
And post the exception it throws.
Cheers, Jakub
----
Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=297&comments_parentId=207&post_reply=1#form>
More information about the Pogamut-list
mailing list