Unsure on how to add/use the updater functions

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.
Post Reply
Message
Author
User avatar
Chibishedevil
Regular
Posts: 27
Joined: Sun Aug 02, 2015 8:06 pm
Tumblr: chibishedevil
Deviantart: rikkugurl
Location: Some place
Contact:

Unsure on how to add/use the updater functions

#1 Post by Chibishedevil » Thu Jan 14, 2016 9:16 am

I've stared at this page ( http://www.renpy.org/doc/html/updater.html for hours, trying to make sense on how and where to add the updater functions to a game. I get enabling the updater in the options, but what after that?

Also, for webspace, do you need to have a dedicated server or could you use something like dropbox?
It is only the great men who are truly obscene. If they had not dared to be obscene, they could never have dared to be great.
- Havelock Ellis

<3

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Unsure on how to add/use the updater functions

#2 Post by PyTom » Thu Jan 14, 2016 5:35 pm

You need a dedicated server, and a reasonably decent one.

Other than that, you basically just upload the generated files to your server, point the updater at the url to the update.json file, and it should pick it up and work.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Chibishedevil
Regular
Posts: 27
Joined: Sun Aug 02, 2015 8:06 pm
Tumblr: chibishedevil
Deviantart: rikkugurl
Location: Some place
Contact:

Re: Unsure on how to add/use the updater functions

#3 Post by Chibishedevil » Fri Jan 15, 2016 7:16 pm

Ah gotcha, thank you! Been looking around for webspace, but that helps. Thank you.
It is only the great men who are truly obscene. If they had not dared to be obscene, they could never have dared to be great.
- Havelock Ellis

<3

User avatar
Chibishedevil
Regular
Posts: 27
Joined: Sun Aug 02, 2015 8:06 pm
Tumblr: chibishedevil
Deviantart: rikkugurl
Location: Some place
Contact:

Re: Unsure on how to add/use the updater functions

#4 Post by Chibishedevil » Wed Jan 20, 2016 12:29 pm

I guess I don't exactly understand how to use the updater functions in game. I've been trying to get something but I usually end up with this or a similar error:
Any suggestions would be great.

Code: Select all

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 492: expected statement.
    updater.Update(*args, **kwargs)
                                   ^

Ren'Py Version: Ren'Py 6.99.7.858
It is only the great men who are truly obscene. If they had not dared to be obscene, they could never have dared to be great.
- Havelock Ellis

<3

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Unsure on how to add/use the updater functions

#5 Post by PyTom » Wed Jan 20, 2016 1:27 pm

What does your code look like? updater.Update is a screen action.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Chibishedevil
Regular
Posts: 27
Joined: Sun Aug 02, 2015 8:06 pm
Tumblr: chibishedevil
Deviantart: rikkugurl
Location: Some place
Contact:

Re: Unsure on how to add/use the updater functions

#6 Post by Chibishedevil » Wed Jan 20, 2016 2:05 pm

Ooooooohhhh. For some reason, that wasn't clear to me. I think I figured it out finally, thank you ^___^;;;;;;;
It is only the great men who are truly obscene. If they had not dared to be obscene, they could never have dared to be great.
- Havelock Ellis

<3

Post Reply

Who is online

Users browsing this forum: mold.FF