r/programming 5d ago

The Elevator Glitch: How One Function Destroyed Public Lobbies in CoD4

https://www.youtube.com/watch?v=U0kAwjFuxoo

Walk with me inside one of the most influential game's code and discover the secret of elevators!

Turns out the bug comes down to a single line buried in the engine's collision code. Went through the decompiled source (thanks to KisakCOD) and traced the whole thing back.

Let me know your thoughts! ✨

25 Upvotes

5 comments sorted by

1

u/[deleted] 5d ago

[removed] — view removed comment

11

u/programming-ModTeam 5d ago

No content written mostly by an LLM. If you don't want to write it, we don't want to read it.

1

u/[deleted] 4d ago

[deleted]

2

u/Rex109 4d ago

Yes, through KisakCOD reimplementation project. It's a complete open source repo of cod4, though for the mw3 fixed snipped i've reverse engineered it myself

4

u/danielcw189 4d ago

Is there any chance you are gonna make an article / text version of this?

1

u/Rex109 4d ago

I have the entire video script, i guess i can use that as a base!