Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/ui_labels.rpy", line 203, in <module>
elif renpy.context().main_menu and not coming_from_prefs_sub:
AttributeError: 'RevertableObject' object has no attribute 'main_menu'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "/private/var/mobile/Containers/Bundle/Application/FD929866-67F1-4F03-8DDC-669D0156EAD0/Kata.app/ui_labels.rpyc", line 198, in script
File "/private/var/mobile/Containers/Bundle/Application/FD929866-67F1-4F03-8DDC-669D0156EAD0/Kata.app/base/renpy/ast.py", line 806, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/private/var/mobile/Containers/Bundle/Application/FD929866-67F1-4F03-8DDC-669D0156EAD0/Kata.app/base/renpy/python.py", line 1461, in py_exec_bytecode
exec bytecode in globals, locals
File "game/ui_labels.rpy", line 203, in <module>
elif renpy.context().main_menu and not coming_from_prefs_sub:
AttributeError: 'RevertableObject' object has no attribute 'main_menu'
Darwin-14.0.0-iPad4,1-arm64-32bit
Ren'Py 6.99.9.1168
I taken old .ipa of the game with Ren'Py 6.99.9.1168 and slightly modded some files to work perfectly. But now I have two problems.
First, I can't open any submenu (like settings and save, traceback also related) Second problem I can deal by myself, I think.
Hope, you can help me. Also I can archive and send you my Frankenstein like .ipa or .zip
Piece of code with problem:
Code: Select all
python:
layout.navigation(None)
if prefs_looped:
renpy.transition(ImageDissolve(im.Tile("ui/tr-checkwipe.png"), 0.5, 8))
elif renpy.context().main_menu and not coming_from_prefs_sub:
renpy.transition(config.main_game_transition)
else:
renpy.transition(config.intra_transition)
if renpy.context().main_menu: # We'll draw a fake main menu for style reasons, or it'll just be boring black in the mm
ui.image(style.mm_root.background)
coming_from_prefs_sub = False
ui.image(style.gm_root.background)
prefs_looped = False # or we'll have a problem the next time this menu is invoked
ui.image("ui/bg-config.png", xalign=0.5, yalign=0.5)