Author |
Topic: Bot Script Question (Read 759 times) |
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Bot Script Question
« on: May 9th, 2006, 2:56pm » |
Quote 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)
Gender:
Posts: 1413
|
|
Re: Bot Script Question
« Reply #1 on: May 9th, 2006, 6:39pm » |
Quote 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:
Posts: 682
|
|
Re: Bot Script Question
« Reply #2 on: May 9th, 2006, 10:26pm » |
Quote Modify
|
Great, Thanks alot
|
|
IP Logged |
|
|
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Re: Bot Script Question
« Reply #3 on: May 10th, 2006, 2:33pm » |
Quote Modify
|
Hmm, I tried this out and I am having problems. It cant seem to find controlBot.cgi Any ideas?
|
|
IP Logged |
|
|
|
|