Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

while playing through the public version i encountered this error whenever i choose the "Follow the notes." option after unlocking the bath

[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

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

  File "game/bathroom.rpy", line 206, in script

  File "game/bathroom.rpy", line 206, in <module>

TypeError: 'float' object cannot be interpreted as an integer

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

Traceback (most recent call last):

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

  File "game/bathroom.rpy", line 206, in script

  File "renpy/ast.py", line 1187, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/python.py", line 1273, in py_exec_bytecode

    exec(bytecode, globals, locals)

    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "game/bathroom.rpy", line 206, in <module>

  File "lib/python3.12/random.py", line 336, in randint

  File "lib/python3.12/random.py", line 301, in randrange

TypeError: 'float' object cannot be interpreted as an integer

Windows-11-10.0.26100-SP0 AMD64

Ren'Py 8.5.0.25111603

Under Your Spell 0.4.0p

Fri Dec 19 02:15:57 2025

[/code]

(1 edit)

Thank you. This has been fixed, and the fixed version have been uploaded 👍

I'm sorry, but an uncaught exception occurred.

While loading the script.

Exception: C:\Users\Windows10\Downloads\Under Your Spell/renpy/common/00layeredimage_ren.py and C:\Users\Windows10\Downloads\Under Your Spell/renpy/common/00layeredimage.rpy conflict, and can't exist in the same game.

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

Traceback (most recent call last):

  File "renpy/bootstrap.py", line 401, in bootstrap

    renpy.main.main()

    ~~~~~~~~~~~~~~~^^

  File "renpy/main.py", line 412, in main

    renpy.game.script.load_script()  # sets renpy.game.script.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^                           

  File "renpy/script.py", line 456, in load_script

    self.load_appropriate_file(".rpyc", ["_ren.py", ".rpy"], dir, fn, initcode)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/script.py", line 1002, in load_appropriate_file

    raise Exception(

        "{} conflict, and can't exist in the same game.".format(" and ".join(i[1] for i in rpyfns))

    )

Exception: C:\Users\Windows10\Downloads\Under Your Spell/renpy/common/00layeredimage_ren.py and C:\Users\Windows10\Downloads\Under Your Spell/renpy/common/00layeredimage.rpy conflict, and can't exist in the same game.

Windows-10-10.0.19041-SP0 AMD64

Ren'Py 8.5.0.25111603

Fri Dec 26 16:40:27 2025

Did you maybe extract the newer version into the old folder or something? Try extracting the game into a new folder and running from there.

(+1)

Nvm, lmao. Yeah I accidentally did that instead of just dragging the saves over instead. My bad