curiousdannii / parchment

The Interactive Fiction web app
https://iplayif.com
MIT License
430 stars 60 forks source link

Save / Restore failure on minimal story. Unknown opcode #0 at pc= #16

Closed cqr closed 10 years ago

cqr commented 10 years ago

I can't seem to track the source of this issue down. The closest I have gotten is to say that it looks like something is causing the PC to grow beyond the bounds of the memory, causing it to read undefined as the opcode which it then coerces into 0.

To see this in action, save and restore from here: http://iplayif.com/?story=http://tr.eeho.us/treehous.z5

The full I7 source of the story in question is below.

"tr.eeho.us" by Chris Rhoden

Release along with an interpreter.

The Nameless Void is a room. "There is nothing here. Not even darkness." 
East of the void is the void. West of the void is the void.
North of the void is the void. South of the void is the void.
Above the void is the void. Below the void is the void.
curiousdannii commented 10 years ago

Thanks for the report. I had seen some games couldn't save, but because others could I thought they must be doing something strange. This minimal game shows there must be something fundamentally wrong...

cqr commented 10 years ago

I'm very new to Inform so I am definitely not willing to rule out the possibility of my doing something wrong.

curiousdannii commented 10 years ago

Nope you've done it correctly.