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

[VANILLA-L:693] Re: START_ARMIES and MAX_POP



Quoting Alec Habig (habig@budoe.bu.edu):
> Bob Tanner writes :
> > 
> > Yet, when I do a reset using the sequencer all planets have 30 armies.
> 
> What is the sequencer doing?

Umm, James? 

To me it let me manipulate the server from a command line. It looks
like it ties into the share memory segment. I have not looked at the
code much, just using it. :)

> On bigbang, using scripts which move around .sysdef's (touching this
> file causes a re-read of the variables set within) or using setgalaxy
> produced correct results.

Well, if I change the ntserver/planet.h START_ARMIES to 17, then
things work fine.

Using setgalaxy I get the following. 

% tools/setgalaxy F
All planets set to 30 armies.

30 armies is the hard-coded default value. This must be coming from
ntserv/planets.h, so it looks to me that the START_ARMIES value from
.sysdef is being used.

-- 
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


References: