Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Bot Development >> Bot Script Question
(Message started by: jdb on May 9th, 2006, 2:56pm)

Title: Bot Script Question
Post by jdb on May 9th, 2006, 2:56pm
Is there a way to get the bot script to start up an opponent automatically?

I was planning on modifying clueless to take part in the May botbash. It would be alot easier if the opponents could be started automatically.

Thanks




Title: Re: Bot Script Question
Post by 99of9 on May 9th, 2006, 6:39pm
Someone posted this a while ago:

Code:
#!/bin/sh
for i in $(seq 1 $3);do
wget http://arimaa.com/arimaa/bots/$1/controlBot.cgi --post-data="side=$2&start=Start%20Bot" ;
sleep 3;
rm -f controlBot.cgi
./bot play $1


You call it with something like:
runOffline.sh bot_Clueless2005Fast w 1

Title: Re: Bot Script Question
Post by jdb on May 9th, 2006, 10:26pm
Great, Thanks alot

Title: Re: Bot Script Question
Post by jdb on May 10th, 2006, 2:33pm
Hmm, I tried this out and I am having problems.

It cant seem to find controlBot.cgi

Any ideas?



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.