[Pogamut-list] Run bot from command line
cazub
pogamut-forum at artemis.ms.mff.cuni.cz
Wed Oct 15 21:08:07 CEST 2008
Re: Run bot from command line
Ok errors with the AgentLauncher local parser flag set to true;
C:\Documents and Settings\Carl Zubris\Desktop\SHARED_MVHOMENET\RayCast3_cmd\dist
>java -cp . -jar RayCast3_cmd.jar 192.168.2.3 jimmy
Oct 15, 2008 12:03:00 PM cz.cuni.pogamut.Client.Agent bindLocalParser
INFO: Binding local parser.
Oct 15, 2008 12:03:00 PM cz.cuni.pogamut.Client.Agent bindLocalParser
INFO: Connecting to GameBots at 192.168.2.3
Oct 15, 2008 12:03:00 PM cz.cuni.pogamut.Parser.GameBotConnection connect
INFO: Connecting to GB: localhost/127.0.0.1:3000
Oct 15, 2008 12:03:01 PM cz.cuni.pogamut.Parser.GameBotConnection connect
SEVERE: Can't connect to GameBot (localhost/127.0.0.1:3000)
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at cz.cuni.pogamut.Parser.GameBotConnection.connect(GameBotConnection.ja
va:236)
at cz.cuni.pogamut.Client.Agent.bindLocalParser(Agent.java:440)
at cz.cuni.pogamut.Client.AgentLauncher.launch(AgentLauncher.java:112)
at cz.cuni.pogamut.Client.AgentLauncher.launch(AgentLauncher.java:94)
at pogamutjavabot.launcher.main(launcher.java:44)
Can't connect to GameBot (localhost/127.0.0.1:3000) -> Connection refused: conne
ct
cz.cuni.pogamut.exceptions.ConnectException: Can't connect to GameBot (localhost
/127.0.0.1:3000) -> Connection refused: connect
at cz.cuni.pogamut.Parser.GameBotConnection.connect(GameBotConnection.ja
va:242)
at cz.cuni.pogamut.Client.Agent.bindLocalParser(Agent.java:440)
at cz.cuni.pogamut.Client.AgentLauncher.launch(AgentLauncher.java:112)
at cz.cuni.pogamut.Client.AgentLauncher.launch(AgentLauncher.java:94)
at pogamutjavabot.launcher.main(launcher.java:44)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at cz.cuni.pogamut.Parser.GameBotConnection.connect(GameBotConnection.ja
va:236)
... 4 more
Oct 15, 2008 12:03:01 PM cz.cuni.pogamut.Client.Agent startAgent
SEVERE: Can't start agent. Parser wasn't bind to the body.
Exception in thread "main" java.lang.NullPointerException
at cz.cuni.pogamut.Client.AgentBody.sendCommand(AgentBody.java:747)
at cz.cuni.pogamut.Client.AgentBody.configureName(AgentBody.java:1426)
at pogamutjavabot.launcher.main(launcher.java:45)
This is on the remote machine, no netbeans running, just a command prompt
----
Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=299&comments_parentId=207&post_reply=1#form>
More information about the Pogamut-list
mailing list