[comp.sources.games.bugs] GB HELP NEEDED DESPERATELY!

daye@jacobs.cs.orst.edu (Garion) (08/18/90)

Someone said that in the latest server version (posted to scam.berkeley.edu
around August 10th) had the log1p problems fixed.  I guess my machine still
doesn't like it, since I keep getting '_log1p undefined' error.
I am on BSD 4.3 using gcc -g -c for my flags.  If I use cc, I get an error
while compiling files.c, something about an illegal character (043 octal in
line 12).  SHould I be using different flags, or should I just dump this in
the electromagnetic round file?  
--------
|  Internet-----           | Quote of the Month: AUGUST                        |
|__daye@nyssa.cs.orst.edu__|  "What weighs 95 tons, can run almost 100 km/h    |
| Battletech Technical -----> can jump 120 m, and carries a gauss cannon?"     |
|   Readout:  3050     -----> "I don't know, but I'm getting out of here!"     |

irick@ecn.purdue.edu (GarBear Irick) (08/18/90)

Another question...   Does anyone have a fix for the problem of every &^%#$*
star going supernova immediately?  I seem to recall seeing one, but can't
find it now...  PLEASE help me, or I may well go insane....

irick@en.ecn.purdue.edu
Gary A. Irick

ssugreet@rosemary.cs.reading.ac.uk (Matthew Colin Greet) (08/20/90)

> Another question...   Does anyone have a fix for the problem of every &^%#$*
> star going supernova immediately?  I seem to recall seeing one, but can't
> find it now...  PLEASE help me, or I may well go insane....

	One of the known problems is that star.stability is an unsigned char
and that any attempt to drop below zero will give it some daft number like 255,
which is greater than 100. Hence, a big bang.
	Also, the variation in star stability may not be set right.

	I can't tell you which line to change or what to change as I've only
got a hacked copy. Nonetheless, in the function fix_stability in doturn.c,
at the end after the final else, try the following code:

	a = int_rand(-5, int_rand(0, int_rand(0, 15)));
	s->stability = MAX(s->stability+a, 5);

	If you do a bit of calculation, the first line above gives an average
below zero. Yet stars still go nova, but only very occasionally. That'll do
for me. Of course, stars need only reach 50% stability before they spiral
towards instability.

                                            Matt


					"For a fourth dimensional hyperbeing,
					you really are quite remarkably stupid,
Matthew Greet				aren't you."
ssugreet@uk.ac.rdg.susssys1		
ssugreet@uk.ac.reading.cs.csug			Peter St John - Zenith Book 1.