*Check the description for extra notes and details, and for the list of background music throughout the video.* There are subtitles provided, and also one (telegraphed and silent) jumpscare at 4:41. Any questions are welcome, but this video is the best general explanation I could create. *FAQ:* *Q:* _What's MB2/Mystery Box 2 Jack-O-Bonnie?_ *A:* Mystery Box 2 (MB2) is a move in FNaF World that swaps out your party members with 4 random ones. Scott made a slight miscalculation, and the maximum character number was 41, which didn't even exist when the game launched. It being so rare meant it never got patched, and after update v1.2 dropped, Jack-O-Bonnie became character #41. *Q:* _Why are the probabilities powers of 2?_ *A:* They're simplified fractions of 4/65536 and 2/65536; as the way it's setup, the probabilities of all the random stuff in Clickteam Fusion are out of 65536. They just happen to be powers of 2 though, they could've been 3/65536 or 10/65536. *Q:* _Did the Android glitch also affect iOS?_ *A:* No, it was exclusive to Android. You can actually verify this by trying to find old videos of Golden Freddy on Android vs. iOS. It's not that hard to find people finding it on iPhone, while every video on Android just shows the 1/9/8/7 Easter egg. *Q:* _Is that The Cure - Close To Me playing?_ *A:* Yeah? Kinda, it's a SiIvaGunner rip that uses the FFPS soundfont: kzitem.info/news/bejne/02xjuGZ9eqWciqQ
@mattybrunolucaszeneresalas9072
9 ай бұрын
Telegraphed?
@juanlilg
9 ай бұрын
Time travel comment
@crystaljiang5976
9 ай бұрын
@@mattybrunolucaszeneresalas9072 I think he means that he warns you about it happening ahead of time
@mattybrunolucaszeneresalas9072
9 ай бұрын
@@crystaljiang5976 I see
@nonameTimeFile
9 ай бұрын
what jumpscare? without any sounds its looks like goofy fan animation, that what i called scary.
@BackseatStreams
9 ай бұрын
Hell yeah brother. Keep those misinformers (me) in check! So wild that the odds people have been working with for so long were sometimes so dramatically off!
@sotoastit
9 ай бұрын
hey man, love your videos!
@michaele8444
9 ай бұрын
How dare you misinform the foolish viewers (me)!
@Itz.MangoVR
9 ай бұрын
Yo backseat, whats good
@Foodiefe2
9 ай бұрын
backseat didnt you figure out golden freddy on the fnaf 1 playthrough
@Norrday
9 ай бұрын
so thats how you got golden freddy twice...
@TechRules
9 ай бұрын
I'm sorry, it only generates 16-bit integers??? That's incredible. I remember seeing the unreasonably high odds of some of the easter eggs and frankly being shocked that we still saw them in content creator playthroughs as often as we did. Guess that explains a lot. The Android bug stands out to me significantly, as well. When I documented all the old mobile ports, I did so using iOS figuring there wouldn't be any substantial differences other than the microtransactions. I did notice that it took me significantly longer to get Golden Freddy to show up in FNaF 1's old port, but I just attributed that to possibly being because of faster nights, or just from bad luck. Because of that, I never believed any of the claims that Golden Freddy didn't exist on Android for a single second, since, y'know...everyone was really eager to guess randomly back then. Thank goodness we don't do that now, huh? Imagine if everyone guessed at something big like, for example, Fire Escape Ending requirements! Great video as always, and thanks for setting the record straight! (Also, using the negative overflow bug in FFPS to help explain the concept was honestly really slick. I need to start taking notes from your content it seems, lol)
@itztaken
9 ай бұрын
You would have been right to use either port for any of the games after FNaF1, as they use the exact same MFA, just using different Clickteam exporters. But hold on, when did you document the old mobile ports 😅 Anyway, I tried to make the video mirror my own process of figuring out the why and how of it all. When Folmic mentioned a potential error with the RNG, that FFPS glitch was what I immediately went to, and I'm glad it translated well {:}
@TechRules
9 ай бұрын
It was a while back, nothing public or interesting haha. I was mainly interested in seeing if it really was impossible to deter Foxy in the FNaF3 port, and that spiraled into checking a whole bunch of things. That was back when the tools to fully do that for the later games weren't public, so I felt a sort of obligation to notate all those things. Now that others can do it and there are great content creators that can uncover that information for everyone, I'm just always excited to see what the experts find lol. Looking forward to the next videos!
@mjdevlog
9 ай бұрын
man i miss your content. Glad that you're still active as a viewer. Hope you're okay and healthy✨
@RawrKatz
9 ай бұрын
I never expected to see tech rules here I love your channel
@citriosis
9 ай бұрын
omg tech rules moment?? love your stuff!
@AstralSpiff
9 ай бұрын
THANKS FOR GAME RARITY SCREENSHOTS IM ON MY WAY TO BECOME THE 2ND TAKEN++ MEMBER
@AstralSpiff
9 ай бұрын
I’m so plus’d up rn
@Bradleybus
9 ай бұрын
What
@amongsussyballs
9 ай бұрын
@@Bradleybus he plus'd up
@black_m1n825
9 ай бұрын
what is even taken++????
@itztaken
9 ай бұрын
is this an ad segue
@philipp04
9 ай бұрын
Huh. Explains how RWQFSFASXC actually appeared this frequently (there are quite a few people who saw it multiple times, wouldn't expect that if it was actually a 1/1000000)
@itztaken
9 ай бұрын
Yep. I was happening to discuss with Folmic a case where someone got him twice, and the crazy odds I had calculated (~1 in 107501). He mentioned that Tru3P1ay3r alleged that there was some limit of ~40k with Clickteam RNG, but we quickly figured out it was actually an overflow, which adjusted the odds to ~1 in 36.
@shrudigan
9 ай бұрын
Got them two nights in a row once and I KNEW the code was wrong
@samloredescarregado1755
9 ай бұрын
without code on base and comparing, the odds is that you flip your monitor on and off more often on fnaf 2 than you check cam 2b on fnaf if i explained bad: in fnaf 2 by default you flip over you cam on and off several times, more than in fnaf 1 average night, due the freedom of no energy usage, and as the gamr forces you because puppet everytime otherwise: clickteam fusion buggy messy uggy
@oldamar9994
9 ай бұрын
my headcanon for the FFPS stat glitch is that this restaurant was actually a money laundering scheme, with the 20 visitors paying thousands in tips each. Henry destroys the restaurant at the end because the IRS found out about the scheme, burning all of the money and killing both him and Mike in the process. Can't believe henry would do such a thing 😔
@theneverwatcher9860
9 ай бұрын
it was a glitch but now it's a scheme
@TheLastestYo-KaiWatchFan9001
9 ай бұрын
Or maybe, since it has a negative entertainment value, weird rich folks came in, passed out because of how boring this place was, and got robbed by the staff.
@TinyDeskEngineer
9 ай бұрын
truly the most terrifying of all fnaf characters is the IRS
@lpfan4491
9 ай бұрын
It's amazing how(roughly) 33% of Fnaf jank in these early games is "either a debug-thing scott forgot to disable or a poorly thought out hotfix for something else", 33% is "Scott made a typo/forgot to set upper bounds" and the other 33% are "Clickteam just kinda sucks enginewise". Perfectly balanced, as all things should be. Lol. At least it didn't impact anything actually important this time.
@gregorymirabella1423
5 ай бұрын
What other things have been impacted?
@Toni.badiIm
2 ай бұрын
@@gregorymirabella1423 fnaf 3 night 6 ventilation errors that occur naturally
@nameless......................
2 ай бұрын
the extra 1% is going to shit yourself
@Mimiyan_or_Pikapikafan
9 ай бұрын
I wasn't expecting to understand how overflow glitches work in detail, thanks!
@itztaken
9 ай бұрын
yay an opportunity for pedantry 🎉 It's actually still called an overflow even if it's going in the negative direction. Underflow is a term that specifically applies to floating-point numbers that are too small to be represented, and turn into 0.
@Mimiyan_or_Pikapikafan
9 ай бұрын
@@itztaken wow thanks for that! Man this was a massive learning experience lmao. I first heard of overflow glitches because of Pokemon RBY's EXP overflow glitch with level 1 Pokemon in the Medium Fast EXP Group (you normally can't get level 1 Pokemon in RBY, but glitches lmao.). If a level 1 Pokemon in that EXP group gained less then (I think it was) 64 or 63, it'd overflow and level the Pokemon up to level 100 instantly
@iansarmiento23
9 ай бұрын
For those who still don't understand, even though the code says it's 1/100000, the software it runs on cannot do that number so the chances are lower because it loops over.
@TospikKing
9 ай бұрын
Why did u write this comment lmao
@seymourkrelborn4780
9 ай бұрын
*chances are better
@Josue_S_6411
9 ай бұрын
*The chances are higher.
@miwr
9 ай бұрын
@@TospikKing For those who still dont understand
@ragerasse7616
9 ай бұрын
Thanks! I have a really hard time understanding any computer or programming terms. I tried to make sense of the video but just found myself getting lost due to most of the things having a context to them that I had no clue about. Like what is the difference between a 32 bit integer and a 16 bit integer?
@mrperson9877
9 ай бұрын
Love these breakdowns, they help clear up common misconceptions and are amazingly edited
@fortheloveofgodlaugh2981
9 ай бұрын
Honestly without Markiplier's encounter, I think genuinely FNAF as a whole wouldn't have taken off so hard.
@swiftfated
9 ай бұрын
My brain didn't immediately make the leap to "every random number in all Fnaf games is an unsigned short as well" so you might have wanted to mention that when transitioning from pizza simulator to golden freddy. But awesome video still! I love learning video game math.
@username5155
9 ай бұрын
1:47 I figured the whole “Clickteam doesn’t support other types of numbers” thing already kinda implied that
@logandarnell8946
2 ай бұрын
@@swiftfated yeah same as other commenter, they were made in the same engine so the same function isn't going to magically change.
@explodingbearz
9 ай бұрын
Videos like this are so fantastic. Excellent reminder of why I'm subscribed to you. A level of depth you don't really see with other content creators. Keep it up. Really love the videos
@JayKube101
9 ай бұрын
As someone who is really interested in technical fnaf I find this video really interesting! I'm really hyped for the fnaf glitches video!
@slorty4494
9 ай бұрын
Kube Jumpscare??
@PanMan47
9 ай бұрын
Your content is great! I love how this part at 3:11 also acts as a document for random events in the fnaf games, nice to see it all detailed
@colekiesler6218
9 ай бұрын
Let’s all agree that Golden Freddy’s jumpscare is the definition of unexpectedness but it’s at peak.
@DimentiosLoyalest
9 ай бұрын
I will never stop being entertained by the catastrophic results of games receiving numbers slightly outside of expected ranges.
@zandbergx9747
9 ай бұрын
A really genuinely excellent video. Love how the practical/technical physical implementations actually changed odds by a large amount. The explanation with FFPS's bug was great and your content isn't over-fluffed particularly, love it. Also big fan of the muted, telegraphed jumpscares, lol
@jzgamer12
9 ай бұрын
If your name is markiplier then your chances increase
@l9m241
9 ай бұрын
Interesting how the biased odds go to 32768 which is close to the 32767 which is the 16 bit signed integer limit. I was curious about how big the RNG function was especially when dealing with overflow. Clickteam Fusions' engine is surprising! Funny how the Android port was just broken due to the Java/C++ Differences.
@itztaken
9 ай бұрын
It goes to 32768 because it's 2/65536.
@horpuscorpus8299
9 ай бұрын
I wonder if Scott actually knew about this limitation of Clickteam, or if he knew but didn't bother with the specific value of things occuring so he just put in a really large number and assumed it'll be rare from there
@itztaken
9 ай бұрын
It's obvious he didn't know of this limitation, though he did know of the 999,999,999 limit that counters normally have in Clickteam, as evidenced by the Random(999999999) in SL's Breaker Room.
@yellowpowr8455
4 ай бұрын
It was creepier to see Golden Freddy NOT jumpscare people.
@foor
9 ай бұрын
It's insane how this answer was right under everyone's noses as well lmao Great video :)
@Youhadabadday2021
9 ай бұрын
Here's another fun fact: There's actually terms for this exact type of bug. We call them interger underflow and interger overflow respectively. Both result in the same outcome, but underflow occurs when the number is less than the minimum interger limit, and overflow occurs when it's more than the maximum integer limit.
@itztaken
9 ай бұрын
It's actually still called an overflow even if it's going in the negative direction. Underflow is a term that specifically applies to floating-point numbers that are too small to be represented, and turn into 0.
@JaredThe
9 ай бұрын
I love giggling to myself about these kinds of under/overflow glitches in games they're always the funniest
@drawnecromancy
3 ай бұрын
Oh, this is a delightful video ! I found your channel after checking Tech Rules' community tab yesterday, for fun, and seeing their post from last year about your videos. I'm very glad I followed the link to your channel and checked it out ! Your videos are well-made and well-explained :D Hope you're having a nice day !
@Winasaurus
9 ай бұрын
While negative revenue provides seemingly unlimited revenue, I like to imagine that negative health and safety similarly provides AMAZING health and safety, curing the attendees of pre-existing conditions they had before arriving, and causing legal teams to pay your fees to fight their own case against themselves, because with health that good, there's no way you're liable for anything.
@kagu2811
9 ай бұрын
In FNAF 1, there’s actually a one in three gorrilion chance that Freddy does the Gangnam style (real)
@za_vishmoongarr
9 ай бұрын
I saw that happen once
@a-bombmori7393
9 ай бұрын
This happened to Markiplier but he had to take the video down for copyright 😔
@username5155
9 ай бұрын
At least there wasn’t some Mario 64 pendulum manipulation type stuff
@itztaken
9 ай бұрын
it felt like it in the moment
@Frizou
9 ай бұрын
Wow that was actually much more interesting than I first expected, I'm not really into fnaf but I'll always take a video talking about video games statistics, I really appreciate the quality of this video and I thank you for putting a jumpscare warning, way too few channels do this kind of stuff
@AIEchidna
9 ай бұрын
this is such an awesome video, you've done it yet again, Taken!
@azadanzans5359
9 ай бұрын
Here I was thinking seeing shadow bonnie was one of the rarest things that’s happened to me… ever, for years. Well that’s some pretty smart research, and is incredible interesting, especially for games that I was 100% sure we had completely cracked
@KiiBon
9 ай бұрын
Growing up is realizing early FNAF was held together by duct tape
@hword5notsoofficial803
9 ай бұрын
This altered RNG makes the odds of seeing golden freddy in a run go from 2.63% or whatever it is, all the way up to 7.84%. Almost triple toe odds
@kalele60
9 ай бұрын
Man I can’t believe that Cassidy and the other one show up more often just because they both skipped math
@zanzaroon6961
9 ай бұрын
I had a mini panic attack when the mario 64 music came on following the "let me explain"
@the_cheese_cultist
9 ай бұрын
so clickteam uses modulo for generating an integer in a range instead of a proper uniform distribution? cool
@theastonvillaseal585
Ай бұрын
So by that logic, the hardest UCN night is 49/20 with a -1 Jack-O-Chica 🤔
@nopeleader2137
9 ай бұрын
looks like Scott didn't do his research the first one looks like something quite easy to fix, just make it generate random numbers more times
@itztaken
9 ай бұрын
That would be easy if you were working with a _True_ Random Number Generator, but computers usually have to settle for _Pseudo_ Random Number Generators, which are entirely determined by the seed. If you generated 2 random numbers one after the other, the second number would always be determined by the first, and you still wouldn't be able to represent any probabilities more precise or smaller than 1/65,536. It would be possible to reseed the RNG with some user input or the user's system time, but that'd be needlessly complex. The best solution would to just use an extension like MT Random that uses a better algorithm and outputs a larger range of values. Anyways, it makes no sense for Clickteam to have limited the RNG to 16-bit values, as all other numbers in Clickteam Fusion use 32-bit, and the only way you'd know that the Random() function was different, would be to dig into the documentation and see the small note at the end.
@nopeleader2137
9 ай бұрын
@@itztaken oh right I forgor you still could space out the generation between the sub rngs since it's checking a generated number every 1 second
@RadTeamwork8934
9 ай бұрын
Fnaf is so complex in every aspect that the golden freddy RNG chance was theorized like the gravity theory
@meathir4921
9 ай бұрын
I didn’t expect a study in why simulated RNG is bad from a FNAF video.
@GodlessAnti
9 ай бұрын
Greatest Five Nights at Freddy’s channel on the platform.
@davidc8903
7 ай бұрын
2:17 I believe this is also what causes Ghandi to become a nuclear maniac in the original Civ game
@itztaken
7 ай бұрын
Unfortunately, that's just a rumour and wasn't real. India just focused on science and usually ended up researching nukes first.
@theastonvillaseal585
Ай бұрын
5:09 what’s Mystery Box Jack-O-Bonnie?
@elerdy3237
Ай бұрын
Amazing video! Just one small correction: when the code is given a negative number for an unsigned integer, or the number provided is smaller than the minimum that variable can be, that is referred to as an underflow error.
@itztaken
Ай бұрын
It's actually still called an overflow even if it's going in the negative direction. Underflow is a term that specifically applies to floating-point numbers that are too small to be represented, and turn into 0.
@elerdy3237
Ай бұрын
@@itztaken On actually looking it up, you are indeed correct. That's my bad.
@pacblox5417
9 ай бұрын
Never stop these types of videos
@crystaljiang5976
9 ай бұрын
true
@MudakTheMultiplier
9 ай бұрын
I don't really care about FNaF, but hot dog I love a good breakdown of broken video game code.
@Yaboygogeta
9 ай бұрын
Did he just call golden Freddy the most simple enemy in the game?
@testerwulf3357
9 ай бұрын
I mean..he technically is! Look at poster>is golden freddy poster there?>yes>spawn in office>despawn if cams go up or attack if they do not. He has no roaming or anything like that like the others..second simplest is probably foxy. Similar to goldren freddy just several stages with rng based on you NOT being on cams
@Yaboygogeta
9 ай бұрын
@@testerwulf3357 I know that I mean he’s not simple in terms of game lore
@JarheadHME
9 ай бұрын
Very very interesting, I love seeing the technical aspects of stuff like this gone in-depth! Out of curiosity, do the fnaf world lower tier reapers and unscrew 2 have different odds?
@itztaken
9 ай бұрын
Lower tier reapers don't have lower odds, they just shoot less often. Unscrew odds are 1/30 and 1/600 for enemies and bosses, while Unscrew 2 is 1/20 and 1/500.
@DavidXNewton
9 ай бұрын
I love deep explanations of code like this - thanks for your curiosity :)
@Spagoooterman
8 ай бұрын
This guy has the ultimate flex: He can spell Shadow Bonnie's real name without hesitation and very fast
@-C4-
9 ай бұрын
Thank you Pannenkoek
@itztaken
9 ай бұрын
no problem will
@renakunisaki
9 ай бұрын
Star Fox Adventures has a fun one. Due to rounding error, about 1 in 100 million RNG calls can be out of range. Imagine rolling a 6-sided die and it comes up 7. Not as rare as it sounds, since there can be dozens of calls every 1/60 second. If you're really unlucky, it can crash the game. Usually it just makes a sparkle move slightly further than normal.
@itztaken
9 ай бұрын
Wow, that's an interesting one I haven't heard about before. Are there any posts or information you can link about this?
@renakunisaki
8 ай бұрын
@@itztaken I think it's only been mentioned on Discord... maybe I should make a video on it.
@lpfan4491
8 ай бұрын
That reminds me of the silly RNG bug in Fire Emblem 6. It doesn't crash the game, but it can theoretically cause the Pokemon Gen 1-miss and it also applies to random stats, so enemies can theoretically get 1 more point in each stat than they are intended to.
@nat_cat2923
2 ай бұрын
this is goddamn good video dude! i love it!❤
@rubiksmath7938
9 ай бұрын
Wow. One final thing I’ve noticed and I’m sure you and others have is that the final calculated odds (32,768 and 16,384) are exact powers of two, is this related?
@itztaken
9 ай бұрын
Yeah, they're simplified fractions of 4/65536 and 2/65536, as the way it's setup, the probabilities of all the random stuff in Clickteam Fusion are out of 65536.
@blueyandicy
6 ай бұрын
I love the alternative description LOL, like so true
@ghb323
8 ай бұрын
I can understand why rejection sampling is not to be used. Bad luck can repeatedly generate rejected numbers a large number of times, and this is more likely if you have a large percentage of them being rejected numbers. Thus if you are unlucky, the program gets "frozen" until it generates an acceptable number. Bogosort, an algorithm that generates a random permutation until the array is sorted (assuming the array have no duplicate values used in the comparason), there is only 1 permutation that is sorted, and N!-1 (exclamation point = factorial; 5! = 5x4x3x2x1 = 120) permutations that isn't sorted. A large array can cause the software to take AGES to finally sort the output.
@jacksnipe2441
9 ай бұрын
Great analysis. Why they would make these implementation choices is an amusing mystery.
@esotericpince
9 ай бұрын
great video :) was easy to follow as a guy who knows 0 coding and failed highschool math
@picklerickshaw
9 ай бұрын
This is a super engaging video. I’ve always been awful at consistently focusing on a video (thanks ADHD), but this one kept me intrigued. I’m sure it's partially the content, but the way the video is edited is in my goldilocks zone for some reason
@Faze_Reverse
9 ай бұрын
Like your style of fnaf videos, I wish this one was longer. I waited months to the point I forgot tho KZitem recommends came in clutch ill be subscribing and I hope to see more from you.
@Guhhhhhhhhhhhhhhhhhhhhhhhhhhhh
9 ай бұрын
insane how things are still being discovered about fnaf 1
@testerwulf3357
9 ай бұрын
I thought it was odd for some eastereggs to supposedly be suuuper rare..yet be ungodly common to see 😅 I guess now I know why! Thanks for the video
@chaoraiser2338
9 ай бұрын
if i didn't read the description i would have thought i was slightly wrong about the re-title
@Q.A.D.D.
9 ай бұрын
And that is why people usually work with 32- bit integers, unless they know for sure they do not need big numbers.
@crystaljiang5976
9 ай бұрын
loving that new profile picture! finally got your own brand :)
@iamgoodatgames5010
9 ай бұрын
A night in fnaf is around 8 minutes and 55 seconds. So you got real close at timing it perfectly lol.
@HollowLeif
7 ай бұрын
I have never played a fnaf game but I still find this type of content very interesting.
@myralyra2404
9 ай бұрын
Thanks for explaining this very clearly so someone who has zero coding experience (like me hehe) could understand it fairly well :D
@james-m-8285
9 ай бұрын
The fact that any engine function is taking unsigned shorts as input is absolutely wild to me. There's no reason to use that type outside of shrinking the storage impacts of a large dataset of small numbers.
@Mr._Tru3
9 ай бұрын
Hopefully this gains traction so people finally discover the truth. Also wow I didn’t know Golden Freddy was completely impossible to find on old Android. Is this the case for old iOS too?
@itztaken
9 ай бұрын
No, it was solely an issue with the Android runtime. You can find KZitem videos of people finding him on the old iOS port, but only 1/9/8/7 videos when it comes to Android.
@Mr._Tru3
9 ай бұрын
@@itztaken good to know
@iam4026
9 ай бұрын
No wonder Golden Freddy appeared much more frequently than he should. Because honestly a 1/100000 or 1/1000000 chance would basically be a once-in-a-lifetime scenario but many players discover them as if it were 1/50
@ghb323
6 ай бұрын
It is very likely that the game calculates RNG like this: Result = floor(rand * (RangeMax+1)/65536) floor = round down to integer rand = random number between 0-65535 RangeMax = the maximum value you want the RNG to be in between 0 and this number, inclusive. To convert to any range whose min value is other than 0, just take Result and add by some value and that will be your minimum. If you look very closely, it is cross-multiplying with fractions whose numerators are ranging from 0 to strictly less than denominators.
@kvassinc
2 ай бұрын
Why song from 1:50 sound like a The Cure? The description doesn't mention Lovecats but Title Theme (Beta Mix) - Freddy Fazbear's Pizzeria Simulator (SiIvaGunner).
@masontirant4996
9 ай бұрын
The editing is REALLY GOOD
@sagacious03
9 ай бұрын
Neat analysis video! Thanks for uploading!
@catlord2395
9 ай бұрын
Nah man turns out you have to hit a triple backflip while exporting the android port to computer and fixing the code in Java and then importing it back in apk and then getting the golden Freddy Easter egg before hitting the ground to activate it
@FusionCyborg
7 ай бұрын
At 3:17, it is mentioned that there is a random(1,000) chance for Golden Freddy A.I. to be present on Nights 2 & 3, and while this is true, this is irrelevant for Night 3 as a later line of code will automatically deactivate Golden Freddy at the beginning of a night in the base game (I.E. Nights 1-5). This also ends up affecting Nights 4 & 5, which have random(100) chances for Golden Freddy A.I. to be present, only for said odds to be irrelevant for the same reason. Night 2 isn't affected because unlike Nights 3-5, the random function is ran when you reach 1AM, not when the night begins. Edit: Yes I'm aware the video creator has another video that explains this, this comment is meant for people watching this video that didn't watch the other one where this was explained.
@FourBloodMoons
9 ай бұрын
I don't know if I'm just being dumb but I feel like you answered your question at the very beginning of the video being that every second there is a 1/100000 chance of Golden Freddy appearing, therefore if you just do the math a night lasts 8 minutes and 55 seconds so = 535 seconds that reduces your likelihood of encountering Golden Freddy down to 1/187 ish
@itztaken
9 ай бұрын
yeah, he'd be ~1/187 a night if that were the case
@Xtrabytezgam
2 ай бұрын
I SWEAR I SAW GOLDEN FREDDY BACK WHEN I FIRST FOUND FNAF IN LIKE 2016 AND I GOT KILLED BY HIM
@DiamondTheBlue6
5 ай бұрын
FNaF 3 & Sister Location has some crazy odds 💀
@prestonhunter45
9 ай бұрын
In coding the saying is, “if it ain’t broke, don’t fix it” but I love video like this ❤
@Enjoy_Nothing
9 ай бұрын
I love the 8-bit close to me at 1:40
@grogcito
9 ай бұрын
Heh, it's interesting how something seemingly so basic and simple eluded everyone until now. You're probably the first guy to actually check the data types lmao (I mean probably someone else knew but w/e)
@itztaken
9 ай бұрын
There are people who knew of the RNG's 65535 limit in Clickteam Fusion for decades, but everyone who decompiles fnaf games aren't Clickteam Fusion devs, so wouldn't know. But yeah, no one, to my knowledge, looked into the actual implementation to get exact details.
@joshistitic
6 ай бұрын
Your videos are amazing keep doing more! I wanna see AI breakdown of sister location some of the nights in that game are so confusing
@rowmacnezumi8953
9 ай бұрын
This integer underflow effect is also what caused Ghandi to go nuclear in the old civilization game. His aggression started at one, and when he eventually established democracy, it reduced his aggression by two, making it wrap all around to 255 out of 10.
@itztaken
9 ай бұрын
Unfortunately, that's just a rumour and wasn't real. India just focused on science and usually ended up researching nukes first.
@shradibop
9 ай бұрын
i would LOVE a video on how UCN works! i used your video on fnaf 6 for my recreation, and it's super useful and interesting.
@manineo3538
9 ай бұрын
I suppose that if we'd get some. . . Corrected? Like 1 line of code corrected FNaF, both would be the MAX instead of a number so big that it wraps around
@smtonyanthony4227
9 ай бұрын
I got a question. Do you know how foxy works in fnaf 2? Because I never really get a clear answer on anything about him
@itztaken
9 ай бұрын
he's complicated sorry just kidding, here's a comment from Folmic that explains it: www.reddit.com/r/technicalFNaF/comments/m71w80/comment/grbb6u5/
@smtonyanthony4227
9 ай бұрын
@@itztaken thank you so much
@mattybrunolucaszeneresalas9072
9 ай бұрын
Awe new pdp?
@astralwyzard
9 ай бұрын
I could binge hours of your videos. With that being said, please make more videos so i can binge them for hours!!!!!
@tashxkp5132
9 ай бұрын
I watched this whole video without having any idea nor understanding what he’s talking about
@Sean-qg3gg
9 ай бұрын
Is Golden Freddy able to appear if Bonnie is in the corner?
@itztaken
9 ай бұрын
No, the code is shown in the intro.
@Sean-qg3gg
9 ай бұрын
@@itztaken Ok thank you
@JEYPICK
8 ай бұрын
I got golden Freddy jumpscare on my FIRST NIGHT in Fnaf 1 I cried and quited
@CataIana
9 ай бұрын
Always look forward to another one of your videos
@NatoXemus
9 ай бұрын
I have gotten the FNAF 4 room in UCN when I only have the starter room
@lionturbulence
9 ай бұрын
I know it's a silvagunner joke but i really liked the inclusion of Close To Me.
@budrowconye4928
9 ай бұрын
Thank fuck I recognized the song but was searching for someone who knew the name in the comments
@lionturbulence
9 ай бұрын
@@budrowconye4928 from the cure's sixth album, the head on the door
@VasakonTv
9 ай бұрын
Good video and explanation! Even that the odds arent so small, i still cant believe that he apperead in my offie! Anyway bout fnaf 2 i heared that on you screen are numbers that you cant see and theese are ais of the animatronics. There is one that belongs to paper plates ( i think). Like ai of the paper plates and when one of them apears in office. If you know something about it, could you explain it?
@itztaken
9 ай бұрын
The Paperpal acts just like every other animatronic and has its own AI, uses movement opportunities, and is even affected by camera stalling/flashlight stun. Every night the Paperpal has a 1% chance of having 1 AI. If they succeed a movement opportunity, they'll move into your room, appearing when you next flip the cams. Because of a mistake, his AI gets reset at the beginning of every non-custom night, so he'll only appear on Night 7/the Custom Night.
@VasakonTv
9 ай бұрын
Ok thanks man
@AnthonyCerruti
9 ай бұрын
I'm a bit skeptical of your explanation at 5:20. Modern PRNGs (see the source of pcg-random for an easy-to-read example) special-case `next()` vs `next(upperBound)` by rolling less/extra bits to make up for the bias. That is to say, they specifically advocate _against_ using `next() % upperBound` (which introduces the bias you've described). Does the game engine truly use that naive `next() % upperBound` approach?
@itztaken
9 ай бұрын
You can see the implementation at 7:52 , which isn't ordinary modulo bias, but essentially spreads it out across the range. It's still the same amount of bias though, rounding the odds to the nearest 65536th.
@AnthonyCerruti
9 ай бұрын
Ah, ok, this makes sense. One of the ways people recommend avoiding modulo bias in less featured languages is to generate a uniform float value and multiply that; this seems to be a 16.16 fixed version of that float algorithm. That neatly explains the bias!
@ThePaperKhan
9 ай бұрын
I don't feel like you explained how golden freddy could ever become negative.
Пікірлер: 481