Basic online server?

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
tohtamish
Regular
Posts: 65
Joined: Thu Apr 29, 2010 4:56 am
Contact:

Basic online server?

#1 Post by tohtamish »

Hello!

Is there any possibility in Ren'py to make permanent (for example on free hostings) server that will do simple work - for example displaying players' choices (like in Walkind dead)? Client must use some python modules? What must be on server side? My knowledge about this limited by wordpress...

User avatar
xavimat
Eileen-Class Veteran
Posts: 1461
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Discord: xavimat
Contact:

Re: Basic online server?

#2 Post by xavimat »

Do you need that info for you alone (tracking users gameplay)?
If so, you can link your game with google analytics: https://www.patreon.com/posts/adding-google-to-22428000

If you want a public web with info (like points for every player, winners, polls, etc.), you need your own hosting and could do it with some php and MySQL.
This is what I use:
- In renpy: urllib.urlencode and urllib2.urlopen
- In server: php to get the data given by renpy and a link to a MySQL database. Data is returned in json format
- In renpy again, json to read the data returned by the server.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Post Reply

Who is online

Users browsing this forum: No registered users