Skip to main content

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

I've noticed that after a while (I'm at November 7, year 0), the number of exceptions that are occuring is rising. Especially during nights, when I try to make one of intimate actions, exceptions start to occure and there is no way to get past them. It was working at the beginning, but in the build 3.3 and now in 3.7, the problem starts later in the game.

[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/script.rpy", line 33, in script call

    $ UIreturn = renpy.call_screen("mainUI")

  File "game/scripts/core/Scheduler.rpy", line 318, in script call

    call check_day from _call_check_day_10

  File "game/scripts/Events/Schedule/scheduleEvents.rpy", line 1169, in script

    call screen nightInt_screen

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

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

  File "renpy/common/00action_other.rpy", line 537, in __call__

    rv = self.callable(*self.args, **self.kwargs)

  File "game/scripts/core/classes.rpy", line 873, in IntimacyActivate

    ActiveHeroine.gainSexProfiecy(0.5)

TypeError: 'int' object is not callable

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

Full traceback:

  File "game/script.rpy", line 33, in script call

    $ UIreturn = renpy.call_screen("mainUI")

  File "game/scripts/core/Scheduler.rpy", line 318, in script call

    call check_day from _call_check_day_10

  File "game/scripts/Events/Schedule/scheduleEvents.rpy", line 1169, in script

    call screen nightInt_screen

  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 3134, 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 3315, 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 4155, in interact_core

    rv = root_widget.event(ev, x, y, 0)

  File "renpy/display/layout.py", line 1100, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1100, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1100, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/screen.py", line 727, in event

    rv = self.child.event(ev, x, y, st)

  File "renpy/display/layout.py", line 1100, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1313, in event

    rv = super(Window, self).event(ev, x, y, st)

  File "renpy/display/layout.py", line 273, in event

    rv = d.event(ev, x - xo, y - yo, st)

  File "renpy/display/layout.py", line 1100, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1100, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/behavior.py", line 979, in event

    return handle_click(self.clicked)

  File "renpy/display/behavior.py", line 914, in handle_click

    rv = run(action)

  File "renpy/display/behavior.py", line 329, in run

    return action(*args, **kwargs)

  File "renpy/common/00action_other.rpy", line 537, in __call__

    rv = self.callable(*self.args, **self.kwargs)

  File "game/scripts/core/classes.rpy", line 873, in IntimacyActivate

    ActiveHeroine.gainSexProfiecy(0.5)

TypeError: 'int' object is not callable

Windows-10-10.0.22621

Ren'Py 7.4.10.2178

Noblesse Oblige 0.3.7

Sat Jul 13 16:57:12 2024

[/code]

It's a very mysterious error as I was yet unable to replicate it. I'll need to experiment with it more. Is it appearing only in the intimacy action or in other parts of the game?

Sometimes is happens in other parts of the game, but the intimacy part is the only one where I found it consistently. I believe (not sure) that it shows up once the Love meter is full and only if PC tries to make a move on his/her ward, not the other way around.

Done! At least it seems that I've found the bug and killed it,  I'll release a new fixed version tomorrow (need to sleep) ^_^

Thank you and have a good night :) !