getting this error when trying to open the Lab Manager, whether its through the bot menu or the console.
Started shortly after adding a bot to the arcade and now wont allow me to add or remove any bots or access the bot parts.
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/03_GAME.rpy", line 137, in script call
call sandbox() from _call_sandbox
File "game/500_navigator/550_sandbox.rpy", line 32, in script call
call sandbox_interior() from _call_sandbox_interior
File "game/500_navigator/552_sandbox_interior.rpy", line 567, in script call
call interact_room(_return[1]) from _call_interact_room
File "game/600_interact/600_interact_room.rpy", line 1553, in script call
call mg_lab_manager() from _call_mg_lab_manager
File "game/700_minigames/760_sexbot_lab.rpy", line 399, in script
call screen mg_lab_manager_scr(lmMode, lmModes, partsFilter, yadj)
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/700_minigames/760_sexbot_lab.rpy", line 145, in execute
screen mg_lab_manager_scr(*args):
File "game/700_minigames/760_sexbot_lab.rpy", line 145, in execute
screen mg_lab_manager_scr(*args):
File "game/700_minigames/760_sexbot_lab.rpy", line 193, in execute
if lmMode == "parts storage":
File "game/700_minigames/760_sexbot_lab.rpy", line 224, in execute
side "c r":
File "game/700_minigames/760_sexbot_lab.rpy", line 226, in execute
viewport id "vp":
File "game/700_minigames/760_sexbot_lab.rpy", line 231, in execute
vbox pos 500,120 xsize 1200 spacing 5:
File "game/700_minigames/760_sexbot_lab.rpy", line 232, in execute
for i in parts:
File "game/700_minigames/760_sexbot_lab.rpy", line 234, in execute
$ showPart = partsFilter["prefs"][i.pref] and partsFilter["cat"][i.cat] and partsFilter["kind"][i.kind]
File "game/700_minigames/760_sexbot_lab.rpy", line 234, in <module>
$ showPart = partsFilter["prefs"][i.pref] and partsFilter["cat"][i.cat] and partsFilter["kind"][i.kind]
KeyError: 4
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/03_GAME.rpy", line 137, in script call
call sandbox() from _call_sandbox
File "game/500_navigator/550_sandbox.rpy", line 32, in script call
call sandbox_interior() from _call_sandbox_interior
File "game/500_navigator/552_sandbox_interior.rpy", line 567, in script call
call interact_room(_return[1]) from _call_interact_room
File "game/600_interact/600_interact_room.rpy", line 1553, in script call
call mg_lab_manager() from _call_mg_lab_manager
File "game/700_minigames/760_sexbot_lab.rpy", line 399, in script
call screen mg_lab_manager_scr(lmMode, lmModes, partsFilter, yadj)
File "renpy/ast.py", line 2015, in execute
self.call("execute")
File "renpy/ast.py", line 2003, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "renpy/statements.py", line 278, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/exports.py", line 3136, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", 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 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 3737, 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 3737, 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/700_minigames/760_sexbot_lab.rpy", line 145, in execute
screen mg_lab_manager_scr(*args):
File "game/700_minigames/760_sexbot_lab.rpy", line 145, in execute
screen mg_lab_manager_scr(*args):
File "game/700_minigames/760_sexbot_lab.rpy", line 193, in execute
if lmMode == "parts storage":
File "game/700_minigames/760_sexbot_lab.rpy", line 224, in execute
side "c r":
File "game/700_minigames/760_sexbot_lab.rpy", line 226, in execute
viewport id "vp":
File "game/700_minigames/760_sexbot_lab.rpy", line 231, in execute
vbox pos 500,120 xsize 1200 spacing 5:
File "game/700_minigames/760_sexbot_lab.rpy", line 232, in execute
for i in parts:
File "game/700_minigames/760_sexbot_lab.rpy", line 234, in execute
$ showPart = partsFilter["prefs"][i.pref] and partsFilter["cat"][i.cat] and partsFilter["kind"][i.kind]
File "game/700_minigames/760_sexbot_lab.rpy", line 234, in <module>
$ showPart = partsFilter["prefs"][i.pref] and partsFilter["cat"][i.cat] and partsFilter["kind"][i.kind]
KeyError: 4
Windows-10-10.0.22621
Ren'Py 7.4.11.2266
Space Journey X 130_15d.1
Thu May 30 09:46:38 2024
```
Going to start a new game to see if the error persists or if its save specific
*Edit- Can access the bot lab when starting a new game at day 30 so im not sure what broke in my original save