Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ran into an error that made it to where I had to roll back to before accepting the guild quest. A couple of things that may have caused this error (and two others that happened, making it "can't ignore it, have to rollback to before the quest started"): I stole from a wolf, and Megumin did her explosion on a direwolf and a few wolves. Everything fine, until the quest ended, then this showed up (well, there was three in a row, here's the most recent)...

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/scripts/city.rpy", line 77, in script

    call screen city_nighttime

  File "renpy/common/000statements.rpy", line 569, in execute_call_screen

    store._return = renpy.call_screen(name, *args, **kwargs)

  File "game/scripts/adventuring/party.rpy", line 451, in execute

    screen hero_info(unit, selected):

  File "game/scripts/adventuring/party.rpy", line 451, in execute

    screen hero_info(unit, selected):

  File "game/scripts/adventuring/party.rpy", line 456, in execute

    fixed:

  File "game/scripts/adventuring/party.rpy", line 478, in execute

    if adventure.battle is not None and selected:

  File "game/scripts/adventuring/party.rpy", line 478, in <module>

    if adventure.battle is not None and selected:

AttributeError: 'NoneType' object has no attribute 'battle'

-- Full Traceback ------------------------------------------------------------

Full traceback:

  File "game/scripts/city.rpy", line 77, in script

    call screen city_nighttime

  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/scripts/adventuring/party.rpy", line 451, in execute

    screen hero_info(unit, selected):

  File "game/scripts/adventuring/party.rpy", line 451, in execute

    screen hero_info(unit, selected):

  File "game/scripts/adventuring/party.rpy", line 456, in execute

    fixed:

  File "game/scripts/adventuring/party.rpy", line 478, in execute

    if adventure.battle is not None and selected:

  File "game/scripts/adventuring/party.rpy", line 478, in <module>

    if adventure.battle is not None and selected:

AttributeError: 'NoneType' object has no attribute 'battle'

Windows-7-6.1.7601-SP1

Ren'Py 7.4.11.2266

Adventurer Trainer 0.1.4 0.1.4

Thu Nov 10 20:27:08 2022

Not sure what caused this, hoping you can figure out what happened!

I think I already fixed that problem in v0.1.5, I remember seeing this error :)