Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Possible Resort bug

 
   Game Forums (Home) -> VGA Planets 4 RSS
Related Topics:
runtime error 339 - Hello just formatted my system partition but my planets 4 folder has been saved on another partition ... is there a way to use the old without I mainly ask that as i lost my reg but have a valid..

Race255 pods - Hi! Will a war ship set to destroy race255 wreckage pods? GFM GToeroe

Mail Grab and VCR Movement - Hi, iīve got two questions which answers i didnīt find in this news group: first: Does anyone know how movement in VCR is ? It seems to me that ships move random (when not hit and pushed back). Even if i use commands like out..

Serious PD BUG against wings - Instead of the energy of the currently firing PD slot the number of the target of top ten target list (TTTL) which is currently under fire by your PD is taken and then this PD slot is Example PD slot w=1 shall fire. Then browse..

+15% range bonus for LW for firing from the inner to thr o.. - If your ship is closer to the center than the target then your LWs have a +15% range bonus. GFM GToeroe
Next:  Scavenger Wreckage Pod Collection  
Author Message
Nyh

External


Since: Feb 05, 2008
Posts: 6



(Msg. 1) Posted: Tue Feb 05, 2008 4:54 am
Post subject: Possible Resort bug
Archived from groups: alt>games>vgaplanets4 (more info?)

Hi all. I'm playing Birds in a game and I have 2 resorts in my HW (and
they are my only 2 resorts in all the game). This turn I got this log
in my HW:

'Our 3 active resorts are increasing colonist happiness by 35. 30 food
and 6 supplies were consumed. [And more]'

I know that the active resorts is a randon number based on how much
resorts you have build, but how can I have more active resorts than I
have build?

See you!

 >> Stay informed about: Possible Resort bug 
Back to top
Login to vote
Magik

External


Since: May 09, 2007
Posts: 96



(Msg. 2) Posted: Tue Feb 05, 2008 10:53 am
Post subject: Re: Possible Resort bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 5, 4:54 am, Nyh <javi... DeleteThis @gmail.com> wrote:
> Hi all. I'm playing Birds in a game and I have 2 resorts in my HW (and
> they are my only 2 resorts in all the game). This turn I got this log
> in my HW:
>
> 'Our 3 active resorts are increasing colonist happiness by 35. 30 food
> and 6 supplies were consumed. [And more]'
>
> I know that the active resorts is a randon number based on how much
> resorts you have build, but how can I have more active resorts than I
> have build?

It just means that you got lucky and your resorts are doing really
well that year. The PlanetsWiki describes this phenomena.

Magik

 >> Stay informed about: Possible Resort bug 
Back to top
Login to vote
Nyh

External


Since: Feb 05, 2008
Posts: 6



(Msg. 3) Posted: Wed Feb 06, 2008 1:25 am
Post subject: Re: Possible Resort bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, then the bug is in PlanetsWiki.
I have carefully gone through PlanetsWiki resort's page and I have
found that it says three diferent things, so at least two of them are
incorrect:

- First:
*'the efficiency of resorts ranges from 2 to 1 + the number of
resorts'*

This means that if I have only 1 resort its efficiency ranges from 2
to 1 + 1 = 2. So if I bluid only 1 resort It will run always as if I
had 2. Is this true? I think it's false.

Second:
*'Active Resorts = 1.5 + Rnd * Resorts'*

I think this is the correct one becaise it is in 'code style', but in
this formula is VERY important to say how do the program convert the
float result to an integer. Is it floor, ceil, trunk, rounded (1.5
goes up to 2 or down to 1?), any other?

Third:
*'Happiness Table (New colonist table says the same)
Resorts Effective Resorts
1 1
2 2 to 2
3 2 to 3
4 2 to 4
etc ... ... ...'*

This is false, because with my 2 resorts I have had an efective
resorts of 3 (and it can't be possible if this table is correct)

Thanks for all. And keep going Magik! we all love you! hehe Wink

Nyh

> It just means that you got lucky and your resorts are doing really
> well that year. The PlanetsWiki describes this phenomena.
>
> Magik
 >> Stay informed about: Possible Resort bug 
Back to top
Login to vote
Magik

External


Since: May 09, 2007
Posts: 96



(Msg. 4) Posted: Thu Feb 07, 2008 7:17 am
Post subject: Re: Possible Resort bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

RND returns a random Extended-precision value that is less than 1, but
greater than or equal to 0. So it can range from 0 to .
9999999999999...

The actual formula is:
k = 1.5 + (CSNG(k) * RND)

Where k is a LONG integer value. When the conversion here from SINGLE
to LONG takes place, it will round the single precision value so that
1.5 becomes 2 and 1.49999999999999... becomes 1.

Magik
 >> Stay informed about: Possible Resort bug 
Back to top
Login to vote
Black No.1

External


Since: Jun 02, 2007
Posts: 159



(Msg. 5) Posted: Thu Feb 07, 2008 3:15 pm
Post subject: Re: Possible Resort bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Nyh" <javinyh RemoveThis @gmail.com> schrieb im Newsbeitrag
news:ca055235-6b7e-4fa9-bced-e69ec7b8f530@v46g2000hsv.googlegroups.com...
> Ok, then the bug is in PlanetsWiki.
> I have carefully gone through PlanetsWiki resort's page and I have
> found that it says three diferent things, so at least two of them are
> incorrect:
>
> - First:
> *'the efficiency of resorts ranges from 2 to 1 + the number of
> resorts'*
>
> This means that if I have only 1 resort its efficiency ranges from 2
> to 1 + 1 = 2. So if I bluid only 1 resort It will run always as if I
> had 2. Is this true? I think it's false.
>
> Second:
> *'Active Resorts = 1.5 + Rnd * Resorts'*
>
> I think this is the correct one becaise it is in 'code style', but in
> this formula is VERY important to say how do the program convert the
> float result to an integer. Is it floor, ceil, trunk, rounded (1.5
> goes up to 2 or down to 1?), any other?
>
> Third:
> *'Happiness Table (New colonist table says the same)
> Resorts Effective Resorts
> 1 1
> 2 2 to 2
> 3 2 to 3
> 4 2 to 4
> etc ... ... ...'*
>
> This is false, because with my 2 resorts I have had an efective
> resorts of 3 (and it can't be possible if this table is correct)
>
> Thanks for all. And keep going Magik! we all love you! hehe Wink
>
> Nyh
>
>> It just means that you got lucky and your resorts are doing really
>> well that year. The PlanetsWiki describes this phenomena.
>>
>> Magik

I am responsible for any bugs in the Wiki Wink

Jokes aside, I inserted the data on the page under the assumption that the float
was rounded.
As rnd would return 0<x<1, your case shouldn't be possible. As your real life
experience shows
my assumption was false ...

Cheers,
Jochen
 >> Stay informed about: Possible Resort bug 
Back to top
Login to vote
Nyh

External


Since: Feb 05, 2008
Posts: 6



(Msg. 6) Posted: Fri Feb 08, 2008 1:48 am
Post subject: Re: Possible Resort bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Wow! then it's true than if I have only 1 resort it will run always as
if I had 2 of them!
Lots of thanks for the exact formula and it's explication magik!
So, bearing this in mind, it seems than I was also wrong when I said
that there where at least two bugs on the page, as both, the first
(*'the efficiency of resorts ranges from 2 to 1 + the number of
resorts'*) and second (*'Active Resorts = 1.5 + Rnd * Resorts'*)
statements in the wiki are true. Then the only bug in the wiki are the
Happiness and New Colonist tables.

Thanks for all!

Nyh

On Feb 7, 4:17 pm, Magik <rickglo... DeleteThis @paulhastings.com> wrote:
> RND returns a random Extended-precision value that is less than 1, but
> greater than or equal to 0. So it can range from 0 to .
> 9999999999999...
>
> The actual formula is:
> k = 1.5 + (CSNG(k) * RND)
>
> Where k is a LONG integer value. When the conversion here from SINGLE
> to LONG takes place, it will round the single precision value so that
> 1.5 becomes 2 and 1.49999999999999... becomes 1.
>
> Magik
 >> Stay informed about: Possible Resort bug 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> VGA Planets 4 All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]