Difference between revisions of "Synchronization and backups"

From Gladiabots Wiki
Jump to: navigation, search
Line 16: Line 16:
 
# After the developer linked the accounts and answered your post, you need to launch the game on every synced account. Always choose '''use server data''' when the data sync conflict message appears.}}
 
# After the developer linked the accounts and answered your post, you need to launch the game on every synced account. Always choose '''use server data''' when the data sync conflict message appears.}}
  
<span style="color:red">mcompany: start sync</span>
+
=== Resolving data sync conflict messages ===
  
 
=== Resolving data sync conflict messages ===
 
 
[[Image:Career data sync conflict.png|thumb|Data sync conflict message]]
 
[[Image:Career data sync conflict.png|thumb|Data sync conflict message]]
  
Sometimes, you may get a data snyc conflict message when playing. This happens when the data on the server is different from the data on your device. This can also happen if you sync two accounts (since the data updated from one device does not automatically carry over to the next device). If you have used multiple devices for one account then you should usually choose '''server data'''. Otherwise, this usually is just an error with updating your AI and choosing server data could leave you before you made any changes, so you should choose '''local data''' instead
+
Each time the local AI programs or settings differ from the cloud backup a data sync conflict message will appear.
  
{{Warning|If there is no backup to the accounts, your choice can become irreversible. Even with a backup, picking the wrong option could make you lose some of your work}}
+
Reasons for differences between local and server data:
 +
 
 +
# The data will differ if one created AI programs without internet connection.
 +
# The data will differ in a synced account setting, if another account changed its data.
 +
 
 +
{{Warning|Data sync conflict messages should be answered carefully, because the choices are irreversible. If the wrong option is selected will result in data loss.}}
 +
 
 +
Without a synced account setting one could always choose '''keep local data''', because the differences have not yet transferred to the server. In a synced account setting one should also choose '''keep local data''' in the up to date account. On all the other accounts one should choose the '''use server data''' option to update the accounts to the recent changes.
 +
 
 +
{{InformationCollapsed|1=Steps to resolve uncertain conflicts|2=The following steps are recommended to solve uncertain conflicts in a synced account setting:
 +
# Launch the game on every synced account and choose '''keep local data''' for now.
 +
# Try to determine the account that is up to date by checking the recently changed nodes on the different accounts.
 +
# Close the game on every synced account.
 +
# Launch the game on the account that is up to date.
 +
#* When the data sync conflict message appears choose '''keep local data'''.
 +
# Launch the game on all other accounts.
 +
#* When the data sync conflict message appears choose '''use server data'''.}}
  
<span style="color:red">mcompany: end sync</span>
 
 
<span style="color:red">Lubeno: start sync</span>
 
<span style="color:red">Lubeno: start sync</span>
  
 
=== Working with synced accounts ===
 
=== Working with synced accounts ===
  
[[Image:Career data sync conflict.png|thumb|Data sync conflict message]]
 
  
 
If the first account changes some nodes, the changes are {{#tip-text: automatically pushed | If an internet connection is available }} to the server. The following steps are required to sync this changes with the second account:
 
If the first account changes some nodes, the changes are {{#tip-text: automatically pushed | If an internet connection is available }} to the server. The following steps are required to sync this changes with the second account:
Line 40: Line 52:
 
#* The changes should be synced.
 
#* The changes should be synced.
  
=== Resolving data sync conflict messages ===
 
 
{{Warning|Sometimes there is a data sync conflict message and it's not clear which of the accounts is up to date. If the wrong option is selected all changes could be reverted.}}
 
 
The following steps are recommended to solve this conflict:
 
 
# Launch the game on every synced account and choose '''keep local data''' for now.
 
# Try to determine the account that is up to date by checking the recently changed nodes on the different accounts.
 
# Close the game on every synced account.
 
# Launch the game on the account that is up to date.
 
#* When the data sync conflict message appears choose '''keep local data'''.
 
# Launch the game on all other accounts.
 
#* When the data sync conflict message appears choose '''use server data'''.
 
  
 
<span style="color:red">Lubeno: end sync</span>
 
<span style="color:red">Lubeno: end sync</span>
 +
<!--
 
<span style="color:red">mcompany: start</span>
 
<span style="color:red">mcompany: start</span>
 
== Multiple accounts and backup ==
 
== Multiple accounts and backup ==
Line 94: Line 94:
  
 
To restore the backup all one needs to do is executing the exported {{#tip-text: registry file | In the example above it is <code>C:\Gladiabots\Backup.reg</code>. }} The AI programs and settings are restored. It's not possible to restore a single AI sub tree this way.
 
To restore the backup all one needs to do is executing the exported {{#tip-text: registry file | In the example above it is <code>C:\Gladiabots\Backup.reg</code>. }} The AI programs and settings are restored. It's not possible to restore a single AI sub tree this way.
 +
-->

Revision as of 18:37, 14 October 2017

Information.png This page needs improvement, you are welcome to contribute.
Warning.png Merging by LuBeNo in process.

Synced accounts

Gladiabots automatically creates a backup from all AI programs and settings of an account in the cloud. It's possible to create a cloud sync connection between two or more accounts. Currently the developer creates this cloud sync connection manually. To link different accounts one needs to reply in the cross-device sync temporary solution topic on the forum with the name of the accounts, specifying a main account. Afterwards, each account will show a data sync conflict message the next time it is opened.

Information.png
Steps to create a cloud sync connection 

The following steps are required to link accounts:

  1. Make sure that each account has a valid player name.
    • To create the player name open career mode for each account and choose the player name.
    • To determine the current player name check the leaderboard or the Gladiabots stats page from ingame.
  2. Reply to the cross-device sync temporary solution topic on the forum:
    • Provide player names of all accounts that should be synced.
    • Specify the main player name. The player name, AI programs and settings of this account is used for every other account.
  3. After the developer linked the accounts and answered your post, you need to launch the game on every synced account. Always choose use server data when the data sync conflict message appears.

Resolving data sync conflict messages

Data sync conflict message

Each time the local AI programs or settings differ from the cloud backup a data sync conflict message will appear.

Reasons for differences between local and server data:

  1. The data will differ if one created AI programs without internet connection.
  2. The data will differ in a synced account setting, if another account changed its data.
Warning.png Data sync conflict messages should be answered carefully, because the choices are irreversible. If the wrong option is selected will result in data loss.

Without a synced account setting one could always choose keep local data, because the differences have not yet transferred to the server. In a synced account setting one should also choose keep local data in the up to date account. On all the other accounts one should choose the use server data option to update the accounts to the recent changes.

Information.png
Steps to resolve uncertain conflicts 

The following steps are recommended to solve uncertain conflicts in a synced account setting:

  1. Launch the game on every synced account and choose keep local data for now.
  2. Try to determine the account that is up to date by checking the recently changed nodes on the different accounts.
  3. Close the game on every synced account.
  4. Launch the game on the account that is up to date.
    • When the data sync conflict message appears choose keep local data.
  5. Launch the game on all other accounts.
    • When the data sync conflict message appears choose use server data.

Lubeno: start sync

Working with synced accounts

If the first account changes some nodes, the changes are automatically pushed to the server. The following steps are required to sync this changes with the second account:

  1. Close the game on the first account.
  2. Upon opening the second account the data sync conflict message should appear:
    • Choose use server data.
    • The changes should be synced.


Lubeno: end sync