conv.

All stories
CultureFading · day 5

Chrono Trigger's Dream Devourer can be killed with an integer overflow

A wiki page detailing the Dream Devourer boss glitch spreads on Hacker News, prompting a swap of similar overflow exploits from other classic games.

What to know

  • The Dream Devourer, Chrono Trigger's true final boss, can be defeated by exploiting an integer overflow in its stats rather than through normal combat.
  • The Hacker News thread became a crowdsourced collection of similar integer-overflow glitches from other classic games, including Fire Emblem: Three Houses, Lufia 2, Transport Tycoon, and Realmz.
  • Commenters offer competing informal theories about why such stat-overflow bugs occur, generally attributing them to caching and incremental stat updates rather than full recalculation.

The dispute Commenters disagree on whether such overflow bugs reflect an 'unnatural' coding oddity or an understandable, if sloppy, engineering shortcut. · positions read across 22 posts and comments

most voices

Similar integer-overflow exploits exist in many other classic games, and commenters enjoy comparing them.

  • “The money counter would overflow and you'd get enough money to last you a lifetime.”

    Ndymium · Hacker News ↗
many voices

The bug likely resulted from a caching/incremental-update mistake rather than a deliberate or mysterious design choice.

  • “A string of mistakes has to happen to lead to such a situation but it doesn't seem super unnatural to me.”

    LoganDark · Hacker News ↗
some voices

Chrono Trigger's sequel, Chrono Cross, is a disappointing follow-up that mistreated the original's story and characters.

  • “Chrono Cross is a very interesting game on its own but it's a terrible sequel that is remarkably spiteful to its senior.”

    falsaberN1 · Hacker News ↗

ronreiter Hacker News submitterLoganDark HN commenterseam_carver HN commenterSatvikBeri HN commenterNdymium HN commenterfalsaberN1 HN commenter

How it unfolded 6 developments, newest first · click a bar or a number to jump articlespostscomments

Peak 3 pieces in two hours at Sep 19, 4 PM; 25 pieces over 5 days (2 articles · 1 post · 22 comments) Sep 19, 4 PM — 3 pieces · 2 articles · 1 post — Newswires 2, Hacker News 1Sep 19, 6 PM — 3 pieces · 3 comments — Hacker News 3Sep 19, 8 PM — 3 pieces · 3 comments — Hacker News 3Sep 19, 10 PM — 2 pieces · 2 comments — Hacker News 2Sep 20, 12 AM — 1 piece · 1 comment — Hacker News 1Sep 20, 2 AM — 2 pieces · 2 comments — Hacker News 2Sep 20, 4 AM — 2 pieces · 2 comments — Hacker News 2Sep 20, 6 AM — quietSep 20, 8 AM — 3 pieces · 3 comments — Hacker News 3Sep 20, 10 AM — 3 pieces · 3 comments — Hacker News 3Sep 20, 12 PM — 1 piece · 1 comment — Hacker News 1Sep 20, 2 PM — quietSep 20, 4 PM — quietSep 20, 6 PM — quietSep 20, 8 PM — quietSep 20, 10 PM — quietSep 21, 12 AM — quietSep 21, 2 AM — quietSep 21, 4 AM — quietSep 21, 6 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 8 AM — quietSep 21, 10 AM — quietSep 21, 12 PM — quietSep 21, 2 PM — quietSep 21, 4 PM — quietSep 21, 6 PM — quietSep 21, 8 PM — quietSep 21, 10 PM — quietSep 22, 12 AM — quietSep 22, 2 AM — quietSep 22, 4 AM — quietSep 22, 6 AM — quietSep 22, 8 AM — quietSep 22, 10 AM — quietSep 22, 12 PM — quietSep 22, 2 PM — quietSep 22, 4 PM — quietSep 22, 6 PM — quietSep 22, 8 PM — quietSep 22, 10 PM — quietYesterday, 12 AM — quietYesterday, 2 AM — quietYesterday, 4 AM — quietYesterday, 6 AM — quietYesterday, 8 AM — quietYesterday, 10 AM — quietYesterday, 12 PM — quietYesterday, 2 PM — quietYesterday, 4 PM — quietYesterday, 6 PM — quietYesterday, 8 PM — quietYesterday, 10 PM — quietToday, 12 AM — quietToday, 2 AM — 1 piece · 1 comment — Hacker News 1Today, 4 AM — quietToday, 6 AM — quietToday, 8 AM — quietToday, 10 AM — quietToday, 12 PM — quiet 1–56
Sep 20Sep 21Sep 22yesterdaynow · 2:29 PM ET
  1. 6

    Commenter recalls Transport Tycoon's money-overflow exploit

    Ndymium describes how building a very long tunnel in Transport Tycoon overflowed the money counter, giving players effectively unlimited funds, a trick used widely by kids without understanding why it worked.

    “The money counter would overflow and you'd get enough money to last you a lifetime.”
    — Ndymium
    • There were games being written in days where every byte was precious, and the indirection necessary for something like the decorator pattern was just infeasible. There was a lot of direct stat manipulation upon equip & unequip back in the day.Following that there was the era in which the only way to be competitive in the games space was to write…

      jerfHacker News4d agoview on Hacker News ↗
    2 more of the top 3 · 14 posts in this stretch
    • If you still like video games and are a bit of a masochist you might try playing Noita sometime, a lot of the late game is basically built around this type of logic.For example there's a wizard-type enemy that temporarily debuffs your max health by 50%, and the effect can stack if you get hit more than once. But what happens if you pick up a…

      anon_cow1111Hacker News4d agoview on Hacker News ↗
    • Reminded me of SNES Shadowrun, don't remember if my English skills were weak or what the cause of me misunderstanding it was but when you encountered the Jester in the game, you're supposed to shoot him until you get a chance for a conversation and saying his name completes that bossfight.However, I missed that this part was the key and after a…

      whizzterHacker News4d agoview on Hacker News ↗
    all of them →
  2. 5

    LoganDark theorizes how the Dream Devourer bug likely originated

    A commenter speculates the bug stems from developers caching a stat value and updating it incrementally and imperatively rather than recalculating it from the inventory each time, causing it to underflow.

    “A string of mistakes has to happen to lead to such a situation but it doesn't seem super unnatural to me.”
    — LoganDark
    • Parallel rabbit holes if you like this stuff: - in Pokemon gen 1 you can wrap your stats back to zero by buffing them too much - In FF7 you can overflow the damage calculation to kill Ruby in one hit - Mario 64 has a mountain of usable glitches; "parallel universes" let you skip collisions at high speeds - GTA 3/VC/SA have crazy mission/wrong warp…

      avaerHacker News4d agoview on Hacker News ↗
    2 more of the top 3 · 3 posts in this stretch
    • I would figure the reason was because calculating it based on your inventory every time it's needed would've been expensive, so the developers decided to cache it, but instead of recalculating it from scratch when there's a stat change, they decided to try updating it incrementally, but I guess also imperatively. A string of mistakes has to happen…

      LoganDarkHacker News4d agoview on Hacker News ↗
    • Similarly, you can defeat the Egg Dragon superboss in Lufia 2 by healing before attacking: it starts with 65,535 HP.

      SatvikBeriHacker News4d agoview on Hacker News ↗
    all of them →
  3. 4

    Commenters swap similar integer-overflow exploits from other games

    Multiple commenters recall analogous overflow bugs: a one-hit kill on the final boss of Fire Emblem: Three Houses' Azure route, and healing to defeat the 65,535-HP Egg Dragon in Lufia 2.

    “If you deal 3 damage, it goes to 196. 196+60=256. This overflows to zero and you win.”
    — seam_carver
    • I figured out that, in the early versions of Realmz for the Mac, there was an enchanted item (a helm?) that added a few points to the wearer’s stats when equipped, but when removed it took away more than it added (i.e. left you worse off). It only took a few seconds for my programmer brain to start me furiously equipping and then un-equipping it…

      PlunderBunnyHacker News4d agoview on Hacker News ↗
    1 more of the top 2 · 2 posts in this stretch
    • In Fire Emblem 3 Houses, the final boss of the Azure route has 199 HP and is standing on a 60 HP heal tile.If you deal 3 damage, it goes to 196. 196+60=256.This overflows to zero and you win.

      seam_carverHacker News4d agoview on Hacker News ↗
    all of them →
  4. 3

    Commenter shares a BreezeWiki mirror of the fandom link

    mitxela posts an alternative link to the wiki page via BreezeWiki, a tool that strips fandom.com pages of ads and clutter.

  5. 2

    Commenters debate Chrono Trigger's legacy versus its sequel

    One early commenter uses the thread to criticize Chrono Cross as a poor sequel to Chrono Trigger, arguing it was 'spiteful' toward the original's characters and story.

    “Chrono Cross is a very interesting game on its own but it's a terrible sequel that is remarkably spiteful to its senior.”
    — falsaberN1
    • I don't want Chrono Cross-contamination in my trigger, thanks.Chrono Cross is a very interesting game on its own but it's a terrible sequel that is remarkably spiteful to its senior. (The thing with FATE and Robo, the Porre thing, the fate of Crono and co., it's a terrible fanfic made canon).Trigger only worked because of Toriyama gathering the…

      falsaberN1Hacker News4d agoview on Hacker News ↗
    1 more of the top 2 · 2 posts in this stretch
    • There's a live music concert for Chrono Trigger playing right now. That game had one of the best soundtracks of all time.

      acbartHacker News4d agoview on Hacker News ↗
    all of them →
  6. 1

    ronreiter submits Dream Devourer overflow wiki page to Hacker News

    A Hacker News post links to the Chrono Trigger fandom wiki page describing how the Dream Devourer boss can be defeated by exploiting an integer overflow, quickly gaining traction on the site.

    1. first by HN Best, 4d ago · also HN Frontpage

What people are saying 11 voices from 1 site · best of 22 · verbatim

Still unanswered
  • Is Chrono Trigger still worth playing today for someone who has never played an RPG?