Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello! I've tried implementing the code in my game but upon trying to access it I get this error. I'm running Renpy 8.2.

-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "renpy/common/00gamemenu.rpy", line 174, in script
    $ ui.interact()
  File "F:\renpy-8.2.0-sdkarm\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\renpy-8.2.0-sdkarm\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 174, in <module>
    $ ui.interact()
  File "F:\renpy-8.2.0-sdkarm\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "F:\renpy-8.2.0-sdkarm\renpy\display\core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "F:\renpy-8.2.0-sdkarm\renpy\display\core.py", line 2683, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "F:\renpy-8.2.0-sdkarm\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "F:\renpy-8.2.0-sdkarm\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "F:\renpy-8.2.0-sdkarm\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  [Previous line repeated 1 more time]
  File "F:\renpy-8.2.0-sdkarm\renpy\display\screen.py", line 480, in visit_all
    callback(self)
  File "F:\renpy-8.2.0-sdkarm\renpy\display\core.py", line 2683, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "F:\renpy-8.2.0-sdkarm\renpy\display\screen.py", line 491, in per_interact
    self.update()
  File "F:\renpy-8.2.0-sdkarm\renpy\display\screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/music_room/music_room.rpy", line 718, in execute
    screen music_room3(mr):
  File "game/music_room/music_room.rpy", line 718, in execute
    screen music_room3(mr):
  File "game/music_room/music_room.rpy", line 744, in execute
    fixed:
  File "game/music_room/music_room.rpy", line 788, in execute
    frame:
  File "game/music_room/music_room.rpy", line 790, in execute
    has hbox
  File "game/music_room/music_room.rpy", line 806, in execute
    vbox:
  File "game/music_room/music_room.rpy", line 840, in execute
    hbox:
  File "game/music_room/music_room.rpy", line 849, in execute
    music_bar:
  File "game/music_room/01_music_room_backend.rpy", line 39, in __init__
TypeError: super(type, obj): obj must be an instance or subtype of type

I initially wondered if this was a compatibility issue with 8.2, but as I check for compatibility, I haven't had any issues running the Extended Music Room on 8.2. Can you try adding the music room to a fresh project to see if you get the same error? If not, try using Force Recompile for your current project to make sure you don't have any old files lying around, and perhaps double check that you don't have anything else named AudioBar in your project.

Force recompiling did the trick and it should have been the first thing I tried, honestly! xD Thank you so much and sorry for the bother!