[Pogamut-list] Automating the running of multiple short games

FrankGlavin pogamut-forum at diana.ms.mff.cuni.cz
Wed Apr 10 16:49:02 CEST 2013


Automating the running of multiple short games

Author: FrankGlavin

Hello,

I am trying to run simple death matches with my bot playing against 2 or 3 native bots in a series of games (one after the other). All the games have the same settings. The problem is restarting the game and having the native bots added automatically at the beginning of each new game.

At the moment, I use the following procedure. I start the server using the bat file, then start up netbeans and run my bot. I then manually add each of the native bots (I want to automate this whole procedure). What I was doing up to now was removing the time and score limit from the game so that they would run continually (a long term single game) until I decided to stop them. I ran into several problems with this as the bot inexplicably stopped and the connection was killed after a certain amount of time (between 20 and 30 hours). I don't think this problem would exist if I could automate the process of starting and stopping games after a short time period. I seen an example of someone using a bat file to run and kill the processes but I don't know how to add native bots if I did it this way. (can I run a jar file?)

Or do I need to use the CustomControlServer and, if so, how do I start/end specific game types and add my bot and the native bots to these games? Maybe this has been answered elsewhere but I couldn't find a post if it has.

Thanks,

Frank

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




More information about the Pogamut-list mailing list