evanbowman / skyland-gba

Realtime strategy game for Gameboy Advance
Other
59 stars 3 forks source link

Fatal error: Room pool exhausted #8

Open AdamCecin opened 7 months ago

AdamCecin commented 7 months ago

Hit this fatal error late into adventure mode (restart worked, game save loaded)

running on an EZ Flash Omega DE on a GBA SP

IMG_5830

Figured I’d post it so you’re aware, sorry to hit you twice in a day!

evanbowman commented 7 months ago

Oooh hmm. I reserved enough gba memory for 181 blocks in a level, and no one's ever exceeded it before! I can think of a few scenarios where this could happen (most of them involving mycelium or water blocks), but I think the easiest solution will be to raise the limit. Thanks for letting me know! I'll work on a fix.

The game keeps a backup save in memory in case of crashes. When you see a fatal error screen, the game has already written the backup and you should be able to restore.

AdamCecin commented 7 months ago

Strangely enough after reloading the save and playing the same level, I was able to complete the game without a crash, so not sure what changed. Thanks!

evanbowman commented 7 months ago

I think I may have fixed this one in the latest patch. Although I can't be certain that I've reproduced and fixed the same problem as you experienced.