ldacombat123

Member
Jun 6, 2022
387
265
i got this error when i come to talk with regina in chapter 1 after main character wake up:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/screens/narrative/choice.rpy", line 2, in execute
File "game/screens/narrative/choice.rpy", line 2, in execute
File "game/screens/narrative/choice.rpy", line 14, in execute
File "game/screens/narrative/choice.rpy", line 28, in execute
File "game/screens/narrative/choice.rpy", line 45, in execute
File "game/screens/narrative/choice.rpy", line 53, in execute
File "game/screens/narrative/choice.rpy", line 66, in execute
File "game/screens/narrative/choice.rpy", line 75, in execute
NameError: Name '{/b} {size=-2}{color=#ea3}{/color}{color=#e3e}Reginalove{/color}{/size} {color=#3e3}(+1){/color} {b}' is not defined.

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

Full traceback:
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\main.py", line 670, in main
run(restart)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\main.py", line 144, in run
renpy.execution.run_context(True)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\execution.py", line 953, in run_context
context.run()
File "engine/locations/coreLoop.rpyc", line 61, in script call
File "engine/locations/coreLoop.rpyc", line 28, in script call
File "data/world_quests/main/FromAnotherWorld/scr02.rpyc", line 81, in script
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 444, in raise_
File "engine/locations/coreLoop.rpyc", line 61, in script call
File "engine/locations/coreLoop.rpyc", line 28, in script call
File "data/world_quests/main/FromAnotherWorld/scr02.rpyc", line 81, in script
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\ast.py", line 1922, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\exports.py", line 1106, in menu
rv = renpy.store.menu(new_items)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\exports.py", line 1345, in display_menu
rv = renpy.ui.interact(mouse='menu', type=type, roll_forward=roll_forward)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\core.py", line 3579, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\core.py", line 4052, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\core.py", line 681, in visit_all
d.visit_all(callback, seen)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\core.py", line 681, in visit_all
d.visit_all(callback, seen)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\core.py", line 681, in visit_all
d.visit_all(callback, seen)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\screen.py", line 476, in visit_all
callback(self)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\core.py", line 4052, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\screen.py", line 487, in per_interact
self.update()
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\display\screen.py", line 680, in update
self.screen.function(**self.scope)
File "game/screens/narrative/choice.rpy", line 2, in execute
File "game/screens/narrative/choice.rpy", line 2, in execute
File "game/screens/narrative/choice.rpy", line 14, in execute
File "game/screens/narrative/choice.rpy", line 28, in execute
File "game/screens/narrative/choice.rpy", line 45, in execute
File "game/screens/narrative/choice.rpy", line 53, in execute
File "game/screens/narrative/choice.rpy", line 66, in execute
File "game/screens/narrative/choice.rpy", line 75, in execute
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\ui.py", line 988, in _textbutton
text = renpy.text.text.Text(label, style=text_style, substitute=substitute, scope=scope, **text_kwargs)
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\text\text.py", line 1633, in __init__
self.set_text(text, scope, substitute) # type: ignore
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\text\text.py", line 1763, in set_text
i, did_sub = renpy.substitutions.substitute(i, scope, substitute) # type: ignore
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\substitutions.py", line 278, in substitute
s = formatter.vformat(s, (), kwargs) # type: ignore
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\substitutions.py", line 168, in get_field
obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 270, in get_field
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 227, in get_value
File "D:\F95zone+GVNVH18\Renpy\Compressed_game\ParasiteBlack-0.152-pc-Compressed\renpy\substitutions.py", line 236, in __getitem__
raise NameError("Name '{}' is not defined.".format(key))
NameError: Name '{/b} {size=-2}{color=#ea3}{/color}{color=#e3e}Reginalove{/color}{/size} {color=#3e3}(+1){/color} {b}' is not defined.

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Parasite Black 0.152
Tue Dec 19 15:53:32 2023
 
Apr 9, 2018
43
27
to anyone wanting to edit save files do this :

-Go to your tokens folder.
So on windows it is under users/"yourPCusername"/appdata/roaming/renpy/tokens
-Open the "security-keys.txt file.
-Delete the key strings under "singing-key" and "veryifying-Key".
(All that should be in the text file then is "signing-key" and on the next line down, "veryifying-key")
-Close the text file, then right click it and go to properties.
-Change the text file to read only.
CLose that and restart the game.
Viola! now the save works.

If this does not work (WHICH IT DEFINITELY SHOULD), you can change the python code in your favorite text editor. I use Notepad ++

then use for editing your stuff
for editing MC stats look for worldChars.mc
 

JGNeon

Active Member
Modder
Feb 24, 2021
773
3,823
How do you use the ipatch after you download it?
If on Windows/Linux, you simply place the .rpy file inside the folder named "game" inside the main game folder. There should be a bunch of .rpa files there already. If you see a file named "script_version.txt", you're in the correct folder.
 
4.30 star(s) 80 Votes