Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Bot Development >> Bot Interface Question
(Message started by: jdb on Dec 22nd, 2008, 4:44pm)

Title: Bot Interface Question
Post by jdb on Dec 22nd, 2008, 4:44pm
Does anyone know what this means?
I rebooted my computer and tried to start the botman script and got this.



Code:
jeff@quad:~/arimaa_bots/Bot$ botman start
checking to see if another botman process is already running
logged into the gameroom as bot_clueless sid=8709920093
starting bots for our current games; they will exit if needed.
starting bot to open a new game; side=w
sh: Syntax error: Bad fd number

Title: Re: Bot Interface Question
Post by jdb on Dec 23rd, 2008, 1:08pm
I redownloaded the bot scripts.

The bot script works. The botman script does not.

Any ideas?

Title: Re: Bot Interface Question
Post by Janzert on Dec 23rd, 2008, 1:29pm
I wonder if it could be related to the file not found (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=devTalk;action=display;num=1228157936) error Bildstein was getting?

Janzert

Title: Re: Bot Interface Question
Post by jdb on Dec 23rd, 2008, 4:17pm
In the bot.cfg file, I had this set to 3 and it did not work.
When I changed it back to 1 it started working.


Code:
$C{maxBots} = 1;

Title: Re: Bot Interface Question
Post by omar on Dec 23rd, 2008, 8:20pm
Seem like line 1031 is causing the problem:

Code:
system("$C{bot} b >& $C{runDir}/bot.out &");


In the shell try this command and see if you get the same error:

Code:
bot b >& running/bot.out &


Title: Re: Bot Interface Question
Post by jdb on Dec 24th, 2008, 6:10am
I did not get an error using that command.

I'll just stick with maxbots as 1.

Title: Re: Bot Interface Question
Post by omar on Dec 24th, 2008, 7:27am
What OS are you using for this.

Title: Re: Bot Interface Question
Post by jdb on Dec 24th, 2008, 7:38am
Ubuntu 8.04

This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi




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