Adventuron - Undo/Rewind not working for me?

I see in the Adventuron cookbook that there’s an UNDO/REWIND function, and I just need to enable it:
https://adventuron.io/documentation/cookbook.html#Rewind

game_settings {
   rewind_enabled   = true
}

I tried enabling it but it doesn’t seem to be working still. This is just in the regular Adventuron Classroom. Am I missing something, or is it currently not functional? If not, I can just match a response to UNDO and tell players not to use it (because by default it seems to just silently fail without response), just wondering!

1 Like

Have you tried enabling rollback as well (rollback_enabled = true) to see if that works?

1 Like

Thanks for the suggestion, that didn’t work, but I kept digging a bit.

UNDO does seem to work on the betabeta branch (beta 84, https://adventuron.io/betabeta/) if I compile my code there instead. After changing all my “conspicuousness” flags to “listed,” my game was able to save and run. Haven’t fully tested everything else yet, but the UNDO works!

This migration guide section is where I found the conspicuousness change: https://adventuron.io/betabeta/docs/#_migration_guide

1 Like

I use the following in Adventuron classroom and it works fine:

game_settings {
   rewind_enabled = true
   rollback_enabled = true
}

Not sure, I tried running the small REWIND example snippet from the cookbook, and that wasn’t working either in classroom (68j) when I test UNDO with that, so I don’t think it’s something specific to my code.