OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: christooss on March 20, 2009, 04:18:24 AM



Title: Server is waiting
Post by: christooss on March 20, 2009, 04:18:24 AM
I'm trying to start oa_ded with:

openarena-0.8.1/oa_ded.i386 +set dedicated 2 +set port 27960 +exec server.cfg

But when it gets to server execing server.cfg it stops and waits till I press any key on the keyboard. When I press key it statrts to load normaly. Any idea why this wait and how to remove it?


Title: Re: Server is waiting
Post by: sago007 on March 20, 2009, 07:29:14 AM
It is very unlikely that the startup command itself gives a problem. Without the content of server.cfg it can be hard to guess the problem.

Maybe you can use a workaround like:
Code:
echo a | openarena-0.8.1/oa_ded.i386 +set dedicated 2 +set port 27960 +exec server.cfg

I start my server with a script like this:
Code:
cd /path/to/openarena-0.8.1
while [ 0 -lt 1 ]; do
./oa_ded.i386 +set dedicated 2 +exec server_clean.cfg
done
and it works.


Title: Re: Server is waiting
Post by: christooss on March 20, 2009, 11:55:47 AM
Ok I had wait in cfg file. Now it starts perfectly.