Ren'Py 6.18 Pre-Released

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Ren'Py 6.18 Pre-Released

#121 Post by xela »

PyTom wrote:funnys*
xela <-- looks guilty :oops:

Could you fix panning demo error in Jake's battle engine? Just try it to replicate, it would seem that something that was returning an integer even in early 6.18 prereleases now results in a None.

*Couple of other demos are not working either but the errors are very, very similar.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/scroll_demo.rpy", line 13, in script
    python:
  File "game/scroll_demo.rpy", line 122, in <module>
    battle.Start()
  File "game/engine.rpy", line 320, in Start
    self.RunBattle()
  File "game/engine.rpy", line 646, in RunBattle
    self.RunBattleRound()
  File "game/engine.rpy", line 654, in RunBattleRound
    self._mechanic.RunBattleRound()
  File "game/engine-schema.rpy", line 258, in RunBattleRound
    self.RunFighterTurn(fighter)
  File "game/engine-schema.rpy", line 236, in RunFighterTurn
    fighter._battle.PointOfInterest(position=fighter.Position, fighter=fighter)
  File "game/engine.rpy", line 623, in PointOfInterest
    subscriber.PointOfInterest(position=position, fighter=fighter)
  File "game/engine-extras.rpy", line 134, in PointOfInterest
    self.PanTo(fighter.Position)
  File "game/engine-extras.rpy", line 140, in PanTo
    newX = position.Transform.xpos - (config.screen_width / 2)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

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

Full traceback:
  File "D:\Coding\Dropbox\Dev\RenPy\renpy\bootstrap.py", line 289, in bootstrap
    renpy.main.main()
  File "D:\Coding\Dropbox\Dev\RenPy\renpy\main.py", line 357, in main
    run(restart)
  File "D:\Coding\Dropbox\Dev\RenPy\renpy\main.py", line 77, in run
    renpy.execution.run_context(True)
  File "D:\Coding\Dropbox\Dev\RenPy\renpy\execution.py", line 531, in run_context
    context.run()
  File "game/scroll_demo.rpy", line 13, in script
    python:
  File "D:\Coding\Dropbox\Dev\RenPy\renpy\ast.py", line 778, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Coding\Dropbox\Dev\RenPy\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/scroll_demo.rpy", line 122, in <module>
    battle.Start()
  File "game/engine.rpy", line 320, in Start
    self.RunBattle()
  File "game/engine.rpy", line 646, in RunBattle
    self.RunBattleRound()
  File "game/engine.rpy", line 654, in RunBattleRound
    self._mechanic.RunBattleRound()
  File "game/engine-schema.rpy", line 258, in RunBattleRound
    self.RunFighterTurn(fighter)
  File "game/engine-schema.rpy", line 236, in RunFighterTurn
    fighter._battle.PointOfInterest(position=fighter.Position, fighter=fighter)
  File "game/engine.rpy", line 623, in PointOfInterest
    subscriber.PointOfInterest(position=position, fighter=fighter)
  File "game/engine-extras.rpy", line 134, in PointOfInterest
    self.PanTo(fighter.Position)
  File "game/engine-extras.rpy", line 140, in PanTo
    newX = position.Transform.xpos - (config.screen_width / 2)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

Windows-7-6.1.7601-SP1
Ren'Py 6.18.0.634
Like what we're doing? Support us at:
Image

User avatar
fluxus
Regular
Posts: 133
Joined: Thu Jun 19, 2014 8:06 am
Projects: Animal Anaesthesia (a teaching game)
Contact:

Re: Ren'Py 6.18 Pre-Released

#122 Post by fluxus »

PyTom wrote: * The theme selection screen has been sped up to the point where it should be as fast as in 6.17.
Confirmed. I just tested this, and the previous issue has disappeared. So yay ^.^

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.18 Pre-Released

#123 Post by PyTom »

xela wrote: Could you fix panning demo error in Jake's battle engine? Just try it to replicate, it would seem that something that was returning an integer even in early 6.18 prereleases now results in a None.
This is done in 6.18.0.635, which is now up.

Let me take this time to once again thank everyone who's been testing - it's been something of a slog, but thanks to you, Ren'Py 6.18 will be far better than I alone could make it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Yone28