Skip to main content

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

While running game code:

  File "game/Code/script.rpy", line 6, in script

    "Before we start..."

  File "game/Code/script.rpy", line 6, in script

    "Before we start..."

  File "renpy/common/000window.rpy", line 114, in _window_auto_callback

    _window_show(auto=True)

  File "renpy/common/000window.rpy", line 69, in _window_show

    renpy.with_statement(trans)

  File "game/screens.rpy", line 98, in execute

    screen say(who, what):

  File "game/screens.rpy", line 98, in execute

    screen say(who, what):

  File "game/screens.rpy", line 103, in execute

    window:

  File "game/screens.rpy", line 119, in execute

    text what id "what" outlines [ (absolute(persistent.text_outline), persistent.text_outline_color, absolute(0), absolute(0)) ]

  File "game/screens.rpy", line 119, in keywords

    text what id "what" outlines [ (absolute(persistent.text_outline), persistent.text_outline_color, absolute(0), absolute(0)) ]

  File "game/screens.rpy", line 119, in <module>

    text what id "what" outlines [ (absolute(persistent.text_outline), persistent.text_outline_color, absolute(0), absolute(0)) ]

TypeError: float() argument must be a string or a number

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

Full traceback:

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

    renpy.main.main()

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

    run(restart)

  File "renpy/main.py", line 148, in run

    renpy.execution.run_context(True)

  File "renpy/execution.py", line 922, in run_context

    context.run()

  File "game/Code/script.rpy", line 6, in script

    "Before we start..."

  File "game/Code/script.rpy", line 6, in script

    "Before we start..."

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

    statement_name("say")

  File "renpy/ast.py", line 46, in statement_name

    i(name)

  File "renpy/common/000window.rpy", line 114, in _window_auto_callback

    _window_show(auto=True)

  File "renpy/common/000window.rpy", line 69, in _window_show

    renpy.with_statement(trans)

  File "renpy/exports.py", line 1684, in with_statement

    return renpy.game.interface.do_with(trans, paired, clear=clear)

  File "renpy/display/core.py", line 2762, in do_with

    clear=clear)

  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/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/screens.rpy", line 98, in execute

    screen say(who, what):

  File "game/screens.rpy", line 98, in execute

    screen say(who, what):

  File "game/screens.rpy", line 103, in execute

    window:

  File "game/screens.rpy", line 119, in execute

    text what id "what" outlines [ (absolute(persistent.text_outline), persistent.text_outline_color, absolute(0), absolute(0)) ]

  File "game/screens.rpy", line 119, in keywords

    text what id "what" outlines [ (absolute(persistent.text_outline), persistent.text_outline_color, absolute(0), absolute(0)) ]

  File "game/screens.rpy", line 119, in <module>

    text what id "what" outlines [ (absolute(persistent.text_outline), persistent.text_outline_color, absolute(0), absolute(0)) ]

TypeError: float() argument must be a string or a number

(+1)

looks like persistent.text_outline isn't being read as an integer

I have fixed this thank you for pointing it out :D