A Strange Spelunky Glitch - "Hybrid" Levels
HTML-код
- Опубликовано: 17 мар 2014
- EDIT: Unfortunately, this glitch was fixed in a recent update.
Only works in co-op as far as I know.
An odd glitch in Spelunky that messes with the level generation. The best way to do this is to set both players to the same input from the controls menu. Also, the reason I walk against some walls like a total idiot is to make sure that both characters are exactly on top of each other. (giggity)
Another cool thing I forgot to mention is that "rushing water" levels also carry on their effects. Try combining that with the black market for some very strange generation. - Игры
Dead are restless / Sweet Jazz sped up are the greatest thing
Eluded woman
true
No not really but thats just me
I thought that too coolest jazz ever
its a spooky mounth!
Ice Temple is genuinely cool. Makes it look less intimidating, especially with the jazz. xD
I'd love to see if this has any effect on going to the worm...
Lunk no man
Game is definitely ready for both players to go the worm (obviously at the same time) and if you dont go through the door at the same time once then the glitch is fixed
Ok, but how would the black market/ castle/ mothership/ city of gold/hell work with this?
I mean, could you get a wet fur ulmechs lair?
This comment is 6 years old and the oldest reply is 10 months, I wonder if he ever even saw these. Or if he’s still alive
With the ice caves one I though it said “it smells like the Fourth of July”
The smell of hamburgers and gunpowder?
Udjat:spawns
Etalify: nah mate I'm good
Game: but wait, there's more!
The sweet jazz on wet fur levels is half the reason I play this game
Does that mean dark Ice Caves can be a thing?
Oh god no.
dark ice caves would be harder than hell
This glitch doomed us all
dark hell. oh sweet jesus no.
Well thats gotta be very hard
I think what causes the glitch is that the level generator gets confused between what level to generate for both players, as they are separate characters exiting the exact same level at the exact same time. This causes two kinds of levels to mesh together at the same time, forming the so-called "Hybrid Levels"
Holy crap! Thats awesome.. is frozen Hell a possibility?
CoolHandFlash yes
when hell freezes over
according to the description, no, tho i havent tried
It is now possible in single player spelunky
Thinking the same thing
Awesome glitch!
...also wet fut sped up is amazing.
ik you spelled wet fur wrong but wet foot
@@waffles4670 feet 🥵
I forgot the Wet Fur jazz was a thing until now. Thank you
Gotta love how this video is 4 years old and I see comments that are recent
I'm here
I'm here
Now 6 years old, Spelunky HD will never die!
Oh, seven actually.
@@uzeahos the spelunky magic keeps us all coming back
I can't say for sure but maybe 2 people entering at once is some sort of frame perfect way to skip past the level end screen before it loads, so it keeps all level flags across levels
This also makes me curious if you can toggle level flags anywhere with a mod or something, and what that would do. Say wet fur in the mines or something City of gold somewhere that isn't city of gold, assuming city of gold is a level feeling
I imagine someone else has said this in the last 6 years already, but if I were to guess, I would say there's probably a race condition and a piece of code that is something similar to:
if(levelModifierX){
// Do complex stuff
levelModifierX != levelModifierX;
}
If each character runs on a separate thread and they both reach the 'if' condition at the same time, the "levelModifierX" would be true for BOTH of them. At that point, they do some complex stuff which causes the two threads to desync. That last line means that the first player's thread to reach it will switch the modifier (such as "Wet Fur") off... and then the second player's thread to reach it, will switch it back on again.
I'm not saying that's EXACTLY what happened in the old build, but I wouldn't be surprised if there was at least a thread race condition appearing, and it causing something to be switched off and then back on again.
I watched some normal multiplayer footage
In this game any of the players may exit, that player goes into door-entering animation, then after a small amount of time all players go to level-transition screen without waiting for anyone.
Here all players enter on same frame. Game still does the door-entering animation and outro animation but skips level transition, goes straight to next level intro.
.
It is unlikely to be a threading race condition since all game mechanics probably run in a single thread - there is no reason to run each hotseat player in a thread for such a "simple" game - it would only add a lot of complexity for no good reason. Furthermore, threading race conditions on PCs or modern consoles are very hard to replicate exactly - which is why they are so hard to debug - it would not be consistent even for a TAS, let alone human, let alone every single time, multiple times in a row.
.
Probably what happens is: main mechanics loop checks level-exiting condition for each player in a loop, and does not actually stop the loop when it was reached, just sets a flag, but then it does that again for a second player. That is why it was fixed so quickly and never reappeared.
.
The question is - what exactly could have gone wrong and why?
.
It could be anything but my idea is something like this:
First player's level-exit routine sets global game state (title screen/gameplay/...) to "intermission". This probably also increments level number.
Now second player attempts to end level. I believe this does check for current game state, otherwise either level counter would be incremented again or it would not increment at all - we would skip a level or restart it. Instead I guess game reuses same function to end any game state so it thinks that the second player commanded to end intermission and start level.
.
*Perhaps some information is set in the intermission - possibly because the intermission needs to show level results before clearing them - but new level id is set in the level-exit routine because it needs to remember if a secret exit was taken or not*
It would make sense to have a single function that resets all counters for new level and generates random parameters - just to keep everything in one place. Such function(s) should both generate level feeling and reset collected loot counters. Level seed probably just carries over, and is not modified, instead level generation rule differences make same seed behave differently - it would make sense for daily challanges to only need a single seed, not one per level.
Actual level generation probably happens upon starting the level itself - it would make sense since not all levels start with level transition, and it needs to set actor states that don't necessarily exist or initialized outside of actual game loop state.
.
The "wet fur" feeling generates wrong-themed tiles because it is supposed to add more platforms to an already-generated level, and game never expects such level to be anything but ice caves one. So it places ice tiles on top of any terrain. This may mess up bosses if developers didn't check for that specifically. Restless dead and snake pit should be better integrated into the level since there it apparently does more checks.
.
If I'm correct, the following should be true:
Level features that may or may not appear on a level such as locked chest, black market door, possibly worm and mothership entrance, will generate the same way they generated on a first level where the glitch was performed consecutively, even if it makes no sense.
Existence (or possibility) of some rooms such as shops, altars, golden idols may also be replicated from the last non-glitched level (or they may never appear at all). The rooms may be skipped if there is no space for them at the time they are being generated.
Some special level features such as bosses and alternative exits may not generate correctly or at all.
if level is exited normally after glitched level transition, loot collected in every level before the normal transition should be displayed. If the damsel was saved in ANY of the glitched levels, damsel should appear on level transition and would likely increment health. Next level should generate as normal.
Entering secret levels should work correctly, however there may be problems with cutscenes.
Winning the game screen will probably be skipped, along with high-scores if they are recorded in multiplayer. Unlocked characters may or may not persist. Players will probably be dumped in the menu as normal.
.
I'm very curious what could have happened if there were exactly THREE players - If I'm correct it would most likely either crash or play intermission skipping one level and possibly duplicating last level results (as in - saving damsel or not, collected loot displayed onscreen...).
.
Wow, this was quite an essay that no-one will ever read!
@@jwhite5008 I read it and as a gamedev I find this extremely interesting. Thanks!
Jack White why did you waste your time making that comment lol
This is the liminal spaces of Spelunky
I wonder how this affects shopkeeper grudges.
It looks like it stops the game from clearing stage flags. I.e, mines 2, 3, or 4 might be flagged as 'Udjat eye'. And then with this glitch, that flag stays on for all subsequent levels, and the Udjat eye continues to spawn. And if you hit restless dead or wet fur, that gets persisted across levels too.
The reason the snake pit doesn't carry over, is because that is dependent on the a certain configuration of tiles being picked in level generation, ( tinysubversions.com/spelunkyGen/ ) not from a flag being set.
So If shopkeeper grudges were modelled in the same way, then yeah, it could carry over. But shopkeeper grudges carry over anyway, so...
My friend told me that I'd beat this game when Hell was frozen over.
Hey, that gives me an idea!
Thanks, youtube guy!
Well, with bookskip.... now.... heh
This is incredibly awesome! Nice work on finding that glitch.
I wonder if it can be implemented with more players...
I think what is hapening is the "special levels" are getting confused, because the lebel technically doesnt end, Hence the no clock reset, causing these levels, like udjet eye and (perhaps black market?) not to reoccur, but to simply never end!
Ok though. What if you have 2 exit doors. One leads too another level type. The other to a different one. What if they enter the same time?
Probably gives priority to whoever holds the flag
Well, would you look at that.
I believe the glitch is caused because when both players enter at the same time it only counts one but still believes that the other player is in the previous level, this causes the game to replay any special circumstances onto the next level, it also at the temple believed a character was still in the ice caves leaving it to generate ice in the temple the same way it handles an ice cave.
I Think the Glitch is caused because when 2 player enter the door at same launch 2 threads/procedure of Level Generation. But a error exception system is present in the game so the 2 threads are paused/ignored in part.
Could anyone do a frozen hell run just to see how much the worldgen is ruined?
i would like to see it but i suck at this game and can barely get to the jungle
This is still me but I can barely make to the ice caves
You forgot you commented on this vid didn't u?
@@livingwater25 lol It's possible
ah frick im late
@@livingwater25 yep
Everyone
The glitch unfortunately doesn’t work anymore:(
imagine this being a speedrun category
I'm glad you did it with wet fur, because the sax is so good
I would love to see the effect of "A wolf howls in the distance"
Would there be any other effects if you had 3 or 4 characters exiting the level at the same time? also, great vid!
I wonder if it's something to do with how it keeps track of what level/sub-level you're currently in? So, when you go through the door, it counts up one because you're entering 1-2, say - but if both characters go through the door at the same time, perhaps it gets confused and counts up twice instead? So technically, you'd be moving from 1-1 to 1-3 while still actually being on 1-2...and then moving onto 2-1 while you were still actually only on 1-3. Thus, the game gets confused because you're in one zone while also being in another and starts putting the wrong things together xD
EDIT: Also, perma-zombie, ice-zombies, smooth jazz and frozen temple modes are awesome too xD
Imagine hell with some jazz music
Wet fur Yama level would be cool
i love the wet fut fastforward
Still works on xbox 360 for sure though. I tried it. But timing is difficult, so I line up the 2 players with a rope and then test to see when the controllers are synced perfectly by jumping. Once thet jump together at the exact same height, I press the enter door button. Then it works. Either way the glitch is a tad bit useless. The frozen temple looks cool though
Such a good video!
i hit the sub button when i saw the dead yeti talk, wp my friend
the dead are REALLY restless.
Nice vid bro!
I will never see the verb "the first udjat eye".
1:47 2nd jungle eye
Youre very pro, you passed all the levels (almost) not being hurt without any Items, and I have so much difficulty to reach Olmec, and I do not completed the hell yet ;-;
Inb4 frozlunky
*When Udjat's Eye Appeared in the Jungle
Me: excuse me, but WTF?
Everyone gangsta till the spelunker runs into the "the dead are restless" ice caves with 3 udjat eyes
Those dead really are restless
The ice temple looks cool though
He's real good at spelunky...
It's like Jacob and Esau(?) From TBoI Antibirth
I got a dark, dead are restless level with the piranha ocean thing in 1 level at the jungle before
There have been a few times where I’ve seen a giant water pit with piranhas on 3-1, it’s weird.
It will be really easy to get the temple shortcut then, even though the progress doesn’t save it multiplayer
Dude give the dead some rest :(
i came here for some info, because i had three consecutive dark levels in the jungle, i don't even play in multiplayer but the third one had a combo of dark and dead are restless
The two player one remote glitch happened to me for human fall flat and on spelunky
5:46
The mummy over ther got butt-stabbed
Nice find!
What happens when you reach Olmec with the wet fur?
A long time ago I tried this glitch and then I got a blackmarket in hell
Can hybrid levels be an official thing in Spelunky 2? :0
Wait a sec, why does Yang appear when he jumps on enemies?:0
Had something similar in spelunky 2 where one controller got two players when I whipped it just knocked me out
What speed did you put restless dead and wet fur music to? I want to know so I can speed it up myself for personal use :D
Same.
I've sank a fair amount of hours (not necessarily a lot) into this game. And I barely ever make it to Jungle. You just walk there in a minute like you're just nipping out to the shop.
Sadly, this is now fixed in the latest version of Spelunky.
How do you get two players wit one input?
Do you know what version of Spelunky HD this is? I would love to try this.
Still works on XBOX 360. I love the glitch
I love you spelunky
Oh hey, I though noone else had thought of this
Don't tell me there could be Dark, Dead Are Restless, and Wet Fur while fighting YAMA?!
This is cool!
Helps with the key run though
Oh and if you do this with 3 players everything's normal, but the ghost appears at 4 minutes instead of 2:30.
And 4 players... Don't do this with 4 players. They never found that poor gamer who tried it.
Spelunkey but you control 4 characters at the same time
It turned into spelunky 2 generation
I have rediscovered the glitch in single player and might get a video on it soon
wait what? how did you do it
@@medro04 there's 2 ways to do this from what i've tested.
1. lag the game out with a bomb spam and while the bombs explode enter the door and open your select menu while the animation ends resulting in a forced overload.
2. get a second controller/player and as the both of you enter the door open the select menu as you both enter while the animation ends resulting in some frames being skipped ending with hybrid levels.
prove me wrong, it's really hard to do but it's possible!
Can we have like infinite black market or golden city?
You hear Yeti prayers.
Strange to see binding of Isaac on spelunky
2:28
Derek better add a "Hybrid Levels" option in the next update or I will... Most likely still play. BUT I'LL BE SLIGHTLY DISAPPOINTED.
Half a decade
still not out
How do you have the bot ?
Ii cant get it to work... Any help?
They released a patch earlier today that fixed this glitch. :(
Etalify it works on friends xbox 360
Cursed images: Spelunky edition.
4:07 wet fur music mariokart ver.
Wait can you be in the city of gold twice😳
i think the pirated versions are older so you can still do this
i wonder if it would work with the black market?
black market in the black market black market in the black market black market in the black market black market in the black market i presume
wow. I thought that I had done that in coop but I guess not. :D
And temple shortcut?
It sounds like wet fur in here!
Does the moi head spawn?
How do you get the two characters together?
Both players are being controlled by the same input.
Wish my runs were stupidly easy like that
JACOB AND [[Hitbox]]
what about black market? will every level be a black market after that?
Nope. I tryed
I wonder if this is possible on the xbox 360 version
Yes, it's possible
It doesnt work anymore
Me: WOT?!
But and Olmec?
dead are restless wet fur dark hell
oh god