[Pogamut-list] Run bot from command line

jakub.gemrot pogamut-forum at artemis.ms.mff.cuni.cz
Wed Oct 15 10:21:21 CEST 2008


Re: Re: Run bot from command line
There are several steps you have to do in order to create an agent that is runnable from remote machine from console:

1) locate PogamutCore.jar ... it should be somewhere in PogamutPlatform directory (check the NetBeans Tools/Options/Pogamut ... Pogamut platform directory)
... you may use it in two ways: 
 a) repack PogamutCore.jar to your own jar
 b) provide an argument for the java vm (-cp) that points on this jar

2) you know about AgentLauncher - good!

3) no need for remote parser! ... always use local parser (and that's that "true" in the AgentLauncher constructor)

Summary: I think your problem lies in PogamutCore.jar that is needed for running the bot. ... No it probably not as you were able to start the agent.

Please provide an exception the java throws when you try to start the agent (with local parser) + more details ;-) ... how do you instantiate "gameBots" ? do you correctly parses args[1] and use it inside new URI() ?

Cheers, Jakub!

----

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





More information about the Pogamut-list mailing list