Welcome, Guest. Please Login or Register.
Nov 23rd, 2024, 5:45pm

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


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



Arimaa player #214

   


Gender: male
Posts: 682
Bot Interface Question
« on: Dec 22nd, 2008, 4:44pm »
Quote Quote Modify Modify

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



Arimaa player #214

   


Gender: male
Posts: 682
Re: Bot Interface Question
« Reply #1 on: Dec 23rd, 2008, 1:08pm »
Quote Quote Modify Modify

I redownloaded the bot scripts.
 
The bot script works. The botman script does not.
 
Any ideas?
« Last Edit: Dec 23rd, 2008, 1:09pm by jdb » IP Logged
Janzert
Forum Guru
*****



Arimaa player #247

   


Gender: male
Posts: 1016
Re: Bot Interface Question
« Reply #2 on: Dec 23rd, 2008, 1:29pm »
Quote Quote Modify Modify

I wonder if it could be related to the file not found error Bildstein was getting?
 
Janzert
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Bot Interface Question
« Reply #3 on: Dec 23rd, 2008, 4:17pm »
Quote Quote Modify Modify

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



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Bot Interface Question
« Reply #4 on: Dec 23rd, 2008, 8:20pm »
Quote Quote Modify Modify

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 &

« Last Edit: Dec 23rd, 2008, 8:20pm by omar » IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Bot Interface Question
« Reply #5 on: Dec 24th, 2008, 6:10am »
Quote Quote Modify Modify

I did not get an error using that command.
 
I'll just stick with maxbots as 1.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Bot Interface Question
« Reply #6 on: Dec 24th, 2008, 7:27am »
Quote Quote Modify Modify

What OS are you using for this.
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Bot Interface Question
« Reply #7 on: Dec 24th, 2008, 7:38am »
Quote Quote Modify Modify

Ubuntu 8.04
 
This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
 
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.