The relative value of shops (rantish)

General discussion about anything related to Transcendence.
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5421
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.

Yes, you /can/ device damage yourself.
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Wolfy wrote:Hmm, yeah, there's two extremes to RNG output that we don't want.

For those who arn't entirely sure what's going on;

randomness/rng's 101;

Just a quick little mockup I threw together; all the values were arbitrarily picked by me just to illustrate the general curve shapes I want to show.

This graph shows the change between RNG output; center point is no change (where there is the extremely big spike in the green line)
Image

There's overcorrelation; the green curve with the huge spike in the middle. The problem with it is that the RNG is outputting predictable strings of numbers. And would result in the 18 fuel stations Ttech saw the other day.

Then there's under-correlation; faked randomness, clearly made by a human, because it avoids repeating, since lots of people think 'randomness' = never the same, thus the aversion to equal values

Then there's a nicer curve shape (ok, yeah, I only used 7 points, and so its not a nice curve, but whatever), it neither over nor under correlates the data. Somewhere around there is where we want the RNG to be.

Beyond that, we'd have to implement better sanity checking & other protocols to prevent things like an 18 Fuel station pile-up like Ttech had.
Actually, undercorrelation is exactly what we want, at least for retailers. We're not trying to simulate true randomness but human decision making. Those stations are placed there by humans in accordance with economic pressures. The second station of a given type covering a market competes with the first. If both are owned by the same people they should be consolidated into one station. That means any name brand station should be one per system and all retailers should be limited to maybe 3 per system. Drydocks should probably also be one per system. (and the one by the rimward stargate in Rigel is no longer needed now that there's one by the arena) Manufacturers can clump all they want. 18 ice farms in one system may be annoying to the player, but it's not nonsensical the way 18 fuel depots is.
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5421
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.

True.

Oh, actually, that gives me an idea. It should not in theory be difficult to simply ditch repeat RNG values and have it re-roll again.
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
Dorne
Commonwealth Pilot
Commonwealth Pilot
Posts: 99
Joined: Sun Oct 22, 2006 12:46 am

This is similiar to the concept of shops in Nethack? iirc, there's usually certain fixed levels that have chances of containing shops. Not all of them are guaranteed, but there is a set amount of each shop. Nethack also uses a time seed for its RNG, right?
Post Reply