Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 11 Sep 2015 04:34 PM |
| I'm a bit curious, in the 'universe' system (not sure what it's called either), are all the Data Persistence connected? Like can you load their saved files from the other universe? But would this also mean you would need to make a separate script for that server? Like let's say you have a DP script on your one of your universe, would you also need another DP script for the other universe? |
|
|
| Report Abuse |
|
|
|
| 11 Sep 2015 04:35 PM |
| They are all connected, meaning they all share the same Data Stores (not Data Persistance - old and unreliable). Universes are basically a bunch of places connected to a MAIN GAME. So yes despite them sharing data stores they would all need to access the datastores or whatever from the specific place. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 11 Sep 2015 04:41 PM |
Thanks, I didn't know that.
I wanted to change my Data Persistence, since like you said it's unreliable, but I have no clue on how to use this. What do I need to watch out for, because I'm reading the wiki and I'm seeing Request Limits and Rejections? Will this interrupt with saving currencies? |
|
|
| Report Abuse |
|
|
|
| 11 Sep 2015 04:57 PM |
Yes, if you are currently using DataPersistance to save player data then switching to Data Stores will wipe all the data, since they are in no way related to each other. Despite this drawback I recommend you switch as soon as possible, and its really simple to switch DP to DS once you understand how Data Stores work! You need not worry about the Request Limits and Rejections, however they are necessary because DS allows you to save very very very very very much such much data and if you efficiently save and retrieve data, no worries. By efficiently, I mean saving when the player leaves/ server shuts down or periodically (every x minutes) and retrieving when a player joins while managing everything in the server (not spamming set/get requests)..
:D wow this has to be the longest post I made
|
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 11 Sep 2015 04:59 PM |
| Haha, thanks for your time and I appreciate it. I'm probably going to look into DS more haha. |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 11 Sep 2015 05:13 PM |
"if you are currently using DataPersistance to save player data then switching to Data Stores will wipe all the data, since they are in no way related to each other."
That's not entirely true. When loading, you could check if the player has data saved on a Data Store and if not, then check for data on Data Persistence, and if no data is stored on those, then generate starting data if data isn't found stored anywhere. All you do then is save it to a Data Store. However, if you have a relatively small player base with little amounts of data stored, then I wouldn't even bother with it. |
|
|
| Report Abuse |
|
|
|
| 11 Sep 2015 07:13 PM |
| "and its really simple to switch DP to DS once you understand how Data Stores work! " |
|
|
| Report Abuse |
|
|