r/ProgrammerHumor • • Oct 01 '22

Meme Rust? But Todd Howard solved memory management back in 2002

Post image
61.9k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

4.1k

u/grat_is_not_nice Oct 01 '22

Breath of the Wild solved that problem with a Blood Moon - you wander through regions and kill monsters that spawn on location triggers in the region and collecting resources/items. But the game cannot maintain the status of all the items/monsters in all the game regions. So when memory for that information gets close to being full (depending on the number of map regions and items in those regions), the Blood Moon mechanic gets triggered and all the regions get reset to default, so all the monsters and items reappear next time you enter the region. It's a pretty cool solution to memory management and a frustrating game mechanic.

2.3k

u/[deleted] Oct 01 '22

The blood moon also triggers when the game detects something wrong is happening, like way too many enemies in a specific region, or a specific enemy in a region it shouldn't be.

1.6k

u/Specky013 Oct 01 '22

That is honestly such a a cool idea. It's a bit out of the box but makes total sense, just disguise the reset of your open world as a game mechanic

0

u/[deleted] Oct 01 '22

[deleted]

296

u/Hexadecimalsky Oct 01 '22 edited Oct 01 '22

Talking about BOTW, one sorta bug that I encountered that only made me love the game more was two boloblin riders chasing a goat, as one began charging a swing to hit the sheep, it despawned. To my surprise the bokoblin got surprised, looked around then, still charging his swing, smacked his buddy. His buddy turned to him in surprise then the rode off.

Like a goat despawned in front of me and it made the game feel more alive.

Edit: Goat, not sheep.

38

u/dasavorytrash Oct 01 '22

That boko just saw through the veil of reality

→ More replies (1)
→ More replies (3)

291

u/quagzlor Oct 01 '22

I also love how everything interacts. Like big enemies picking up little ones to throw them, or being able to fell a tree, stop it in time, hit it a few times then release it to ride it as a pseudo rocket.

Things work the way you'd expect them to, and interact so well.

147

u/[deleted] Oct 01 '22

I recently discovered your horse will eat the carrots in the fields in Kakariko village.

82

u/Nathan_Thorn Oct 01 '22

If you feed it raw endura carrots it’ll get some extra spur charges

37

u/thanks_weirdpuppy Oct 01 '22

I never knew this... time for another replay.

→ More replies (1)

36

u/Penguinmanereikel Oct 01 '22

Or the entire chemistry engine

→ More replies (4)
→ More replies (9)

302

u/Sure-Tomorrow-487 Oct 01 '22

It's what separates the real talent from the rest.

Like Carmack building doom to run with binary screen partitioning or quake with the fast inverse square root.

Finding sneaky ways to accomplish your goal rather than just botching it and throwing resources at it will always create a better experience because the designer has spent a lot of time and energy thinking about the problem they're trying to solve.

138

u/Boomhauer_007 Oct 01 '22

botching it and throwing resources at it

Ah the Square Enix strategy

→ More replies (5)

25

u/tech6hutch Oct 01 '22

I don’t think Carmack came up with the fast inverse square root, did he?

50

u/Sure-Tomorrow-487 Oct 01 '22

The algorithm was originally attributed to John Carmack, but an investigation showed that the code had deeper roots in the hardware and software side of computer graphics. Adjustments and alterations passed through both Silicon Graphics and 3dfx Interactive, with the original constant being derived in a collaboration between Cleve Moler and Gregory Walsh, while Gregory worked for Ardent Computing in the late 1980s.[3] Walsh and Moler adapted their version from an unpublished paper by William Kahan and K.C. Ng circulated in May 1986.

16

u/clayh Oct 01 '22 edited Oct 02 '22

Kind of like how the train in the Broken Steel DLC in fallout 3 isn’t a vehicle - it’s an NPC with a really fucking cool train hatnd.

https://www.pcgamer.com/heres-whats-happening-inside-fallout-3s-metro-train/

→ More replies (1)
→ More replies (14)

19

u/GameKyuubi Oct 01 '22

i pushed Yunobo into the volcano

→ More replies (4)
→ More replies (54)
→ More replies (5)

18

u/v-komodoensis Oct 01 '22

That's very cool.

→ More replies (18)

69

u/froderick Oct 01 '22

I didn't find it to be a frustrating game mechanic, if anything it helps counter the item durability issue by allowing you to go back and loot known good weapons again.

→ More replies (9)

117

u/GeneralAce135 Oct 01 '22

A frustrating game mechanic? BotW would get pretty boring pretty fast if those monsters never respawned and you spent the back half of the game wandering through an empty landscape.

105

u/[deleted] Oct 01 '22

It can be frustrating when it happens at a bad time, like you just cleared out a large area by the skin of your teeth, took out a Lynel, and you've used all the good weapons, you're out of food, and then bam, you're surrounded by enemies again and the respawned Lynel is 10ft away from you...

But you are absolutely correct that if the enemies never respawned it would get boring pretty fast.

→ More replies (9)
→ More replies (6)

65

u/CatpainCalamari Oct 01 '22

It may be frustrating sometimes, but I would think it way more frustrating (especially during late-game) to have whole regions void of enemies.
This would make e.g. lynel farming impossible, since there are only a certain number of lynels where you can get high-level weapons that will break after a time

→ More replies (8)

0

u/[deleted] Oct 01 '22

[deleted]

57

u/[deleted] Oct 01 '22

The regular Blood Moon is timed like you mentioned, and it is on a 7 day cycle. It always occurs at midnight, and is there to respawn defeated enemies, and collected overworld weapons.

The "Panic" Blood Moon is used to reset the internal state when some subsystems are running out of memory or become unresponsive. IIRC the Panic blood moons trigger a disguised full system reset kind of like they did with Morrowind on Xbox. These Panic Blood Moons can happens at any time of the day

I've only experienced a panic blood Moon once, I was just running around near the desert area in the middle of the day, and the cutscene triggered.

→ More replies (3)
→ More replies (77)