[Pogamut-list] Bots standing around doing nothing

michal.bida pogamut-forum at diana.ms.mff.cuni.cz
Wed Nov 24 20:06:26 CET 2010


Re: Bots standing around doing nothing

Author: michal.bida

The code of my bat file:

{CODE()}
:: Automatically runs the emotion experiment
::
@ECHO ON

SET LOOP=0

::run another experiment
ECHO RUNNING EXPERIMENT %LOOP%

ECHO STARTING UT SERVER
START F:\Hry\UT2004\scenario_server.bat

SLEEP 40

f:
cd F:\Temp\Experiments_new01\
START F:\Temp\Pogamut\branches\devel\project\addons\core\EmotionModel\dist\EmotionalScenario.jar
SLEEP 650

:LOOP
::KILL previous process
TASKKILL /F /IM "UCC.exe"
TASKKILL /F /IM "javaw.exe"
::wait a bit
SLEEP 10

ECHO STARTING UT SERVER
START F:\Hry\UT2004\scenario_server.bat

SLEEP 40

::run another experiment
ECHO RUNNING EXPERIMENT %LOOP%
START F:\Temp\Pogamut\branches\devel\project\addons\core\EmotionModel\dist\EmotionalScenario.jar
:: sleep 11 minutes
SLEEP 650

SET LOOP=%LOOP% + 1
IF NOT "%LOOP%" == "50" GOTO LOOP


SET LOOP=

:END
{CODE}

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=404&post_reply=1#form>





More information about the Pogamut-list mailing list