U
/u/PM_ME_YOUR_REPO, /u/TheBouncerr, /u/geoshmeo
Guest
I’ve been watching a lot of SB737’s Lifesteal SMP stuff lately, especially how he manages to reset chunks to fix things like destroyed End Portals. It’s a pretty insane trick, so I decided to look into the actual server-side mechanics behind it for anyone interested in the admin side of things.
Basically, the whole thing is a “data overload” exploit. Most people think it’s just a glitch, but it’s actually about forcing the server to fail a save. In Minecraft, if a chunk gets filled with too much data like thousands of entity packets or block updates the server’s “Garbage Collection” (the part of Java that cleans up memory) just can’t keep up. When the server realizes it can’t safely save the current state of that 16x16 area, it just defaults back to the original seed state to prevent a total crash.
SB737 uses this by dimensions hopping and flooding the server’s memory right as a chunk is loading. By timing it perfectly with a fast chunk loader, you basically “time travel” that specific piece of the world back to when it was first generated. It’s how he gets those portals back even after they’ve been griefed.
It’s definitely not something you want to try on a low end server because you’ll just crash the whole thing, but it’s a cool look at how Minecraft handles data limits.
— a6a9 (Aneesh Sai Palatla)
[link] [comments]
Continue reading...
Basically, the whole thing is a “data overload” exploit. Most people think it’s just a glitch, but it’s actually about forcing the server to fail a save. In Minecraft, if a chunk gets filled with too much data like thousands of entity packets or block updates the server’s “Garbage Collection” (the part of Java that cleans up memory) just can’t keep up. When the server realizes it can’t safely save the current state of that 16x16 area, it just defaults back to the original seed state to prevent a total crash.
SB737 uses this by dimensions hopping and flooding the server’s memory right as a chunk is loading. By timing it perfectly with a fast chunk loader, you basically “time travel” that specific piece of the world back to when it was first generated. It’s how he gets those portals back even after they’ve been griefed.
It’s definitely not something you want to try on a low end server because you’ll just crash the whole thing, but it’s a cool look at how Minecraft handles data limits.
— a6a9 (Aneesh Sai Palatla)
[link] [comments]
Continue reading...