- Sep 10, 2019
- 91
- 125
This error occurs because game is trying to edit non-existent variable calledSo I've had the same issue as the previous guys (Isa's and Ruby's tracking are a bit messed) as well after finishing the final sex scene with Isa if I press on the "Phone" it gives me this exception
I've attached a savefile if you need to check it out.Python: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 "renpy/common/00action_data.rpy", line 79, in get_selected return __get_field(self.object, self.field, self.kind) == self.value File "renpy/common/00action_data.rpy", line 39, in _m1_00action_data__get_field raise NameError("The {} {} does not exist.".format(kind, name)) NameError: The variable lain_complete14 does not exist. -- Full Traceback ------------------------------------------------------------ Full traceback: File "scripts/locations/natsukohome/livingroom/controllers.rpyc", line 14, in script call File "scripts/locations/home/isabelroom/controllers.rpyc", line 195, in script call File "scripts/locations/home/isabelroom/controllers.rpyc", line 229, in script call File "scripts/locations/apartment/mcroom/controllers.rpyc", line 43, in script File "renpy/ast.py", line 2015, in execute self.call("execute") File "renpy/ast.py", line 2003, 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 3136, 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 3325, 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 3737, 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 441, in visit_all self.child.visit_all(callback, seen=None) 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/core.py", line 570, in visit_all callback(self) File "renpy/display/core.py", line 3737, in <lambda> root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/behavior.py", line 878, in per_interact if self.is_selected(): File "renpy/display/behavior.py", line 866, in is_selected return is_selected(self.action) File "renpy/display/behavior.py", line 398, in is_selected return any(is_selected(i) for i in action) File "renpy/display/behavior.py", line 398, in <genexpr> return any(is_selected(i) for i in action) File "renpy/display/behavior.py", line 401, in is_selected return action.get_selected() File "renpy/common/00action_data.rpy", line 79, in get_selected return __get_field(self.object, self.field, self.kind) == self.value File "renpy/common/00action_data.rpy", line 39, in _m1_00action_data__get_field raise NameError("The {} {} does not exist.".format(kind, name)) NameError: The variable lain_complete14 does not exist. Windows-10-10.0.19041 Ren'Py 7.4.11.2266 Midnight Paradise 0.15c Sat Feb 5 23:15:06 2022
Thanks for doing this for us.
View attachment 1636921
lain_complete14
in script Lain_Screens.rpy line 323 which is:textbutton "X" action [Hide("mod_completed_substar"), SetVariable("lain_complete14", True), Show("modmenu")] align (1.0, 0.0) text_font "mod/OSB.ttf" yoffset -6 text_hover_color "#f783bd"
Changing it to as below solves it.
textbutton "X" action [Hide("mod_completed_substar"), SetVariable("lain_complete15", True), Show("modmenu")] align (1.0, 0.0) text_font "mod/OSB.ttf" yoffset -6 text_hover_color "#f783bd"