It’s BILLIONS of floors below the surface, and we get to see it in this video! I’ve done a million before, but this is over 2000x deeper than even that. Apparently if you do manage to get deeper the games tries to do floor -8 then crashes. Stardew Valley gameplay with my commentary as always!
the shafts range from 3-15 EXCEPT for 12 I believe it calculates a random number between 2-8 I think doubles it and then subtracts one and drops you that many floors 2*2-1 being 3 is the lowest roll then 6 gets 11 and 7 gets 13 so no 12
Skull Cavern floor 2147483527 is perceived as Mines floor 120 + 214783527 = 214783647 = 2^(31) – 1 Basically the skull cavern level is seen as a 32-bit signed integer (signed int), number which is in between [-(2^(31)-1) ; +(2^(31)-1)]. So the final level is just the maximum positive value that the signed integer variable can take. My best guess is that for each falling down there is a an additional check to see if the level variable overflows. When you go to the final level, if you increase the variable by 1, it will be over the possible limit and it'll overflow, so it just doesn't let you advance. BTW This is why you hear the sound effect. You click on the ladder, the game initiates the assets needed for advancing to the next mine (you hear the sound of falling down) but then it reaches the conditional for overflow and then stops and leaves you there. Probably this is why the frame rate drops as well, because the conditional isn't the first in the set of instructions.
I think some floor 1 of skull caverns in classified as floor 121 and the bottom of skull caverns is 120 less then the 32-bit integer limit is why the bottom of skull caverns is that specific floor
My first guess is it has something to do with some value being stored as a signed integer, that would be close to the value of the final floor number. Just off by around 100. Could be completely wrong though.
The same interger limit for the original YouTube view counter, because the coders thought no video would ever clock more than 2 billion views. They were wrong.
2 147 483 647 is the 18-bit integer limit witch is the max that stardew can generate but other games like Minecraft may have higher ones such as the 38 bit integer limit which is what causes the farlands in Minecraft
As many have stated, the 32 integer limit is 2147483647, if we take skull cavern level 1 for mines level 121, skull cavern 2147483527 becomes mines 2147483647, makes perfect sense
21 Comments
*floor 2.14 billion*
*passes out*
Farmer: HOW THE HELL DID HARVEY FIND ME!? WHAT WAS HE DOING!?
i tought the ladder would take him to backroooms
the shafts range from 3-15 EXCEPT for 12 I believe it calculates a random number between 2-8 I think doubles it and then subtracts one and drops you that many floors 2*2-1 being 3 is the lowest roll then 6 gets 11 and 7 gets 13 so no 12
Skull Cavern floor 2147483527 is perceived as Mines floor 120 + 214783527 = 214783647 = 2^(31) – 1
Basically the skull cavern level is seen as a 32-bit signed integer (signed int), number which is in between [-(2^(31)-1) ; +(2^(31)-1)]. So the final level is just the maximum positive value that the signed integer variable can take. My best guess is that for each falling down there is a an additional check to see if the level variable overflows. When you go to the final level, if you increase the variable by 1, it will be over the possible limit and it'll overflow, so it just doesn't let you advance.
BTW This is why you hear the sound effect. You click on the ladder, the game initiates the assets needed for advancing to the next mine (you hear the sound of falling down) but then it reaches the conditional for overflow and then stops and leaves you there. Probably this is why the frame rate drops as well, because the conditional isn't the first in the set of instructions.
And I bet Linus would still find you passed out 2.14 billion floors down the Skull Cavern
I believe it has something related to 2^x – 1, where ^ means power. The -1 there is because the starting integer is 0.
I think some floor 1 of skull caverns in classified as floor 121 and the bottom of skull caverns is 120 less then the 32-bit integer limit is why the bottom of skull caverns is that specific floor
I just started playing Stardew Valley again. I still enjoy it.
It would take over 1,000 years to legitimately get to the last floor
My first guess is it has something to do with some value being stored as a signed integer, that would be close to the value of the final floor number. Just off by around 100. Could be completely wrong though.
The same interger limit for the original YouTube view counter, because the coders thought no video would ever clock more than 2 billion views. They were wrong.
IM gonna use stair cases to go down to lvl 1000 in skull cavern
4,067,203 miles, 513 times the width of the earth lmao
My goofy Ahh gathering jade and stairs to reach the end of skull cavern💀💀
Wow, pano siya nakarating dyan ng 2:50 pm palang. Gumamit na kasi ako ng staircase pero 12:00 pm ko na narating yung level 100 hahaha lol 😂
I found irideum on floor 1
2 147 483 647 is the 18-bit integer limit witch is the max that stardew can generate but other games like Minecraft may have higher ones such as the 38 bit integer limit which is what causes the farlands in Minecraft
As many have stated, the 32 integer limit is 2147483647, if we take skull cavern level 1 for mines level 121, skull cavern 2147483527 becomes mines 2147483647, makes perfect sense
the last floor is the intiger limit-100
5:08 The reason it can’t procedurally generate anymore is because the highest 32-bit integer is 2,147,483,527
why did he sacrfice and divorce ?