Welcome, Guest. Please Login or Register.
Oct 31st, 2024, 9:31pm

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Bot Script Question »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Bot Script Question
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Bot Script Question  (Read 758 times)
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Bot Script Question
« on: May 9th, 2006, 2:56pm »
Quote Quote Modify Modify

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
 
 
 
IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: Bot Script Question
« Reply #1 on: May 9th, 2006, 6:39pm »
Quote Quote Modify Modify

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
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Bot Script Question
« Reply #2 on: May 9th, 2006, 10:26pm »
Quote Quote Modify Modify

Great, Thanks alot
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Bot Script Question
« Reply #3 on: May 10th, 2006, 2:33pm »
Quote Quote Modify Modify

Hmm, I tried this out and I am having problems.
 
It cant seem to find controlBot.cgi
 
Any ideas?
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

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