Search found 24 matches

by Yc3k
Sun Nov 18, 2018 5:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Re: Web updater access to password protected sites

That's a shame cause I find it a really useful feature that I like to use. What you're saying is if I use the updater.UpdateVersion as part of a screen, it will use the "check_interval" to check the availability of the update and if it gets a "true" it will then trigger a kind of a screen refresh wi...
by Yc3k
Sat Nov 17, 2018 8:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Re: Web updater access to password protected sites

Hi guys, Although the solution that PyTom gave me works great I still encounter a strange problem. Every time I change the password (change the folder name on my server) or make a fresh build of my game and then try to update it, the first time I enter the password I always get a "Wrong password" me...
by Yc3k
Mon Oct 29, 2018 7:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Re: Web updater access to password protected sites

You could pass the password in the URL for update.json, and have the server side check it and return the file iff the password matches. Wouldn't that mean I would still need to have that password stored locally (in game)? I want to avoid that completely. The main reason is if I want to change the p...
by Yc3k
Mon Oct 29, 2018 5:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Re: Web updater access to password protected sites

Oops, forgot about this and now its midnight :oops: The password was stored nowhere, the user input the password, it was sent to the server, where it was encrypted and then it remained that way. If I wanted to see everyone's password, I could not. I couldn't even see my own password as it is not st...
by Yc3k
Mon Oct 29, 2018 4:14 am
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Re: Web updater access to password protected sites

I used to run an IRC boy that was programmed in python. With the bot, users could register by sending a username and password to the server. This password was stored as an encrypted string in a text file. Trying to use the string as the password would fail. I ll try to dig up the relics of the bot ...
by Yc3k
Mon Oct 29, 2018 4:12 am
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Re: Web updater access to password protected sites

You could pass the password in the URL for update.json, and have the server side check it and return the file iff the password matches. Wouldn't that mean I would still need to have that password stored locally (in game)? I want to avoid that completely. The main reason is if I want to change the p...
by Yc3k
Sun Oct 28, 2018 7:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Web updater access to password protected sites
Replies: 11
Views: 619

Web updater access to password protected sites

Hi all. I was wondering is there a way for a Ren'py web updater to access and update the game from a password protected web site? Here's my problem. I am developing a game and I have successfully implemented the web updater. I want to grant access to different versions of my game to different people...
by Yc3k
Tue Jul 31, 2018 3:38 am
Forum: Ren'Py Questions and Announcements
Topic: Web updater error
Replies: 2
Views: 260

Re: Web updater error

Yeah I thought it's probably something from their side.

Thanks for the help.
by Yc3k
Wed Jul 25, 2018 2:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Web updater error
Replies: 2
Views: 260

Web updater error

Hi guys. I've successfully implemented the web updater into my game and the funny thing is it works, but there are some problems. I've noticed that instead of downloading just the changed part of the game the web updater seems to download the entire new version before updating the current one. Now, ...
by Yc3k
Tue Jul 24, 2018 5:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Old save files in updated game version
Replies: 13
Views: 1359

Re: Old save files in updated game version

***EDIT***

OK, I think I finally understand how the default statement works and how can I use it when updating the game to a newer version. Thank you very much. I'll go test it now.
by Yc3k
Sun Jul 22, 2018 3:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Old save files in updated game version
Replies: 13
Views: 1359

Re: Old save files in updated game version

I have a couple more questions regarding this topic then I think I've got it figured out. 1. If I add a default variable for a new game version do I add them before or after the label "start"? 2. If I leave all the variables defined with a "default" statement or use "after_load" label will this mean...
by Yc3k
Thu Jul 19, 2018 1:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Old save files in updated game version
Replies: 13
Views: 1359

Re: Old save files in updated game version

Np, thank you very much for all the help.
by Yc3k
Thu Jul 19, 2018 1:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Old save files in updated game version
Replies: 13
Views: 1359

Re: Old save files in updated game version

Great, thank you very much for your help.

Only one question, you've sad that "define" is my friend while we were talking about "default" statement.

Not sure if it was a typo or you've mean I should use both?
by Yc3k
Thu Jul 19, 2018 4:12 am
Forum: Ren'Py Questions and Announcements
Topic: Old save files in updated game version
Replies: 13
Views: 1359

Re: Old save files in updated game version

So then using "default" statement when adding new variables should prevent the save game bug? What about my old variables? Do I need to put them as default also? Especially those that changes all the time like energy and stats. Thank you @kivik for your suggestion to use dicts. It's not a bad idea a...
by Yc3k
Wed Jul 18, 2018 5:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Old save files in updated game version
Replies: 13
Views: 1359

Re: Old save files in updated game version

Thank you so much for quick response. Your answers helped me understand better how renpy save file works. Now, regarding my problem. My main variables are already set (stats, money, etc.) and I don't intend to change the anymore. What problem I have is following. Let's say I write a certain dialogue...