Difference between revisions of "Synchronization and backups"
Line 5: | Line 5: | ||
== Synced accounts == | == 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 {{#tip-text: two or more accounts | For example the first account is on an android smartphone, the second account is on a windows PC and the third account is on the same windows PC but from a different user. }}. Currently the developer creates this cloud sync connection manually. To link different accounts one needs to reply in the [https://forum.gladiabots.com/viewtopic.php?f=7&t=128 cross-device sync temporary solution] topic on the forum with the name of the accounts, specifying a {{#tip-text: main account | | + | ''Gladiabots'' automatically creates a backup from all game data (AI programs and settings) of an account in the cloud. It's possible to create a cloud sync connection between {{#tip-text: two or more accounts | For example the first account is on an android smartphone, the second account is on a windows PC and the third account is on the same windows PC but from a different user. }}. Currently the developer creates this cloud sync connection manually. To link different accounts one needs to reply in the [https://forum.gladiabots.com/viewtopic.php?f=7&t=128 cross-device sync temporary solution] topic on the forum with the name of the accounts, specifying a {{#tip-text: main account | Game data of this account is used for every other account}}. Afterwards, each account will show a data sync conflict message the next time it is opened. |
{{InformationCollapsed|1=Steps to create a cloud sync connection|2=The following steps are required to link accounts: | {{InformationCollapsed|1=Steps to create a cloud sync connection|2=The following steps are required to link accounts: | ||
Line 26: | Line 26: | ||
[[Image:Career data sync conflict.png|thumb|Data sync conflict message]] | [[Image:Career data sync conflict.png|thumb|Data sync conflict message]] | ||
− | Each time the local | + | Each time the local game data differs from the cloud backup a data sync conflict message will appear. |
Reasons for differences between local and server data: | Reasons for differences between local and server data: | ||
− | # The data will differ if one | + | # The game data will differ if one changed AI programs or settings without internet connection. |
− | # The data will differ in a synced account setting, if another account changed its data. | + | # The game data will differ in a synced account setting, if another account changed its game data and pushed the changes to the server. |
{{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.}} | {{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.}} | ||
Line 46: | Line 46: | ||
#* When the data sync conflict message appears choose '''use server data'''.}} | #* When the data sync conflict message appears choose '''use server data'''.}} | ||
− | |||
− | |||
== Multiple accounts and backup == | == Multiple accounts and backup == | ||
− | |||
− | + | Currently Windows is the only known environment where it is possible to play with multiple accounts on one device or backup an account. All the game data (AI programs and settings) is saved in the Windows registry. Each Windows user stores the game data in its private part of the registry therefore multiple accounts on the same device are possible. | |
− | == | + | === Multiple accounts === |
− | + | ||
− | + | ||
− | + | To use multiple accounts in ''Gladiabots'' one has to create multiple Windows users and start the game with the desired user logged in. Otherwise it is possible to hold the <code>Shift</code> key while right clicking the ''Gladiabots'' shortcut and choose "run as a different user". | |
− | + | ||
− | + | ||
+ | {{InformationCollapsed|1=Creating multiple accounts in a Windows environment|2={{Warning|The following actions could harm your system, especially when done wrong. Create a backup of all your data before trying any of this. Proceed at your own risk.}} | ||
+ | Create more users to use as additional accounts by: | ||
# Opening ''Computer Management'' by either searching for <code>Computer Management</code> in the start menu or by pressing <code>Windows key+r</code> and inserting the command <code>compmgmt.msc</code> into the run window. | # Opening ''Computer Management'' by either searching for <code>Computer Management</code> in the start menu or by pressing <code>Windows key+r</code> and inserting the command <code>compmgmt.msc</code> into the run window. | ||
− | # Add a user by browsing to the <code>System Tools</code> > <code>Local Users and Groups</code> > <code>User</code> folder, right click it and select <code>New User...</code> from the menu. Specify a | + | # Add a user by browsing to the <code>System Tools</code> > <code>Local Users and Groups</code> > <code>User</code> folder, right click it and select <code>New User...</code> from the menu. Specify a username and a password.}} |
− | == | + | {{InformationCollapsed|1=Batch command to start the game as different Windows user|2={{Warning|The following actions could harm your system, especially when done wrong. Create a backup of all your data before trying any of this. Proceed at your own risk.}} |
+ | A batch file or shortcut with this command starts ''Gladiabots'' using another user: | ||
+ | * <code>Runas /user:{{#tip-text: MyComputer | Replace this with your computer name. Press <code>Windows key+Pause</code> to determine the computer name. }}\{{#tip-text: Gladiatest | Specify the username from the account you want to use. }} /savecred "{{#tip-text: C:\Gladiabots\Gladiabots.exe | This needs to be the path to your Gladiabots.exe file. }}"</code>}} | ||
− | + | <!-- | |
− | + | ||
− | + | ||
− | + | == Creating and restoring backups == | |
− | + | ||
− | + | ||
{{Warning|The following actions could harm your system, especially when done wrong. Create a backup of all your data before trying any of this. Proceed at your own risk.}} | {{Warning|The following actions could harm your system, especially when done wrong. Create a backup of all your data before trying any of this. Proceed at your own risk.}} | ||
Line 86: | Line 79: | ||
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 19:37, 14 October 2017
![]() |
This page needs improvement, you are welcome to contribute. |
![]() |
Merging by LuBeNo in process. |
Contents
[hide]Synced accounts
Gladiabots automatically creates a backup from all game data (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.
![]() |
|
![]() |
|
Resolving data sync conflict messages
Each time the local game data differs from the cloud backup a data sync conflict message will appear.
Reasons for differences between local and server data:
- The game data will differ if one changed AI programs or settings without internet connection.
- The game data will differ in a synced account setting, if another account changed its game data and pushed the changes to the server.
![]() |
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.
![]() |
|
Multiple accounts and backup
Currently Windows is the only known environment where it is possible to play with multiple accounts on one device or backup an account. All the game data (AI programs and settings) is saved in the Windows registry. Each Windows user stores the game data in its private part of the registry therefore multiple accounts on the same device are possible.
Multiple accounts
To use multiple accounts in Gladiabots one has to create multiple Windows users and start the game with the desired user logged in. Otherwise it is possible to hold the Shift
key while right clicking the Gladiabots shortcut and choose "run as a different user".
![]() |
|
![]() |
|