glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Random maps


From: Matthew Marshall
Subject: Re: [glob2-devel] Random maps
Date: Mon, 16 Jan 2006 21:44:29 -0300
User-agent: KMail/1.9.1

On Monday 16 January 2006 21:15, Leo Wandersleb wrote:
> > Here are two bugs I found when playing around with it:
> >
> > 1) If you put the water all the way to 99, it crashes!
>
> crashes? it simply doesn't find i valid map if water is 99
> and grass/sand/desert is 0. try with water=1 and the
> others=0 and you get the same.
> what i was planing to do is to interprete these numbers not
> as direct ratios but as hints to if the user wants much or
> few of something. so you would always have 15%water and 15%
> grass. or i simply clip these to 15%.

Hmm... I had it happen to me three times in a row, but the crashing stopped 
when I stopped trying to put the water up.  However, I just tried it again, 
and I can't reproduce it.

I'll let you know if it happens again.

> > 2) It never places stone!  (Is this known?)
>
> it is known. should i put a quick hack in place (if
> !rand()%200 place stone)
> i will not have time for more before the weekend (just got
> home from work and have to be there in 8h again)

Yeah, I think that would be good... if the results aren't too bad.

MWM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]