EfontMan

Active Member
Aug 23, 2021
559
1,118
When you try to use the potion to port outside at night to the front entrance to unlock the item catalogue (in the old story Act 1 Chapter 5), you get an undeclared variable error with game\scripts\plot\act_1\chapter_5\menus.rpy that cannot be gotten past by mashing the Ignore button. The devs are apparently aware of the issue and have said there will be a hotfix coming.

The specific code block in question appears to be the following, with xpos the variable apparently undeclared:

Code:
        if not inventory.get_amount("time_turner"):
            $ xpos = renpy.random.randint(400, 910)
            $ ypos = renpy.random.randint(910, 1025)
            show location_hint:
                pos (xpos, ypos)
                alpha stats_manager.get_stat("perception").level * .1
            $ del xpos, ypos
I tried fiddling with it with no luck. Just ended up getting errors in other scripts instead. But Python is very much not in my wheelhouse.
 
Last edited:

EfontMan

Active Member
Aug 23, 2021
559
1,118
Do exactly what it says. Open your inventory and drag the listed items over Little Sally's portrait in the order stated.
 

Dukill

Newbie
Jun 28, 2018
43
39
[QUOTE = "EfontMan, postagem: 6654969, membro: 4094972"]
Faça exatamente o que diz. Abra seu inventário e arraste os itens listados sobre o retrato da Pequena Sally na ordem indicada.
[/CITAR]
Thanks... Sally was not mentioned
 

EfontMan

Active Member
Aug 23, 2021
559
1,118
Not explicitly in the journal, but it's implied. You ask Snape for a way to keep Little Sally awake while spying on the classes.
 

Dankness23

Newbie
Aug 2, 2017
38
24
So I am stuck at trying to buy a gift for Susan so she can keep baking cakes every time I go outside at night with the potion my game keeps crashing and I can’t roll back or ignore the error some pls help
 

algsnet

New Member
Jul 8, 2020
14
1
Good afternoon;

Can anyone help me with the following error?




Code:
I'm sorry, but an uncaught exception occurred.

Compiling ATL code at game/scripts/plot/act_1/chapter_5/menus.rpy:2862
  File "game/IWscripts/class_Location.rpy", line 101, in __call__
  File "game/IWscripts/AssistantFunctions.rpy", line 95, in show_image
NameError: name 'xpos' is not defined

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

Full traceback:
  File "script.rpyc", line 63, in script call
  File "scripts/plot/plot_menu.rpyc", line 187, in script call
  File "scripts/plot/act_1/act1_menu.rpyc", line 49, in script call
  File "scripts/plot/act_1/chapter_5/menus.rpyc", line 389, in script call
  File "mechanics/inventory.rpyc", line 142, in script call
  File "scripts/plot/act_1/chapter_5/menus.rpyc", line 2748, in script call
  File "scripts/plot/act_1/chapter_5/menus.rpyc", line 2925, in script
  File "game/modules/locations.rpym", line 91, in execute
    choice = location(zone_props, *images.items(), **zones)
  File "game/IWscripts/class_Location.rpy", line 101, in __call__
  File "game/IWscripts/AssistantFunctions.rpy", line 95, in show_image
  File "renpy/exports.py", line 770, in show
    sls.add(layer, img, key, zorder, behind, at_list=at_list, name=name, atl=atl, default_transform=default_transform, transient=transient)
  File "renpy/display/core.py", line 1105, in add
    if not self.hide_or_replace(layer, remove_index, "replaced"):
  File "renpy/display/core.py", line 1159, in hide_or_replace
    d = oldsle.displayable._hide(now - st, now - at, prefix)
  File "renpy/display/transform.py", line 628, in _hide
    self.update_state()
  File "renpy/display/transform.py", line 890, in update_state
    fr = self.execute(self, self.st, self.at)
  File "renpy/atl.py", line 542, in execute
    block = self.compile()
  File "renpy/atl.py", line 510, in compile
    block = self.atl.compile(self.context)
  File "game/modules/ATL.rpym", line 91, in compile
    statements = [ i.compile(ctx) for i in self.statements ]
  File "renpy/atl.py", line 953, in compile
    value = ctx.eval(expr)
  File "renpy/atl.py", line 260, in eval
    return eval(expr, renpy.store.__dict__, self.context) # @UndefinedVariable
  File "<string>", line 1, in <module>
NameError: name 'xpos' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Innocent Witches 0.8-alpha
Tue Sep 28 15:18:16 2021
 

Radiffy

Newbie
Sep 10, 2017
89
48
I am having issues with going outside at night. When I do the game crashes is there a fix for that
Anyone got a fix or save for trying to get the catalog at night at the entrance, game crashes everytime I try to use the potion to go outside and I’m towards the end of act 1
Does anyone know when the bug with going outside with potion will be fixed - without fixing this bug the game loses a bit of sense :(
When you try to use the potion to port outside at night to the front entrance to unlock the item catalogue (in the old story Act 1 Chapter 5), you get an undeclared variable error with game\scripts\plot\act_1\chapter_5\menus.rpy that cannot be gotten past by mashing the Ignore button. The devs are apparently aware of the issue and have said there will be a hotfix coming.

The specific code block in question appears to be the following, with xpos the variable apparently undeclared:

Code:
        if not inventory.get_amount("time_turner"):
            $ xpos = renpy.random.randint(400, 910)
            $ ypos = renpy.random.randint(910, 1025)
            show location_hint:
                pos (xpos, ypos)
                alpha stats_manager.get_stat("perception").level * .1
            $ del xpos, ypos
I tried fiddling with it with no luck. Just ended up getting errors in other scripts instead. But Python is very much not in my wheelhouse.
According to discord the bugfix is still in testing so we still have to wait some time.
 
  • Like
Reactions: pj3003

wwgwa

Member
Dec 27, 2017
249
93
Hey, can someone help me with this errors? (Appears when trying to change Sony's wardrobe)

Code:
[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/000statements.rpy", line 548, in execute_show_screen
    renpy.show_screen(name, *args, **kwargs)
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 237, in execute
  File "game/interfaces/tutorial/changing.rpy", line 269, in execute
  File "game/interfaces/tutorial/changing.rpy", line 272, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 405, in execute
  File "game/interfaces/tutorial/changing.rpy", line 407, in execute
  File "game/interfaces/tutorial/changing.rpy", line 412, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in <module>
KeyError: u'items'

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

Full traceback:
  File "script.rpyc", line 63, in script call
  File "scripts/plot/plot_menu.rpyc", line 165, in script call
  File "scripts/plot/act_1_new/act1_menu.rpyc", line 26, in script call
  File "scripts/plot/act_1_new/chapter_2/chapter_2_menus.rpyc", line 98, in script call
  File "mechanics/tutorial/main.rpyc", line 56, in script call
  File "mechanics/tutorial/changing.rpyc", line 21, in script
  File "renpy/ast.py", line 2010, in execute
    self.call("execute")
  File "renpy/ast.py", line 1998, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 548, in execute_show_screen
    renpy.show_screen(name, *args, **kwargs)
  File "renpy/display/screen.py", line 1148, in show_screen
    sls.add(_layer, d, _tag, zorder=_zorder, transient=_transient, keep_st=True, name=name)
  File "renpy/display/core.py", line 1105, in add
    if not self.hide_or_replace(layer, remove_index, "replaced"):
  File "renpy/display/core.py", line 1159, in hide_or_replace
    d = oldsle.displayable._hide(now - st, now - at, prefix)
  File "renpy/display/screen.py", line 493, in _hide
    self.update()
  File "renpy/display/screen.py", line 631, in update
    self.screen.function(**self.scope)
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 237, in execute
  File "game/interfaces/tutorial/changing.rpy", line 269, in execute
  File "game/interfaces/tutorial/changing.rpy", line 272, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 405, in execute
  File "game/interfaces/tutorial/changing.rpy", line 407, in execute
  File "game/interfaces/tutorial/changing.rpy", line 412, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in <module>
KeyError: u'items'

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Innocent Witches 0.8-alpha
Tue Sep 28 23:22:44 2021

Code:
[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 237, in execute
  File "game/interfaces/tutorial/changing.rpy", line 269, in execute
  File "game/interfaces/tutorial/changing.rpy", line 272, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 405, in execute
  File "game/interfaces/tutorial/changing.rpy", line 407, in execute
  File "game/interfaces/tutorial/changing.rpy", line 412, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in <module>
KeyError: u'items'

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

Full traceback:
  File "script.rpyc", line 63, in script call
  File "scripts/plot/plot_menu.rpyc", line 165, in script call
  File "scripts/plot/act_1_new/act1_menu.rpyc", line 26, in script call
  File "scripts/plot/act_1_new/chapter_2/chapter_2_menus.rpyc", line 98, in script call
  File "mechanics/tutorial/main.rpyc", line 64, in script call
  File "mechanics/tutorial/main.rpyc", line 56, in script call
  File "mechanics/tutorial/changing.rpyc", line 27, in script
  File "renpy/ast.py", line 2010, in execute
    self.call("execute")
  File "renpy/ast.py", line 1998, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/exports.py", line 3132, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3694, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 432, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3694, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 443, in per_interact
    self.update()
  File "renpy/display/screen.py", line 631, in update
    self.screen.function(**self.scope)
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 392, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 236, in execute
  File "game/interfaces/tutorial/changing.rpy", line 237, in execute
  File "game/interfaces/tutorial/changing.rpy", line 269, in execute
  File "game/interfaces/tutorial/changing.rpy", line 272, in execute
  File "game/interfaces/tutorial/changing.rpy", line 404, in execute
  File "game/interfaces/tutorial/changing.rpy", line 405, in execute
  File "game/interfaces/tutorial/changing.rpy", line 407, in execute
  File "game/interfaces/tutorial/changing.rpy", line 412, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in execute
  File "game/interfaces/tutorial/changing.rpy", line 416, in <module>
KeyError: u'items'

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Innocent Witches 0.8-alpha
Tue Sep 28 23:29:07 2021

Code:
[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/mechanics/tutorial/changing.rpy", line 81, in <module>
  File "game/mechanics/tutorial/changing.rpy", line 84, in _execute_python_hide
KeyError: u'items'

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

Full traceback:
  File "script.rpyc", line 63, in script call
  File "scripts/plot/plot_menu.rpyc", line 165, in script call
  File "scripts/plot/act_1_new/act1_menu.rpyc", line 26, in script call
  File "scripts/plot/act_1_new/chapter_2/chapter_2_menus.rpyc", line 98, in script call
  File "mechanics/tutorial/main.rpyc", line 64, in script call
  File "mechanics/tutorial/main.rpyc", line 56, in script call
  File "mechanics/tutorial/changing.rpyc", line 81, in script
  File "renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/mechanics/tutorial/changing.rpy", line 81, in <module>
  File "game/mechanics/tutorial/changing.rpy", line 84, in _execute_python_hide
KeyError: u'items'

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Innocent Witches 0.8-alpha
Tue Sep 28 23:29:31 2021
 

Ngy7777

New Member
Jun 9, 2020
4
3
As the bugfixed version just dropped, I guess we'll have it the next day(s). It's currently only available on their website via a patreon pledge.
 

EfontMan

Active Member
Aug 23, 2021
559
1,118
Go here - Load up your save. Use your browser search function to find
Code:
cabinet > hat 1/0:(0)
and change the (0) to (1).

I'm not sure how RenPy games work on Mac. On Windows, the game stores saves locally in the game folder and in a separate location on the system drive. So you might need to look into that if editing the local copy alone doesn't work.
 
  • Like
Reactions: dosusawa
3.00 star(s) 326 Votes