VN Ren'Py Troubled Legacy [v0.0.28 Fix] [Blackthunder_vn]

3.30 star(s) 26 Votes

tonypiow

New Member
Jun 13, 2020
9
6
I'm getting an error too, and if I ignore it I turn down Sofie and get arrested.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/mychoicesday4.rpy", line 4, in script
    menu:
  File "game/mychoicesday4.rpy", line 5, in <module>
    "Tell her the truth." if walkthrough_on_off == False:
NameError: name 'walkthrough_on_off' is not defined

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

Full traceback:
  File "game/mychoicesday4.rpy", line 4, in script
    menu:
  File "renpy/ast.py", line 1683, in execute
    choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
  File "renpy/exports.py", line 1028, in menu
    condition = renpy.python.py_eval(condition)
  File "renpy/python.py", line 2266, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "renpy/python.py", line 2259, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/mychoicesday4.rpy", line 5, in <module>
    "Tell her the truth." if walkthrough_on_off == False:
NameError: name 'walkthrough_on_off' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Troubled Legacy 0.0.17.5
Sat Oct 23 20:14:04 2021
 

FALCO755

Well-Known Member
Mar 6, 2019
1,246
344
gives me this error:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/mychoicesday4.rpy", line 815, in script
menu:
File "game/mychoicesday4.rpy", line 816, in <module>
"Tell her the truth." if walkthrough_on_off == False:
NameError: name 'walkthrough_on_off' is not defined

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

Full traceback:
File "game/mychoicesday4.rpy", line 815, in script
menu:
File "renpy/ast.py", line 1683, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 1028, in menu
condition = renpy.python.py_eval(condition)
File "renpy/python.py", line 2266, in py_eval
return py_eval_bytecode(code, globals, locals)
File "renpy/python.py", line 2259, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/mychoicesday4.rpy", line 816, in <module>
"Tell her the truth." if walkthrough_on_off == False:
NameError: name 'walkthrough_on_off' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Troubled Legacy
 

Haremm lover

Well-Known Member
Sep 20, 2017
1,362
590
I gave mc my own name but it is still displaying Jonas which is the default. Anyone has any idea what the issue could be?
 

Blackthunder_vn

Active Member
Game Developer
Jan 31, 2020
575
1,426
I don't have this errors.

Vaibhav Sharma I have tested it in all 2 languages with and with out Walkthrough mode.
The Game always take the name i type in. Tested with 2 Space places before the Typed Name it works?

Which version are you playing The Windows version and you loaded it from Mega?
 

Blackthunder_vn

Active Member
Game Developer
Jan 31, 2020
575
1,426
tonypiow Here is my save from The Veronica scene before the choice. Please test it with this file.
I don't find the error.

You find the savegame on site8 of the savegamelist. Just copy it into the save folder in the game folder of the game.
 

tonypiow

New Member
Jun 13, 2020
9
6
tonypiow ok.

Here are the orgianl files. again (without the changes)
Sorry my mistake the files renamed when I saved them, loaded them with the correct names and game opens but I still get the original error. Also once I get the error if I try to open preferences I get another error.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  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 walkthrough_on_off does not exist.

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

Full traceback:
  File "renpy/common/_layout/screen_load_save.rpym", line 35, in script
    $ ui.interact()
  File "renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_layout/screen_load_save.rpym", line 35, in <module>
    $ ui.interact()
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, 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 3694, 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/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 437, 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 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 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 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 3694, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/behavior.py", line 874, in per_interact
    if self.is_selected():
  File "renpy/display/behavior.py", line 862, in is_selected
    return is_selected(self.action)
  File "renpy/display/behavior.py", line 400, 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 walkthrough_on_off does not exist.

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Troubled Legacy 0.0.17.5
Sat Oct 23 20:49:31 2021
 

Blackthunder_vn

Active Member
Game Developer
Jan 31, 2020
575
1,426
Ok then I think it is the best If I make an save game and upload it at the start of day4 (0.0.17) and Part2 (0.0.17.5)
There is something wrong with the old savegames. (Which I don't see.)
 

Blackthunder_vn

Active Member
Game Developer
Jan 31, 2020
575
1,426
I write it on my todo list for the next update.
Could you please tell me if or if not you have problems that yout typed in Name do not show up. Thanks
 

tonypiow

New Member
Jun 13, 2020
9
6
tonypiow Here is my save from The Veronica scene before the choice. Please test it with this file.
I don't find the error.

You find the savegame on site8 of the savegamelist. Just copy it into the save folder in the game folder of the game.
Having trouble finding where the Save folder is lol

No worries though I am just going to restart the game :)

I am really enjoying the game so keep up the great work, I can't even begin to imagine how hard it is. I used to build wedsites and 'tweaking' code is a pain in the A when things don't work the way they should.

Thanks.
 

Blackthunder_vn

Active Member
Game Developer
Jan 31, 2020
575
1,426
tonypiow The savegame folder is in the game folder of the game. But there is a Problem then you have my testgame name (Bimbo) HIHI and thats not the best.
 
3.30 star(s) 26 Votes