Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

getting a crash/exception in the first story dungeon (near the house, with wolves) when reaching a fork

[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/guild_events.rpy", line 17, in script call
    call screen guild
  File "game/dungeon_succubus.rpy", line 133, in script call
    call dungeon_create(succubus_dungeon) from _call_dungeon_create
  File "game/dungeon_succubus.rpy", line 4565, in script
    if number == 2:
  File "game/dungeon_succubus.rpy", line 4565, in <module>
    if number == 2:
NameError: name 'number' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/guild_events.rpy", line 17, in script call
    call screen guild
  File "game/dungeon_succubus.rpy", line 133, in script call
    call dungeon_create(succubus_dungeon) from _call_dungeon_create
  File "game/dungeon_succubus.rpy", line 4565, in script
    if number == 2:
  File "renpy/ast.py", line 2115, in execute
    if renpy.python.py_eval(condition):
  File "renpy/python.py", line 1092, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "renpy/python.py", line 1085, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/dungeon_succubus.rpy", line 4565, in <module>
    if number == 2:
NameError: name 'number' is not defined
Windows-10-10.0.19041 AMD64
Ren'Py 7.5.3.22090809
Rewind v0.3.0.5
Sat Oct 15 22:11:03 2022
[/code]
(+1)

Having a hard time recreating this particular problem, but I've added a redundancy into the code to correct it for any other players who may experience this. Note, this change won't go live until the next major version upgrade.