Posted December 20, 2024 by Avskum
Hey survivors! Just tracked down and fixed an interesting bug in the meta-progression system. You know those shiny gold bars dropping from elite enemies that some of you reported weren't actually counting? Let me share what I found during this debug adventure.
It started with reports of new games starting with exactly 50 gold. Didn't matter how many elite enemies you crushed or gold bars you grabbed - stuck at 50. As a dev, seeing this kind of pattern usually means I'm about to have an interesting day with my debugger and coffee.
First, I traced the entire gold collection chain:
Here's where it got interesting. Remember when the game used experience points for meta upgrades instead of gold bars? Well, turns out the save files were still stuck in that era.
Found three issues creating the perfect bug storm:
Think of it like trying to read a Word doc in Notepad - you'll get something, but probably not what you want.
Had to implement several things:
With the save system now working correctly, I can focus on making those elite enemies even more interesting. And yes, when they drop those gold bars, they'll actually add to your total now.
Keep the bug reports coming - they're super helpful in catching these weird edge cases.
P.S. If you've got old save files, they'll migrate automatically. If something looks off, just delete the save and start fresh - sometimes a clean slate is the best solution!