4 ms·
Oh, the goddamn container bug. OK, that one was probably even worse than Judy. We finally found the problem while developing Ultima Underworld II. You will thi
by dfan 16y ago
Oh, the goddamn container bug. OK, that one was probably even worse than Judy.
We finally found the problem while developing Ultima Underworld II. You will think we were complete idiots for not using this process (described below) to find it earlier, but it was 1992, we were straight out of school, and we basically discovered all our debugging techniques ourselves.
We knew (even during UW development, I think) that it was possible for your inventory to get corrupted. We even wrote debugging code that would trawl the entire object system ensuring its validity; the problem was that, especially on PCs at the time, running it all the time slowed down the system too much, even just for local testing. Our eventual bright idea (duh) was to run it just once every few seconds, assuming that whatever corrupted the object system was likely to be due, however indirectly, to player input. The hope was that when the assert fired the player would have just done something noticeable, and we could then look into the code that followed from that behavior.
Sure enough, a few days later, the assert fired right after a tester threw a bag into the water. And it turned out that's where the bug was.
- JanezStupar 16y agoDude... seems like literally Everybody is on HN :) You guys (Looking Glass) were THE heroes. You got me into computing for real. Massive kudos to you sir. My first PC gaming experience (aged round 7-8) was UW2 - and I remember how I managed to get into sewers, wandering in the dark (who would know to use a torch) and then ran into a headless. God did that first sewers level freak me out. I couldn't bring myself to return to playing for a month I guess. I'm still waiting for that UW series remake. Gothic came pretty close, so did Oblivion in a way, KOTOR and Mass Effect got a lot of magic - but I'm still holding out for the real thing (shame on EA!).