View Issue Details
ID | Category | Date Submitted | Last Update | ||
---|---|---|---|---|---|
0002913 | Bug Report | 2020-07-31 21:22 | 2020-07-31 21:27 | ||
Reporter | skrskrskr | ||||
Severity | crash | Reproducibility | always | ||
Status | new | Resolution | open | ||
Summary | 0002913: Cheat Menu does not work to advance Machines | ||||
Description | Open Cheat Menu on MC's phone and go to Machines. The Advance button will crash the game: I'm sorry, but an uncaught exception occurred. While running game code: File "game/scripts/locations/home/entrance/hallway/bedroom/bedroom.rpy", line 82, in script call $ game.main() File "game/scripts/locations/home/entrance/hallway/bedroom/bedroom.rpy", line 82, in script $ game.main() File "game/scripts/locations/home/entrance/hallway/bedroom/bedroom.rpy", line 82, in <module> $ game.main() File "game/scripts/core/systems/game.rpy", line 364, in main player.location.call_screen(*call_screen_args) File "game/scripts/core/systems/locations/locations.rpy", line 268, in call_screen renpy.call_screen("ui") File "renpy/common/00action_other.rpy", line 537, in __call__ rv = self.callable(*self.args, **self.kwargs) File "game/scripts/core/systems/FSM/state_machine.rpy", line 428, in advance self.trigger(self._state._table.keys()[table_index], skip_delay=True, from_load=True, force_save=True) File "game/scripts/core/systems/FSM/state_machine.rpy", line 476, in trigger s = m.get_state() AttributeError: 'bool' object has no attribute 'get_state' I suppose this is because the advance method of class Machine will trigger the trigger method with parameter from_load=True. This leads to initializing local variable machines = {None: from_load}, i.e. a boolean value, and finally the encountered bug. It worked in version 0.19.1 but no longer in 0.20.1 | ||||
Platform/OS | Windows | ||||
Version | 0.20 | ||||