Difference between revisions of "Multiplayer Basics"

From Gladiabots Wiki
Jump to: navigation, search
Line 29: Line 29:
  
 
If a player wants to watch a replay he needs to press the replay button and enter the replay ID afterwards. A replay can only be watched if the {{#tip-text: version of the game resolution engine | The game resolution engine needs to change if updates change game mechanic due to new features or bugfixes. Not every new version uses a new game resolution engine. }} of the viewer matches the version of the game resolution engine of the deploying players.
 
If a player wants to watch a replay he needs to press the replay button and enter the replay ID afterwards. A replay can only be watched if the {{#tip-text: version of the game resolution engine | The game resolution engine needs to change if updates change game mechanic due to new features or bugfixes. Not every new version uses a new game resolution engine. }} of the viewer matches the version of the game resolution engine of the deploying players.
 
== Synced accounts ==
 
 
 
Currently, Gladiabots automatically makes a backup of all of your AIs online. Because of which, the developer has made it so that multiple devices could sync up to the same account. However, it must be done manually by creating a new account in career mode and replying 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 two accounts saying which account you want to keep. Afterwards, you will get a data sync message next time you open the game
 
=== Resolving data sync conflict messages ===
 
[[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
 
 
{{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}}
 
== Multiple accounts and backup ==
 
Currently Windows is the only known device that it is possible to play with multiple accounts on one device or backup an account. All save data for gladiabots (including your career account) is saved in the registry. Since the accounts are saved to the registry, each account is tied to the user that you logged into your computer with, so if you want to use multiple accounts you must create multiple users for your computer, then hold shift while right clicking gladiabots, and choose "run as a different user".
 
 
<!--
 
=== Creating multiple accounts on the same device ===
 
 
{{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.}}
 
 
If the windows system contains several users, it's possible to login to any of them and start ''Gladiabots''. Each one will have its own account. In single user environments it's possible to 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.
 
# 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 {{#tip-text: username | The username is Gladiatest in this chapter. }} and a password.
 
 
=== Playing with a different account ===
 
 
{{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.}
 
 
To start the game with a different account either logout your current user and login with the other user or run ''Gladiabots'' using the other user by:
 
 
# Pressing <code>Windows key+r</code> and inserting the command <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> into the run window. It's also possible to create a shortcut or a batch file with this command.
 
-->
 
=== 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.}}
 
 
A backup is useful if the game data is lost due to a system crash or failed sync. Under windows it '''seems''' like ''Gladiabots'' is storing all the game data under the folder <code>HKEY_CURRENT_USER\Software\GFX47\Gladiabots]</code> of the registry. Create a backup of this registry key by:
 
 
# Pressing <code>Windows key+r</code> and inserting the command <code>reg export HKEY_CURRENT_USER\Software\GFX47\Gladiabots "{{#tip-text: C:\Gladiabots\Backup.reg | This needs to be the path to a file where you want to store your game data. }}"</code> into the run window. It's also possible to create a shortcut or a batch file with this command.
 
 
Create a backup of this registry key for another account by:
 
 
# Pressing <code>Windows key+r</code> and inserting the command <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 "reg export HKEY_CURRENT_USER\Software\GFX47\Gladiabots \"{{#tip-text: C:\Gladiabots\Backup Gladiatest.reg | This needs to be the path to a file where you want to store your game data. }}\""</code> into the run window. It's also possible to create a shortcut or a batch file with this command.
 
<span style="color:red">'''Can someone please change this to either use regedit, or link back [https://support.microsoft.com/en-us/help/322756/how-to-back-up-and-restore-the-registry-in-windows to here]'''</span>
 
 
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 14:49, 14 October 2017

Playing matches

Ranked match with match details in the tooltip.

The real competition takes place in career mode. The matches between 2 players are created asynchronously according to the matchmaking rules. Both players first need to deploy a match by assigning bot classes and programs to each bot. If both players deployed the match, the match can be watched by them. After either of the players watched the full match to the very end, the reward of XP points is given to them and the league score points are exchanged between them.

Game mode League score points XP points Description
Ranked matches normal impact normal impact This is where the real competition takes place.
Unranked matches no impact small impact Playing against random players of other leagues.
Private matches no impact no impact Playing against friends or other players of the community.
Tournament matches no impact no impact This is where the official and unofficial tournaments will appear.

Leaderboard and stats

Ingame leaderboard

The ingame leaderboard shows the current league ranking, the league score points, the XP level and the victory ratio. The stats button opens the Gladiabots stats page in the web browser showing further information about the players and the leagues. Both leaderboards hide inactive players. The website can show inactive players on demand.

Sharing matches

To share a ranked, unranked, private or tournament match with friends or the community one needs to find its replay ID. The replay ID is either accessible as tooltip by hovering or tipping on the match or it can be found on the Gladiabots stats latest matches page. This replay ID can be shared with other players.

If a player wants to watch a replay he needs to press the replay button and enter the replay ID afterwards. A replay can only be watched if the version of the game resolution engine of the viewer matches the version of the game resolution engine of the deploying players.