[Pogamut-list] Run bot automatically
rudolf.kadlec
pogamut-forum at artemis.ms.mff.cuni.cz
Fri Oct 24 21:20:44 CEST 2008
Re: Run bot automatically
1) Make sure that you have configured path to your UT install dir and the type of executable eg:
-Dpogamut.unreal.home=C:\Games\UT2004Server -Dpogamut.unreal.serverexec=ucc
2) Then implement the task you want to perform eg. connect bot, observe its behaviour, terminate when it finishes in an Experiment. There is a special class cz.cuni.pogamut.experiments.Experiment for this purpose. Just subclass it and read the Javadoc. Also implement ExperimentDescriptor for this experiment.
3) Execute the experiment descriptor using an ExperimentExecutor (in this case JPPFExperimentExecutor). Sample code doing this can be found in JPPFExperimentExecutor suproject (trunk/projects/addons/core/JPPFExperimentExecutor) in class cz.cuni.pogamut.experiments.test.TestJPPFExperimentExecution ... definitely read this
Good luck and keep asking :-)
R
----
Reply Link: <http://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=2&comments_reply_threadId=333&comments_parentId=280&post_reply=1#form>
More information about the Pogamut-list
mailing list