- Sep 12, 2018
- 9,482
- 38,577
Why am I getting this code? I get it every time I try to access the skill tree. If I can't access the skill tree then I can't level my skills.Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/All_Flashback_Scenes_Intro.rpy", line 796, in script call r "Woahh..." File "game/AllPhoneConversations.rpy", line 20, in script call call test999 from _call_test999 File "game/AllPhoneConversations.rpy", line 35, in script call call test9999 from _call_test9999 File "game/Inconsolablecharscript.rpy", line 1607, in script call $ renpy.pause (5000.0, hard=True) File "game/Inconsolablecharscript.rpy", line 4039, in script menu: File "game/Skill_Tree.rpy", line 2, in execute screen Player_Skill_Tree: File "game/Skill_Tree.rpy", line 2, in execute screen Player_Skill_Tree: File "game/Skill_Tree.rpy", line 40, in execute hbox: NameError: Name 'MC_Morality_Hero' is not defined. -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/All_Flashback_Scenes_Intro.rpy", line 796, in script call r "Woahh..." File "game/AllPhoneConversations.rpy", line 20, in script call call test999 from _call_test999 File "game/AllPhoneConversations.rpy", line 35, in script call call test9999 from _call_test9999 File "game/Inconsolablecharscript.rpy", line 1607, in script call $ renpy.pause (5000.0, hard=True) File "game/Inconsolablecharscript.rpy", line 4039, in script menu: File "renpy/ast.py", line 1688, in execute choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments) File "renpy/exports.py", line 1062, in menu rv = renpy.store.menu(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/Skill_Tree.rpy", line 2, in execute screen Player_Skill_Tree: File "game/Skill_Tree.rpy", line 2, in execute screen Player_Skill_Tree: File "game/Skill_Tree.rpy", line 40, in execute hbox: File "renpy/text/text.py", line 1669, in _scope return self.set_text(self.text_parameter, scope, self.substitute, update) File "renpy/text/text.py", line 1693, in set_text i, did_sub = renpy.substitutions.substitute(i, scope, substitute) File "renpy/substitutions.py", line 270, in substitute s = formatter.vformat(s, (), kwargs) File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 563, in vformat File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 585, in _vformat File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 646, in get_field File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 605, in get_value File "renpy/substitutions.py", line 228, in __getitem__ raise NameError("Name '{}' is not defined.".format(key)) NameError: Name 'MC_Morality_Hero' is not defined. Windows-10-10.0.19041 Ren'Py 7.4.9.2142 Being Super 0.18.3b.Light Sun Dec 4 19:22:30 2022
perhaps you should have searched the thread a bit, prior to initial posting and "being tired for not getting any help" just a bit later.I am getting tired of asking for help with a problem and getting nothing in return but dead air.
skills bugs (skill tree) are ongoing issue.
it is pretty easy to fix/bypass though by a bit of coding/editing.
try to do it, and if you are unable to do so, come back here and someone will assist you eventually.
good luck