Jump to content

Persistent World


gamecreator
 Share

Recommended Posts

How would you do a persistent world in an online game without a server?  For example, say there's a crystal in the forest.  Someone logs on, takes it and drops it in the desert and logs out.  How would you store the crystal's location?

I know the ideal answer is a server but say that's not an option.  Since I'm doing this in Steam, I was thinking Cloud would be perfect but users have the option of turning that off so that won't work (also, it won't be a published game so I guess Cloud won't be available anyway).  I also thought about using Leadwerks leaderboards but I haven't tested yet how responsive it is.  If two players fight and one player drops the crystal, it needs to be more or less immediately seen by the other one.

I remembered too that we have libcurl built in so maybe HTTP is an option.

Since this would all be client to client, except for the special world items, we have to assume that no one will hack/cheat (which I know is a bad assumption but this would be for the tournament so nothing serious).

Link to comment
Share on other sites

On 10/2/2017 at 1:39 PM, gamecreator said:

Since this would all be client to client, except for the special world items, we have to assume that no one will hack/cheat (which I know is a bad assumption but this would be for the tournament so nothing serious).

One thing to take note is that libcurl implementation with Leadwerks does not support HTTPS at the moment.

Which means anyone running wireshark can see your traffic.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...