[Posting] Re: core regeneration bug?
From:Cherek
Thread:core regeneration bug?
Forum:Bugs
In reply to:Re: core regeneration bug?
Date:Thu, 2013-03-28 09:42 GMT

i have noticed that the planet core regeneration rate is lower than THost. what is the PHost formula?

the THost formula is CoreRegenAmount = CEILING(RegenRate*(mining rate/100)), thus a mining rate of 21 with a [THost] default core regeneration rate of 5 percent gives a core regeneration of 2.

For what THost version is your formula?

The formula I know is ERND(RegenRate*Density/100), where ERND is the "round to nearest integer, .5 rounds up or down to next even number" function. PHost's formula is ROUND(RegenRate*Density/100), which is always the same or more (.5 always rounds up).

--Stefan

i recently checked the time-stamp on the THosts in question. specifically, in my last public THost game (start ~April 2000,) the argument that i remember as the .046/.047 change in the max movement rate, (from what i have seen in the last few months,) was probably, in fact, the .026/.027 movement rate change argument. this make sense? if that is the case, and i am convinced that is what happened, then the THost mining rate that i remember is from 3.22.026 (?), or before.

that being said, the latest THost that i have probably played under was 3.22.027, and only one game of that, in 2000 (StarJammer.)

hmmm. one more thing. that StarJammer game was the only public game i played under 3.22.000 or above, the history of which i have given you, Stefan. note that private games are not included in the above discussion.

that said, which THost change altered from the mid-90's formula (CEILING) to the lower formula that you have?

The only change that Tim make in .047 was to add a third decloak to eliminate an exploit that a Privateer and myself used when crossing the map seam in THost.