I can't load my old saves. Every time I try to load an an exception error occurs.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_file.rpy", line 462, in __call__
renpy.load(fn)
File "game/code.rpy", line 18390, in set_default
default characterVar = {
File "game/code.rpy", line 18399, in <module>
'Location': kingdomInfo[playerkingdom]['Capital'],
KeyError: u'midlands'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
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 3325, 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 4160, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/transition.py", line 48, in event
return self.new_widget.event(ev, x, y, st) # E1101
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/screen.py", line 727, in event
rv = self.child.event(ev, x, y, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1323, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1323, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/behavior.py", line 983, in event
return handle_click(self.clicked)
File "renpy/display/behavior.py", line 918, in handle_click
rv = run(action)
File "renpy/display/behavior.py", line 330, in run
return action(*args, **kwargs)
File "renpy/common/00action_file.rpy", line 462, in __call__
renpy.load(fn)
File "renpy/loadsave.py", line 771, in load
log.unfreeze(roots, label="_after_load")
File "renpy/python.py", line 2200, in unfreeze
self.rollback(0, force=True, label=label, greedy=greedy, on_load=True)
File "renpy/python.py", line 2101, in rollback
renpy.exports.execute_default_statement(False)
File "renpy/exports.py", line 3753, in execute_default_statement
i.set_default(start)
File "game/code.rpy", line 18390, in set_default
default characterVar = {
File "renpy/python.py", line 2269, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/code.rpy", line 18399, in <module>
'Location': kingdomInfo[playerkingdom]['Capital'],
KeyError: u'midlands'
Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Kingmaker Beta 0.17 0.17
Tue Jan 23 17:22:29 2024