- May 25, 2022
- 16
- 23
I've seen a similar error after resetting the dungeon with Juggernaut. It seems there's a few typos in the scripts which cause crashes.Triggers on attempting to open the "Dungeon" part of the guidebook once it is complete.Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/6 - Hangouts Emi.rpy", line 1198, in script call call dareend File "game/2 - Manor.rpy", line 10, in script call call morningevent from _call_morningevent File "game/2 - Guidebook.rpy", line 665, in script if dg1 == "Claimed" and dg2 == "Claimed" and dg3 == "Claimed" and dg4 == "Claimed" and dg5 == "Claimed" and dg6 == "Claimed" and dg7 == "Claimed" and dg8 == "Claimed" and dg9 == "Claimed" and dg10 == "Claimed" and dg11 == "Claimed" and dg12 == "Claimed" and goblinvaginal == 1 and naughtyimp1 >= 1 and yulisex >= 1 and sgs >= 2 and dungeogoals == 12: File "game/2 - Guidebook.rpy", line 665, in <module> if dg1 == "Claimed" and dg2 == "Claimed" and dg3 == "Claimed" and dg4 == "Claimed" and dg5 == "Claimed" and dg6 == "Claimed" and dg7 == "Claimed" and dg8 == "Claimed" and dg9 == "Claimed" and dg10 == "Claimed" and dg11 == "Claimed" and dg12 == "Claimed" and goblinvaginal == 1 and naughtyimp1 >= 1 and yulisex >= 1 and sgs >= 2 and dungeogoals == 12: NameError: name 'dungeogoals' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/6 - Hangouts Emi.rpy", line 1198, in script call call dareend File "game/2 - Manor.rpy", line 10, in script call call morningevent from _call_morningevent File "game/2 - Guidebook.rpy", line 665, in script if dg1 == "Claimed" and dg2 == "Claimed" and dg3 == "Claimed" and dg4 == "Claimed" and dg5 == "Claimed" and dg6 == "Claimed" and dg7 == "Claimed" and dg8 == "Claimed" and dg9 == "Claimed" and dg10 == "Claimed" and dg11 == "Claimed" and dg12 == "Claimed" and goblinvaginal == 1 and naughtyimp1 >= 1 and yulisex >= 1 and sgs >= 2 and dungeogoals == 12: File "D:\Unveiling the Unknown v1.0.0\renpy\ast.py", line 1845, in execute if renpy.python.py_eval(condition): File "D:\Unveiling the Unknown v1.0.0\renpy\python.py", line 1209, in py_eval return py_eval_bytecode(code, globals, locals) File "D:\Unveiling the Unknown v1.0.0\renpy\python.py", line 1202, in py_eval_bytecode return eval(bytecode, globals, locals) File "game/2 - Guidebook.rpy", line 665, in <module> if dg1 == "Claimed" and dg2 == "Claimed" and dg3 == "Claimed" and dg4 == "Claimed" and dg5 == "Claimed" and dg6 == "Claimed" and dg7 == "Claimed" and dg8 == "Claimed" and dg9 == "Claimed" and dg10 == "Claimed" and dg11 == "Claimed" and dg12 == "Claimed" and goblinvaginal == 1 and naughtyimp1 >= 1 and yulisex >= 1 and sgs >= 2 and dungeogoals == 12: NameError: name 'dungeogoals' is not defined Windows-10-10.0.19045 AMD64 Ren'Py 8.2.2.24042401+nightly Unveiling the Unknown 1.0.0 Thu May 2 21:20:57 2024
Mine was in "9 - CommonEvents.rpy", and the problem was it was looking for "naughtyimp" when what it intended to check was "naughtyimp1". Adding the missing 1 fixed the crash.
Here it's looking for "dungeogoals" in "2 - Guidebook.rpy", not finding it and crashing. My guess is you can fix it yourself like I did, just open that file with notepad (if I recall you can even click it right from the game) and add the missing n: "dungeongoals". Then just restart the game and it should work.