Jump to content

# Rng Algorithm Bugs/changes

## Recommended Posts

NOV 5th, 2013 - RNG ALGORITHM CHANGES

If you are one of those players that feel like the RNG Gods are angry with you, starting today you may begin to notice a more fair and balanced hand from these divine beings.

Glen (our Tech Director) identified and fixed a serious distribution flaw with random number generation (RNG) in Warframe. While enemy drops were not seriously affected, a truncation in the random 'seed' within the mission reward script could result in a terrible chain of bad luck. While some players may have benefited from this (a chain of good luck) the distribution was terrible.

For context: Games use a lot of random numbers for things other than drops; for example when you blast one of those damned security cameras and a shower of sparks explodes out of it the each particle’s direction is determined by an RNG. Since games need a lot of RNG for effects and other things we actually have a very optimized RNG to make the game run quickly – the problem is you trade entropy (how random it is) for speed.

The RNG for drops needed to be slow and good to be fair and truly reflect the intended drop rates. The new code changes embraces a much slower and entropic means of determining drops of all kinds - weapons, Warframe parts, etc.

I'm very sorry for the frustration this has caused. We are committed to preventing future regression through automated tests... Attached to this post are contrast-boosted images from these tests. The bugged RNG, which is plainly giving dreadful runs. The 'fast' RNG without the truncation error - much better but still with an obvious pattern. Lastly, Glen's new code which shows a vastly improved distribution.

Thank you for reading and happy hunting Tenno!

Left to right: Bugged, Fast, Fixed (new hotness)

These pictures show the output of each RNG technique repeatedly flipping a coin: White is heads, Black is tails. In order for the loot tables to be fair and well distributed you want your RNG to output something that looks like static (which the new approach does).

nice

yay

##### Share on other sites

It's like a snowstorm of sexy.

Sweet thanks!

##### Share on other sites

Nothing was understood, but many things were appreciated ^_^

##### Share on other sites

Wat. No more raging threads against the RNG gods? What is this?

##### Share on other sites

Good to know! That would explain some of the issues of not being able to find certain parts in the Void or mods in certain modes.

##### Share on other sites

I'm so glad to hear this! I had both good and bad luck, but to feel the game will reward you more for your persistance instead of feeling you're (or not) lucky its really good! Thanks DE!

##### Share on other sites

Fantastic, thanks!

Nerdtastic!

##### Share on other sites

Will this make material farming easier? Because yes please.

##### Share on other sites

didnt understands shut

##### Share on other sites

Good to see more improvements to this system. Personally I never had a string of "Bad RNG" with farming, but all improvements to Warframe are appreciated. Especially something so important.

Edited by Farren
##### Share on other sites

THANK YOU SO MUCH!

The times of sacrificing fresh human hearts to the RNG gods are over! I will still keep my sacrifice slaves incase the new RNG improvements wont work...

Edited by Genoscythe
##### Share on other sites

Awesome! Thanks for the update :)

##### Share on other sites

Like this?

This was from a few hours ago... top lel

EDIT:

And this was after the hotfix.

Edited by Brahmastra
##### Share on other sites

Not 100% sure what those pictures mean, but okay! Thanks.

##### Share on other sites

Ok, how will this affect your average Joe?

##### Share on other sites

*blows trunc* Yay for the Moon Lady, Goddess of all RNG. And thanks to Glen who made this possible. And coffee.

##### Share on other sites

The grineer need to Get Glen and give him some greedy milk as a reward.

Huzzah!

##### Share on other sites

So, how much DOES this new code effect the chances at certain items? Does this improve odds for rare drops, or at least give a better odd of hitting that sweet spot needed to see those drops appear?

##### Share on other sites

Glad to see its fixed. Now if I can just see that cinematic.

##### Share on other sites

Will this affect alerts?

##### Share on other sites

This topic is now closed to further replies.
×
×
• Create New...