Spontaneous credits
Page 1 of 1

Author:  Lionmane [ Wed Nov 07, 2018 6:55 am ]
Post subject:  Spontaneous credits

Now this is not something I particularly care about, but I just thought I'd report it and explain how it seems to be working.

If any amount of credits are placed in a citadel for any amount of time, then the credits will generate compounded interest at a rate set by the SysOp (which is configurable for each planet type.)

Most people would say "No it doesn't. If you only put 1 credit in the citadel, it can't possibly generate interest."

Well... Not exactly. Interest is calculated down to several decimal points. So even though the DISPLAYED total of credits is "1," there is actually interest being generated on a sub-atomic... Er... I mean "fractional" level. In other words, the interest being generated is .9 or less (something like that.) I'm not sure how many decimal places the game calculates interest, but it appears to be several!?

So if a player places their daily earnings on a particular planet and then removes it the next day, they're only removing the "whole number" amount. The fractional portion is inaccessible to the player or SysOp. Over time, a whole number will be produced and begin to build visibly.

This results in the "spontaneous" generation of credits on planets after a period of time. The amount generated is not worth the effort (hence my disdain for it.) But it might be a good source of data corruption for long-running games.

Author:  Micro [ Thu Nov 08, 2018 4:30 am ]
Post subject:  Re: Spontaneous credits

This is not a bug. This is the way the program is designed to operate.

It can not cause data corruption over time. How could it, as it is simply a double field in the planet record. Planet records are a fixed size, and this is a fixed data field.

Author:  Lionmane [ Fri Nov 09, 2018 9:06 am ]
Post subject:  Re: Spontaneous credits

One of the sources of data corruption is not resetting variables. By not resetting the value of this variable when the money is removed from the planet, it's just asking for data corruption.

Are you saying that (Gary & Ann Martin?) intended for credits to spontaneously generate after the credits are removed from the planet?

Author:  Helix [ Fri Nov 09, 2018 1:36 pm ]
Post subject:  Re: Spontaneous credits

the credits are generated because of the time difference between the amount you see when decide to remove them and when you actually remove them. Mostly 1 credit, thought I have seen it as high as 12 or 13


Author:  Micro [ Fri Nov 09, 2018 10:07 pm ]
Post subject:  Re: Spontaneous credits

Ok, This is a bug... When all credits are removed from the planet, the remainder should be removed and the value set to a true zero (0.0000000).

There is still no chance of data corruption from this, unless you are trying to pull a SuperMan III bank robbery :)

@Helix, That is not what he is referring to. When all credits are removed and the display reads Zero, there is still some value there (i.e. 0.34629845), which is still accumulating interest. When this value reaches 1 from accumulated interest, a single credit spontaneously appears on the planet.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group