Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Sure, post here.  Apparently itch has no private message system.

Ok, is it when you "try to save the game", or when you "click back at the top to get to the auto/quick save pages"?  Someone else posted something similar on a different forum.

It's when I try to save the game.

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/saveload.rpy", line 47, in execute
  File "game/saveload.rpy", line 47, in execute
  File "game/saveload.rpy", line 51, in execute
  File "game/saveload.rpy", line 55, in execute
  File "game/saveload.rpy", line 55, in execute
  File "game/saveload.rpy", line 57, in execute
  File "game/saveload.rpy", line 63, in execute
  File "game/saveload.rpy", line 85, in execute
  File "game/saveload.rpy", line 88, in execute
  File "game/saveload.rpy", line 88, in <module>
IndexError: list index out of range

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\ui.py", line 297, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 2702, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 3094, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\screen.py", line 430, in visit_all
    callback(self)
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\core.py", line 3094, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\screen.py", line 440, in per_interact
    self.update()
  File "C:\Users\Owner\Desktop\ParkAfterDark-0.02-pc\ParkAfterDark-0.02-pc\renpy\display\screen.py", line 625, in update
    self.screen.function(**self.scope)
  File "game/saveload.rpy", line 47, in execute
  File "game/saveload.rpy", line 47, in execute
  File "game/saveload.rpy", line 51, in execute
  File "game/saveload.rpy", line 55, in execute
  File "game/saveload.rpy", line 55, in execute
  File "game/saveload.rpy", line 57, in execute
  File "game/saveload.rpy", line 63, in execute
  File "game/saveload.rpy", line 85, in execute
  File "game/saveload.rpy", line 88, in execute
  File "game/saveload.rpy", line 88, in <module>
IndexError: list index out of range

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Park After Dark 0.02
Tue Dec 15 12:34:37 2020

Please try the bugfix linked below and let me know if the error goes away!

Thanks, it saves and restores just fine.  One minor thing is that there are autosaves there for the default character name which I never used. Not a real issue, but thought you might be interested.

Well, that was the issue.  I needed to put something there at the very beginning of the game.  If an autosave happened before the player name is entered, it would crash when it tried to display.

Wow, I never would have guessed that, of course, I'm not a programmer. Thanks for all your hard work.