PDA

View Full Version : How Many Databases



Nickademus
March 20th, 2017, 18:38
How many databases are there when FG runs with clients connected? I thought there was just one database that the host program made and saved to file, but it seems the player clients have a different database. When I used DB.getChildren(""); as a host, I got a list of all the sections of the database. When I used the same code from a localhost client, I got less than half of the sections. Why would it not be the same feedback? Is the player client (and localhost) returning less than all the DB sections or is it a completely different database for each client?

I ask because the section of the database I'm working with on the player client is completely empty while the host client can see the data just fine.

Moon Wizard
March 20th, 2017, 18:53
There is only one database. However, the players only see the subset of the database that has been explicitly shared with them or made public.

Regards,
JPG

Nickademus
March 20th, 2017, 19:50
That makes sense.