(main, init_server, emp_server.6): Add -R command line option to set

a seed for the random function.

(nightlybuild.sh): Add the -R 1 for the server.
(nightlybuild.sh): Switch to -R 1 for the fairland as 1 is safer.
Some systems might generate lousy randomness from a
zero seed.

(prng.patch): Not required anymore, -R 1 is used instead.

(main, emp_server.6): Rename -r and -R to -u and -U.  "-R" is now used for random seed.
This commit is contained in:
Ron Koenderink 2007-10-23 03:05:56 +00:00
parent c115ed1327
commit ec484e17a7
5 changed files with 31 additions and 475 deletions

View file

@ -26,10 +26,13 @@ emp_server \- Empire server
.br
.B emp_server
[
.B \-r
.B \-u
|
.BI \-R " service-name"
.BI \-U " service-name"
]\}
[
.BI \-R " random-seed"
]
.SH DESCRIPTION
.B emp_server
is a daemon which listens to the Empire port for players connecting to
@ -61,15 +64,18 @@ Install as a Windows Service with the specified name.\}
Threading debug mode. Implies \fB-d\fR.
.if \nw \{\
.TP
.B \-r
Remove the Windows Service called "Empire Server".
.B \-u
Uninstall the Windows Service called "Empire Server".
.TP
.BI \-R " service-name"
Remove the Windows Service with the specified name.\}
.BI \-U " service-name"
Uninstall the Windows Service with the specified name.\}
.TP
.B \-s
Enable thread stack checking.
.TP
.B \-R " random-seed"
Set the seed for random function.
.TP
.B \-v
Print version information and exit.
.SH OPERANDS