Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hi! I get error when trying to load old saves with newest 0.33 version.
It shows:

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/tl/anglais/script.rpy", line 109309, in script

    e "And I intend to enjoy all the little pleasures this life has to offer."

  File "game/tl/anglais/script.rpy", line 109309, in script

    e "And I intend to enjoy all the little pleasures this life has to offer."

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

    screen say(who, what):

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

    screen say(who, what):

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

    window:

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

    window:

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

    if uistyle == "0":

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

    if uistyle == "0":

NameError: name 'uistyle' is not defined

(+3)

Unfortunately, as we said in our previous devlog, this is something inevitable following the implementation of the new UI. You should be able to skip all the text you've already read pretty quickly once you've started a new game! Really sorry for all that.

(+2)

All right, thanks! :)

If you set a default value for uistyle it will prevent this. Adding "default uistyle = 0" at the start of script.rpy solves it for me and allows me to use all my saves, but perhaps another value would be more appropriate. 

If this was the actual solution and they gave up on old saves then i'm a bit disappointed

There might be a nuance to it I'm not aware of. There's some conditional code based on what client people are using which would probably make a universal solution take a bit more. But in a nutshell, defining a value for uistyle at load up seems to be the crux of the issue.

(+1)

So, to answer quickly: we didn't implement this solution simply because I didn't know it was possible. The NeveN team doesn't have a dedicated coder at the moment and, although over time I've started to learn how to do more complex things, I'm still a beginner at it and it takes me a while to do anything that's a bit difficult. I've been working on this UI for over six months and, to be honest, once I got it working I didn't really dare change things too much for fear of crashing something that works, despite losing the saves. I may try to implement this solution for the next build though, see if it works.