Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I get an error with the ghost no matter if I win or give up.

```

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/renpy_battle.rpy", line 1441, in <module>

IndexError: list index out of range

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

Full traceback:

  File "script.rpyc", line 543, in script call

  File "renpy_events_sayer.rpyc", line 42, in script call

  File "renpy_battle.rpyc", line 281, in script call

  File "renpy_battle.rpyc", line 1441, in script

  File "F:\Programme\Spiele\RPGs\Town_of_Magic-win\Town_of_Magic-win\renpy\ast.py", line 2115, in execute

    if renpy.python.py_eval(condition):

  File "F:\Programme\Spiele\RPGs\Town_of_Magic-win\Town_of_Magic-win\renpy\python.py", line 1092, in py_eval

    return py_eval_bytecode(code, globals, locals)

  File "F:\Programme\Spiele\RPGs\Town_of_Magic-win\Town_of_Magic-win\renpy\python.py", line 1085, in py_eval_bytecode

    return eval(bytecode, globals, locals)

  File "game/renpy_battle.rpy", line 1441, in <module>

  File "F:\Programme\Spiele\RPGs\Town_of_Magic-win\Town_of_Magic-win\renpy\revertable.py", line 217, in __getitem__

    rv = list.__getitem__(self, index)

IndexError: list index out of range

Windows-10-10.0.19045 AMD64

Ren'Py 8.0.3.22090809

Town of Magic 0.65.011

Sat Aug 26 11:09:29 2023

```

Thank you for reporting this. I'll make sure it is fixed in the next version.
For now, select "ignore", as this error is not game-breaking.

Ok i had to press it multiple times with changing error codes until it finally went through.