basanta078 / marioai

Automatically exported from code.google.com/p/marioai
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

-server option missing for TCP #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"$ java ch.idsia.scenarios.Main -server on" returns Error: Undefined parameter 
'-server on', also src\ch\idsia\utils\ParameterContainer.java does not define 
-server option either. it seems this option is defined in the source file of 
the 2009 competition.

I'd like to use Python to program the agnet, How should start server in this 
case?

Original issue reported on code.google.com by hellohez...@gmail.com on 9 Nov 2010 at 3:35

GoogleCodeExporter commented 9 years ago
We have refused client-server architecture and developed a special library for 
this purposes -- AmiCo. Documentation will be updated soon and you will see how 
to use it :)
Which operating system are you using? 

Original comment by Nikolay....@gmail.com on 9 Nov 2010 at 5:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Where have you found "java ch.idsia.scenarios.Main -server on" at all? We have 
to remove any particular reference for old interface.
Pleaes, let  us know the link

Thank you!

Original comment by Sergey.K...@gmail.com on 10 Nov 2010 at 12:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
wow.. that's the less googlable web-site ;-)

indeed, the former is correct and there is no -server option there anymore; the 
latter is definitely dinosaur-outdated; you're right, it was for 2009.

to fix this issue i'll put it here and duplicate with update in UpdateLog.txt
1. Update to HEAD revision from SVN or download the source from the 
championship web-ste
2. Java -> Python direction. 
cd src/amico/PyJava
/run.sh <options> -o "-ag package.className.py" -ch <path_to_ch_directory> -out 
<directory for compiled library and agent>
for example:
/run.sh <options> -o "-ag package.className.py" -ch <path_to_ch_directory> -out 
<directory for compiled library and agent>

3. PY -> Java direction:
consider src/amico/python/agents/DemoForwardAgent.py 

if you use Linux, then consider AmiCoRunner.sh

Original comment by Sergey.K...@gmail.com on 10 Nov 2010 at 1:13