Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VANILLA-L:678] Re: [VANILLA-L] geno hours and no geno hours



> Bob Tanner wrote:
> > Anything in the server to allow for "no geno timer" hours.
> 
> Set something up that will modify your .sysdef from a crontab trigger,
> change SURRSTART to zero or -1 for "no geno timer".
> 
> The default in ntserv/data.c is equivalent to the .sysdef line
> 
> SURRSTART=1
> 
> which is also in the default .sysdef file, docs/sample_sysdef

I am a little confused. I see:

	ntserv/data.c   surrenderStart=1
	ntserv/defs.h   SURREND 4
	.sysdef		SURRSTART=2

Just to make sure if I set SURRSTART=-1 it *should* turn off the geno
timer? 

In effect the SURREND number is does not matter, since the geno timer
is not in effect. Correct?

I have set the SURRSTART=-1 on my beta testing server and when I get
to 2 planets, the geno timer kicks in. Any ideas?

Where does the code read in the .sysdef info and initialize the the
geno timer planet counter to the SURRSTART value?

Thanks.

-- 
Bob Tanner <tanner@real-time.com>       | Phone : 612.943.8700
http://www.real-time.com                | Fax   : 612.943.8300
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 
+
++ Vanilla-l Mailing List ++
To unsubscribe: send "unsubscribe vanilla-l" to majordomo@real-time.com
For more information: http://archives.real-time.com


Follow-Ups: References: