Deterministic RNG

From TheKolWiki
Jump to: navigation, search
Nopic.gif This page is in need of content.

Add links to the spading sheets, add explanations for selection of results
Spadebal.gif There are some vague or non-exact figures and information on this page. Some spading is required.

Remaining seeds
To reduce variance in ascensions some content uses formulas of different kinds to select results. Some use simple formulas while others produce random values from a random number generator seeded with a deterministic value. This results in the same values being generated whenever the input variables are the same. Most commonly in-game this will be experienced as a given class in a path receiving the same items every ascension, while a different class or path receives a different set of items.

For brevity this article only covers formulas where the results can differ between players or ascensions.

Algorithms

Content Date Input calculation Type Selection notes Spading sheet
Summon Confiscated Things 2014 Aug Unknown (suspected to use the same formula as continental juice bar) Unknown link
continental juice bar 2015 Jan pathID + 7×classID + 5×daycount link
protonic accelerator pack 2016 Aug 20×pathID + 30×classID + 10×previousGhostsAscension seed protonic accelerator pack explains the selection criteria in more detail, the list of zones is adjusted before the result of mt_rand is resolved against it.
cornucopia 2016 Nov pathID + 7×classID + 5×daycount + 3×(previousCornuopias + 1) link
Through the Spacegate 2017 Apr Unknown Unknown old link
New-You Club Membership Form 2017 May pathID + 1×classID + 1×daycount link
Meteor Lore 2017 Aug Unknown Unknown link
Daily Loathing Ballot 2018 Nov pathID + 9×classID + 79×daycount seed
Two Crazy Random Summer 2019 Summer 100000×classID + 12345×moonSignID + 50×itemID link
Gaze at the Stars 2019 Aug ((daynumber + 2 + pathID) mod 8) + 1 = moonSignID formula daynumber is the days since kol came online and can be seen in the api status info. link
Seek out a Bird 2020 Jan 11×pathID + 23×classID + 37×daycount seed the algorithm predicts almost all of it; it does not predict the weapon damage/regen bit on the end, or bird name. link
fresh coat of paint 2021 Unknown Unknown link
Our Daily Candles™ order form 2021 Aug pathID + 19×classID + 1×daycount link
Daylight Shavings Helmet 2021 Nov (classID×beardBuffCountAscension) mod 11 (if classID <7) formula selects from a list of the 11 buffs link
((classID mod 6 + 1)×beardBuffCountAscension) mod 11 (if classID >6)
MayDay™ supply package 2022 May -1×pathID + 11×classID + 13×daycount link
Cookbookbat 2022 Nov 37×pathID + 11×classID + 420×(daycount − 1) + 69×previousDropsToday
Just the Facts 2023 Sep 11×pathID + 421×classID + monsterID link
wardrobe-o-matic 2023 Nov daynumber×itemID + 2063 seed link
Prepare your Meal 2024 Unknown Unknown
yam battery 2024 May Unknown Unknown link
Beret Busking 2025 June totalArmorPower + previousCastsDay seed totalArmorPower is the power of your currently-equipped defensive items (hat, shirt, pants) including the bonus from Tao of the Terrapin, and additional hats in Hat Trick. Effects are picked in order from a predefined list of effects that are generally wishable. link