Heya, I'm moving the discussion from netrek-forever to the dev mailinglist since it's definitely more fitting here.<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Toumal</b> <span dir="ltr"><<a href="mailto:toumaltheorca@gmail.com">toumaltheorca@gmail.com</a>></span><br>
Date: Tue, Aug 24, 2010 at 5:14 PM<br>Subject: [netrek-forever] Can't get pre-t robots working on my server<br>To: netrek-forever <<a href="mailto:netrek-forever@googlegroups.com">netrek-forever@googlegroups.com</a>><br>
<br><br>Heya,<br>
<br>
I'm sorry if the answer to my question is obvious, but I've read all<br>
the docs and tried for hours and I'm officially out of ideas here.<br>
<br>
I'm trying to get either pre-t robots, or newbie mode running on my<br>
server.<br>
<br>
I use the default config file with pre-t entertainment mode enabled,<br>
and I can see netrek-daemon spawning the pret process, as well as<br>
several pretbot processes. All these processes name the bot "Banisher"<br>
or something to that effect. The verbose logmode reveals that this<br>
player name does not exist - creating it with an empty password gets<br>
rid of the error but doesn't make things work<br>
<br>
The result is that when I connect to my server, I see bots 1 through 7<br>
in grey color in the lest, with no name, no ship type, no kills, no<br>
login and no host machine.<br>
The only other entry I see is no. "v", name "Kathy" and that one shows<br>
"Robot" as login. However, it is also in grey and not playing on the<br>
map.<br>
<br>
<br>
<br>
Now I thought ok, I'll just enable newbie mode. So I set NEWBIE=1 in<br>
the sysdef, and commented out the main player port in etc/ports as<br>
well as uncommenting the three lines for newbie mode. The result is<br>
that I cannot connect to my own server because there are "not enough<br>
player slots in the queue" or something.<br>
<br>
<br>
I'm really in need of help here. Obviously the robots get started up<br>
but don't work properly, and I have no clue why x.x<br>
<font color="#888888"></font><br></div><br><br><div class="im">On Wed, Aug 25, 2010 at 01:28:32PM +0200, Toumal Rakesh
wrote:<br>
><br>
> There were a couple problems, I had to change a makefile to have
ranlib<br>
> point to "ranlib" instead of "@RANLIB@", and I had to do chmod +x
mktrekon<br>
> in /tools<br>
<br>
</div> What OS platform and release was this on? autotools
should properly<br>
handle ranlib detection on everything under the sun these days,
and<br>
configure should properly set the Makefiles. Did you run<br>
sh ./autogen.sh before configure? What version of autoconf and<br>
automake were you running?<br>
<br>
According to change history, Jerub added the @RANLIB@ checks<br>
back in May '06; and I've not personally seen 'em fail since.<br>
<br>
James - didn't mktrekon get deprecated?<br>
<br>
On a CentOS box I just pulled a new darcs tree, ran autogen.sh,<br>
./configure'd, make -j5 && make install and had no
problems<br>
with the build.<br>
<div class="im"><br>
> It compiled okay, but... still the same problem(s): Bots don't join
teams<br>
> and newbie mode gives a queue full error x.x<br>
<br>
</div> I can confirm that there does appear to be a problem with
newbie<br>
in that I can't get a normal player slot in, either. var/log<br>
doesn't show anything useful even with ERROR_LEVEL=9. Pulled<br>
an updated tree from James' development repo and nada, still<br>
borked.<br>
<br>
I didn't do anything other than barebones configuration to<br>
sysdef and ports to enable newbie mode; it is possible I<br>
overlooked a config step. ports/sysdef available for review<br>
at <a href="http://stuff.gerdesas.com/ports" target="_blank">http://stuff.gerdesas.com/ports</a>
and<br>
<a href="http://stuff.gerdesas.com/sysdef" target="_blank">http://stuff.gerdesas.com/sysdef</a>.<br>
<br>
If I find myself with spare time and an inclination to look<br>
at the code I will do so later today.<br>
<br>
<br>
<br>
<br>
John<br>
<font color="#888888">--<br>
This is all happening because my father didn't buy me a train set as a
kid.<br>
<br>
-- Warren Buffett, joking about his decision to buy a railroad, the
Burlington<br>
Northern Santa Fe Corporation, New York Times, 4 November 2009</font><br><br>