Author |
Topic: Bot Interface Question (Read 660 times) |
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Bot Interface Question
« on: Dec 22nd, 2008, 4:44pm » |
Quote 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:
Posts: 682
|
|
Re: Bot Interface Question
« Reply #1 on: Dec 23rd, 2008, 1:08pm » |
Quote 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:
Posts: 1016
|
|
Re: Bot Interface Question
« Reply #2 on: Dec 23rd, 2008, 1:29pm » |
Quote 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:
Posts: 682
|
|
Re: Bot Interface Question
« Reply #3 on: Dec 23rd, 2008, 4:17pm » |
Quote 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:
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Bot Interface Question
« Reply #4 on: Dec 23rd, 2008, 8:20pm » |
Quote 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:
Posts: 682
|
|
Re: Bot Interface Question
« Reply #5 on: Dec 24th, 2008, 6:10am » |
Quote 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:
Posts: 1003
|
|
Re: Bot Interface Question
« Reply #6 on: Dec 24th, 2008, 7:27am » |
Quote Modify
|
What OS are you using for this.
|
|
IP Logged |
|
|
|
jdb
Forum Guru
Arimaa player #214
Gender:
Posts: 682
|
|
Re: Bot Interface Question
« Reply #7 on: Dec 24th, 2008, 7:38am » |
Quote Modify
|
Ubuntu 8.04 This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
|
|
IP Logged |
|
|
|
|