- May 3, 2022
- 80
- 85
I made a mod for Being a DIK. While playing I have zero issues. However just recently if Ive played for a while when I go do a manual load (not Quick Load) this error will crop up typically. It happens at any point in the game so long as Ive been playing for a while & then do a manual load of a previous save.
If I quit the game, restart the game & load multiple saves, the save in question, or any save around it I do not get this error ever. All of the saves in question were made while usin the mod I made.
Ive not modified any of the .py files, header.rpy, or screens.rpy.
I have modified ep7_freeroam_hots.rpy but the line in question, line 120, Ive not touched.
And every time this crops up it references some line of code Ive not changed like in the below ex. I dont know what to do. Can someone help? It looks like its always related to a name not being defined but I dont know where to look to find the problem.
I can provide a dl link to the mod in its current form if that helps. I just didnt know if that would be ok since the postin of mods to F95 have pretty stringent rules.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/season2/scripts/freeroam/episode7/ep7_freeroam_hots.rpy", line 120, in script
menu:
File "renpy/ast.py", line 1688, in execute
choice =
File "game/header.rpy", line 284, in menu_override
File "renpy/exports.py", line 1062, in menu
rv =
File "renpy/exports.py", line 1298, in display_menu
rv = renpy.ui.interact(mouse='menu', type=type, 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 3315, 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 3735, 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 436, in visit_all
callback(self)
File "renpy/display/core.py", line 3735, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 447, in per_interact
self.update()
File "renpy/display/screen.py", line 637, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 339, in execute
File "game/screens.rpy", line 339, in execute
File "game/screens.rpy", line 343, in execute
File "game/screens.rpy", line 343, in <module>
NameError: name 'phone_opened' is not defined
A 2nd example of the problem:
While running game code:
File "game/season2/scripts/update7.rpy", line 7047, in script
if minigames and not mTask_2f_state_list[7]:
File "game/season2/scripts/update7.rpy", line 7047, in <module>
if minigames and not mTask_2f_state_list[7]:
NameError: name 'minigames' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/season2/scripts/update7.rpy", line 7047, in script
if minigames and not mTask_2f_state_list[7]:
File "renpy/ast.py", line 1898, in execute
if renpy.python.py_eval(condition):
File "renpy/python.py", line 2276, in py_eval
return py_eval_bytecode(code, globals, locals)
File "renpy/python.py", line 2269, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/season2/scripts/update7.rpy", line 7047, in <module>
if minigames and not mTask_2f_state_list[7]:
NameError: name 'minigames' is not defined
Windows-10-10.0.19041
Ren'Py 7.4.10.2178
Being a DIK 0.8.3
Fri Dec 9 21:04:39 2022
If I quit the game, restart the game & load multiple saves, the save in question, or any save around it I do not get this error ever. All of the saves in question were made while usin the mod I made.
Ive not modified any of the .py files, header.rpy, or screens.rpy.
I have modified ep7_freeroam_hots.rpy but the line in question, line 120, Ive not touched.
And every time this crops up it references some line of code Ive not changed like in the below ex. I dont know what to do. Can someone help? It looks like its always related to a name not being defined but I dont know where to look to find the problem.
I can provide a dl link to the mod in its current form if that helps. I just didnt know if that would be ok since the postin of mods to F95 have pretty stringent rules.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/season2/scripts/freeroam/episode7/ep7_freeroam_hots.rpy", line 120, in script
menu:
File "renpy/ast.py", line 1688, in execute
choice =
You must be registered to see the links
(choices, self.set, args, kwargs, item_arguments)File "game/header.rpy", line 284, in menu_override
File "renpy/exports.py", line 1062, in menu
rv =
You must be registered to see the links
(new_items)File "renpy/exports.py", line 1298, in display_menu
rv = renpy.ui.interact(mouse='menu', type=type, 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 3315, 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 3735, 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 436, in visit_all
callback(self)
File "renpy/display/core.py", line 3735, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 447, in per_interact
self.update()
File "renpy/display/screen.py", line 637, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 339, in execute
File "game/screens.rpy", line 339, in execute
File "game/screens.rpy", line 343, in execute
File "game/screens.rpy", line 343, in <module>
NameError: name 'phone_opened' is not defined
A 2nd example of the problem:
While running game code:
File "game/season2/scripts/update7.rpy", line 7047, in script
if minigames and not mTask_2f_state_list[7]:
File "game/season2/scripts/update7.rpy", line 7047, in <module>
if minigames and not mTask_2f_state_list[7]:
NameError: name 'minigames' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/season2/scripts/update7.rpy", line 7047, in script
if minigames and not mTask_2f_state_list[7]:
File "renpy/ast.py", line 1898, in execute
if renpy.python.py_eval(condition):
File "renpy/python.py", line 2276, in py_eval
return py_eval_bytecode(code, globals, locals)
File "renpy/python.py", line 2269, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/season2/scripts/update7.rpy", line 7047, in <module>
if minigames and not mTask_2f_state_list[7]:
NameError: name 'minigames' is not defined
Windows-10-10.0.19041
Ren'Py 7.4.10.2178
Being a DIK 0.8.3
Fri Dec 9 21:04:39 2022